baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview1: https://www.ruby-lang.org || Paste 4+ lines of text to https://gist.github.com || Rails questions? Ask in #RubyOnRails || Books: https://goo.gl/wpGhoQ || Logs: https://irclog.whitequark.org/ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
<havenwood> mikhael_k33hl: deja vu
Yxhuvud has joined #ruby
<mikhael_k33hl> havenwood: heya! hahaha, I've looked into what you provided, but still looking something simpler like: https://www.tutorialspoint.com/ruby/ruby_sending_email.htm
<havenwood> mikhael_k33hl: Did you try the mail or pony gems?
banisterfiend has joined #ruby
<mikhael_k33hl> havenwood: The mail gem seems to be quite a project: https://github.com/mikel/mail. Forgot about Pony though, I'll take a look at it
<jenrzzz_> mikhael_k33hl: use pony
eckhardt has joined #ruby
<mikhael_k33hl> jenrzzz_: I will look into that, thanks
karapetyan has quit [Remote host closed the connection]
mroutis has joined #ruby
shtirlic has quit [Ping timeout: 276 seconds]
KevinMGranger has quit [Ping timeout: 240 seconds]
haylon_ has quit [Ping timeout: 240 seconds]
luna_x[m] has quit [Ping timeout: 240 seconds]
Zarthus has quit [Ping timeout: 267 seconds]
Hanma[m] has quit [Ping timeout: 255 seconds]
kinduff[m] has quit [Ping timeout: 255 seconds]
Fridtjof has quit [Ping timeout: 256 seconds]
aviraldg has quit [Ping timeout: 240 seconds]
Giphy[m] has quit [Ping timeout: 240 seconds]
velu_aon[m] has quit [Ping timeout: 240 seconds]
turt2live has quit [Ping timeout: 256 seconds]
dizzy1or5[m] has quit [Ping timeout: 256 seconds]
luminousnine has quit [Ping timeout: 256 seconds]
iceskins[m] has quit [Ping timeout: 256 seconds]
jonjits[m] has quit [Ping timeout: 276 seconds]
redlegion[m] has quit [Ping timeout: 276 seconds]
zalipuha[m] has quit [Ping timeout: 276 seconds]
Fridtjof has joined #ruby
Zarthus has joined #ruby
brodul has quit [Ping timeout: 240 seconds]
Guest61488 has quit [Ping timeout: 240 seconds]
qyliss has quit [Ping timeout: 240 seconds]
Nilium has quit [Ping timeout: 260 seconds]
x0f has quit [Ping timeout: 260 seconds]
Tristan-Speccy has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
brodul has joined #ruby
x0f has joined #ruby
Nilium has joined #ruby
qyliss has joined #ruby
gix has joined #ruby
mroutis has left #ruby [#ruby]
aloy has quit [Ping timeout: 256 seconds]
ruby[bot] has quit [Ping timeout: 256 seconds]
shtirlic has joined #ruby
Yxhuvud has quit [Ping timeout: 260 seconds]
gigetoo has quit [Ping timeout: 264 seconds]
gremax has quit [Ping timeout: 256 seconds]
hammer has quit [Remote host closed the connection]
Yxhuvud has joined #ruby
hammer has joined #ruby
gigetoo has joined #ruby
cagomez has quit [Ping timeout: 265 seconds]
cagomez has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
torarne has quit [Ping timeout: 256 seconds]
aloy has joined #ruby
neuromanc_r has quit [Ping timeout: 276 seconds]
beremenushka3 has joined #ruby
hammer has quit [Ping timeout: 255 seconds]
gremax has joined #ruby
beremenushka has quit [Ping timeout: 260 seconds]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
n0m4d1c has joined #ruby
Yxhuvud has joined #ruby
n008f4g_ has quit [Ping timeout: 265 seconds]
despai has joined #ruby
n0m4d1c has quit [Ping timeout: 256 seconds]
n0m4d1c has joined #ruby
c0ncealed1 has quit [Remote host closed the connection]
c0ncealed1 has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
duderonomy has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
Yxhuvud has joined #ruby
dr3w_ has quit [Read error: Connection reset by peer]
dr3w_ has joined #ruby
chouhoulis has joined #ruby
cagomez has quit [Remote host closed the connection]
kapil___ has joined #ruby
cagomez has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
vondruch has quit [Quit: vondruch]
Emmanuel_Chanel has joined #ruby
vondruch has joined #ruby
ogres has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Yxhuvud has joined #ruby
cagomez has quit [Ping timeout: 246 seconds]
erlend has quit [Ping timeout: 268 seconds]
<Bish> whopsie
erlend has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
harrycs has joined #ruby
obzidian has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
n0m4d1c has quit [Ping timeout: 246 seconds]
Yxhuvud has joined #ruby
jready has quit [Remote host closed the connection]
jready has joined #ruby
n0m4d1c has joined #ruby
harrycs has quit [Ping timeout: 276 seconds]
despai has quit [Read error: Connection reset by peer]
obzidian has quit [Remote host closed the connection]
despai has joined #ruby
weaksauce has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jready has quit [Ping timeout: 240 seconds]
n0m4d1c has quit [Ping timeout: 256 seconds]
<kapil___> NL3limin4t0r_afk: thanks a lot
cats has quit [Ping timeout: 265 seconds]
cats has joined #ruby
gizmore|2 has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
cyberg has quit [Quit: Leaving]
ciscam has quit [Ping timeout: 260 seconds]
Yxhuvud has joined #ruby
ciscam has joined #ruby
gizmore has quit [Ping timeout: 240 seconds]
vutral|kali has quit [Quit: Lost terminal]
dang`r`us has left #ruby ["WeeChat 2.0.1"]
bmurt has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Yxhuvud has joined #ruby
skw has joined #ruby
hammer has joined #ruby
harrycs has joined #ruby
<mikhael_k33hl> I'm trying to test a class within a module. How do I instantiate it? I'm getting an error: "./mirror_notification.rb:46:in `<main>': uninitialized constant Report (NameError)"
<havenwood> mikhael_k33hl: If you have Merdule::Klass instantiate it with Merdule::Klass.new.
chouhoulis has quit [Remote host closed the connection]
skw has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
n0m4d1c has joined #ruby
<mikhael_k33hl> havenwood: I'm getting an error: "uninitialized constant "#{ModuleName}" (NameError)
n0m4d1c_ has joined #ruby
chouhoulis has quit [Ping timeout: 256 seconds]
n0m4d1c_ has quit [Read error: Connection reset by peer]
n0m4d1c_ has joined #ruby
workmad3 has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arescorpio has joined #ruby
n0m4d1c has quit [Ping timeout: 256 seconds]
dinfuehr has joined #ruby
konsolebox has quit [Ping timeout: 265 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 256 seconds]
konsolebox has joined #ruby
dinfuehr_ has quit [Ping timeout: 264 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
despai has quit [Quit: ...]
hammer has quit [Ping timeout: 240 seconds]
sameerynho has quit [Ping timeout: 240 seconds]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Yxhuvud has joined #ruby
<mikhael_k33hl> What text editors are you using guys? vim?
RougeR has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
harrycs has quit [Remote host closed the connection]
harrycs has joined #ruby
<mozzarella> neovim
samort7 has quit []
harrycs has quit [Remote host closed the connection]
harrycs has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
<mikhael_k33hl> mozzarella: haha, love the caption "literally the future of vim", I'll give this one a try :)
harrycs has quit [Remote host closed the connection]
ramfjord has joined #ruby
harrycs has joined #ruby
harrycs has quit [Remote host closed the connection]
harrycs has joined #ruby
icarus has quit [Ping timeout: 260 seconds]
harrycs has quit [Remote host closed the connection]
netherwolfe__ has joined #ruby
harrycs has joined #ruby
moei has quit [Quit: Leaving...]
ramfjord has quit [Ping timeout: 246 seconds]
harrycs has quit [Remote host closed the connection]
ramfjord has joined #ruby
netherwolfe__ has quit [Ping timeout: 256 seconds]
hammer has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Yxhuvud has joined #ruby
n0m4d1c_ has quit [Ping timeout: 256 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
ramfjord has joined #ruby
hammer has quit [Ping timeout: 256 seconds]
Psybur has quit [Ping timeout: 260 seconds]
ramfjord has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
<weaksauce> mikhael_k33hl spacemacs
ramfjord has quit [Ping timeout: 275 seconds]
alfiemax has quit [Remote host closed the connection]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
mtkd has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
vondruch has quit [Client Quit]
Yzguy has joined #ruby
vondruch has joined #ruby
Yxhuvud has joined #ruby
orbyt_ has joined #ruby
banisterfiend has joined #ruby
dstrunk has joined #ruby
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
pilne has quit [Quit: Leaving]
chrisgopher has joined #ruby
<kspencer> I use rubymine <3
<Radar> neovim here also
<baweaver> Sublime
<kspencer> never understood the difference between neovim and regular vim
<baweaver> >> Proc.new { |&fn| fn[1] }.call { |v| v * 2 } # :D
cagomez has joined #ruby
erlend has quit [Ping timeout: 276 seconds]
millerti has quit [Ping timeout: 264 seconds]
erlend has joined #ruby
cagomez has quit [Ping timeout: 246 seconds]
<baweaver> >> CaseClass=->t{->**ks{ks.map{|k,m|m===t[k]&&t[k]}}; CaseClass[name: String, title: String, message: String].call({name: 'baweaver', title: 'OHAI!', message: 'guess what Ruby can do!'})
<baweaver> Case class destructuring, ala Scala.
dstrunk has quit [Quit: Textual IRC Client: www.textualapp.com]
<baweaver> Ruby boy dead?
ciscam has quit [Ping timeout: 240 seconds]
ciscam has joined #ruby
<mr-robert> yup, ruby[bot] isn't here
gix- has joined #ruby
gix has quit [Disconnected by services]
<havenwood> #=> 2
chrisgopher has quit [Remote host closed the connection]
<mr-robert> but havenwood is!
<havenwood> #!> SystemStackError: stack level too deep
<havenwood> Oh, I'm a bad human REPL. I imagined the missing "}" in the wrong place.
<havenwood> #=> [false, false, false]
cadillac_ has quit [Ping timeout: 240 seconds]
<havenwood> Or maybe I'm a fine REPL but my stack is too small. I dunno!
Dimik has quit [Ping timeout: 264 seconds]
cadillac_ has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
redlegion has quit [Remote host closed the connection]
Yxhuvud has joined #ruby
redlegion has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
AJA4350 has quit [Quit: AJA4350]
Yxhuvud has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
vondruch has quit [Client Quit]
vondruch has joined #ruby
hammer has joined #ruby
cadillac_ has quit [Ping timeout: 276 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
cadillac_ has joined #ruby
workmad3 has joined #ruby
cagomez has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
arescorpio has quit [Quit: Leaving.]
Yxhuvud has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
vondruch has quit [Quit: vondruch]
cagomez has quit [Ping timeout: 256 seconds]
vondruch has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Yxhuvud has joined #ruby
char_var[buffer] has quit [Ping timeout: 264 seconds]
konsolebox_ has joined #ruby
arcturiaen_ has joined #ruby
alfiemax has joined #ruby
ReinH_ has joined #ruby
kireevco has quit [Ping timeout: 256 seconds]
ckrailo has quit [Ping timeout: 256 seconds]
ReinH has quit [Ping timeout: 256 seconds]
arcturiaen has quit [Ping timeout: 256 seconds]
ReinH_ is now known as ReinH
arcturiaen_ is now known as arcturiaen
^raz^ has joined #ruby
matti_ has joined #ruby
law_ has joined #ruby
raz has quit [Excess Flood]
konsolebox has quit [Write error: Connection reset by peer]
matti has quit [Remote host closed the connection]
colstrom has quit [Ping timeout: 261 seconds]
micalexander has quit [Ping timeout: 261 seconds]
reu has quit [Ping timeout: 261 seconds]
Evesy has quit [Ping timeout: 261 seconds]
shortdudey123 has quit [Ping timeout: 261 seconds]
agrecascino has quit [Ping timeout: 260 seconds]
Evesy_ has joined #ruby
reu has joined #ruby
shortdudey123 has joined #ruby
law has quit [Remote host closed the connection]
agrecascino has joined #ruby
mjacob_ has joined #ruby
alnewkir1 has joined #ruby
bheesham1 has joined #ruby
gremax has quit [Ping timeout: 266 seconds]
alnewkirk has quit [Ping timeout: 266 seconds]
mjacob has quit [Ping timeout: 266 seconds]
bheesham has quit [Ping timeout: 266 seconds]
c0ncealed1 has quit [Ping timeout: 246 seconds]
c0ncealed1 has joined #ruby
mozzarella has quit [Quit: WeeChat 2.0.1]
mozzarella has joined #ruby
MyMind has joined #ruby
Sembei has quit [Ping timeout: 265 seconds]
minimalism has joined #ruby
govg has joined #ruby
orbyt_ has quit [Ping timeout: 271 seconds]
oleo has quit [Quit: Leaving]
govg has quit [Remote host closed the connection]
govg has joined #ruby
sauvin has joined #ruby
chongtx has joined #ruby
anisha has joined #ruby
chongtxtx has quit [Ping timeout: 256 seconds]
moei has joined #ruby
ramfjord has joined #ruby
govg is now known as Guest41134
ramfjord has quit [Ping timeout: 256 seconds]
minimalism has quit [Quit: minimalism]
endemic has joined #ruby
Yzguy has quit [Quit: Zzz...]
Yzguy has joined #ruby
ryzokuken has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
stanford_AI has joined #ruby
<stanford_AI> What's a low computation algorithm for finding the biggest common substring in two strings? Example "hello how are you?" and "tomorrow are yes" = "w are y"
luna_x[m] has joined #ruby
Pisuke has joined #ruby
MyMind has quit [Ping timeout: 240 seconds]
alex`` has joined #ruby
Yzguy has quit [Ping timeout: 240 seconds]
neuromanc_r has joined #ruby
iceskins[m] has joined #ruby
gremax has joined #ruby
phaul has joined #ruby
erlend has quit [Ping timeout: 276 seconds]
erlend has joined #ruby
armyriad has quit [Quit: Leaving]
hkais has joined #ruby
<dminuoso> stanford_AI: That's a standard CS problem. Google for an algorithm.
<stanford_AI> i found one
<stanford_AI> but don't understand it
<dminuoso> baweaver: Scala sucks mkay.
<dminuoso> Is that supposed to be a question?
armyriad has joined #ruby
troys has quit [Quit: Bye]
<stanford_AI> dminuoso,
<stanford_AI> yes
ur5us_ has quit [Remote host closed the connection]
<havenwood> stanford_AI: http://www.xmailserver.org/diff2.pdf
<dminuoso> havenwood: You think that someone that is unable to read a wikipedia article will have more luck with reading a paper?
ur5us has joined #ruby
* dminuoso ¯\_(ツ)_/¯
<havenwood> stanford_AI: Read that paper!
<dminuoso> stanford_AI: Interesting. Because to me read that just reads like "I dont understand it"
<dminuoso> havenwood: I have a cool paper for you!
<havenwood> dminuoso: Pray tell!
armyriad has quit [Max SendQ exceeded]
armyriad has joined #ruby
velu_aon[m] has joined #ruby
<baweaver> dminuoso: don't care, made case classes :P
<havenwood> baweaver: Write a paper!
<dminuoso> This thing is hilarious and golden at the same time.
luminousnine has joined #ruby
dizzy1or5[m] has joined #ruby
<baweaver> Currently have an experimental branch with case classes, destructuring, mixins, and some other fun tricks
ur5us has quit [Ping timeout: 256 seconds]
<baweaver> though very likely the case class bit is going to be refactored a few times over because I dislike how they look
<dminuoso> baweaver: Just stop writing Ruby code and admit you are just looking for a fun language that has these tools builtin from first principles!
<baweaver> That's the thing though
<baweaver> Everything I'm writing is pretty much vanilla ruby
<baweaver> no real functional tricks, just a lot of to_proc, to_ary, ===, and inheritance
postmodern has quit [Quit: Leaving]
<baweaver> Honestly I think that's the mistake a lot of these other functional style libraries make. They don't feel like Ruby
<baweaver> Though I may leverage this for speed later: https://usehelix.com/getting_started
<baweaver> The real trick would be to manage to have it all performing in near vanilla runtime
suukim has joined #ruby
<dminuoso> baweaver: Like I said, I dont think its a mistake of the libraries, just a lot of missing design in Ruby.
jonjits[m] has joined #ruby
aviraldg has joined #ruby
thejoecarroll has quit [Ping timeout: 264 seconds]
<dminuoso> Ruby was not carefully designed. Instead it was kept in its initial shape with features bolted on top year after year.
<baweaver> Who said my intention was making a library?
<baweaver> I just proved that the features are there to make something like this without a ton of proc magic
<baweaver> Just because a language doesn't implement all your favorite FP design patterns does not make it badly designed
redlegion[m] has joined #ruby
hammer has quit [Ping timeout: 246 seconds]
haylon_ has joined #ruby
KevinMGranger has joined #ruby
hammer has joined #ruby
zalipuha[m] has joined #ruby
workmad3 has joined #ruby
thejoecarroll has joined #ruby
torarne has joined #ruby
Hanma[m] has joined #ruby
<dminuoso> baweaver: I dont know about "proc magic"
kinduff[m] has joined #ruby
turt2live has joined #ruby
icarus has joined #ruby
kapil___ has joined #ruby
Giphy[m] has joined #ruby
hammer has quit [Ping timeout: 265 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
ta_ has quit [Remote host closed the connection]
jamesaxl has joined #ruby
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
aupadhye has joined #ruby
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
baweaver is now known as baweaver_away
skw has joined #ruby
reber has joined #ruby
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
vondruch has quit [Client Quit]
aupadhye has quit [Ping timeout: 264 seconds]
skw has quit [Ping timeout: 240 seconds]
vondruch has joined #ruby
aufi has joined #ruby
amar has joined #ruby
apeiros has quit [Remote host closed the connection]
amar has quit [Ping timeout: 256 seconds]
aupadhye has joined #ruby
aufi has quit [Remote host closed the connection]
aufi has joined #ruby
camonz has joined #ruby
aufi has quit [Client Quit]
aufi has joined #ruby
aufi_ has joined #ruby
minimalism has joined #ruby
hammer has joined #ruby
aufi has quit [Ping timeout: 264 seconds]
nowhere_man has quit [Read error: Connection reset by peer]
nowhereman_ has joined #ruby
sidx64 has joined #ruby
nowhereman_ has quit [Remote host closed the connection]
nowhereman_ has joined #ruby
hammer has quit [Ping timeout: 276 seconds]
rabajaj has quit [Ping timeout: 240 seconds]
schneider has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
rippa has joined #ruby
amar has joined #ruby
vondruch has quit [Client Quit]
Burgestrand has joined #ruby
vondruch has joined #ruby
rabajaj has joined #ruby
skw has joined #ruby
hammer has joined #ruby
vondruch has quit [Quit: vondruch]
ramfjord has joined #ruby
vondruch has joined #ruby
Burgestrand has quit [Quit: Closing time!]
hammer has quit [Ping timeout: 265 seconds]
Burgestrand has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
tvw has joined #ruby
mtkd has quit [Ping timeout: 246 seconds]
ltt has joined #ruby
ltt has quit [Client Quit]
nertzy has quit [Ping timeout: 256 seconds]
bbentzen has joined #ruby
bbentzen has left #ruby [#ruby]
aufi_ has quit [Ping timeout: 264 seconds]
ltt has joined #ruby
nertzy has joined #ruby
schneider has quit [Ping timeout: 276 seconds]
aufi_ has joined #ruby
schneider has joined #ruby
clemens3_ has joined #ruby
sundhell is now known as sundhell_away
dionysus69 has joined #ruby
apeiros has joined #ruby
TomyWork has joined #ruby
venmx has joined #ruby
andikr has joined #ruby
erlend has quit [Ping timeout: 256 seconds]
amar has quit [Remote host closed the connection]
erlend has joined #ruby
skw has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
ur5us has quit [Ping timeout: 265 seconds]
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #ruby
hammer has joined #ruby
alex`` has quit [Quit: WeeChat 2.1]
dr3w_ has quit [Read error: Connection reset by peer]
ltt has joined #ruby
workmad3 has joined #ruby
dr3w_ has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
_aeris_ has quit [Ping timeout: 268 seconds]
mikecmpbll has joined #ruby
mlkkk has joined #ruby
_aeris_ has joined #ruby
inerthia has joined #ruby
Bish has quit [Quit: leaving]
hammer has quit [Ping timeout: 256 seconds]
eckhardt has joined #ruby
Bish has joined #ruby
Guest41134 has quit [Quit: leaving]
personofinterest has quit [Remote host closed the connection]
govg has joined #ruby
personofinterest has joined #ruby
personofinterest has quit [Read error: Connection reset by peer]
skw has joined #ruby
Zaab1t has joined #ruby
marr has joined #ruby
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Beams has joined #ruby
ltt has joined #ruby
amar has joined #ruby
Burgestrand has quit [Quit: Closing time!]
tomphp has joined #ruby
amar has quit [Ping timeout: 256 seconds]
crazy_boy has joined #ruby
yohji has joined #ruby
crazy_boy has quit [Client Quit]
venmx has quit [Remote host closed the connection]
amar has joined #ruby
hkais has quit [Ping timeout: 256 seconds]
Mike11 has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
hammer has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros__ has joined #ruby
riffraff has joined #ruby
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sundhell_away is now known as sundhell
ramfjord has joined #ruby
tomphp has joined #ruby
physicist__ has joined #ruby
tomphp has quit [Client Quit]
ramfjord has quit [Ping timeout: 240 seconds]
alfiemax has quit [Remote host closed the connection]
ltt has joined #ruby
ur5us has joined #ruby
alfiemax has joined #ruby
tomphp has joined #ruby
venmx has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
tomphp has quit [Client Quit]
maufart__ has joined #ruby
nielsk has quit [Quit: So Long, and Thanks for All the Fish]
aufi_ has quit [Ping timeout: 240 seconds]
hkais has joined #ruby
tomphp has joined #ruby
hammer has quit [Ping timeout: 265 seconds]
nielsk has joined #ruby
drale2k_ has joined #ruby
tomphp has quit [Client Quit]
Burgestrand has quit [Quit: Closing time!]
rahul_bajaj has joined #ruby
rabajaj has quit [Read error: Connection reset by peer]
rahul_bajaj has quit [Quit: Leaving]
rabajaj has joined #ruby
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 256 seconds]
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
mikhael_k33hl has quit [Quit: Page closed]
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erlend has quit [Ping timeout: 256 seconds]
ltt has joined #ruby
tomphp has joined #ruby
erlend has joined #ruby
tomphp has quit [Client Quit]
amar has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
tomphp has joined #ruby
claudiuinberlin has quit [Ping timeout: 256 seconds]
riffraff has quit [Quit: Leaving]
workmad3 has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
mtkd has joined #ruby
Burgestrand has joined #ruby
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ltt has joined #ruby
kapil___ has joined #ruby
tvw has quit []
tomphp has joined #ruby
tomphp has quit [Client Quit]
mtkd has quit [Ping timeout: 264 seconds]
mtkd has joined #ruby
caracalla has joined #ruby
caracalla has left #ruby [#ruby]
caracalla has joined #ruby
caracalla has left #ruby [#ruby]
Burgestrand has quit [Quit: Closing time!]
drale2k_ has quit [Quit: Textual IRC Client: www.textualapp.com]
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ryzokuken has quit [Remote host closed the connection]
sundhell is now known as sundhell_away
ur5us has quit [Remote host closed the connection]
workmad3 has joined #ruby
ur5us has joined #ruby
mtkd has quit [Ping timeout: 268 seconds]
ltt has joined #ruby
roshanavand has quit [Ping timeout: 256 seconds]
hammer has joined #ruby
skw has quit [Quit: Lost terminal]
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
jinie has joined #ruby
brosso has joined #ruby
<brosso> Hi #ruby, new to this language, not sure how to concatenate strings:
<brosso> irb(main):001:0> s = "\xC0\xDE"
<brosso> irb(main):002:0> s << "\xBA\x5E"
<brosso> => "\xC0\xDE"
<brosso> => "\xC0\u07BA^"
<brosso> I want to concatenate C0DEBA5E, but it's not working
tcopeland has quit [Quit: tcopeland]
<phaul> >> "\xDE"
<apeiros__> brosso: "\x5e" == "^"
apeiros__ is now known as apeiros
<canton7> brosso, so what's wrong with `s = "C0DE" s << "BASE"`?
<canton7> (as in, what are you trying to do with the escapes?)
<apeiros> you either have to live with inspect not showing hex code for printable characters, or you have to use the actual characters
<brosso> canton7: it's becose next thing to try is pack and unpack
<canton7> I'm not sure that answers my question?
<apeiros> brosso: it shows "\x5e" as "^" the same way it will show "A" as "A" and not as "\x41"
amar has joined #ruby
<apeiros> and normally you'll be quite happy about that, since otherwise strings would become rather illegible
<brosso> canton7: I'm following a tutorial and it's just an example
<phaul> apeiros: where's rubybot?
amar has quit [Remote host closed the connection]
<brosso> apeiros: thank you
<apeiros> phaul: good question
amar has joined #ruby
<apeiros> what a skulker…
apparition has joined #ruby
<phaul> :)
tvw has joined #ruby
dr3w_ has joined #ruby
ruby[bot] has joined #ruby
zautomata has joined #ruby
<apeiros> probably got stranded on a netsplit or somesuch
<mnemon> brosso: do you understand what you're doing? concatting 2byte strings input in Hex notation and not the strings C0DE and BA5E ? :P
amar has quit [Ping timeout: 256 seconds]
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ltt has joined #ruby
donofrio has joined #ruby
brosso has quit [Read error: Connection reset by peer]
ben has joined #ruby
<ben> hi, as a matter of style, is it a good idea to put a `then` at the end of lines that are `if <condition>`?
tomphp has joined #ruby
Burgestrand has joined #ruby
mtkd has joined #ruby
sundhell_away is now known as sundhell
<phaul> I can only tell you what I do, ppl might disagree. If there is a single expression in the if (but we also have the else case) I write them on the same line and use 'then'. Otherwise I don't use then. same goes for case when. If it's single expression and there is no else case I use the postfix if.
<al2o3-cr> brosso: ("\xC0\xDE" << "\xBA\x5E").unpack1('H8')
<al2o3-cr> ah, they left.
maufart__ has quit [Ping timeout: 256 seconds]
<al2o3-cr> naw, just "foo" "bar" to concat
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ltt has joined #ruby
hammer has quit [Ping timeout: 265 seconds]
<apeiros> ben: I read this as your condition having multiple lines? if so, then the better idea is to extract the condition into either separate statements or a method
<ben> apeiros: no, just "if foo then" vs "if foo" as a style question, for reasonably short "foo"s
<apeiros> I prefer with "then", but due to company style guide, I stopped using it.
<apeiros> or for your situation: it doesn't matter. just make sure you have a consistent style in whichever group of programmers you are.
Torstein has joined #ruby
<Torstein> hello :)
<apeiros> hi
<Torstein> is Random platform independent, that is - if given a seed, it will give me the same random numbers independent of the platform?
ltt has quit [Client Quit]
maufart__ has joined #ruby
ur5us has quit [Remote host closed the connection]
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
John_Ivan has joined #ruby
<apeiros> Torstein: those you can seed should, yes
<ben> apeiros: the local style is unclear which is why I'm trying to get an idea for outside opinions. the group of programmers is me who doesn't use `then`, someone who seems to do so, and someone else who i mistakenly advised to avoid `then` before i noticed the other guy was using a lot of `then`
<apeiros> throw a coin
karapetyan has joined #ruby
<apeiros> IME the actual style you follow doesn't really matter. things you liked you'll dislike after doing differently long enough.
<Torstein> do you think it extends even to ruby to javascript transpilers like opal?
<apeiros> Torstein: no idea. but that's trivial to experimentally establish.
<Torstein> but kind of beside the point...
<ben> apeiros: yeah, but i wouldn't want to throw a coin and then get stuck with a perfectly reasonable style that just happens to be the utter minority once we step outside our bubble
<ben> :)
<Torstein> I want to distribute my ruby to windows :/
<Torstein> my ruby app*
<apeiros> ben: then google "ruby code styleguide". there are a couple. but none come with # of people using the styleguide
<al2o3-cr> ben: i sometimes use `then` when it's a one-liner
<ben> which is why i hoped people in here might have some intuition for those numbers :P
<Torstein> whats the question?
<phaul> we could vote :)
<apeiros> ben: I'd assume the majority skips the "then"
<apeiros> I have no idea by what margin or whether it's even right :)
<ben> Torstein: My question was "if foo" vs "if foo then" (when it's not a one-liner or w/e)
<al2o3-cr> if it's not needed why use it.
AJA4350 has joined #ruby
<Torstein> I just defer to the default rules from rubocop :P
<apeiros> I used it because I found it more pleasant to read
<ben> apeiros: before today I assumed it was like 99.99% skipping "then", so I'm rapidly recalibrating my expectations :)
Burgestrand has quit [Quit: Closing time!]
dionysus69 has quit [Read error: Connection reset by peer]
<al2o3-cr> comes down to personal opinions really.
<ben> al2o3-cr: i tend to agree
dionysus69 has joined #ruby
<phaul> rubocop and such are such a PITA though.
<Torstein> rubocop says no to use if foo then for multilines
<apeiros> I hate at least 20 default settings of rubocop with passion 😂
<Torstein> yeah, me too
<Torstein> but lately I just ran rubocop -a, and it doesnt bother me as much as I thought it would
<Torstein> only exception I got is line length
<Torstein> (and block length for my specs)
alfiemax_ has quit [Remote host closed the connection]
<tbuehlmann> except rubocop -a can generate invalid ruby code
<tbuehlmann> so be careful
<phaul> today I had argument name too short. x, y for 2d coordinates..
<Torstein> :/
roshanavand has joined #ruby
roshanavand has quit [Client Quit]
<Torstein> yeah, there are some stupid errors
roshanavand has joined #ruby
<apeiros> call them `eccs` and `why`
<Torstein> I got a method containing only a case switch... it's 12 lines and "too long"
<apeiros> (not sure what a proper phonetic spelling for x is in english)
<dminuoso> phaul: rubocop is fine, just tweak rules.
<dminuoso> The main problem is that rubocop is rather opioninated and too many idiots blindly listen to the defaults.
jeffreylevesque has quit [Ping timeout: 264 seconds]
<dminuoso> adhering to whatever defaults Rubocopy has is more important than configuring Rubocop to enforce _your_ style
chouhoulis has joined #ruby
<phaul> it should come with a disclaimer. Or no defaults at all
<apeiros> no defaults would make it unusable for most
<apeiros> almost nobody wants to go through a setup step which requires a hundred multiple choice questions to be answered
<phaul> you could just answer a few that you care about, and use it fore those rules...
<apeiros> ah, you mean for where no configuration exists, it simply shouldn't check at all?
<phaul> yes
<dminuoso> phaul: false-positives are fine.
<dminuoso> If you get them, change the rule.
<apeiros> ok, that makes sense
<apeiros> phaul: maybe there's a config template for "disable all checks"
<phaul> I admit I haven't looked into it much detail, I will investigate when I have time
<phaul> I am going afk, need to get some lunch..
karapetyan has quit [Remote host closed the connection]
erlend has quit [Ping timeout: 260 seconds]
mtkd has quit [Ping timeout: 276 seconds]
erlend has joined #ruby
karapetyan has joined #ruby
Cavallari has joined #ruby
Cavallari1 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ltt has joined #ruby
yohji has quit [Ping timeout: 268 seconds]
mtkd has joined #ruby
Cavallari has quit [Ping timeout: 264 seconds]
Cavallari1 is now known as Cavallari
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nadir has joined #ruby
tcopeland has joined #ruby
yohji has joined #ruby
troulouliou_div2 has joined #ruby
Psybur has joined #ruby
troulouliou_divn has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troulouliou_divn has quit [Remote host closed the connection]
troulouliou_div2 has quit [Read error: Connection reset by peer]
troulouliou_div2 has joined #ruby
ltt has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has quit [Ping timeout: 256 seconds]
ldnunes has joined #ruby
Mike11 has quit [Quit: Leaving.]
synthroid has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
sundhell is now known as sundhell_away
schneider has quit [Quit: WeeChat 2.0.1]
troulouliou_div2 has quit [Read error: Connection reset by peer]
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ltt has joined #ruby
milanj has joined #ruby
sundhell_away is now known as sundhell
bmurt has joined #ruby
<milanj> I want to dispatch on ruby version at runtime, is it possible to do that in "load time" or I need to do that at runtime ?
hammer has joined #ruby
karapetyan has quit [Remote host closed the connection]
<dminuoso> milanj: What exactly is "load time"
karapetyan has joined #ruby
<milanj> not sure how to call it in ruby context
hammer has quit [Ping timeout: 265 seconds]
<milanj> compile -> load -> execute
<milanj> I guess my question is it possible not to do it at runtime
hammer has joined #ruby
<dminuoso> milanj: I can think of some mechanisms, but they are not really ruby related.
<dminuoso> milanj: Ruby itself does not let you hook into the compilation process.
<apeiros> ?xy
<ruby[bot]> it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
<apeiros> milanj: what's the problem you're trying to solve by "dispatch in load time" (regardless of what it is actually supposed to mean)
<milanj> anyway, I can look at RUBY_VERSION
<milanj> that's good enough
hammer has quit [Ping timeout: 276 seconds]
mtkd has quit [Ping timeout: 256 seconds]
zautomata has quit [Ping timeout: 240 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
milanj has left #ruby ["Leaving"]
vondruch has joined #ruby
rabajaj has quit [Quit: Leaving]
NL3limin4t0r_afk is now known as NL3limin4t0r
vondruch has quit [Client Quit]
vondruch has joined #ruby
<NL3limin4t0r> ben: The Ruby style guide says the following: " Do not use then for multi-line if/unless."
<ben> thank you!
mtkd has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
hammer has joined #ruby
<apeiros> I love how it calls itself "*the* ruby style guide"
banisterfiend has quit [Read error: Connection reset by peer]
duderonomy has quit [Ping timeout: 240 seconds]
hammer has quit [Ping timeout: 240 seconds]
<NL3limin4t0r> apeiros: Yep, but hey it's the most popular one and if I'm not mistaken also used by RuboCop for references.
Torstein has quit [Quit: Page closed]
jerematic has joined #ruby
hammer has joined #ruby
kapil___ has joined #ruby
hammer has quit [Ping timeout: 276 seconds]
maufart__ has quit [Ping timeout: 268 seconds]
maufart__ has joined #ruby
hammer has joined #ruby
tcopeland has quit [Ping timeout: 260 seconds]
tcopeland has joined #ruby
apparition has quit [Quit: Bye]
physicist__ is now known as gentooisforricer
gentooisforricer is now known as physicist__
duderonomy has joined #ruby
mtkd has quit [Ping timeout: 268 seconds]
hammer has quit [Ping timeout: 265 seconds]
shinnya has joined #ruby
k0mpa has joined #ruby
amar has joined #ruby
GodFather has joined #ruby
amar_ has joined #ruby
amar_ has quit [Remote host closed the connection]
amar_ has joined #ruby
amar_ has quit [Remote host closed the connection]
amar_ has joined #ruby
amar has quit [Ping timeout: 264 seconds]
amar_ has quit [Remote host closed the connection]
ramfjord has joined #ruby
Cavallari1 has joined #ruby
oleo has joined #ruby
Cavallari has quit [Ping timeout: 256 seconds]
hammer has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
Cavallari1 has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
schneider has joined #ruby
yohji has quit [Ping timeout: 256 seconds]
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Cavallari has joined #ruby
erlend has quit [Ping timeout: 256 seconds]
ltt has joined #ruby
erlend has joined #ruby
sidx64 has joined #ruby
ramfjord has quit [Ping timeout: 268 seconds]
suukim has quit [Quit: Konversation terminated!]
sidx64_ has joined #ruby
chouhoulis has quit [Remote host closed the connection]
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sidx64 has quit [Ping timeout: 276 seconds]
hammer has quit [Ping timeout: 276 seconds]
grilix has joined #ruby
pastorinni has joined #ruby
amar_ has joined #ruby
amar_ has quit [Remote host closed the connection]
yohji has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pastorinni has quit [Read error: Connection reset by peer]
ltt has joined #ruby
pastorinni has joined #ruby
hammer has joined #ruby
Sina has joined #ruby
troulouliou_div2 has joined #ruby
chongtx has quit [Remote host closed the connection]
guille-moe has quit [Quit: guille-moe]
guille-moe has joined #ruby
chongtxtx has joined #ruby
dr3w_ has joined #ruby
Rapture has joined #ruby
yo61 has quit [Ping timeout: 276 seconds]
AndyWojo has quit [Ping timeout: 276 seconds]
troulouliou_div2 has quit [Remote host closed the connection]
yo61 has joined #ruby
Yogui has joined #ruby
mtkd has joined #ruby
<Yogui> hi, I accidentally ran bundler as root and now i have permissions problems all over the place. Would anyone know how i can fix this?
yeticry has quit [Ping timeout: 264 seconds]
<apeiros> I'm tempted to say "reinstall your computer from backup", but I guess that's not all too helpful
<Yogui> apeiros yeah i thought of that but i was hoping there would be a fix somewhere
yeticry has joined #ruby
<al2o3-cr> Yogui: what did you run?
<Yogui> do i just need to delete the ~/.bundle and ~/.gems folders?
hammer has quit [Ping timeout: 255 seconds]
<Yogui> al2o3-cr i cd'ed to the project folder and ran "bundle install", "bundle update" and a bunch of similar commands
<Yogui> that was after upgrading the box from debian 8 to debian 9 (stretch)
AndyWojo has joined #ruby
synthroid has quit [Remote host closed the connection]
<al2o3-cr> hmm.
troulouliou_div2 has joined #ruby
<al2o3-cr> you could try `sudo bundle install --system`
<Yogui> i did
<Yogui> but then, "bundle install" still won't work
kedare has joined #ruby
<Yogui> right now the error is: "Errno::EACCES: Permission denied @ dir_s_mkdir - /usr/local/rvm/gems/ruby-2.5.0@global/extensions/x86_64-linux/2.1.0"
troulouliou_div2 has quit [Remote host closed the connection]
<al2o3-cr> Yogui: try these commands to see if they resolve the problem; http://ruby-korea.github.io/bundler-site/issues.html
<Yogui> let's see
amar_ has joined #ruby
banisterfiend has joined #ruby
<konsolebox_> Yogui: do you have both /usr/local/bin/bundle and /usr/bin/bundle?
troulouliou_div2 has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
<Yogui> yes i have both
<konsolebox_> perhaps you just have to uninstall the one in /usr/local/bin
<Yogui> is it with apt?
<konsolebox_> with 'gem'
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Yogui> Gem 'bundler' is not installed
<konsolebox_> you ran that as root?
apeiros has quit [Ping timeout: 260 seconds]
<Yogui> as the user it wouldn't run, so yes i ran gem uninstall bundler as root
gix- has quit [Quit: Client exiting]
<konsolebox_> Yogui: what is your ruby version?
<Yogui> never mind i mv'ed /usr/local/bin/bundle to something else
<konsolebox_> well ok
<konsolebox_> there's another why. it's by specifying -i
<Yogui> konsolebox_ the system version seems to be 2.1.0 but the one set with rvm is 2.5.0
netherwolfe__ has joined #ruby
<Yogui> ok it's installing everything anew
<Yogui> i think i didn't read the nice warning the first time
<Yogui> "Your user account isn't allowed to install to the system Rubygems"
<Yogui> they told me to use the --path option right there :/
gix has joined #ruby
mikecmpb_ has quit [Quit: inabit. zz.]
mikecmpbll has joined #ruby
<Yogui> konsolebox_ by specifying -i on what command?
troulouliou_div2 has quit [Read error: Connection reset by peer]
yeticry has quit [Ping timeout: 240 seconds]
<konsolebox_> Yogui: i don't have rvm so i'm not sure how it should be specified. but in my system if i had installed something in /usr/local, it would be 'gem uninstall -i /usr/local/lib64/ruby/gems/2.2.0 bundler'
hammer has joined #ruby
<Yogui> good to know
<konsolebox_> apparently i'm still using 2.2 even though i already have 2.5
yeticry has joined #ruby
<Yogui> i'm not a ruby or raild dev myself, i just need it to host a redmine instance
<Yogui> bundle install finished with success, but two warnings
Burgestrand has joined #ruby
<Yogui> executable-hooks and gem-wrappers warn about the following: Ignoring executable-hooks-1.4.2 because its extensions are not built. Try: gem pristine executable-hooks --version 1.4.2
ryzokuken has joined #ruby
<Yogui> oh and this one too: Warning: the running version of Bundler (1.13.6) is older than the version that created the lockfile (1.16.1). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
<Yogui> so i still have a permission problem
gix has quit [Quit: Client exiting]
ltt has joined #ruby
gix has joined #ruby
<konsolebox_> you probably have to install a bundler for your user
sidx64 has joined #ruby
<Yogui> yes i'm trying to: gem install bundler | ERROR: While executing gem ... (Gem::FilePermissionError) | You don't have write permissions for the /usr/local/rvm/gems/ruby-2.5.0@global directory.
<konsolebox_> i'm not sure why it's still trying to install to /usr/local
troys has joined #ruby
<konsolebox_> shouldn't it be in ~/.gem ?
Vaevictus has joined #ruby
<konsolebox_> what do you get with `which gem`?
<Yogui> "/usr/bin/gem"
sidx64_ has quit [Ping timeout: 276 seconds]
<konsolebox_> do you get to have a ~/.gem directory?
aupadhye has left #ruby ["Leaving"]
chouhoulis has joined #ruby
<Yogui> yes the user has a ~/.gem directory, if i understood the question correctly
<Vaevictus> hey guys. I've got a project on my radar i want to start, and need suggestions: I want to implement a diagnostic for routing with a video game randomizer. I need to be able to express certain segments of the game's map via accessibility, based on collected equipment. i'm thinking maybe a DSL would be appropriate, but really haven't messed with anything along these lines
<konsolebox_> Yogui: well that's just odd. as a normal user, `gem install bundler` should install bundler to ~/.gem
<Vaevictus> an example would be noting that two chests in the Desert Palace are now open because you got the Book, or alternatively because you got the mirror and flute. (i.e. different entrance)
sidx64 has quit [Read error: Connection reset by peer]
<konsolebox_> Yogui: perhaps you need to cleanup the gems in /usr/local. they might be influencing the behavior of 'gem'.
Cavallari has quit [Quit: Cavallari]
<Vaevictus> i suppose i could just design a complex data structure
<Yogui> maybe that's because $GEM_PATH points to that folder?
sidx64 has joined #ruby
<Yogui> konsolebox_ ok, do you know how i can do that?
<konsolebox_> hmm, i don't have that variable set. maybe
jrafanie has joined #ruby
<konsolebox_> Yogui: it's quite difficult to make a suggestion as you're using rvm. do you get to upgrade ruby to 2.5.0 through it?
<Yogui> yes
<Yogui> i don't much care which version manager i'm using, i just understand that i needed one
<konsolebox_> i believe each version of ruby use a different version of gem
<Vaevictus> is rvm obsolete?
<konsolebox_> so it's odd that you're using /usr/bin/gem
sidx64_ has joined #ruby
<konsolebox_> too bad i really don't have any knowledge about rvm
<Yogui> which one do you use, then?
<Vaevictus> Yogui: did you add rvm to your .profile or whichever shell you're running?
alfiemax has joined #ruby
Burgestrand has quit [Quit: Closing time!]
<konsolebox_> Yogui: if you run 'unset GEM_PATH; exec bash -l' as a normal user, do you still get to have a GEM_PATH variable set?
<Yogui> Vaevictus not the user's .profile or .bashrc no
sidx64 has quit [Ping timeout: 240 seconds]
<Yogui> konsolebox_yes
<Vaevictus> Yogui: there's a thick layer of rust on my ruby and rvm knowledge, but iirc, that's required
<Vaevictus> iirc, rvm overrides the default ruby environment varibles
<konsolebox_> Yogui: i'm in Gentoo, and i don't need rvm or any other helper for managing multiple versions of Ruby. here we only do 'eselect ruby set ruby25' or something to change a version.
<Yogui> argh
apeiros has joined #ruby
<Yogui> also, i just stopped the running instance i had of redmine, and it won't start again thanks to today's fiddling
<Vaevictus> konsolebox_: i always used rvm rather than eselect
<Yogui> Vaevictus would you be able to help me fix my install?
<Vaevictus> Yogui: of rvm or of ruby?
<Yogui> no idea
<Yogui> basically, while upgrading Debian from v8 to v9 i ran "bundle install" in the app directory but as root, not as the user
cschneid_ has joined #ruby
<Yogui> of rvm, i guess
<Vaevictus> that'd be for system ruby, probably not for rvm
<Vaevictus> i'm not sure whether root would be using rvm
<Vaevictus> as root, what do you get for "rvm list known" ?
<Yogui> my understanding is that the system ruby is pretty much useless once you start using rvm?
<Vaevictus> no
<Vaevictus> not at all
<Yogui> rvm list known gives me a bunch of output, what are you looking for?
<Vaevictus> rvm's a way of using multiple or alternative versions of ruby while not buggering up your system ruby
hammer has quit [Ping timeout: 276 seconds]
<Vaevictus> okay, start a new shell as root and do: type rvm | head -1
<Yogui> Ruby enVironment Manager 1.29.3 (latest) (c) 2009-2017 Michal Papis, Piotr Kuczynski, Wayne E. Seguin
<Vaevictus> okay, i believe that user is /not/ sourcing rvm correctly
eckhardt has joined #ruby
<Yogui> that was root
<Vaevictus> try it as your user
<Vaevictus> that's good/bad
<Yogui> as the user: bash: rvm: command not found
<Vaevictus> root shouldn't be sourcing rvm... but also your bundle install as root would have altered your system ruby gems
<Vaevictus> okay, as your user, try: source ~/.rvm/scripts/rvm
<Vaevictus> and then follow that command with the aformented type rvm command
<Vaevictus> aformentioned lol.
<Yogui> that file is empty
<Yogui> doesn't exist, even
<Vaevictus> oh...
synthroid has joined #ruby
<Vaevictus> are you planning on using rvm by other users than this one user?
<Yogui> nope
<Vaevictus> then you should never run/install any rvm things as root
<Vaevictus> so start over as that user.
<Yogui> ok
<Vaevictus> this would work: \curl -sSL https://get.rvm.io | bash -s stable --ruby
<Vaevictus> basically, you run it all as that user, it sets up rvm in userspace...
Mike11 has joined #ruby
<konsolebox_> Yogui: it seems like what you had was a multi-user install. you used ... | sudo bash ...
<konsolebox_> or maybe you ran it as root. same effect probably
<Yogui> konsolebox_ yes that was my mistake
<Yogui> Vaevictus it won't run
tomphp has joined #ruby
<Yogui> mktemp: failed to create file via template ‘/usr/local/rvm/rvm-exec-test.XXXXXX’: Permission denied
<Yogui> when i change that line to write to /tmp, another error: ./rvmsetup.sh: line 348: /usr/local/rvm/archives/rvm-master.tgz: Permission denied
<Vaevictus> as a non-root user?
<Yogui> yes as non-root user
hammer has joined #ruby
<Vaevictus> in what directory?
<Vaevictus> none of that makes any sense to me
<Yogui> in the project i'm trying to run
<konsolebox_> Yogui: what line did you change?
<Yogui> i changed the mktemp line
<Vaevictus> wait, rvm won't run? or your project won't install?
camilasan_ has joined #ruby
camilasan has quit [Ping timeout: 256 seconds]
<Yogui> the install script won't finish, so at the moment rvm won't run and the project even less
<konsolebox_> Yogui: for you to be able to edit a line, does that mean that you downloaded https://get.rvm.io first and ran it with bash?
<Yogui> konsolebox_ yes, because the curl line wouldn't work becasue the mktemp line failed
guille-moe has quit [Ping timeout: 240 seconds]
mtkd has quit [Ping timeout: 240 seconds]
<Vaevictus> Yogui: for some reason that script thinks you're running it as root
<konsolebox_> Yogui: try to unset GEM_PATH and run the script again
<Vaevictus> you're not using sudo or anything are you?
<Yogui> konsolebox_ same error with mktemp
hammer has quit [Ping timeout: 265 seconds]
<Vaevictus> Yogui: i'd check your .profile .bashrc etc files for anything related to gems and rpm and delete those settings
<Vaevictus> as the user, also delete ~/.rvm
<Vaevictus> that user should never leave the homedir
<Yogui> .profile and .bashrc look stock debian to me, no mention of anything else than base system stuff
<Yogui> there's no ~./rvm
<Yogui> oh, never leave the homedir, i'll try again then
gregf_ has joined #ruby
dr3w_ has joined #ruby
<Yogui> the curl command won't work from the homedir either
<Vaevictus> same mktemp error?
<Yogui> yes
<konsolebox_> Yogui: what happens if you try to run 'mktemp x' in the shell?
<Vaevictus> your environment is screwy. not sure what's up with that
<konsolebox_> agrees
<Vaevictus> oh, try it without the --ruby
maufart__ has quit [Quit: Leaving]
<Vaevictus> curl -sSL https://get.rvm.io | bash -s stable
hammer has joined #ruby
<Yogui> $ mktemp xxxxxxxxxxx.log: mktemp: too few X's in template ‘xxxxxxxxxxx.log’
<Yogui> same thing without the --ruby: mktemp: failed to create file via template ‘/usr/local/rvm/rvm-exec-test.XXXXXX’: Permission denied
<Vaevictus> hmm.
<Vaevictus> as root, try "rvm implode --force"
<konsolebox_> Yogui: sorry, can you try mktemp without an argument?
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Yogui> i think i'll give up, dump the DB, create a new host VM and install from scratch there, and then import my DB
<Yogui> $mktemp: /tmp/tmp.6GL7kTbRhd
<konsolebox_> well looks like mktemp doesn't have any problem
<Vaevictus> Yogui: probably a good idea, there's no reason your user should be trying to do a root install as a non-root user
<Vaevictus> unless you've got some weird global environment/ruby thing going on
<konsolebox_> i read the source code. the line 'test_exec=$(mktemp $path/rvm-exec-test.XXXXXX)' causes the problem.
<Yogui> konsolebox_ yes, but in the script there's a parameter with a variable $path taht's apparently filled with something
<Yogui> yes
<konsolebox_> that implies that $path is set to /usr/local/rvm, which shouldn't be what is happening
<Yogui> echo $path gived me nothing in the console, so it's in the script
dionysus69 has joined #ruby
<Vaevictus> echo $PATH
<Yogui> lowercase
<Vaevictus> shouldn't be lowercase
<Yogui> i mean in the script it's lowercase
<Yogui> echo $PATH: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
<Vaevictus> could you pastie your environment as the user somewhere?
<Yogui> sure
<Yogui> how do i dump the environment?
<Vaevictus> env
<konsolebox_> Yogui: you can force to set path to ~/.rvm
<konsolebox_> curl -sSL https://get.rvm.io | bash -s stable --path=~/.rvm
<Vaevictus> lets see what the env looks like though
<konsolebox_> yeah
<konsolebox_> curl -sSL https://get.rvm.io | bash -s stable --path ~/.rvm
<konsolebox_> no =
<Vaevictus> okay, rvm_bin_path is causing issues.
<Vaevictus> man, there's a bunch of htings in the env
<Vaevictus> that's on a fresh login?
<Yogui> oh no
ltt has joined #ruby
<konsolebox_> i think he has to unset that hook somewhere in /etc
ben has left #ruby [#ruby]
<NL3limin4t0r> Yogui: Have you tried to implode the rvm installation like Vaevictus sugested?
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtkd has joined #ruby
<Vaevictus> Yogui: it appears that you have a system rvm installed, the root implode my take care of that.
<Yogui> implde?
* dminuoso kicks back as another victim fell into the RVM trap
<Vaevictus> 10:21 <Vaevictus> as root, try "rvm implode --force"
<konsolebox_> /etc/profile.d/rvm.sh is the culprit. it's automatically loaded by /etc/profile
dionysus70 has joined #ruby
<dminuoso> apeiros: We should run a professional RVM support business.
<dminuoso> We'd get rich.
<dminuoso> Elon Musk kind of rich.
kedare has quit [Ping timeout: 256 seconds]
<konsolebox_> dminuoso: how much you'd pay us?
<apeiros> can we also fly to the mars and bore tunnels under our cities as a side job/hobby?
dionysus69 has quit [Ping timeout: 265 seconds]
dionysus70 is now known as dionysus69
<Yogui> konsolebox_ /etc/profile.d/rvm.sh doesn't exist
<Vaevictus> Yogui: did you run the implode?
<dminuoso> apeiros: No. Instead we'll build tunnels to mars.
<dminuoso> More profit.
<Yogui> Vaevictusyes and the curl thing again, which worked
<Vaevictus> Yogui: woot
<apeiros> dminuoso: 👍🏻
<konsolebox_> on a new login perhaps?
<apeiros> sounds like a plan!
<Vaevictus> so yeah, the installer borked by system rvm
<Yogui> so, now should I cd to my app and bundle install again?
<Vaevictus> depends
<Vaevictus> i'd logout your terminal and relog
hammer has quit [Ping timeout: 246 seconds]
<Vaevictus> and then check the env to see if it had local rvm paths
<Vaevictus> then you'll need to install ruby inside rvm
<dminuoso> apeiros: So... if you look back. How many chruby related issues did you ever have?
<dminuoso> Im actually looking back at 3 years without a single issue.
<apeiros> zero. but that might be related to not having used chruby ever :)
<dminuoso> Hah.
<dminuoso> apeiros: Shush about the second part.
<Yogui> $ env | grep rvm: PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/redmine/.rvm/bin
<dminuoso> Ill quote just the first part.
<konsolebox_> what's chruby?
<apeiros> and with rvm, I ever only had 1 issue too, and that was when it unexpectedly started to automatically run stuff via bundler
hammer has joined #ruby
<apeiros> but I can fully believe that rvm is more complex (and for most cases probably unnecessarily so) and hence more error prone
<dminuoso> konsolebox_: Imagine your massive version manager was just a simple (effectively) 60 line shell script that just updated PATH..
<Vaevictus> i kinda wish it didn't support multi-user installs
<Yogui> i'm honestly lost in the manager labyrinth... between rvm, yarn, bundler and i don't know what else
<Vaevictus> bundler is per project
<Yogui> still
<Vaevictus> rvm sets up the environment
<Yogui> that's the one I can't install now
<Vaevictus> ?
tomphp has joined #ruby
<Yogui> cd to the project then "gem install bundler": ERROR: While executing gem ... (Gem::FilePermissionError)You don't have write permissions for the /var/lib/gems/2.3.0 directory.
<Vaevictus> Yogui: i don't think rvm should change the path
suukim has joined #ruby
<Vaevictus> grepping for "rvm:" vs "rvm" is a problem
<konsolebox_> did he add the 'source' already?
<Yogui> yeah no there was no colon there
<dminuoso> konsolebox_: I like software that is easy to reason about. When I can just randomly look at the source code and instantly understand how any of it works - then that's quality software.
<dminuoso> konsolebox_: chruby is that. :)
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
<dminuoso> No magic or hidden dependencies.
<Yogui> yes konsolebox_ at the end of the setup script they told me to run "source /home/redmine/.rvm/scripts/rvm", and i did
<Vaevictus> Yogui: that's as the user after running the install script and fetching a new terminal?
<Yogui> yes
<Vaevictus> and your users name is "redmine" ?
<Yogui> yes
<Vaevictus> run the source command again and check the env again
<Yogui> that's the only app running on this server
<Vaevictus> and probably add that source command to .bashrc
<konsolebox_> it should be made permanent. once you change to another login session, the environment would be reset
<Vaevictus> (though it probably should have done that automatically
<konsolebox_> Yogui: you did this? echo "source $HOME/.rvm/scripts/rvm" >> ~/.bash_profile
nowhereman_ has quit [Ping timeout: 256 seconds]
<Yogui> Vaevictus ok now there are a few lines with rvm_bin_path etc
<Vaevictus> without rvm_bin_path rvm isn't "in effect"
cadillac_ has quit [Read error: Connection reset by peer]
<Vaevictus> so, do what konsolebox_ just said, or ensure that one way or another it's run when your user logs in
<NL3limin4t0r> Don't forget that you have to mark your command shell as login shell to make it load from .bashrc and .bash_profile.
<Yogui> ok
<Yogui> oh the line was already there, has to be what NL3limin4t0r says
<Yogui> NL3limin4t0r how do I enforce that?
<NL3limin4t0r> But my guess is you probably already have that done, on gnome terminal go to preferences -> profiles, click edit go to command and check "run command as login shell"
hammer has quit [Ping timeout: 265 seconds]
<NL3limin4t0r> on terminator it is about the same
cadillac_ has joined #ruby
<Yogui> that's just a ssh shell
<NL3limin4t0r> When I install rvm I needed to check that box to use the rvm commands. That's a while back though, things might have changed.
jcarl43 has joined #ruby
<Yogui> yes when i login as my user and "env | grep rvm" there's nothing useful, so the env file isn't sources like it should
<konsolebox_> oh yes, by default terminals run the shell in non-login mode
<NL3limin4t0r> Easyly forgettable since you never have to change it again.
andikr has quit [Remote host closed the connection]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<NL3limin4t0r> after checking the option make sure to restart your console
hammer has joined #ruby
<Yogui> ok go it
<Yogui> it shouldn't be placed in ~/.profile but rather ~/.bashrc
<Yogui> logout/log back in now displays all rvm env vars
<Yogui> (not "displays" but "sets")
hays_ has joined #ruby
hays_ has quit [Changing host]
hays_ has joined #ruby
clemens3_ has quit [Ping timeout: 260 seconds]
<Yogui> gem install bundler still won't work though
rfoust has joined #ruby
<NL3limin4t0r> It shouldn't try to install in /var/lib/gems/2.3.0 directory like you said before, but rather in ~/.rvm/gems/ruby-2.3.0
hammer has quit [Ping timeout: 276 seconds]
<konsolebox_> Yogui: can you share the environment variables again?
<NL3limin4t0r> seems like it's still trying to use the system ruby gem command
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Remote host closed the connection]
guille-moe has joined #ruby
alfiemax has joined #ruby
tdelam has quit [Remote host closed the connection]
ltt has joined #ruby
<Yogui> here you go after a fresh login: https://paste.linux.community/view/aef2e476
<konsolebox_> Yogui: what about the output of `which gem`?
jrafanie_ has joined #ruby
<Yogui> that's /usr/bin/gem
atmosx has quit [Quit: WeeChat 1.4]
alfiemax has quit [Remote host closed the connection]
<konsolebox_> hmm, shouldn't that be in ~/.rvm/bin?
<NL3limin4t0r> yep, if I run it I get "/home/johwen/.rvm/rubies/ruby-2.4.1/bin/gem"
hammer has joined #ruby
amar_ has quit [Remote host closed the connection]
<Yogui> my ~/.rvm/rubies is empty
<NL3limin4t0r> depending on whats your default ruby installation
erlend has quit [Ping timeout: 256 seconds]
[Butch] has joined #ruby
<NL3limin4t0r> does `rvm list` work?
<Vaevictus> Yogui: you need to rvm install ruby
<Yogui> which may be normal considering i just installed it
<Vaevictus> which should give you a new gem
<Vaevictus> iirc
jrafanie has quit [Ping timeout: 240 seconds]
sidx64_ has quit [Read error: Connection reset by peer]
<Yogui> that's an impressive system though, able to compile a complete language on the fly
erlend has joined #ruby
hammer has quit [Remote host closed the connection]
hammer has joined #ruby
sidx64 has joined #ruby
<Vaevictus> "rvm install 2.5.1"
<Vaevictus> would install 2.5.1
<NL3limin4t0r> yep and `use 2.5.1 --default` would mark it as default
mlkkk has quit [Remote host closed the connection]
mlkkk has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
cagomez has joined #ruby
sidx64 has quit [Max SendQ exceeded]
<NL3limin4t0r> if that is succesfull try running your "gem" command again
<Yogui> it's compiling
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sidx64 has joined #ruby
<Yogui> which gem is now: /home/redmine/.rvm/rubies/ruby-2.4.1/bin/gem
<NL3limin4t0r> just to make sure, just restart the terminal before running the gem install command
synthroid has quit [Remote host closed the connection]
<Yogui> too late xD
<NL3limin4t0r> np, does it do something?
<Yogui> yeah, it is
<Yogui> it's bundle installing stuff
<Yogui> no warnings so far, no permission errors
nowhereman_ has joined #ruby
ltt has joined #ruby
<Yogui> i am in COMPLETE AWE
<Yogui> it works again
mlkkk has quit [Ping timeout: 268 seconds]
<Yogui> the app runs, and within httpd no less
<Yogui> THANK YOU peeps that was amazing
tomphp has joined #ruby
<NL3limin4t0r> Yogui: (Y) curefull with root ;-)
<konsolebox_> dminuoso: but can you do 'ruby22 pry', or 'ruby25 pry'? :)
<konsolebox_> oops, that's `ruby22 $(which pry)`
cyberg has joined #ruby
<konsolebox_> or, ruby22 -S pry
<Yogui> yeah NL3limin4t0r i was so fed up with the debian upgrade and mysql that wouldn't start... started cutting corners i shouldn't have
amar has joined #ruby
obzidian has joined #ruby
guille-moe has quit [Ping timeout: 256 seconds]
tomphp has quit [Client Quit]
<Yogui> for anyone who might run into a debian8 to debian9 (stretch) upgrade and mysql to mariadb problems, check if the slow log is enabled, that should do it
shinnya has quit [Ping timeout: 260 seconds]
tomphp has joined #ruby
tomphp has quit [Client Quit]
orbyt_ has joined #ruby
hammer has quit [Remote host closed the connection]
hammer has joined #ruby
<NL3limin4t0r> man rvm
<NL3limin4t0r> xD, oops, this is not the terminal
<Yogui> no that's ok i had the same feeling just now
<havenwood> #>> No manual entry for rvm
<NL3limin4t0r> havenwood: Guess you're not using rvm than.
<NL3limin4t0r> Since it works fine in my terminal.
hammer has quit [Ping timeout: 276 seconds]
raynold has joined #ruby
<havenwood> NL3limin4t0r: Did you install RVM with apt? :-O
amar has quit [Remote host closed the connection]
kurko_ has quit [Ping timeout: 240 seconds]
<havenwood> NL3limin4t0r: I think the apt folk wrote a manpage. It's indeed nice to have one!
s2013 has joined #ruby
<NL3limin4t0r> havenwood: I honestly don't know. But when I run `which rvm` I get "/home/johwen/.rvm/bin/rvm" so I guess I just followed the instructions on the rvm install page.
<havenwood> NL3limin4t0r: nice
tvw has quit [Remote host closed the connection]
Mike11 has quit [Quit: Leaving.]
<havenwood> NL3limin4t0r: Yeah, you're totally correct: https://github.com/rvm/rvm/blob/master/man/man1/rvm.1
<havenwood> I just had rvm installed for development and didn't have the manpage installed. Oops!
s2013 has quit [Client Quit]
<NL3limin4t0r> How can you skip the installation of the man files?
<havenwood> RVM turns 9 on Aug 22.
<havenwood> chruby turns 6 on Aug 1.
<havenwood> I don't celebrate rbenv's birthday. Muahahaha!
<NL3limin4t0r> =P
<havenwood> jk, rbenv turns 7 on Aug 1.
<havenwood> Ruby package managers are born in August. Preferably Aug 1.
kurko_ has joined #ruby
<NL3limin4t0r> I never really had issues with rvm, so why fix something that isn't broken.
<NL3limin4t0r> So no need for me to search for alternatives.
<havenwood> NL3limin4t0r: I used RVM, then rbenv, before settling on chruby.
<havenwood> NL3limin4t0r: rbfu between RVM and rbenv, but it self-deprecated in favor of chruby
yohji has quit [Remote host closed the connection]
s2013 has joined #ruby
<NL3limin4t0r> havenwood: Anything in particular that you like of chruby over rvm?
<havenwood> NL3limin4t0r: RVM actually ships with MRVM (mini-RVM), which is just support for using chruby as the switcher.
synthroid has joined #ruby
<havenwood> NL3limin4t0r: From the perspective of maintaining the projects, RVM is ~30,000 lines of shell, while chruby is ~100.
k0mpa has quit [Ping timeout: 268 seconds]
<havenwood> NL3limin4t0r: The nice thing about chruby is that it's the simplest thing that can possibly work. There's nothing to possibly go wrong.
<havenwood> NL3limin4t0r: These 104 lines are the code: https://github.com/postmodern/chruby/blob/master/share/chruby/chruby.sh
<havenwood> NL3limin4t0r: Another 33 lines if you want .ruby-version auto-switching: https://github.com/postmodern/chruby/blob/master/share/chruby/auto.sh
<havenwood> NL3limin4t0r: I like completely decoupling the installer from the switcher.
<NL3limin4t0r> havenwood: Yeah, got a point there. I just like the ease of rvm. I don't really know shell code so I leave that to the developers of the version managers.
<tbuehlmann> using chruby and ruby-install for a while now, couldn't be happier with it
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<NL3limin4t0r> Nice. I gotta go though. Have a nice they chat.
NL3limin4t0r is now known as NL3limin4t0r_afk
<NL3limin4t0r_afk> they => day* (I'm losing focus xD, time to eat)
mikecmpbll has quit [Quit: inabit. zz.]
\void has joined #ruby
chouhoulis has quit [Remote host closed the connection]
marxarelli|afk is now known as marxarelli
chouhoulis has joined #ruby
chouhoul_ has joined #ruby
chouhou__ has joined #ruby
Beams has quit [Quit: .]
<havenwood> Congrats to the TruffleRuby folk on the GraalVM 1.0 release! http://www.graalvm.org/docs/reference-manual/languages/ruby/
dr3w_ has quit [Read error: Connection reset by peer]
dr3w__ has joined #ruby
chouho___ has joined #ruby
chouh____ has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
chou_____ has joined #ruby
bmurt has joined #ruby
chouhoul_ has quit [Ping timeout: 264 seconds]
chouhoulis has joined #ruby
tcopeland has quit [Ping timeout: 240 seconds]
TomyWork has quit [Ping timeout: 240 seconds]
chouhou__ has quit [Ping timeout: 276 seconds]
chouhoul_ has joined #ruby
<al2o3-cr> that must of been killer to implemtent.
chouho___ has quit [Ping timeout: 256 seconds]
chouhou__ has joined #ruby
chouh____ has quit [Ping timeout: 256 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouho___ has joined #ruby
<havenwood> al2o3-cr: It's also a great project to contribute to if you want to learn about new Ruby features by implementing them in pure Ruby. The maintainers give fantastic feedback: https://github.com/oracle/truffleruby
chou_____ has quit [Ping timeout: 264 seconds]
<havenwood> al2o3-cr: It's 51% Ruby! (Rubinius is 24.8% Ruby.)
chouh____ has joined #ruby
<al2o3-cr> havenwood: i'll bare that i mind :)
<al2o3-cr> seriously
chouhoulis has quit [Ping timeout: 256 seconds]
<al2o3-cr> wow
<havenwood> al2o3-cr: The specs are already written, so it's a joy to implement new features.
chouhoulis has joined #ruby
chouhoul_ has quit [Ping timeout: 264 seconds]
<al2o3-cr> havenwood: interesting, and congrats to the team from me too. :)
<havenwood> al2o3-cr: Here's a doc on getting started as a contributor: https://github.com/oracle/truffleruby/blob/master/doc/contributor/workflow.md
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhou__ has quit [Ping timeout: 256 seconds]
<al2o3-cr> bookmarked, i'll take a proper look at this later.
chouho___ has quit [Ping timeout: 240 seconds]
chouh____ has quit [Ping timeout: 240 seconds]
<al2o3-cr> whatever happened to streem?
<al2o3-cr> no guilds are introduced is streem redundant
<al2o3-cr> *now
<al2o3-cr> nvm i'm getting mixed up with something else.
workmad3 has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby
sidx64_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sparr has quit [Changing host]
sparr has joined #ruby
orbyt_ has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
sidx64 has quit [Ping timeout: 256 seconds]
cadillac_ has joined #ruby
<baweaver_away> havenwood: can RVM install TruffleRuby? :D
baweaver_away is now known as baweaver
<havenwood> baweaver: Right now you have to download the GraalVM, then point RVM at the languages/ruby bin: rvm mount path/to/graalvm/jre/languages/ruby -n truffleruby
ramfjord has joined #ruby
<baweaver> You should make a magic installer script
<havenwood> baweaver: It's the click through agreement that's currently blocking that step. I think there are plans to remove or get around that but last I heard it was the blocker.
hammer has joined #ruby
nowhereman_ has quit [Ping timeout: 260 seconds]
suukim has quit [Quit: Konversation terminated!]
ltt has joined #ruby
cadillac_ has quit [Ping timeout: 256 seconds]
cadillac_ has joined #ruby
<havenwood> baweaver: It looks like the rest is in place, so RVM will support TruffleRuby as soon as this issue is resolved: https://github.com/oracle/truffleruby/issues/118
<havenwood> Now that there's a GraalVM 1.0, it's arguably fair game for ruby-install as well.
amar has joined #ruby
<havenwood> The curlable download without click-through is a blocker for that as well.
<havenwood> I could go ahead and get it working without that step live. That's probably worth doing.
<havenwood> Maybe I'll take a stab at ruby-install support this weekend.
amar has quit [Remote host closed the connection]
venmx has quit [Ping timeout: 256 seconds]
amar has joined #ruby
rabajaj has joined #ruby
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
^raz^ has quit [Changing host]
^raz^ has joined #ruby
^raz^ is now known as raz
<havenwood> baweaver: I forgot, there's a step now between downloading Graal and the `rvm mount`: ./graalvm-1.0.0-rc1/Contents/Home/jre/lib/installer/bin/gu -c install org.graalvm.ruby
eckhardt has joined #ruby
pilne has joined #ruby
bmurt has joined #ruby
al2o3-cr is now known as fe203
fe203 is now known as fe2o3
cadillac_ has quit [Ping timeout: 265 seconds]
cadillac_ has joined #ruby
rawburtz has joined #ruby
hays_ has quit [Remote host closed the connection]
obzidian has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
obzidian has joined #ruby
redlegion has quit [Remote host closed the connection]
dr3w_ has joined #ruby
mikecmpbll has joined #ruby
redlegion has joined #ruby
rawburtz has quit [Remote host closed the connection]
jeffreylevesque has joined #ruby
eam has quit [Changing host]
eam has joined #ruby
<havenwood> Here's a stab at installation instructions for GraalVM 1.0.0-rc1 TruffleRuby installation on macOS: https://gist.github.com/havenwood/9bf1f4091060de673cc3e55ce507d0db
kith has joined #ruby
dcunit3d has joined #ruby
erlend has quit [Ping timeout: 256 seconds]
sameerynho has joined #ruby
Cavallari has joined #ruby
erlend has joined #ruby
<fe2o3> havenwood: doesn't macos have $HOME?
<havenwood> fe2o3: it does
obzidian has quit [Ping timeout: 264 seconds]
<fe2o3> why use PWD then?
<fe2o3> oh i see nvm.
<fe2o3> derpy today me.
jrafanie_ has quit [Quit: Textual IRC Client: www.textualapp.com]
clemens3_ has joined #ruby
claudiuinberlin has joined #ruby
hammer has quit [Remote host closed the connection]
duderonomy has joined #ruby
hammer has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
cadillac_ has quit [Ping timeout: 256 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cadillac_ has joined #ruby
mtkd has quit []
sidx64_ has quit [Read error: Connection reset by peer]
pastorinni has quit [Remote host closed the connection]
pastorinni has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DLSteve has joined #ruby
venmx has joined #ruby
bmurt has joined #ruby
pastorinni has quit [Ping timeout: 265 seconds]
bmurt has quit [Client Quit]
zautomata has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtkd has joined #ruby
n008f4g_ has joined #ruby
redlegion has quit [Ping timeout: 268 seconds]
rawburtz has joined #ruby
SeepingN has joined #ruby
redlegion has joined #ruby
moei has quit [Quit: Leaving...]
stanford_AI has quit [Ping timeout: 240 seconds]
stanford_AI_ has joined #ruby
mtkd has quit []
stanford_AI_ has quit [Max SendQ exceeded]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dr3w_ has joined #ruby
claudiuinberlin has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtkd has joined #ruby
akemot has quit [Quit: bye]
alex`` has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
dc1 has joined #ruby
banisterfiend has joined #ruby
rawburtz has quit [Remote host closed the connection]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dcunit3d has quit [Ping timeout: 240 seconds]
dc1 is now known as dcunit3d
dc1 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
livcd has joined #ruby
dalitom has joined #ruby
dcunit3d has quit [Ping timeout: 256 seconds]
<dalitom> hey guys, question ..... I have while true loop where I am creating object ob = Init.new and sleep 30sec
stanford_AI_ has joined #ruby
<dalitom> oh
netherwolfe__ has quit [Quit: Leaving]
<dalitom> I think I got it
<dalitom> sorry
stanford_AI_ has quit [Max SendQ exceeded]
<livcd> So GraalVM just got released. Anyone excited ?
chouhoul_ has joined #ruby
law_ is now known as law
<phaul> as a side note method loop loops for ever without the need of the superflouos true
quackslikeaduck has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
<phaul> &ri loop
dc2 has joined #ruby
dc2 has quit [Client Quit]
dcunit3d has joined #ruby
dalitom has quit [Quit: Page closed]
dc1 has quit [Ping timeout: 246 seconds]
^mtkd has joined #ruby
chouhoulis has quit [Ping timeout: 256 seconds]
venmx has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 268 seconds]
<apeiros> livcd: if I actually would get around to play with it I'd be incredibly excited :D
<apeiros> but alas, no time :(
<apeiros> all work and no play makes apeiros a dull boy
dcunit3d has quit [Ping timeout: 256 seconds]
<livcd> apeiros: haha right. though it looks like truffleruby is not ready
<livcd> is the world ready for polyglot apps ? i have a feeling it's gonna be a massive clusterfuck
venmx has joined #ruby
law has left #ruby [#ruby]
hays_ has joined #ruby
hays_ has quit [Changing host]
hays_ has joined #ruby
bmurt has joined #ruby
<Eiam> livcd: I don't even know what it is so.. no?
<Eiam> oh its a new attempt at JVM>
AgentVenom has joined #ruby
venmx has quit [Remote host closed the connection]
hammer has quit [Remote host closed the connection]
mostlybadfly has joined #ruby
hammer has joined #ruby
konsolebox_ is now known as konsolebox
hkais has quit [Ping timeout: 264 seconds]
sammi` has joined #ruby
<havenwood> livcd: Why do you way it's not ready? Just curious.
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> livcd: If you mean truffleruby doesn't ship with graalvm, you just need to: gu -c install org.graalvm.ruby
<livcd> havenwood: the page says R,Python,Ruby support is still experimental
orbyt_ has joined #ruby
ellcs has joined #ruby
sammi`_ has quit [Quit: Lost terminal]
<havenwood> livcd: It's remarkably real and well implemented. It's real Ruby! It's not ready for production.
<havenwood> Last I heard they were running tests against *all the gems* and working out the remaining kinks.
<livcd> yeah that's what i meant :)
<havenwood> *soon*
<livcd> still an issue with c extensions
bmurt has joined #ruby
n0m4d1c has joined #ruby
workmad3 has joined #ruby
nowhereman_ has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
pastorinni has joined #ruby
hays_ has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 264 seconds]
eckhardt has joined #ruby
cek has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
clemens3_ has quit [Ping timeout: 240 seconds]
cek has left #ruby [#ruby]
dr3w_ has joined #ruby
erlend has quit [Ping timeout: 260 seconds]
erlend has joined #ruby
dipnlik has quit [Quit: Connection closed for inactivity]
chouhoul_ has quit [Remote host closed the connection]
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
physicist__ has quit [Quit: Lost terminal]
jeffreylevesque has quit [Ping timeout: 260 seconds]
xenops has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Psybur has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
obzidian has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
ramfjord has quit [Ping timeout: 246 seconds]
vondruch has quit [Ping timeout: 268 seconds]
troulouliou_dev has joined #ruby
pastorinni has quit [Remote host closed the connection]
dcunit3d has joined #ruby
rawburtz has joined #ruby
hkais has joined #ruby
alfiemax has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
bmurt has joined #ruby
rawburtz has quit [Remote host closed the connection]
alfiemax has joined #ruby
pastorinni has joined #ruby
rawburtz has joined #ruby
dcunit3d has quit [Ping timeout: 256 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
synthroid has quit []
rawburtz has quit [Remote host closed the connection]
deathwishdave has joined #ruby
n008f4g_ has quit [Ping timeout: 276 seconds]
jeremati_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Psybur has joined #ruby
jerematic has quit [Ping timeout: 256 seconds]
shtirlic has quit [Quit: ZNC - http://znc.in]
jeremati_ has quit [Ping timeout: 260 seconds]
harrycs has joined #ruby
shtirlic has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
phaul has quit [Ping timeout: 246 seconds]
Cavallari1 has joined #ruby
s2013 has quit [Ping timeout: 264 seconds]
Cavallari has quit [Ping timeout: 240 seconds]
Cavallari1 is now known as Cavallari
jeffreylevesque has joined #ruby
alfiemax has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
marxarelli is now known as marxarelli|afk
^mtkd has quit []
n0m4d1c has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
grilix has quit [Ping timeout: 256 seconds]
ur5us has joined #ruby
deathwishdave has quit [Quit: Textual IRC Client: www.textualapp.com]
alfiemax has quit [Ping timeout: 256 seconds]
Cavallari has quit [Quit: Cavallari]
ramfjord has joined #ruby
alotofnoodles has joined #ruby
hkais has quit [Ping timeout: 268 seconds]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
Mike11 has joined #ruby
ldnunes has quit [Quit: Leaving]
apofis has joined #ruby
alex`` has quit [Ping timeout: 260 seconds]
ur5us has quit [Read error: No route to host]
ur5us has joined #ruby
n0m4d1c has joined #ruby
schneider has joined #ruby
redlegion has quit [Remote host closed the connection]
redlegion has joined #ruby
alfiemax has joined #ruby
tdy has quit [Ping timeout: 265 seconds]
chouhoulis has joined #ruby
alotofnoodles has quit [Ping timeout: 265 seconds]
alfiemax has quit [Ping timeout: 260 seconds]
amar has quit [Remote host closed the connection]
chrisgopher has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has quit [Ping timeout: 256 seconds]
[Butch] has quit [Quit: Textual IRC Client: www.textualapp.com]
pastorinni has quit [Remote host closed the connection]
tdy has joined #ruby
shtirlic has quit [Ping timeout: 256 seconds]
shtirlic has joined #ruby
icarus has quit [Ping timeout: 265 seconds]
orbyt_ has joined #ruby
shtirlic has quit [Client Quit]
amar has joined #ruby
shtirlic has joined #ruby
venmx has joined #ruby
jamesaxl has quit [Quit: WeeChat 2.1]
John_Ivan has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
amar has quit [Ping timeout: 256 seconds]
tris has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
duderonomy has joined #ruby
tris has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
chrisgopher has quit []
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
harrycs has quit [Remote host closed the connection]
harrycs has joined #ruby
obzidian has quit [Ping timeout: 264 seconds]
obzidian has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
moei has joined #ruby
harrycs has quit [Quit: Leaving]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Zaab1t has quit [Quit: Zaab1t]
tomphp has joined #ruby
obzidian has quit [Ping timeout: 256 seconds]
obzidian has joined #ruby
reber has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: inabit. zz.]
ptr4ce has joined #ruby
schneider has joined #ruby
dcunit3d has joined #ruby
jenrzzz has joined #ruby
venmx has quit [Ping timeout: 256 seconds]
ptr4ce has quit [Read error: Connection reset by peer]
shtirlic_ has joined #ruby
erlend has quit [Ping timeout: 256 seconds]
n0m4d1c has quit []
erlend has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
epochwolf is now known as epochwolf|2
sanscoeur has quit [Ping timeout: 265 seconds]
ellcs has quit [Ping timeout: 256 seconds]
epochwolf has joined #ruby
jordanm has quit [Quit: Konversation terminated!]
epochwolf|2 has quit [Quit: Uh no...]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Psybur_ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Psybur has quit [Ping timeout: 256 seconds]
tomphp has joined #ruby
eckhardt has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jready has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
eckhardt has quit [Client Quit]
chouhoulis has quit [Remote host closed the connection]
dr3w_ has joined #ruby
chouhoulis has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
chouhoul_ has joined #ruby
orbyt_ has joined #ruby
weaksauce has quit [Ping timeout: 256 seconds]
jordanm has joined #ruby
dcunit3d has quit [Ping timeout: 256 seconds]
orbyt_ has quit [Client Quit]
apofis has quit [Ping timeout: 276 seconds]
chouhoulis has quit [Ping timeout: 264 seconds]
orbyt_ has joined #ruby
cschneid_ has quit [Remote host closed the connection]
eckhardt has joined #ruby
karapetyan has quit [Remote host closed the connection]
zautomata1 has joined #ruby
zautomata has quit [Ping timeout: 240 seconds]
Pisuke has quit [Ping timeout: 246 seconds]
karapetyan has joined #ruby
Sembei has joined #ruby
jready has quit []
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has quit [Ping timeout: 256 seconds]
n008f4g_ has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
rfoust has joined #ruby
rfoust has quit [Client Quit]
bmurt has joined #ruby
cadillac_ has quit [Ping timeout: 264 seconds]
cadillac_ has joined #ruby
sameerynho has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
cadillac_ has quit [Ping timeout: 256 seconds]
cschneid_ has quit [Ping timeout: 256 seconds]
cadillac_ has joined #ruby
duderonomy has joined #ruby
shtirlic has quit [Quit: ZNC - http://znc.in]
shtirlic_ is now known as shtirlic
Mike11 has quit [Quit: Leaving.]
shtirlic_ has joined #ruby
cadillac_ has quit [Ping timeout: 260 seconds]
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
camonz has quit [Ping timeout: 264 seconds]
dr3w__ has joined #ruby
cadillac_ has joined #ruby
dr3w_ has quit [Ping timeout: 256 seconds]
n008f4g_ has quit [Ping timeout: 264 seconds]
LenPayne has quit [Ping timeout: 265 seconds]
jnollette has quit [Ping timeout: 268 seconds]
cadillac_ has quit [Ping timeout: 264 seconds]
jnollette has joined #ruby
shtirlic_ has quit [Quit: ZNC - http://znc.in]
LenPayne has joined #ruby
shtirlic_ has joined #ruby
workmad3 has joined #ruby
cadillac_ has joined #ruby
fe2o3 has quit [Quit: WeeChat 2.1]
chouhoul_ has quit [Remote host closed the connection]
leitz has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
shtirlic_ has quit [Quit: ZNC - http://znc.in]
quackslikeaduck has quit [Remote host closed the connection]
RougeR has joined #ruby
RougeR has quit [Changing host]
RougeR has joined #ruby
IRCtoo has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
shtirlic_ has joined #ruby
Yxhuvud has joined #ruby