<havenwood>
madprops: You can use --user-install or set it in your .gemrc or set GEM_HOME to your local user directory.
<havenwood>
Some Rubies are configured to install to a system location by default and others use a local directory. Another option is to use a Ruby version switcher, which tend to install in local user directory as well.
jpn has quit [Ping timeout: 252 seconds]
Rounin has joined #ruby
Rounin has joined #ruby
Rounin has quit [Changing host]
hasley is now known as mahler
grokify has quit [Remote host closed the connection]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reset has joined #ruby
tiziodcaio has quit [Quit: Reconnecting]
grokify_ has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 276 seconds]
grokify_ has quit [Ping timeout: 272 seconds]
teclator has joined #ruby
grokify has joined #ruby
<leah2>
slice_when and chunk_while are the same modulo a negation right?
tiziodcaio has joined #ruby
<leah2>
a look into the code says yes ;)
<gr33n7007h>
leah2: ``chuck_while`` chunks when the block return false, ``slice_when`` chunks when the block returns true, so you're absolutely correct.
<leah2>
and it generalizes slice_after/before right?
Guimauve has joined #ruby
<gr33n7007h>
not quite. with slice_before|after each chunk is converted to an enumerator
cek has quit [Quit: Connection closed for inactivity]
royo25 has joined #ruby
royo25 has quit [Quit: Bye]
royo25 has joined #ruby
royo25 has quit [Client Quit]
_ht has quit [Quit: _ht]
gonix has joined #ruby
gonix has quit [Ping timeout: 272 seconds]
Laplace has joined #ruby
<Laplace>
Is it possible to split a block that is being passed?
otisolsen70 has quit [Quit: Leaving]
<Laplace>
I am trying to solve a recursive DSL problem where I am building a schema object where one can have nested schemas or have fields. Some of the fields can also have nested schemas. I have an issue where I have no way of knowing if a given dsl call should go to the schema class or the underlaying field. I am using an approach similar to https://pastebin.com/qSSfhhBv is this "hacky"? Is there a better alternative?
gonix has joined #ruby
soknte5 has joined #ruby
cocalero has joined #ruby
<weaksauc_>
Laplace have you looked at some of the html DSLs out there? there are some that are block based
<Laplace>
weaksauc_: I have not. Do you happen to have a few in mind that I should study?
gonix has quit [Ping timeout: 260 seconds]
soknte5 has quit [Ping timeout: 260 seconds]
gonix has joined #ruby
gonix has quit [Ping timeout: 246 seconds]
<weaksauc_>
adam12 weren't you working on one of those a while ago?