adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.2, 3.0.4, 2.7.6: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ | Logs: https://libera.irclog.whitequark.org/ruby/
matoro has joined #ruby
matoro has joined #ruby
matoro has quit [Changing host]
jpn has quit [Ping timeout: 272 seconds]
jpn has joined #ruby
markong has quit [Ping timeout: 250 seconds]
jpn has quit [Ping timeout: 250 seconds]
jpn has joined #ruby
Guest97 has quit [Quit: Client closed]
John_Ivan_ has joined #ruby
jpn has quit [Ping timeout: 272 seconds]
John_Ivan has quit [Ping timeout: 246 seconds]
gonix has joined #ruby
soknte5 has joined #ruby
soknte5 has quit [Client Quit]
gonix has quit [Ping timeout: 252 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 252 seconds]
Sankalp has quit [Ping timeout: 272 seconds]
Rounin has quit [Ping timeout: 250 seconds]
Sankalp has joined #ruby
jpn has joined #ruby
jpn has quit [Ping timeout: 240 seconds]
jpn has joined #ruby
grokify has joined #ruby
jpn has quit [Ping timeout: 260 seconds]
desnudopenguino has quit [Ping timeout: 250 seconds]
jpn has joined #ruby
AstrallyForged has quit [Ping timeout: 246 seconds]
hightower2 has quit [Remote host closed the connection]
desnudopenguino has joined #ruby
hightower2 has joined #ruby
polychromata has joined #ruby
reset has quit [Quit: reset]
tiziodcaio has joined #ruby
Vonter has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
rndChars has quit [Ping timeout: 276 seconds]
ur5us has joined #ruby
libsys has quit [Quit: WeeChat 3.0]
drainpipe has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
drainpipe has quit [Ping timeout: 272 seconds]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 250 seconds]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 240 seconds]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 255 seconds]
D_A_N_ has joined #ruby
D_A_N_ has quit [Client Quit]
a7tism has quit [Quit: Textual IRC Client: www.textualapp.com]
hightower2 has quit [Ping timeout: 250 seconds]
mahler has quit [Ping timeout: 240 seconds]
D_A_N has quit [Remote host closed the connection]
mixfix41 has joined #ruby
hasley has joined #ruby
ur5us has joined #ruby
<madprops> im a bit confused
<madprops> trying to learn rails
<madprops> installed the gem
<madprops> seems to be in /usr/lib/ruby/gems/3.0.0
<madprops> but there's no bin dir there, to add to the path
<madprops> what path do i add?
<madprops> nvm just saw the message
<madprops> ok im confused
<madprops> im using the local rails gem
<madprops> but it wants to install system packages
<madprops> it keeps asking for my password
<madprops> doing the alternative suggested didn't work
<madprops> is the normal way to just supply the password?
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
_ht has joined #ruby
ur5us has quit [Quit: Leaving]
___nick___ has joined #ruby
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
jpn has quit [Ping timeout: 272 seconds]
dionysus69 has joined #ruby
markong has joined #ruby
supay has joined #ruby
cartdrige has joined #ruby
crax23 has joined #ruby
cartdrige has quit [Ping timeout: 276 seconds]
crax23 has quit [Ping timeout: 272 seconds]
jpn has joined #ruby
<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]
grokify has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
drainpipe has joined #ruby
cocalero has joined #ruby
cocalero has quit [Client Quit]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
drainpipe has quit [Ping timeout: 272 seconds]
___nick___ has joined #ruby
grokify has joined #ruby
otisolsen70 has joined #ruby
TomyLobo has joined #ruby
some14u has joined #ruby
grokify has quit [Ping timeout: 246 seconds]
grokify has joined #ruby
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
rndChars has joined #ruby
<leah2> no?
<leah2> both partition into arrays
<gr33n7007h> leah2: you're right! i'm reading the docs wrong :( haha
<gr33n7007h> have to consult the docs with those methods they always confuse me xD
rndChars has quit [Remote host closed the connection]
<leah2> they are quite recent, i didnt use them yet really. but i wished for such stuff
Guimauve has left #ruby [The Lounge - https://thelounge.chat]
<gr33n7007h> they've been around quite a while, chunk_while is relatively new i think.
<leah2> well 2.7ish i guess
<gr33n7007h> leah2: got to be a bit before 2.7
<leah2> 2.3 wow
<leah2> i really forgot to read release notes :D
teclator has quit [Remote host closed the connection]
mixfix41 has quit [Ping timeout: 250 seconds]
<gr33n7007h> Enumerable#slice_before (1.9) Enumerable#slice_after|when (2.2) Enumerable#chunk_while (3.0+)
<gr33n7007h> i think that's right
<gr33n7007h> haha, yeah, time flies when you're having fun xD
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 250 seconds]
desnudopenguino1 is now known as desnudopenguino
cek has joined #ruby
gonix has joined #ruby
jpn has joined #ruby
matoro has quit [Quit: ZNC 1.8.2 - https://znc.in]
matoro has joined #ruby
matoro has joined #ruby
matoro has quit [Changing host]
markong has quit [Ping timeout: 272 seconds]
gonix has quit [Ping timeout: 250 seconds]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
Sheilong has joined #ruby
some14u has joined #ruby
m_antis has quit [Quit: ZNC - https://znc.in]
m_antis has joined #ruby
dionysus69 has quit [Ping timeout: 272 seconds]
___nick___ has quit [Ping timeout: 272 seconds]
c10l has quit [Ping timeout: 250 seconds]
c10l has joined #ruby
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?
cartdrige has joined #ruby
<weaksauc_> here's one Laplace https://activeadmin.github.io/arbre/
<weaksauc_> with a list of similar projects at the bottom
cartdrige has quit [Ping timeout: 272 seconds]
entropie has quit [Ping timeout: 260 seconds]
gonix has joined #ruby
entropie has joined #ruby
supay has quit []
gonix has quit [Ping timeout: 260 seconds]
cartdrige has joined #ruby
crax23 has joined #ruby
Tempesta has quit [*.net *.split]
markong has joined #ruby
Tempesta has joined #ruby
Tempesta has joined #ruby
Tempesta has quit [Changing host]
Tempesta has quit [Excess Flood]
cartdrige has quit [Ping timeout: 246 seconds]
Tempesta has joined #ruby
Tempesta has quit [Changing host]
Tempesta has joined #ruby
Tempesta has quit [Excess Flood]
Tempesta has joined #ruby
Tempesta has quit [Changing host]
Tempesta has joined #ruby
Tempesta has quit [Excess Flood]
Y05hito__ has joined #ruby
Tempesta has joined #ruby
Tempesta has quit [Changing host]
Tempesta has joined #ruby
Tempesta has quit [Excess Flood]
Tempesta has joined #ruby
Tempesta has quit [Changing host]
Tempesta has joined #ruby
Tempesta has quit [Excess Flood]
crax23 has quit [Ping timeout: 272 seconds]
Tempesta has joined #ruby
Tempesta has quit [Changing host]
Tempesta has joined #ruby
Y05hito__ has quit [Ping timeout: 250 seconds]