havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.2, 2.5.5, 2.4.5: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
<miah> yes, but i avoid system ruby
<miah> reruning the xcode enable shouldnt make things any worse and it may resolve your issue
<physikoi> gonna try. brb and ty
tdy1 has joined #ruby
orbyt_ has quit [Ping timeout: 245 seconds]
t0xik has quit [Quit: Connection closed for inactivity]
<physikoi> sorry miah , what do you mean by "xcode enable"? I did do `xcode-select --install` but i just get a notice that CLT are installed. I also signed the license again. Oh, and I'm using latest version of Xcode.
AJA4350 has quit [Ping timeout: 268 seconds]
orbyt_ has joined #ruby
jaddison has joined #ruby
<miah> same error you're getting
<physikoi> ty reading it now.
<miah> fwiw i use chruby / ruby-install and avoid the system ruby because apple always messes it up in some way
mangold has joined #ruby
<physikoi> miah: i think i will do likewise rather than pulling my hair trying to get system version working.
Fernando-Basso has quit [Remote host closed the connection]
kapil____ has quit [Quit: Connection closed for inactivity]
lucasb has quit [Quit: Connection closed for inactivity]
zachk has quit [Quit: Leaving]
AJA4350 has joined #ruby
<physikoi> miah: back in business! I installed ruby2.6.x via macports, updated GEM_HOME, GEM_PATH to paths owned by me, and BAM
eddof13 has quit [Quit: eddof13]
<physikoi> thanks a lot for helping me :)
AJA4350 has quit [Remote host closed the connection]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ellcs has quit [Ping timeout: 250 seconds]
devil_tux has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
dar123 has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
code_zombie has quit [Quit: Leaving]
dogweather has joined #ruby
ellcs has joined #ruby
physikoi has quit [Ping timeout: 245 seconds]
segy has quit [Ping timeout: 244 seconds]
segy has joined #ruby
Swyper has joined #ruby
kapil____ has joined #ruby
segy has quit [Ping timeout: 272 seconds]
t0xik has joined #ruby
segy has joined #ruby
renich has quit [Ping timeout: 272 seconds]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
scientes has joined #ruby
<scientes> how do i use ruby as sed?
<uplime> read from stdin, do a regex replace on it, write to stdout?
alanmaxwell has joined #ruby
<scientes> meh, my real problem is dealing with the shell actually...
<scientes> ughh i hate the shell
ellcs has quit [Ping timeout: 240 seconds]
alanmaxwell has quit [Client Quit]
mangold has joined #ruby
devil_tux has quit [Ping timeout: 272 seconds]
physikoi has joined #ruby
devil_tux has joined #ruby
devil_tu1 has joined #ruby
devil_tux has quit [Ping timeout: 245 seconds]
houhoulis has quit [Ping timeout: 246 seconds]
devil_tu1 has quit [Read error: Connection reset by peer]
houhoulis has joined #ruby
physikoi has quit [Ping timeout: 252 seconds]
xall has joined #ruby
Swyper has quit [Remote host closed the connection]
hightower3 has joined #ruby
bambanx has joined #ruby
apparition has joined #ruby
bmurt has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gambl0re has joined #ruby
<gambl0re> hello?
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
physikoi has joined #ruby
gix has quit [Ping timeout: 246 seconds]
Swyper has joined #ruby
apparition has quit [Quit: Bye]
Swyper has quit [Ping timeout: 272 seconds]
jcalla has joined #ruby
dogweather has quit [Quit: dogweather]
kapil____ has quit [Quit: Connection closed for inactivity]
tpanarch1st has joined #ruby
gambl0re has left #ruby ["Leaving"]
braincrash has quit [Quit: bye bye]
Swyper has joined #ruby
braincrash has joined #ruby
Swyper has quit [Ping timeout: 252 seconds]
mochiyoda has quit [Ping timeout: 252 seconds]
j416 has quit [Ping timeout: 246 seconds]
bjpenn has joined #ruby
Swyper has joined #ruby
kapil____ has joined #ruby
Swyper has quit [Ping timeout: 272 seconds]
mangold has quit [Quit: This computer has gone to sleep]
mochiyoda has joined #ruby
scientes has quit [Ping timeout: 246 seconds]
j416 has joined #ruby
j416 has quit [Ping timeout: 245 seconds]
j416 has joined #ruby
bjpenn has quit [Ping timeout: 252 seconds]
houhoulis has quit [Remote host closed the connection]
dogweather has joined #ruby
sagax has quit [Quit: Konversation terminated!]
xall has quit [Ping timeout: 246 seconds]
mangold has joined #ruby
houhoulis has joined #ruby
physikoi has quit [Ping timeout: 255 seconds]
laaron has quit [Remote host closed the connection]
houhoulis has quit [Remote host closed the connection]
bambanx has quit [Quit: Leaving]
xall has joined #ruby
xall has quit [Ping timeout: 252 seconds]
laaron has joined #ruby
helpa-bot has joined #ruby
helpa has quit [Remote host closed the connection]
vcavallo has quit [Quit: ZNC - https://znc.in]
vcavallo has joined #ruby
helpa-bot has quit [Remote host closed the connection]
helpa has joined #ruby
sauvin has joined #ruby
reber has joined #ruby
tpanarch1st has quit [Ping timeout: 246 seconds]
t0xik has quit [Quit: Connection closed for inactivity]
voidwatch has joined #ruby
evdubs has quit [Remote host closed the connection]
evdubs has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.4]
Ai9zO5AP has joined #ruby
rippa has joined #ruby
hightower3 has quit [Ping timeout: 255 seconds]
uplime has quit [Ping timeout: 245 seconds]
wilbert has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
uplime has joined #ruby
za1b1tsu has joined #ruby
xall has joined #ruby
hightower3 has joined #ruby
xall has quit [Ping timeout: 250 seconds]
SuperL4g is now known as SuperLag
xall has joined #ruby
wilbert has quit [Ping timeout: 244 seconds]
sameerynho has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
t0xik has joined #ruby
za1b1tsu has joined #ruby
bjpenn has joined #ruby
ur5us has joined #ruby
schleppel has joined #ruby
waheedi has joined #ruby
tdy1 has quit [Ping timeout: 246 seconds]
iNs_ has joined #ruby
iNs has quit [Ping timeout: 256 seconds]
dogweather has quit [Quit: dogweather]
za1b1tsu has quit [Ping timeout: 246 seconds]
rprimus has quit [Remote host closed the connection]
za1b1tsu has joined #ruby
nowhere_man has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.4]
Dbugger has joined #ruby
waheedi has quit [Ping timeout: 246 seconds]
ellcs has joined #ruby
al2o3-cr has joined #ruby
ur5us has quit [Remote host closed the connection]
waheedi has joined #ruby
waheedi has quit [Client Quit]
rprimus has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
dionysus69 has joined #ruby
Fusl__ has joined #ruby
Fusl has quit [Read error: Connection reset by peer]
mangold has quit [Quit: This computer has gone to sleep]
a_le_x has joined #ruby
hphhphhphhph has quit []
hphhphhphhphhph has joined #ruby
Swyper has quit [Remote host closed the connection]
bjpenn has quit [Ping timeout: 244 seconds]
hightower3 has quit [Changing host]
hightower3 has joined #ruby
laaron has quit [Remote host closed the connection]
_joes_ has joined #ruby
laaron has joined #ruby
xall has quit [Quit: xall]
dionysus69 has quit [Ping timeout: 246 seconds]
dionysus69 has joined #ruby
laaron has quit [Remote host closed the connection]
ravenousmoose has joined #ruby
DaRock has quit [Ping timeout: 245 seconds]
Fernando-Basso has joined #ruby
Devalo has joined #ruby
Devalo has quit [Remote host closed the connection]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
_joes_ has quit [Ping timeout: 250 seconds]
gix has joined #ruby
Fernando-Basso has quit [Read error: Connection reset by peer]
Fernando-Basso has joined #ruby
nowhere_man has quit [Ping timeout: 245 seconds]
dionysus69 has quit [Ping timeout: 246 seconds]
kapil____ has joined #ruby
dionysus69 has joined #ruby
tens0r has joined #ruby
tens0r has quit [Client Quit]
AJA4350 has joined #ruby
supertramp has quit [Remote host closed the connection]
a_le_x has quit [Quit: Connection closed for inactivity]
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
postmodern has quit [Remote host closed the connection]
Devalo has quit [Ping timeout: 244 seconds]
ellcs has quit [Ping timeout: 240 seconds]
ellcs has joined #ruby
jonian has joined #ruby
sameerynho has left #ruby ["WeeChat 2.3"]
jonian has quit [Quit: jonian]
dante has quit [Ping timeout: 246 seconds]
ellcs has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
dante has joined #ruby
dante has quit [Remote host closed the connection]
dante has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
conta has joined #ruby
Fusl__ is now known as Fusl
conta has quit [Ping timeout: 268 seconds]
Devalo has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
lucasb has joined #ruby
johnny56_ has quit [Quit: johnny56_]
hphhphhphhphhph has quit []
shahshahshah has joined #ruby
Devalo has joined #ruby
t0xik has quit [Quit: Connection closed for inactivity]
Swyper has joined #ruby
Swyper has quit [Ping timeout: 272 seconds]
Devalo has quit [Remote host closed the connection]
mangold has joined #ruby
Devalo has joined #ruby
dar123 has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
Swyper has joined #ruby
lektrik has quit [Quit: Has left IRC.]
Swyper has quit [Ping timeout: 244 seconds]
dionysus69 has quit [Ping timeout: 246 seconds]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aniarya82 has joined #ruby
tdy1 has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
Fusl has quit [Excess Flood]
Fusl has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
Devalo has quit [Ping timeout: 245 seconds]
dviola has joined #ruby
za1b1tsu has joined #ruby
physikoi has joined #ruby
conta has joined #ruby
Diogne[m] has quit [Remote host closed the connection]
legion[m] has quit [Read error: Connection reset by peer]
sepp2k has quit [Write error: Connection reset by peer]
supergeek[m] has quit [Remote host closed the connection]
bastilian has quit [Remote host closed the connection]
jonjitsu has quit [Remote host closed the connection]
fyber has joined #ruby
turt2live has quit [Remote host closed the connection]
Turnikov[m] has quit [Remote host closed the connection]
helpa has quit [Remote host closed the connection]
xdecimal has joined #ruby
<fyber> Is there a more concise way to write this:
<fyber> Message.new(:subject => params[:subject], :body => params[:body], :recipient_username => params[:recipient_username])
helpa has joined #ruby
<phaul> you can use the "new" hash syntax
<phaul> {:a => 'xxx'} is the same as {a: 'xxx'}
<fyber> it'd still be "subject: params[:subject]"
orbyt_ has joined #ruby
<fyber> which is little bit better, but I thought there might be a way to remove that repetitiveness entirely (since they're named the same)
<phaul> you could splat the hash, but that's not exactly the same
<phaul> Message.new(**params)
<c-c> make a function that takes p[:s], p[:b], p[:r]?
elcontrastador has quit [Ping timeout: 255 seconds]
<c-c> - and calls message new with that
<c-c> also, could just change from hash to array for params
irdr_ has quit [Remote host closed the connection]
apparition has joined #ruby
irdr has joined #ruby
<phaul> &>> def f(a:, b:) 'hi'; end; h = {a: 1, b: 2}; f(**h)
<rubydoc> # => "hi" (https://carc.in/#/r/6icq)
<phaul> vs
<phaul> &>> def f(a:, b:) 'hi'; end; h = {a: 1, b: 2, c: 3}; f(**h)
<rubydoc> stderr: -e:2:in `f': unknown keyword: c (ArgumentError) (https://carc.in/#/r/6icr)
<c-c> Heh I often do weird stuff like a[9], a[0], a[1] and everything is an array and just have to ensure its all in the arr
wilbert has joined #ruby
wilbert has quit [Client Quit]
<phaul> fyber: if you know that your hash exactly contains the args for the method than splat. ^, just be aware of that error I demonstrated
bastilian has joined #ruby
<c-c> &>> def f(a:, b:, q=[]) 'hi'; end; h = {a: 1, b: 2, c: 3}; f(**h)
<rubydoc> stderr: -e:2: syntax error, unexpected tIDENTIFIER (https://carc.in/#/r/6ict)
<c-c> 8P
<phaul> that's just a wrong method definition.
<phaul> &>> def f(a:, b:, q=[]) 'hi'; end
<rubydoc> stderr: -e:2: syntax error, unexpected tIDENTIFIER (https://carc.in/#/r/6icu)
Devalo has joined #ruby
<fyber> phaul: yeah I figured, just going to stick with the "subject: params[:subject]" syntax
xdecimal has quit [Quit: -a- IRC for Android 2.1.44]
<c-c> I wonder if one could somehow do **h.to_a[0..2]
<c-c> - It works on the hash alone, but not inside a method call + splat
tdy1 has quit [Ping timeout: 244 seconds]
<c-c> duh, then the splat is not needed! *forehead slap*
<c-c> - but one has to see that the keys are inserted in the correct order, or some such obscurity 8P
lele` has quit [Ping timeout: 258 seconds]
lele has joined #ruby
conta has quit [Quit: conta]
turt2live has joined #ruby
sepp2k has joined #ruby
jonjitsu has joined #ruby
supergeek[m] has joined #ruby
Turnikov[m] has joined #ruby
kaleido has quit [Quit: out]
jcarl43 has joined #ruby
tau has joined #ruby
Devalo has quit [Remote host closed the connection]
kaleido has joined #ruby
physikoi has quit [Ping timeout: 246 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fernando-Basso has quit [Remote host closed the connection]
physikoi has joined #ruby
Xiti has quit [Ping timeout: 246 seconds]
cd has joined #ruby
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
houhoulis has joined #ruby
apparition has quit [Quit: Bye]
physikoi has quit [Ping timeout: 246 seconds]
code_zombie has joined #ruby
physikoi has joined #ruby
conta has joined #ruby
Xiti has joined #ruby
Swyper has joined #ruby
dar123 has joined #ruby
dar123 has quit [Client Quit]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
TomyLobo has joined #ruby
xrexeon has joined #ruby
tpanarch1st has joined #ruby
dionysus69 has joined #ruby
clemens3_ has joined #ruby
conta has quit [Quit: conta]
dionysus69 has quit [Ping timeout: 246 seconds]
Devalo has joined #ruby
salasrod has quit [Read error: Connection reset by peer]
salasrod has joined #ruby
dellavg__ has quit [Ping timeout: 250 seconds]
Devalo has quit [Ping timeout: 245 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZO has quit [Ping timeout: 245 seconds]
cow[moo] has joined #ruby
johnny56 has joined #ruby
Dbugger has quit [Remote host closed the connection]
Dbugger has joined #ruby
Devalo has joined #ruby
dar123 has joined #ruby
physikoi has quit [Ping timeout: 255 seconds]
dviola has quit [Quit: WeeChat 2.4]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy1 has joined #ruby
laaron has joined #ruby
lytol has quit [Remote host closed the connection]
physikoi has joined #ruby
ellcs has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has joined #ruby
laaron has quit [Remote host closed the connection]
hightower3 has quit [Remote host closed the connection]
laaron has joined #ruby
DTZUZO has joined #ruby
cow[moo] has joined #ruby
tpanarch1st has quit [Read error: Connection timed out]
tpanarch1st has joined #ruby
cow[moo] has quit [Client Quit]
Devalo has quit [Remote host closed the connection]
nowhere_man has quit [Ping timeout: 246 seconds]
cow[moo] has joined #ruby
Swyper has quit [Remote host closed the connection]
ellcs has quit [Remote host closed the connection]
Swyper has joined #ruby
nowhere_man has joined #ruby
dionysus69 has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
renich has joined #ruby
zachk has joined #ruby
zachk has quit [Changing host]
zachk has joined #ruby
SeepingN has joined #ruby
ellcs has joined #ruby
orbyt_ has joined #ruby
reber has quit [Remote host closed the connection]
ur5us has joined #ruby
ellcs has quit [Ping timeout: 264 seconds]
dogweather has joined #ruby
renich has quit [Remote host closed the connection]
tpanarch1st has quit [Quit: Thanks for your help, nice to see you, take care.]
terabytes has joined #ruby
dionysus69 has quit [Ping timeout: 272 seconds]
terabytes has quit []
terabytes has joined #ruby
duderonomy has quit [Ping timeout: 252 seconds]
aniarya82 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
conta has joined #ruby
conta has quit [Ping timeout: 246 seconds]
dionysus69 has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us_ has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
physikoi has quit [Ping timeout: 255 seconds]
dogweather has quit [Quit: dogweather]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
Swyper has quit [Remote host closed the connection]
xrexeon has quit [Ping timeout: 264 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dviola has joined #ruby
cyberarm_ has joined #ruby
cyberarm has quit [Ping timeout: 250 seconds]
clemens3_ has quit [Remote host closed the connection]
AJA4350 has quit [Remote host closed the connection]
dogweather has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.4]
schleppel has quit [Quit: Konversation terminated!]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us_ has quit [Remote host closed the connection]
za1b1tsu_ has joined #ruby
ubuntuisloved has joined #ruby
za1b1tsu has quit [Ping timeout: 246 seconds]
orbyt_ has joined #ruby
Devalo has joined #ruby
Devalo has quit [Ping timeout: 245 seconds]
stan has joined #ruby
renich has joined #ruby
renich has quit [Remote host closed the connection]
renich has joined #ruby
Devalo has joined #ruby
leah2 has quit [Ping timeout: 258 seconds]
renich has quit [Client Quit]
dogweather has quit [Quit: dogweather]
Tharbakim has quit [Ping timeout: 246 seconds]
leah2 has joined #ruby
Swyper has joined #ruby
dviola has quit [Quit: WeeChat 2.4]
Tharbakim has joined #ruby
Tharbakim has quit [Changing host]
Tharbakim has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
tdy1 has quit [Ping timeout: 246 seconds]
nowhere_man has quit [Ping timeout: 245 seconds]
nowhere_man has joined #ruby
dionysus69 has quit [Ping timeout: 245 seconds]
cow[moo] has quit [Ping timeout: 245 seconds]
eckhardt has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xiti has quit [Ping timeout: 272 seconds]
Xiti has joined #ruby
AJA4350 has joined #ruby
nowhere_man has quit [Remote host closed the connection]
Swyper has quit [Remote host closed the connection]
Tharbakim has quit [Ping timeout: 250 seconds]
zachk has quit [Read error: Connection reset by peer]
zachk has joined #ruby
zachk has quit [Read error: Connection reset by peer]
zachk has joined #ruby
zachk has quit [Changing host]
zachk has joined #ruby
voidwatch has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
xrexeon has joined #ruby
xrexeon has quit [Max SendQ exceeded]
Swyper has joined #ruby
Devalo has quit [Remote host closed the connection]
ubuntuisloved has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
za1b1tsu_ has quit [Remote host closed the connection]
physikoi has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leah2 has quit [Ping timeout: 258 seconds]
leah2 has joined #ruby
u1d0514e has joined #ruby
t0xik has joined #ruby
Swyper has quit [Remote host closed the connection]
zachk has quit [Quit: Leaving]
u1d0514e has quit [Quit: Leaving]
Ai9zO5AP has quit [Quit: WeeChat 2.4]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
orbyt_ has joined #ruby
Devalo has joined #ruby
Devalo has quit [Ping timeout: 272 seconds]