jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
ghr has joined #ruby
pawnbox has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
Bugboy1028 has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
pawnbox has quit [Ping timeout: 250 seconds]
Bugboy1028 has joined #ruby
JakFrist has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mattwashere has quit [Remote host closed the connection]
<shevy> 6 * 5 euro + 1 * 3 euro + 12 * 10 euro !
weaksauce has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
houhoulis has joined #ruby
ghr has joined #ruby
craigp_ has quit [Ping timeout: 252 seconds]
mattwashere has joined #ruby
JeanCarloMachado has joined #ruby
johnny56 has joined #ruby
akira616 has quit [Quit: Leaving]
blackmesa has joined #ruby
whathappens has joined #ruby
sepp2k has quit [Quit: Leaving.]
ghr has quit [Ping timeout: 240 seconds]
mattwashere has quit [Remote host closed the connection]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JakFrist has joined #ruby
mistermocha has joined #ruby
mattwashere has joined #ruby
kevr has joined #ruby
whathappens has quit [Remote host closed the connection]
nankyokusei has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
whathappens has joined #ruby
ghr has joined #ruby
rcvalle has quit [Quit: rcvalle]
JakFrist has quit [Client Quit]
mistermocha has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
A5101 has joined #ruby
LegenTeri has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
PlasmaStar has quit [Ping timeout: 258 seconds]
djbkd has quit [Quit: Leaving...]
whathappens has quit [Ping timeout: 264 seconds]
ghr has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
spudowiar has quit [Quit: Leaving.]
PlasmaStar has joined #ruby
postmodern has quit [Quit: Leaving]
weaksauce has joined #ruby
colegatron has quit [Ping timeout: 276 seconds]
LegenTeri has quit [Client Quit]
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
fredolinhares has quit [Quit: WeeChat 1.5]
ghr has joined #ruby
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
mattwashere has quit [Remote host closed the connection]
Marsjan has joined #ruby
marsjaninzmarsa has quit [Ping timeout: 244 seconds]
fschuindt has joined #ruby
Marsjan is now known as marsjaninzmarsa
pawnbox has joined #ruby
saneax is now known as saneax_AFK
replay has quit []
<fschuindt> Why is such thing impossible? https://gist.github.com/fschuindt/967ecdc97f457b535b8be5a45343feff (loops through recursion like in functional languages)
enterprisey has joined #ruby
<fschuindt> Oh my bad
<fschuindt> Sorry
<fschuindt> Actually it needs a clause if n > 0
colegatron has joined #ruby
LegenTeri has joined #ruby
Es0teric has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
KnownSyntax_ has quit [Read error: Connection reset by peer]
fullofcaffeine has joined #ruby
KnownSyntax_ has joined #ruby
KnownSyntax_ has quit [Changing host]
KnownSyntax_ has joined #ruby
houhoulis has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
LegenTeri is now known as Kaneki
sneakers has quit [Ping timeout: 272 seconds]
Rodya_ has quit [Remote host closed the connection]
ghr has joined #ruby
fullofca_ has joined #ruby
ur5us has quit [Remote host closed the connection]
Rodya_ has joined #ruby
fullofcaffeine has quit [Ping timeout: 240 seconds]
Guest97566 has joined #ruby
Guest97566 is now known as kraken_
ghr has quit [Ping timeout: 240 seconds]
<kraken_> Is there any way to do this in one line?
Rodya_ has quit [Remote host closed the connection]
nando293921 has quit [Ping timeout: 276 seconds]
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gizmore has quit [Ping timeout: 244 seconds]
<kraken_> can you return a break value
Kaneki is now known as LegenTeri
paultreny has joined #ruby
paultreny has quit [Changing host]
paultreny has joined #ruby
tokynet has quit [Quit: Connection closed for inactivity]
ghr has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
Rodya_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
jhack has joined #ruby
mattwashere has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
<lupine> kraken_: return call_method if move_piece_xy == 's' ?
<kraken_> genius
<kraken_> Looks good to me
cdg has quit [Remote host closed the connection]
mattwashere has quit [Remote host closed the connection]
<kraken_> lupine, in a similar vein, is there any way to do THIS in one line https://gist.github.com/KrakenHH/e110b5502eabb4a09e4036455b28b9af?
<lupine> nothing attractive
<lupine> why the obsession with a single line?
mistermocha has joined #ruby
<kraken_> I'm trying to keep my methods under 6 lines
<lupine> I would suggest thinking in terms of expressions rather than lines
<lupine> you can put as many expressions onto one line if you like, after all
<kraken_> I suppose that's true
<lupine> the purpose is not to have short methods, it is to have easily understandable methods
<kraken_> What exactly is an expression
<lupine> a statement that returns a value
<lupine> (except statements aren't expressions, but there you are)
<lupine> in ruby, "x = 1" is an expression
<kraken_> I see
<lupine> "x = 1; y = 2" is two expressions on a single line
<kraken_> thank you
maikowblue has quit [Quit: .]
whathappens has joined #ruby
<lupine> for what you're doing, I'd suggest having all these checks as simple state methods, then have a game state, then you can have a single monster method that is case game_state ... end
<lupine> you have to zoom out quite far to see it, I expect
<lupine> (and yes, a giant case statement is evil, but there you go)
mistermocha has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
whathappens has quit [Ping timeout: 276 seconds]
TheHodge has quit [Quit: Connection closed for inactivity]
ghr has quit [Ping timeout: 240 seconds]
AndyBotwin has quit [Ping timeout: 246 seconds]
ur5us has quit [Ping timeout: 252 seconds]
Mimorial has quit [Quit: Leaving]
irregular has quit [Ping timeout: 252 seconds]
AndyBotwin has joined #ruby
ghr has joined #ruby
ekinmur has joined #ruby
kevr has quit [Ping timeout: 240 seconds]
frem_ has quit [Quit: Connection closed for inactivity]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DevMagpie has joined #ruby
Elvin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 240 seconds]
ekinmur has quit [Ping timeout: 260 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
blackmesa has quit [Ping timeout: 246 seconds]
blackgoat has joined #ruby
smathy has joined #ruby
agentmeerkat has joined #ruby
RegulationD has quit [Remote host closed the connection]
skalfyfan has joined #ruby
enterprisey has quit [Quit: brb]
ghr has joined #ruby
roamingdog has joined #ruby
CamonZ has quit [Quit: Textual IRC Client: www.textualapp.com]
DevMagpie has quit [Ping timeout: 272 seconds]
Rodya_ has joined #ruby
RegulationD has joined #ruby
skalfyfan has quit [Client Quit]
cdg has joined #ruby
jhack has quit [Quit: jhack]
agentmeerkat has quit [Ping timeout: 276 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
Elvin has joined #ruby
sarbs has joined #ruby
LegenTeri has quit [Ping timeout: 258 seconds]
cdg has quit [Ping timeout: 258 seconds]
karapetyan has joined #ruby
wald0 has quit [Quit: Lost terminal]
dangerousdave has joined #ruby
jaguarmagenta has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
ghr has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
hahuang61 has joined #ruby
jaguarmagenta has quit [Ping timeout: 258 seconds]
ghr has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
flashpoint9 has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
fullofca_ has quit [Quit: Leaving...]
ekinmur has joined #ruby
ghr has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
karapetyan has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
arescorpio has joined #ruby
AndyBotwin has quit [Ping timeout: 276 seconds]
benlieb has joined #ruby
CloCkWeRX has joined #ruby
AndyBotwin has joined #ruby
CloCkWeRX has quit [Client Quit]
symm- has quit [Ping timeout: 264 seconds]
chihhsin has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
SCHAAP137 has quit [Quit: Leaving]
mattwashere has joined #ruby
lxsameer has joined #ruby
Es0teric has joined #ruby
dangerousdave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 240 seconds]
LegenTeri has joined #ruby
c0mrad3 has joined #ruby
mattwashere has quit [Ping timeout: 264 seconds]
LegenTeri has quit [Remote host closed the connection]
arlek has joined #ruby
ghr has joined #ruby
bogusdisk has quit [Remote host closed the connection]
SuperLag has quit [Ping timeout: 264 seconds]
SuperLag has joined #ruby
AndyBotwin has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
nando293921 has joined #ruby
PaulCapestany has quit [Quit: .]
benlieb has quit [Quit: benlieb]
ghr has joined #ruby
blackmesa has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
PaulCapestany has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
agentmeerkat has joined #ruby
ghr has joined #ruby
Elvin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
agentmeerkat has quit [Ping timeout: 252 seconds]
<pilne> i've done some research (coming from mostly python over the years), on what to do to "speed up" code. in python i'd first dip into cython, and then into c itself. with ruby i think it looks like jruby and then native c/c++ (unless there is already a good c/c++ lib to wrap compared to a java implementation, then c/c++ first).
roamingdog has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 272 seconds]
ElFerna has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
ur5us has joined #ruby
ghr has joined #ruby
agentmeerkat has joined #ruby
sebstrax has quit [Quit: Connection closed for inactivity]
ghr has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 246 seconds]
zacstewart has joined #ruby
enterprisey has joined #ruby
VeryBewitching has quit [Quit: Konversation terminated!]
kevr has joined #ruby
ghr has joined #ruby
ensyde has quit [Quit: Leaving]
memorasus1 has joined #ruby
flashpoint9 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
memorasus has quit [Ping timeout: 246 seconds]
memorasus1 is now known as memorasus
agentmeerkat has quit [Ping timeout: 240 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
arlek has quit [Ping timeout: 240 seconds]
colegatron has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
nando293921 has quit [Ping timeout: 276 seconds]
braincras has quit [Quit: bye bye]
pawnbox has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gix has quit [Ping timeout: 246 seconds]
smathy has quit [Quit: Textual IRC Client: www.textualapp.com]
braincrash has joined #ruby
pawnbox has quit [Ping timeout: 258 seconds]
smathy has joined #ruby
gix has joined #ruby
ghr has joined #ruby
zacstewart has quit [Ping timeout: 276 seconds]
valkyr1e has quit [Ping timeout: 240 seconds]
colegatron has joined #ruby
karapetyan has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
polysics has joined #ruby
Yzguy has joined #ruby
hogetaro has quit [Quit: Leaving...]
treaki__ has joined #ruby
benlieb has quit [Quit: benlieb]
karapetyan has quit [Ping timeout: 244 seconds]
ledestin has joined #ruby
ghr has joined #ruby
craigp_ has joined #ruby
coffeecupp has joined #ruby
treaki_ has quit [Ping timeout: 240 seconds]
Tempesta has quit [Quit: See ya!]
polysics has quit []
skalfyfan has joined #ruby
kevr has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
Tempesta has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
zacstewart has joined #ruby
kevr has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
jaguarmagenta has joined #ruby
ghr has joined #ruby
valkyr1e has joined #ruby
kevr has quit [Ping timeout: 246 seconds]
ghr has quit [Ping timeout: 240 seconds]
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
z3ndrag0n has joined #ruby
ghr has joined #ruby
colegatron has quit [Ping timeout: 272 seconds]
mkosaki has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
coffeecupp has quit [Quit: Lost terminal]
al2o3-cr has joined #ruby
SilverKey has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
jazzonmymind` has joined #ruby
<havenwood> pilne: Other options include Crystal or Rust extensions or JRuby+truffle has performance rivaling extensions: http://jruby.org/bench9000/
CloCkWeRX has joined #ruby
A5101 has quit [Ping timeout: 244 seconds]
benlieb has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
colegatron has joined #ruby
<pilne> havenwood=> i had thought of helix and/or rust, i hadn't thought of crystal or the trufffle version of jruby, i *like* the ruby ways a bit more as they seem to remain more "ruby" whereas with python i had to become at least familiar with the other langauges
mattwashere has joined #ruby
<havenwood> pilne: Yeah, JRuby+truffle+graal really is Ruby, so it'll be exciting when they get RubyGems working.
<havenwood> pilne: And Crystal-lang is like you say way more Ruby than most!
hippyphysicist has joined #ruby
hippyphysicist has quit [Client Quit]
<pilne> i haven't dipped into jruby much at all, but i'll assume that like other jvm languages, it can (with some "cleaning" of passed data) use java libs?
alfiemax has joined #ruby
<bougyman> it can, but you should do so sparingly.
<bougyman> as with all deps, really.
chouhoulis has joined #ruby
Rodya_ has quit [Remote host closed the connection]
<havenwood> pilne: Just an aside, but there's a #jruby channel as well.
<havenwood> And a #crystal-lang channel.
djbkd has joined #ruby
CloCkWeRX has quit [Ping timeout: 276 seconds]
<pilne> i really am not at that point yet in my ruby-ways, my curiosity tends to get ahead of my abilities frequently :)
kevr has joined #ruby
mattwashere has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
<al2o3-cr> ruby needs a drink
<al2o3-cr> the best general lang inter
SilverKey has quit [Quit: Halted.]
CloCkWeRX has joined #ruby
<al2o3-cr> [].icu
A_Drone has joined #ruby
skalfyfan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<al2o3-cr> west
ghr has quit [Ping timeout: 240 seconds]
Ebok has joined #ruby
freerobby has quit [Quit: Leaving.]
skalfyfan has joined #ruby
Ebok has quit [Client Quit]
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
ghr has joined #ruby
leea has joined #ruby
<al2o3-cr> blah blah
<al2o3-cr> wha wha
A_Drone has quit [Remote host closed the connection]
<al2o3-cr> give it a pigging rest
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
skalfyfan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
leea has quit [Client Quit]
diegoviola has quit [Quit: WeeChat 1.5]
jaguarmagenta has joined #ruby
jenrzzz has joined #ruby
nankyokusei has joined #ruby
pawnbox has quit [Ping timeout: 258 seconds]
leea has joined #ruby
leea has quit [Client Quit]
ghr has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
pilne has quit [Quit: Quitting!]
blackmesa has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
A_Drone has joined #ruby
leea has joined #ruby
djbkd has quit [Quit: My people need me...]
kevr has quit [Ping timeout: 244 seconds]
postmodern has joined #ruby
mkosaki has quit [Ping timeout: 258 seconds]
<shevy> some interesting "tricks" or more snippets really: http://blog.ifyouseewendy.com/blog/2015/11/30/some-hash-tricks-in-ruby/
ghr has joined #ruby
<shevy> I didn't think about strict fetching
blackmesa has quit [Ping timeout: 244 seconds]
alfiemax has quit [Ping timeout: 258 seconds]
Madplatypus has joined #ruby
roamingdog has joined #ruby
<elomatreb> shevy: Is there an advantage to using the default block like that instead of Hash#fetch?
DTZUZU has quit [Ping timeout: 240 seconds]
<shevy> hmm
<shevy> I am not sure :-)
<shevy> I don't think I have ever needed to raise an error so far
roamingdog has quit [Remote host closed the connection]
<shevy> since if it is important, I check whether a key exists or not
roamingdog has joined #ruby
<elomatreb> Maybe that you could use a custom error class
voodoofish4301 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
c0mrad3 has quit [Quit: Connection closed for inactivity]
ghr has quit [Ping timeout: 240 seconds]
arescorpio has quit [Quit: Leaving.]
jenrzzz has quit [Ping timeout: 250 seconds]
hutch34 has joined #ruby
alfiemax has joined #ruby
flashpoint9 has joined #ruby
djbkd has joined #ruby
DTZUZU has joined #ruby
ghr has joined #ruby
jenrzzz has joined #ruby
hutch34 has quit [Ping timeout: 272 seconds]
AndrewIsHere has joined #ruby
UserInNeed has quit [Read error: Connection reset by peer]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
flashpoint9 has quit [Ping timeout: 250 seconds]
A_Drone has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 260 seconds]
ghr has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
ghr has joined #ruby
minimalism has quit [Quit: minimalism]
minimalism has joined #ruby
craigp_ has quit [Ping timeout: 264 seconds]
hk238 has joined #ruby
matp has quit [Remote host closed the connection]
Vingador has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
kraken_ has quit [Quit: Leaving]
matp has joined #ruby
Yzguy has quit [Quit: Zzz...]
karapetyan has joined #ruby
ghr has joined #ruby
Xiti has quit [Quit: Xiti]
karapetyan has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 240 seconds]
yadobujo has joined #ruby
yadobujo has quit [Remote host closed the connection]
yadobujo has joined #ruby
enterprisey has quit [Quit: cya]
Es0teric has quit [Quit: Computer has gone to sleep.]
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
A_Drone has joined #ruby
ghr has joined #ruby
Es0teric has joined #ruby
charliesome has joined #ruby
Dimik-- has joined #ruby
<Dimik--> how can i do this (0.001..1).step(0.001).map {|x| x.round(3)} in reverse ?
blackmesa has joined #ruby
<shevy> if you only need the target array
<shevy> (0.001..1).step(0.001).map {|x| x.round(3)}.reverse
RegulationD has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
alt513 has joined #ruby
<Dimik--> hm
Rodya_ has joined #ruby
futilegames has joined #ruby
A5101 has joined #ruby
A5101 has quit [Read error: Connection reset by peer]
<shevy> oh
pickandmix has quit [Quit: WeeChat 1.4]
<shevy> there also is .reverse_each (2..100).step(0.1).reverse_each(&method(:p))
vuoto has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
<shevy> 100.step(2, -2.0, &method(:p))
<shevy> I am copy pasting from http://stackoverflow.com/a/3030164/722915
Rodya_ has quit [Client Quit]
<Dimik--> hehe
roamingdog has quit []
<Dimik--> yeah i did the .reverse_each
DTZUZU has quit [Ping timeout: 240 seconds]
<Dimik--> the {}.reverse also worked but it's jumpy in pry/irb
<Dimik--> adding the records in sqlite3 so the actual code looks like
ghr has joined #ruby
<Dimik--> (0.001..1).step(0.001).map {|x| db.execute "INSERT INTO offer(offer) VALUES(#{x})"}.reverse
<Dimik--> that worked well
<Dimik--> only in pry it gave out a ton of nils at the end
xiaket has joined #ruby
<Dimik--> so yeh somethign like for x in (1..1.5).step(0.05).reverse_each do end also works
<shevy> brb
shevy has quit [Quit: ""]
chouhoulis has quit [Remote host closed the connection]
A_Drone has quit [Remote host closed the connection]
Rodya_ has joined #ruby
Dimik--- has joined #ruby
<Dimik---> network flapping
Dimik-- has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
tvw has joined #ruby
futilegames has quit [Quit: futilegames]
kevr has joined #ruby
hahuang61 has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
daumie has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
alfiemax has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
pontiki has joined #ruby
Devalo has joined #ruby
A_Drone has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
hightower2 has quit [Ping timeout: 240 seconds]
Dimik--- has quit [Ping timeout: 260 seconds]
Darmani has quit [Ping timeout: 250 seconds]
Vingador has quit [Remote host closed the connection]
ghr has joined #ruby
vuoto has quit [Remote host closed the connection]
craigp_ has joined #ruby
chouhoulis has joined #ruby
alfiemax has joined #ruby
lkb has joined #ruby
djbkd has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 240 seconds]
<headius> pilne: JRuby proper can use Java libraries very easily. I don't believe that's implemented for JRuby+Truffle yet (and it's not really production-ready for a while anyway)
craigp_ has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
aryaching has joined #ruby
Dimik has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
amclain has quit [Quit: Leaving]
TomyLobo has joined #ruby
zacstewart has quit [Ping timeout: 276 seconds]
dionysus69 has joined #ruby
nankyokusei has joined #ruby
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
ghr has joined #ruby
elifoster has joined #ruby
Devalo has quit [Remote host closed the connection]
kevr has quit [Ping timeout: 276 seconds]
xiaket has quit [Quit: Leaving]
Devalo has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 240 seconds]
Devalo has quit [Ping timeout: 264 seconds]
JoshGlzBrk has joined #ruby
zacstewart has joined #ruby
ghr has joined #ruby
lkb_ has joined #ruby
blackmesa has joined #ruby
reinh has joined #ruby
lkb has quit [Ping timeout: 272 seconds]
ghr has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
redria has joined #ruby
dc4 has joined #ruby
ghr has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
tvw has quit [Remote host closed the connection]
karapetyan has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
hogetaro has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
The_Phoenix1 has joined #ruby
mistermocha has joined #ruby
redria has quit [Quit: leaving]
ghr has joined #ruby
The_Phoenix has quit [Ping timeout: 276 seconds]
pjstirling has joined #ruby
Rodya_ has quit [Quit: Leaving...]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
flughafen_ has joined #ruby
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
dionysus70 is now known as dionysus69
alfiemax has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
mkosaki has joined #ruby
zacstewart has quit [Ping timeout: 240 seconds]
ddffg has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
hck89 has joined #ruby
hck89 has quit [Client Quit]
hck89 has joined #ruby
deecross has joined #ruby
tristanp_ has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 250 seconds]
al2o3-cr has quit [Ping timeout: 264 seconds]
craigp_ has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
Jackneill has joined #ruby
alfiemax has joined #ruby
craigp_ has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
solars has joined #ruby
al2o3-cr has joined #ruby
houhoulis has joined #ruby
azor has quit [Quit: Connection closed for inactivity]
yfeldblu_ has joined #ruby
der-landgraf has quit [Quit: WeeChat 1.5]
der-landgraf has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
max1 has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
houhoulis has quit []
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hobogrammer has quit [Quit: WeeChat 0.4.2]
ghr has joined #ruby
ReK2GnULinuX has joined #ruby
tmtwd has joined #ruby
ReK2 has quit [Ping timeout: 264 seconds]
miqlas-H has joined #ruby
Wildfyr has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
pjstirling has quit [Quit: Ex-Chat]
crdpink2 has joined #ruby
ReK2GnULinuX has quit [Ping timeout: 250 seconds]
crdpink has quit [Ping timeout: 250 seconds]
pjstirling has joined #ruby
ReK2 has joined #ruby
<pjstirling> hi, I updated the "rouge" ruby gem and it seems to be stuck while parsing the documentation, top says that the ruby-mri process has run for 27 minutes at 100% cpu on a reasonably fast machine, any suggestions?
RegulationD has joined #ruby
ghr has joined #ruby
kevr has joined #ruby
jenrzzz has joined #ruby
blackmesa has joined #ruby
daumie has quit [Quit: WeeChat 1.4]
LoneHerm_ has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 240 seconds]
Dimik has quit []
DTZUZU has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
psaifi has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
ReK2 has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 276 seconds]
multi_io has quit [Read error: Connection reset by peer]
A_Drone has joined #ruby
ghr has joined #ruby
ReK2 has joined #ruby
<pontiki> pjstirling: my first reaction is stop it and restart it
A_Drone has quit [Ping timeout: 240 seconds]
multi_io has joined #ruby
sinpai has joined #ruby
hahuang61 has joined #ruby
sinpai has quit [Remote host closed the connection]
al2o3-cr has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
<elomatreb> pjstirling: I just tried to install rouge with rdoc, killed it after 10 minutes of CPU time
BaroMeter has joined #ruby
<pjstirling> I hunted down the rouge github page, and apparently there's an issue in rdoc that makes it go berserk, so for now you need to install it without rdoc
<elomatreb> Do you really need the docs? I have my rubygems configured to only build docs if I tell it to, never missed them
hahuang61 has quit [Ping timeout: 250 seconds]
yadobujo_ has joined #ruby
flashpoint9 has joined #ruby
ghr has joined #ruby
yadobujo has quit [Ping timeout: 240 seconds]
chipotle has quit [Quit: cheerio]
max1 is now known as pickandmix
flashpoint9 has quit [Ping timeout: 250 seconds]
CloCkWeRX has quit [Ping timeout: 244 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
Es0teric has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
AndrewIsHere has quit []
ghr has joined #ruby
benlieb has quit [Client Quit]
Madplatypus has quit [Quit: Connection closed for inactivity]
tristanp has quit [Ping timeout: 250 seconds]
craigp_ has joined #ruby
alfiemax has quit [Ping timeout: 252 seconds]
Devalo has joined #ruby
Devalo has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 240 seconds]
Devalo has joined #ruby
yeticry has joined #ruby
benlieb has joined #ruby
saneax_AFK is now known as saneax
bkxd has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
shock_one has joined #ruby
ghr has joined #ruby
shock_one has quit [Remote host closed the connection]
firstdayonthejob has joined #ruby
voodoofish4302 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
voodoofish4301 has quit [Ping timeout: 250 seconds]
alfiemax has joined #ruby
nankyokusei has joined #ruby
blackmesa has joined #ruby
BaroMeter has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
flughafen_ has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
karapetyan has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
blackmesa has quit [Client Quit]
ghr has quit [Ping timeout: 240 seconds]
LoneHerm_ has joined #ruby
digneety has joined #ruby
blackmesa has joined #ruby
hck89 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zytrix has joined #ruby
LoneHerm_ has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
digneety has quit [Quit: digneety]
karapetyan has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
conta has joined #ruby
ghr has joined #ruby
nhhc has joined #ruby
flughafen_ has joined #ruby
kevr has quit [Ping timeout: 264 seconds]
ghr has quit [Ping timeout: 240 seconds]
tmtwd has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
^mtkd has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
mtkd has quit [Ping timeout: 258 seconds]
alt513 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
symm- has joined #ruby
ghr has joined #ruby
Mimorial has joined #ruby
tristanp has quit [Ping timeout: 264 seconds]
hck89 has joined #ruby
hck89 has quit [Client Quit]
armyriad has joined #ruby
benlieb has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
pontiki has quit [Quit: Lost terminal]
daumie has joined #ruby
insured has joined #ruby
codecop has joined #ruby
<insured> I like ruby's syntax better than python. python's syntax makes me nervious
<alfiemax> insured, y?
<Wildfyr> insured: i think they are more or less equal
<alfiemax> me too
<insured> idk like print "a"*3
<Wildfyr> python2?
<insured> that's aggrevating
<alfiemax> thats same in ruby
<Wildfyr> insured: if u do that in ruby, u'd get the same thing :P
<insured> oh noes
ghr has joined #ruby
<alfiemax> i stitched from python to ruby in like just hours
<Wildfyr> list comps in python are more readable (at places) however map seems so easy
<alfiemax> *switched
<elomatreb> If you don't like that, Ruby may not be the best choice. Ruby overloads operators like that all the time
<insured> oh boy. well I will not use that
M4dH4TT3r has joined #ruby
<insured> what about the indentation that's confusing
<alfiemax> how can that be confusing?
<alfiemax> it makes the code readable
<alfiemax> we follow the same in ruby
<insured> I like the end to close the statement
<insured> oh well
<Wildfyr> alfiemax: it isn't necessary tho
<alfiemax> its just that the language as such doesn't makes indentation strict
<Wildfyr> alfiemax: yea
postmodern has quit [Quit: Leaving]
<alfiemax> but i always advice to use proper indentation, for whichever language it might be, it makes the code alot readable
ghr has quit [Ping timeout: 240 seconds]
<Wildfyr> alfiemax: thanks to python, i have that habit
mkosaki has quit [Ping timeout: 258 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
<alfiemax> me too, but i started that long back when i learned C/C++
<elomatreb> If you like explicit end, maybe try Javascript? It requires the { }, but has free indentation
<insured> why would someone switch from python to ruby
<elomatreb> Scripting languages are basically personal preference
<ytti> someone i know coded python for years and switched to ruby like 2 years ago
<ytti> because he feels more productive on ruby
pawnbox has quit [Ping timeout: 276 seconds]
<M4dH4TT3r> anyone here that can tell me some off topic sht?
<alfiemax> personally i liked the rails framework, and django didnt feel so welcoming.. :)
<insured> hmm ok
<elomatreb> I really enjoy Ruby's syntax and standard library, that's the reason I'm using it
LoneHermit has joined #ruby
<ytti> i view ruby much cleaner implementation than python
Xeago_ has joined #ruby
<ytti> python having many things, which to me, feel hacky and undesigned
<elomatreb> Ruby also doesn't have that 2/3 issue :D
<insured> yea it somehow feels cleaner and consice
<alfiemax> 2/3 ??
<alfiemax> you mean float precision?
<ytti> stuff like len(obj), sorted(list), ".".join(list) annoy me lot more than they probably should
<M4dH4TT3r> wtf is haml?
<elomatreb> Python projects often only run in Python 2 or Python 3
<insured> 2 to 3 version
<alfiemax> oh, yeah
<insured> that's weird
<alfiemax> they are not much bothered about backward compatibility
GodFather has quit [Ping timeout: 252 seconds]
<elomatreb> M4dH4TT3r: It's a templating engine. You write abstract code to generate HTML
<alfiemax> M4dH4TT3r, its just another templating engine liek erb or slim
<M4dH4TT3r> is fedora based on redhat? (i usually use deb) but have to learn RH for more than a month...
ghr has joined #ruby
<ccooke> M4dH4TT3r: fedora is red hat.
benlieb has quit [Quit: benlieb]
<M4dH4TT3r> k thanks
<insured> idk if ruby's functionality is as broad as python's though but I rather stick to it
<M4dH4TT3r> is cucumber a compiler?
<M4dH4TT3r> for ruby
pawnbox has joined #ruby
<elomatreb> It's a testing tool
<M4dH4TT3r> what kind of testing?
<Sammichmaker> elomatreb: I disagree.. most modules work fine in both, and 2to3 works nicely. I like python's strict indentation for clean code, and it's easier to read IMO
<ccooke> M4dH4TT3r: Well. It's the desktop/consumer/experimental distro that is the basis for Red Hat, the more official and supportable distro that's more corporate focussed
<elomatreb> Haven't used it, sorry. Maybe look at their website?
<M4dH4TT3r> as long as the term commands are the same thats all im worried about
<elomatreb> Sammichmaker: It's gotten better recently. But I had to work against that more than once, whereas I never had these problems with Ruby
<Sammichmaker> I think each person is used to whatever they prefer, but I like both for different reasons, however I find Python can get the job done in any application
<M4dH4TT3r> elom they actually seem to have a irc chan f0or cucumber but i cant tell if anyones there or like the topic says on something called gitter
<Sammichmaker> I do think rails is superior to django for a number of reasons as far as web frameworks go
<M4dH4TT3r> thought RH used su not sudo though...
RegulationD has joined #ruby
<elomatreb> As I said earlier, scripting languages are a matter of preference. I despise writing Javascript, but it's a perfectly fine language
<M4dH4TT3r> in fedora im doing sudo yum update...
<elomatreb> M4dH4TT3r: su and sudo are two different things
<M4dH4TT3r> shouldnt it be suyum update
<M4dH4TT3r> su yum update
<Sammichmaker> python is great for systems programming, cross platform standard lib, and comes with all major OS's natively (besides windows)
<Sammichmaker> and GUI development
<elomatreb> M4dH4TT3r: You're probably better off in a linux-focused channel
blackgoat has quit [Quit: WeeChat 1.5]
<elomatreb> Sammichmaker: I agree, esp. on the GUI part
conta has quit [Ping timeout: 272 seconds]
<M4dH4TT3r> elom i only had a few q's about it everything after that is ruby
<elomatreb> You can press tab in your IRC client to autocomplete nicknames btw
<Sammichmaker> M4dH4TT3r: sudo grants users temporary root access to certain commands, su is for switching users
<M4dH4TT3r> im usually deb serv/network guy but over next 2mo need to learn ruby+ror with cucumber on RH
<Sammichmaker> so, if you're not root, you need to run "sudo yum ..." to run yum as root, assuming you can.
<Sammichmaker> Redhat / Debian doesn't matter when it comes to sudo/su
<M4dH4TT3r> yeah thats the way it is in deb Sammi just wasnt sure if same in RH
<Sammichmaker> yeah, all Linux behaves that way.
<M4dH4TT3r> so only real dif in term between RH and deb is yum/apt?
xue has quit [Read error: Connection reset by peer]
RegulationD has quit [Ping timeout: 260 seconds]
<Sammichmaker> those are the two different package managers
xue has joined #ruby
<M4dH4TT3r> thats what im saying
<Sammichmaker> so they are one distinction, but not the only
<Sammichmaker> stuff like SELinux / apparmor or whatever
<elomatreb> Aren't there also differences in release policies, etc?
<M4dH4TT3r> what else is there?
<Sammichmaker> well Redhat is enterprise Linux, Debian/Ubuntu is free
<elomatreb> Redhat (the company) offers paid support for their OS, Debian does not
antgel has joined #ruby
<Sammichmaker> There are RHEL "clones" like CentOS, but they include additional packages in yum by default.
pawnbox has quit [Ping timeout: 240 seconds]
<M4dH4TT3r> put it this way i know deb like the back of my hand, what do i need to know to jump into RH term besides the dif pkg managers?
<Sammichmaker> if you know Linux then you don't really need to worry about it
<M4dH4TT3r> k, works for me
<Sammichmaker> just the package management
<Sammichmaker> the rest you'll figure out as you go
<Sammichmaker> stuff like systemd vs upstart you can figure out if you are familiar with Linux.
<Sammichmaker> SELinux is for RHEL, which you can google
Xeago_ has quit [Remote host closed the connection]
<Sammichmaker> I don't really use it, I mostly use Debian based linux (e.g. Ubuntu), but it's a firewall/applications rules policy type thing
futilegames has joined #ruby
<M4dH4TT3r> yeah, i only use deb personally
<Sammichmaker> I just prefer iptables for any of those needs :P
<M4dH4TT3r> actual deb though
<M4dH4TT3r> :P
<Sammichmaker> I used to use Debian
<elomatreb> Archlinux is nice for desktop use, no experience with servers though
<Sammichmaker> but Ubuntu is more commonly used and updated today, has a large community and is very stable for both desktop and server usage
elifoster has quit [Quit: sleep]
<M4dH4TT3r> i do deb servers and have no issues
<Sammichmaker> 10 years ago I ran Debian or Slackware
<Sammichmaker> and compiled my own kernel, blah blah
<M4dH4TT3r> lm ao
<Sammichmaker> but nowadays I'm just too lazy
<M4dH4TT3r> so ruby is interpreted right?
<elomatreb> Yes
<Sammichmaker> plus hardware is much faster then needed
<Sammichmaker> yeah
<M4dH4TT3r> so i just need to sudo yum ruby?
<Sammichmaker> Python (CPython) is compiled to bytecode after running it once, usually.
<Sammichmaker> *yum install ruby... or whatever the package is called
<Sammichmaker> but look into RVM
hahuang61 has joined #ruby
<elomatreb> I wouldn't recommend RVM, try ruby-install and chruby
<Sammichmaker> if you want to manage different versions of ruby with diff dependencies
<Sammichmaker> yeah I haven't used ruby lately
<Sammichmaker> RVM was what I was using like 3 years ago
<Sammichmaker> well, I use it for Chef, but that comes installed with ChefDK
<Sammichmaker> so its embedded
<elomatreb> It works, but the way it hooks into shell commands and offers things are today done by bundler (gemsets) is a little weird
<Sammichmaker> I never cared for it much
<Sammichmaker> i like virtualenv in python though
blackmesa has joined #ruby
<elomatreb> For desktop use rvm is OK, I tried rvm on my (shared) server once and it only broke stuff
<elomatreb> It's probably something I could avoid with reading how to do that, but chruby is so much cleaner
<Sammichmaker> I ran rvm in production for my job, various versions of web apps using various ruby versions and dependency versions, didnt have much issue
pawnbox has joined #ruby
<Sammichmaker> yeah i dont think chruby was around back then
<M4dH4TT3r> ruby-install and chruby ?
<M4dH4TT3r> ahh
<elomatreb> Tools to manage ruby versions and install rubies if needed
<Sammichmaker> i read about it a while ago. I'm a DevOps engineer and still haven't needed to use RVM in a wile anyway
<Sammichmaker> Docker containers per web app helped sort that out :)
futilegames has quit [Quit: futilegames]
hahuang61 has quit [Ping timeout: 250 seconds]
saneax is now known as saneax_AFK
<elomatreb> Docker is probably overkill for the few sinatra scripts I actually run somewhere
daumie has quit [Ping timeout: 272 seconds]
<M4dH4TT3r> that reminds me i gotta learn coffeescript too
<M4dH4TT3r> wtf ever that is
<elomatreb> If you want to learn rails, take a look at https://www.railstutorial.org/book
yeticry has quit [Ping timeout: 276 seconds]
<elomatreb> Only goes over fundamentals, but it's up-to-date and well written
yeticry has joined #ruby
<M4dH4TT3r> i actually got "Ruby on Rails Tutorial" 3rd ed - Michael Hartl in front of me
<elomatreb> For what Rails version is that edition? Might want to keep the online version open aswell, as it is one of the few tutorials that is updated for Rails 5
reinh is now known as ReinH
jaguarmagenta has quit [Remote host closed the connection]
<M4dH4TT3r> has that website addy on the back along with other
<M4dH4TT3r> also have "learn ruby in 24hrs or less" -robert dwight
daumie has joined #ruby
saneax_AFK is now known as saneax
ghr has quit [Ping timeout: 240 seconds]
<elomatreb> The 3rd edition seems to be from 2014, so probably for Rails 4 (Which is probably what you'll find in production at your place)
karapetyan has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 250 seconds]
AndrewIsHere has joined #ruby
<M4dH4TT3r> yeah 4.2.0
firstdayonthejob has quit [Ping timeout: 264 seconds]
<M4dH4TT3r> cause i need to know ruby but i hella need to know rails, also need to brush up on js, coffeescript, RH, postgres, cucumber and haml
<M4dH4TT3r> this is all im doing for next month and a half
tristanp has joined #ruby
<elomatreb> Definitely doable. Ruby (and Rails) are designed for programmer comfort more than computer comfort
karapetyan has joined #ruby
benlieb has joined #ruby
benlieb has quit [Client Quit]
<M4dH4TT3r> yeah i already know java, bash, html5/css3, some js, some py, some c++, so adding another in a month and a half for this internship should be doable
karapetyan has quit [Remote host closed the connection]
ghr has joined #ruby
tristanp has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
<M4dH4TT3r> so with rails can you use sensors like with java?
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
karapetyan has quit [Remote host closed the connection]
<elomatreb> Sensors?
<M4dH4TT3r> yeah used to use robotics sensors in java
<elomatreb> Rails is a web framework, so I don't think it does anything with robotics
<elomatreb> I have no experience with that, but I'd assume that there are some Ruby robotics toolsets
Wildfyr has quit [Read error: Connection reset by peer]
<M4dH4TT3r> sorry, just trying to get an idea of wtf they want me to do in rails once i get there....
karapetyan has joined #ruby
<M4dH4TT3r> pm?
tomphp has joined #ruby
<elomatreb> You're probably better off asking here directly, I'm not too much of a Rails expert myself
<M4dH4TT3r> no, not openly
<elomatreb> OK, I still have some time for a few quick questions
ghr has quit [Ping timeout: 240 seconds]
sdothum has joined #ruby
ElFerna has joined #ruby
nankyokusei has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
zeroDi has joined #ruby
dc4 has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
yfeldblum has joined #ruby
antgel has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 276 seconds]
ghr has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
M4dH4TT3r has quit [Ping timeout: 260 seconds]
nhhc has quit [Quit: Leaving]
Snowy has joined #ruby
M4dH4TT3r has joined #ruby
M4dH4TT3r has quit [Changing host]
M4dH4TT3r has joined #ruby
burgestrand has joined #ruby
karapetyan has joined #ruby
ghr has joined #ruby
GodFather has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
chip_ has joined #ruby
MrBusiness2 has joined #ruby
yadobujo_ is now known as yadobujo
CloCkWeRX has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
r3klm has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
MrBusiness3 has quit [Ping timeout: 258 seconds]
karapetyan has quit [Remote host closed the connection]
kavanagh has joined #ruby
AndrewIsHere has quit [Client Quit]
ghr has joined #ruby
karapetyan has joined #ruby
AndChat|24576 has joined #ruby
last_staff has joined #ruby
karapetyan has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
SCHAAP137 has joined #ruby
insured has quit [Ping timeout: 246 seconds]
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
burgestrand has joined #ruby
ghr has joined #ruby
Snowy has quit [Quit: ragequit]
ghr has quit [Ping timeout: 240 seconds]
AndChat|24576 has quit [Quit: Bye]
insured has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
dionysus69 has quit [Ping timeout: 246 seconds]
ghr has joined #ruby
benlieb has joined #ruby
tristanp has joined #ruby
symm- has quit [Ping timeout: 276 seconds]
flashpoint9 has joined #ruby
AndChat|24576 has joined #ruby
psaifi has quit [Remote host closed the connection]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 240 seconds]
tristanp has quit [Ping timeout: 276 seconds]
insured has quit [Ping timeout: 276 seconds]
karapetyan has joined #ruby
flashpoi_ has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
dc4 has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
mrmortondk has joined #ruby
tomphp has joined #ruby
ghr has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
deecross has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
kavanagh has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
sepp2k has joined #ruby
ghr has joined #ruby
AndChat|24576 has quit [Quit: Bye]
deecross has joined #ruby
insured has joined #ruby
Pumukel has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 240 seconds]
craigp_ has quit [Ping timeout: 276 seconds]
hanmac has quit [Ping timeout: 272 seconds]
blackmesa has quit [Ping timeout: 246 seconds]
karapetyan has quit [Remote host closed the connection]
insured has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
ghr has joined #ruby
M4dH4TT3r has quit [Ping timeout: 250 seconds]
ElFerna has quit []
RegulationD has joined #ruby
ElFerna has joined #ruby
insured has joined #ruby
AndChat|24576 has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
dikons has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
M4dH4TT3r has joined #ruby
M4dH4TT3r is now known as Guest18723
hanmac has joined #ruby
dikons has quit [Client Quit]
insured has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
GodFather has quit [Ping timeout: 272 seconds]
xrlabs has joined #ruby
binaryplease4 has joined #ruby
hahuang61 has joined #ruby
shock_one has joined #ruby
binaryplease3 has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
tvw has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
TheWhip has quit []
Dimik-- has joined #ruby
karapetyan has quit [Remote host closed the connection]
ghr has joined #ruby
allcentury has joined #ruby
GodFather has joined #ruby
mistermocha has joined #ruby
AndChat|24576 has quit [Quit: Bye]
Dimik-- has quit [Ping timeout: 276 seconds]
insured has joined #ruby
rolandschutz has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
interki has joined #ruby
pawnbox has quit [Remote host closed the connection]
ElFerna has quit [Ping timeout: 276 seconds]
AndChat|24576 has joined #ruby
benlieb has quit [Quit: benlieb]
<rolandschutz> hello
<rolandschutz> I have installed ruby via homebrew, works. Now I have installed „gem install bundle“ sucessfully. But the terminal path is not set.
<rolandschutz> What is the path to bundle so I can link it in the terminal?
insured has quit [Ping timeout: 251 seconds]
exchgr has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AndChat|24576 has quit [Client Quit]
insured has joined #ruby
AndChat|24576 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
insured has quit [Ping timeout: 240 seconds]
Ebok has joined #ruby
ddffg has quit [Ping timeout: 244 seconds]
jaguarmagenta has joined #ruby
ghr has joined #ruby
finnnnnnnnnnn has joined #ruby
hck89 has joined #ruby
<finnnnnnnnnnn> can anyone suggest a more succinct way to make this hash? https://gist.github.com/anonymous/f2f7831fe40e4ec72ac6a584baf91341
<finnnnnnnnnnn> seems a bit verbose for ruby
hck89 has quit [Client Quit]
jaguarmagenta has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
nankyokusei has joined #ruby
GinoMan2440 has joined #ruby
tvw has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
<rolandschutz> I know it’s a beginners question, but I can’t find anything helpfull on the net
<rolandschutz> how can I locake the bundle file?
craigp_ has joined #ruby
<rolandschutz> un- and reinstalled stuff many times, it just doesn’t work
lorenalexm has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
<burgestrand> rolandschutz what do you mean by bundle file?
<rolandschutz> „bundle install"
<rolandschutz> returns command not found
ghr has joined #ruby
workmad3 has joined #ruby
<burgestrand> rolandschutz for one, I'd make sure that bundler is installed: gem list bundler
<rolandschutz> it is
AndChat|24576 has quit [Quit: Bye]
<burgestrand> rolandschutz secondly I'd make sure it's in the bindir for ruby: ls $(ruby -e 'puts Gem.bindir')
<rolandschutz> bundler (1.12.5, 1.10.6)
<rolandschutz> It is
<burgestrand> rolandschutz you installed ruby through homebrew?
<rolandschutz> yes
lxsameer has quit [Quit: WeeChat 1.5]
ghr has quit [Ping timeout: 240 seconds]
<burgestrand> rolandschutz could you post the output of: ruby -e 'puts Gem.bindir'? It'd be interesting to see
insured has joined #ruby
<burgestrand> (frankly, I have not installed ruby through homebrew before, so I'm not sure if the setup is special)
<rolandschutz> No such file or directory
insured has quit [Client Quit]
Vingador has joined #ruby
<rolandschutz> puts Gem.bindir: No such file or directory
insured has joined #ruby
<burgestrand> rolandschutz you only copied half of the command
<rolandschutz> shit
<rolandschutz> Oh… this path is still the wrong path to the mac defualr ruby /Users/rolandschutz/.gem/ruby/2.0.0/bin
<rolandschutz> Because with homebrew I’m on 2.3
<burgestrand> It's not necessarily wrong, the default system path is /usr/local/bin
<rolandschutz> My ruby is installed at /usr/local/Cellar/ruby/2.3.0/bin
<burgestrand> But I would have expected it to be within the homebrew prefix
<burgestrand> Yeah
<burgestrand> rolandschutz what about ruby -v?
codecop has quit [Remote host closed the connection]
<rolandschutz> That works, but because I manually created a symlink
<burgestrand> rolandschutz so you hacked your way to make ruby work, its no wonder the gems dont work :P
<rolandschutz> Well, I would loved to just install it and it works… but it didn’t and I didn’t find what to do on the net
ghr has joined #ruby
<burgestrand> rolandschutz I see :) I'm looking right now, trying to see if there's an additional step to the install on how it's expected to work
<rolandschutz> Would be very glad, when you let me know how to di it correctly :D
workmad3 has quit [Ping timeout: 252 seconds]
skalfyfan has joined #ruby
<burgestrand> rolandschutz to me it looks like it's supposed to end up in /usr/local/bin/ruby, is there one there?
gizmore has joined #ruby
Vingador has quit [Ping timeout: 246 seconds]
DTZUZU has quit [Ping timeout: 240 seconds]
<burgestrand> rolandschutz (or, well, to be specific it's supposed to be in $(brew --prefix)/bin/ruby)
insured has quit [Read error: Connection reset by peer]
insured has joined #ruby
rolandschutz has quit [Ping timeout: 258 seconds]
<burgestrand> >> "Hello %{ruby}" % Hash.new { |_, k| k.upcase }
yqt has joined #ruby
<ruby[bot]> Burgestrand: # => "Hello RUBY" (https://eval.in/602868)
AndChat|24576 has joined #ruby
skalfyfan has quit [Client Quit]
moeabdol has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
deecross has quit []
Ebok has quit [Quit: This computer has gone to sleep]
insured has quit [Ping timeout: 250 seconds]
blackmesa has quit [Ping timeout: 250 seconds]
Ebok has joined #ruby
AndChat|24576 has quit [Quit: Bye]
ghr has joined #ruby
insured has joined #ruby
JeanCarloMachado has joined #ruby
Elvin has joined #ruby
rolandschutz has joined #ruby
<rolandschutz> Burgestrand: I lost my internet connection. I did remove all symlinks and reinstalled ruby with homebrew
<rolandschutz> now ruby was automatically places by brew in the correct folder
<rolandschutz> ruby --version returns correctly 2.3
<burgestrand> rolandschutz nice!
<burgestrand> rolandschutz how about: ruby -e 'p Gem.bindir'?
rolandschutz has quit [Remote host closed the connection]
rolandschutz has joined #ruby
<rolandschutz> „gem install bundler“ also worked. but „bundle install“ still returns command not found
insured has quit [Quit: Bye]
insured has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
<gizmore> rolandschutz: which bundle
allcentury has quit [Ping timeout: 244 seconds]
Coldblackice has quit [Ping timeout: 246 seconds]
ghr has quit [Ping timeout: 240 seconds]
CybrGhost has joined #ruby
workmad3 has joined #ruby
<r3klm> rolandschutz: Add the output of "ruby -e 'p Gem.bindir'" to $PATH
mdw has joined #ruby
lele has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
<burgestrand> rolandschutz are you using sudo when you do the gem install?
tristanp has joined #ruby
<burgestrand> rolandschutz (don't, a lot of people do this in error)
lele has joined #ruby
johnmilton has joined #ruby
AngryBuzzy has joined #ruby
mdw_ has joined #ruby
shock_one has quit []
ghr has quit [Ping timeout: 240 seconds]
jaguarmagenta has joined #ruby
tristanp has quit [Ping timeout: 276 seconds]
Ebok has joined #ruby
<rolandschutz> Burgestrand: WOHOOOO… work!
gener1c has quit [Changing host]
gener1c has joined #ruby
<rolandschutz> no, I do it without sudo
<burgestrand> rolandschutz good :)
<burgestrand> rolandschutz nice, it works without any other changes? just works from the install alone?
mdw has quit [Ping timeout: 250 seconds]
lorenalexm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rolandschutz> I guess only the path were missing.
workmad3 has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
chip_ has quit [Ping timeout: 246 seconds]
gregf has joined #ruby
mdw_ has quit [Ping timeout: 240 seconds]
pilne has joined #ruby
<rolandschutz> lol, now the bundler can’t install something.
<burgestrand> rolandschutz what *is* your: ruby -e 'p Gem.bindir'?
<rolandschutz> Grmpf. I never ever had a smooth install experience with ruby
<rolandschutz> no, the problem is that some package doesn’t install
<burgestrand> rolandschutz I would expect it to be in your homebrew path, could you show me for my curiosity?
<rolandschutz> is there some cheap and simply ruby hosting?
al2o3-cr has joined #ruby
<rolandschutz> I just wanna run a existing app for one night.
ghr has quit [Ping timeout: 240 seconds]
troulouliou_dev has quit [Quit: Leaving]
isberg has joined #ruby
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gregf has quit [Client Quit]
davedev24 has joined #ruby
mdw has joined #ruby
elle has joined #ruby
gregf has joined #ruby
ghr has joined #ruby
rolandschutz has quit [Ping timeout: 246 seconds]
AzureStigma has joined #ruby
<AzureStigma> is ruby any way similar to haskell for the syntax?
ghr has quit [Ping timeout: 240 seconds]
Elvin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pontiki has joined #ruby
sergey_makagon has joined #ruby
yqt has quit [Ping timeout: 252 seconds]
RegulationD has joined #ruby
AzureStigma has quit [Quit: Leaving]
Xeago_ has joined #ruby
ghr has joined #ruby
AngryBuzzy has quit [Quit: This computer has gone to sleep]
DTZUZU has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
toretore has joined #ruby
DTZUZU has quit [Ping timeout: 246 seconds]
moeabdol has quit [Ping timeout: 272 seconds]
moeabdol1 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
jazzonmymind` has quit [Ping timeout: 252 seconds]
pawnbox has joined #ruby
r3klm has quit [Ping timeout: 250 seconds]
skade has joined #ruby
ghr has joined #ruby
hahuang61 has joined #ruby
blackmesa has quit [Ping timeout: 272 seconds]
pawnbox has quit [Ping timeout: 260 seconds]
mattwashere has joined #ruby
mattwashere has quit [Client Quit]
johnmilton has quit [Ping timeout: 258 seconds]
sergey_makagon has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
JeanCarloMachado has quit [Ping timeout: 250 seconds]
r3klm has joined #ruby
freerobby has joined #ruby
sergey_makagon has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
AngryBuzzy has joined #ruby
ghr has joined #ruby
SCHAAP137 has joined #ruby
daumie has quit [Ping timeout: 246 seconds]
ghr has quit [Ping timeout: 240 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
dionysus69 has joined #ruby
skweek has quit [Remote host closed the connection]
yadobujo has quit []
ghr has joined #ruby
kareeoleez has joined #ruby
hahuang61 has joined #ruby
allcentury has joined #ruby
kareeoleez is now known as yadobujo
flughafen_ has quit [Ping timeout: 246 seconds]
zytrix has quit [Ping timeout: 244 seconds]
flashpoi_ has quit [Remote host closed the connection]
charliesome has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
daumie has joined #ruby
<pilne> personally i don't think than anything out there is quite like haskelll, other than haskell (and things like purescript/frege
<pontiki> perhaps ocaml, but that's just a quibble
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chipotle has joined #ruby
<pilne> that is true, very similar there, probably because they are both considered ML-family
ghr has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
chip_ has joined #ruby
flughafen_ has joined #ruby
AngryBuzzy has quit [Quit: This computer has gone to sleep]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cdg has joined #ruby
nankyokusei has joined #ruby
sergey_makagon has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
sergey_makagon has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby
daumie has quit [Quit: WeeChat 1.4]
skade has quit [Client Quit]
z3ndrag0n has quit [Remote host closed the connection]
finnnnnnnnnnn has joined #ruby
charliesome has joined #ruby
z3ndrag0n has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
pawnbox has joined #ruby
cdg has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 240 seconds]
DTZUZU has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
vuoto has joined #ruby
ghr has joined #ruby
pontiki has quit [Quit: off to the shops]
GodFather has quit [Ping timeout: 272 seconds]
DTZUZU has quit [Ping timeout: 276 seconds]
jazzonmymind` has joined #ruby
minimalism has quit [Quit: minimalism]
ghr has quit [Ping timeout: 240 seconds]
r3klm has quit []
blackmesa has joined #ruby
allcentury has quit [Ping timeout: 276 seconds]
johnmilton has joined #ruby
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jrafanie has joined #ruby
freerobby has quit [Quit: Leaving.]
ghr has joined #ruby
AndyBotwin has joined #ruby
karapetyan has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
burgestrand has joined #ruby
davedev2_ has joined #ruby
davedev24 has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
colegatron has quit [Ping timeout: 276 seconds]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
vjacob has joined #ruby
ghr has joined #ruby
flashpoint9 has joined #ruby
Jackneill has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 276 seconds]
karapetyan has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
nofxx has quit [Ping timeout: 252 seconds]
chihhsin has joined #ruby
karapetyan has joined #ruby
nofxx has joined #ruby
sergey_makagon has quit [Remote host closed the connection]
davedev2_ has quit [Ping timeout: 276 seconds]
hutch34 has joined #ruby
davedev24 has joined #ruby
gizmore has quit [Ping timeout: 244 seconds]
colegatron has joined #ruby
tristanp has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
pawnbox has joined #ruby
Jackneill has joined #ruby
moeabdol1 has quit [Quit: WeeChat 1.4]
AndyBotwin has quit [Ping timeout: 264 seconds]
Xeago_ has quit [Remote host closed the connection]
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kies has quit [Ping timeout: 264 seconds]
burgestrand has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
Xiti has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
firstdayonthejob has joined #ruby
SilverKey has joined #ruby
ghr has joined #ruby
macsteps has joined #ruby
Jackneill has quit [Quit: Leaving]
firstdayonthejob has quit [Quit: WeeChat 1.5]
ghr has quit [Ping timeout: 240 seconds]
davedev24 has quit [Ping timeout: 250 seconds]
karapetyan has quit [Remote host closed the connection]
davedev24 has joined #ruby
flughafen_ has quit [Ping timeout: 258 seconds]
karapetyan has joined #ruby
SilverKey has quit [Quit: Halted.]
aryaching has quit [Remote host closed the connection]
freerobby has joined #ruby
roamingdog has joined #ruby
macsteps has quit [Remote host closed the connection]
ghr has joined #ruby
RegulationD has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
CybrGhost has quit [Quit: Leaving]
davedev24 has quit [Read error: Connection reset by peer]
davedev24 has joined #ruby
DTZUZU has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
davedev2_ has joined #ruby
ecnalyr has quit [Ping timeout: 252 seconds]
davedev__ has joined #ruby
colegatron has quit [Ping timeout: 246 seconds]
aryaching has joined #ruby
ghr has joined #ruby
ecnalyr has joined #ruby
davedev24 has quit [Ping timeout: 250 seconds]
firstdayonthejob has joined #ruby
davedev__ has quit [Client Quit]
davedev2_ has quit [Ping timeout: 250 seconds]
DTZUZU has quit [Ping timeout: 244 seconds]
<KrzaQ> I'm not sure how to google this. C++ calls this structured bindings, but google gave me garbage results for ruby. Can I do something like [bar, foo] = { foo: 123, bar: 456 } in ruby?
marr has joined #ruby
<adaedra> `bar, foo = { foo: 123, bar: 456 }.values` would be the closest I guess, but you have to respect the order.
<adaedra> like I didn't do.
ghr has quit [Ping timeout: 240 seconds]
mdw has quit [Quit: cya! http://www.somerobots.com]
blackmesa has joined #ruby
<KrzaQ> Okay, I can't respect the order
<KrzaQ> thanks though
Mrgoose has joined #ruby
JeanCarloMachado has joined #ruby
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
saneax is now known as saneax_AFK
ddffg has joined #ruby
sergey_makagon has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
ghr has joined #ruby
pawnbox has joined #ruby
mistermocha has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
macsteps has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
lkb_ has quit [Quit: Wychodzi]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
vuoto_ has joined #ruby
davedev24 has joined #ruby
macsteps has quit [Remote host closed the connection]
allcentury has joined #ruby
ecnalyr has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
vuoto_ has quit [Read error: Connection reset by peer]
vuoto has quit [Remote host closed the connection]
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
ecnalyr has joined #ruby
vjacob has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
freerobby has quit [Quit: Leaving.]
hahuang61 has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
Es0teric has joined #ruby
burgestrand has joined #ruby
<burgestrand> KrzaQ not sure if anybody mentioned this, but typically they'd be called destructuring assignments
vuoto has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
ghr has quit [Ping timeout: 240 seconds]
CloCkWeRX has quit [Quit: Leaving.]
jaguarmagenta has joined #ruby
fschuindt1 has joined #ruby
burgestrand has quit [Ping timeout: 240 seconds]
fschuindt has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
sepp2k1 has joined #ruby
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sepp2k has quit [Ping timeout: 246 seconds]
ghr has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
gregf has quit [Quit: WeeChat 1.5]
gregf has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
RegulationD has joined #ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
torandu has quit [Ping timeout: 250 seconds]
fujinuma has joined #ruby
yadobujo_ has joined #ruby
karapetyan has joined #ruby
<fujinuma> which one is better or concise in a module? self.func or def func; module_function :func?
yadobujo has quit [Ping timeout: 252 seconds]
GinoMan2440_ has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
hutch34 has quit [Quit: WeeChat 1.5]
miqlas-H has joined #ruby
GinoMan2440 has quit [Ping timeout: 250 seconds]
daumie has joined #ruby
cdg has joined #ruby
Trynemjoel has joined #ruby
yadobujo_ is now known as yadobujo
ghr has joined #ruby
pilne has left #ruby ["Leaving!"]
ghr has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
mustmodify_ has joined #ruby
<mustmodify_> So I used ruby-install to install ruby 2.3.1. I sent to install bundler and it said I needed to use sudo.
<mustmodify_> I kind of remember not having to use sudo with other versions... have I done something wrong?
jaguarmagenta has joined #ruby
eladmeidar has joined #ruby
The_Phoenix has joined #ruby
ghr has joined #ruby
The_Phoenix1 has quit [Ping timeout: 246 seconds]
flughafen_ has joined #ruby
blackmesa has joined #ruby
benlieb has quit [Quit: benlieb]
nofxx has quit [Ping timeout: 276 seconds]
bkxd has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
dionysus69 has joined #ruby
JeanCarloMachado has quit [Ping timeout: 252 seconds]
bkxd has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
weaksauce has quit [Max SendQ exceeded]
daumie has quit [Quit: WeeChat 1.4]
Coldblackice has joined #ruby
arlek has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
vuoto has quit [Remote host closed the connection]
flughafen_ has quit [Ping timeout: 250 seconds]
jaguarmagenta has quit [Remote host closed the connection]
blackmesa has joined #ruby
QORRiE has joined #ruby
dionysus69 has quit [Quit: dionysus69]
ghr has joined #ruby
hosttor has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
jaguarmagenta has joined #ruby
ghr has joined #ruby
jaguarmagenta has quit [Client Quit]
pontiki has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
gizmore has joined #ruby
edwardly has quit [Ping timeout: 272 seconds]
karapetyan has joined #ruby
ghr has joined #ruby
<mustmodify_> is it odd that I see this error using ruby 2.3.1?
<mustmodify_> ruby1.9.1: symbol lookup error: /home/jw/.gem/ruby/2.3.1/gems/puma-3.4.0/lib/puma/puma_http11.so: undefined symbol: rb_str_new_static
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
<adaedra> you do not seem to be calling your 2.3.1 ruby but a 1.9.1 one
<adaedra> what does ruby --version outputs?
<mustmodify_> yeah, that's what I was worried about.
<mustmodify_> 2.3.1p112
<adaedra> ok, what command gives you an error?
<mustmodify_> I'm using chruby, by the way.
<mustmodify_> bundle exec rspec spec/lib/
<mustmodify_> is the command causing this issue.
<adaedra> what does which bundle outputs?
<mustmodify_> I'm upgrading from rails 3.2 to 4.0
<mustmodify_> ha
<mustmodify_> home/jw/.gem/ruby/2.3.1/bin/bundle
<mustmodify_> (preceded by a slash)
<adaedra> mh.
<pontiki> is ruby mentioned in the Gemfile?
<mustmodify_> I don't think so, let me confirm.
<mustmodify_> no.
eladmeidar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Es0teric has quit [Remote host closed the connection]
<mustmodify_> suggests I should "delete all my gems and reinstall them."
hutch34 has joined #ruby
<mustmodify_> I just installed 2.3.1 so I don't see how that would help, but I guess it's an option.
<adaedra> Out of curiosity, what does `head -n1 $(which bundle)` outputs?
tristanp has quit [Ping timeout: 258 seconds]
jrafanie has joined #ruby
tristanp has joined #ruby
<mustmodify_> #!/opt/rubies/ruby-2.3.1/bin/ruby
<adaedra> ok, that's weird.
benlieb has joined #ruby
<mustmodify_> definitely.
<mustmodify_> Perhaps some gem ...
<mustmodify_> hm....
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
<mustmodify_> This is strange...
<mustmodify_> that's from /home/jw/.gem/ruby/2.3.1/gems/json-1.8.3/ext/json/ext/parser/Makefile
amclain has joined #ruby
colegatron has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
kirun has joined #ruby
dangerousdave has joined #ruby
dangerousdave has quit [Client Quit]
ghr has joined #ruby
Xeago_ has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
flashpoint9 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
tristanp has quit [Ping timeout: 276 seconds]
tristanp has joined #ruby
ghr has joined #ruby
ramfjord has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
QORRiE has quit [Ping timeout: 276 seconds]
Mimorial has quit [Quit: Leaving]
Mimorial has joined #ruby
QORRiE has joined #ruby
macsteps has joined #ruby
Mimorial has quit [Client Quit]
antgel has joined #ruby
Mimorial has joined #ruby
davedev2_ has joined #ruby
Xentil has joined #ruby
rumia has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
davedev24 has quit [Ping timeout: 250 seconds]
art-solopov has joined #ruby
ghr has joined #ruby
Xentil has quit [Ping timeout: 246 seconds]
zacts has joined #ruby
Haaibo has joined #ruby
Haaibo has quit [Changing host]
Haaibo has joined #ruby
hahuang61 has joined #ruby
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
karapetyan has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 264 seconds]
karapetyan has joined #ruby
macsteps has quit [Remote host closed the connection]
chip_ has quit [Ping timeout: 252 seconds]
Haaibo has quit [Ping timeout: 240 seconds]
SharksAbove has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
SharksAbove has quit [Changing host]
SharksAbove has joined #ruby
LoneHermit has quit [Remote host closed the connection]
garethrees has joined #ruby
diegoviola has joined #ruby
tristanp has quit [Ping timeout: 258 seconds]
benlieb has quit [Ping timeout: 260 seconds]
karapetyan has quit [Remote host closed the connection]
aryaching has quit [Remote host closed the connection]
alexherbo2 has joined #ruby
JoshGlzBrk has joined #ruby
tristanp has joined #ruby
aryaching has joined #ruby
karapetyan has joined #ruby
sergey_makagon has quit []
ghr has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
ghr has joined #ruby
roamingdog has quit [Remote host closed the connection]
<zacts> hi
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
nankyokusei has quit [Ping timeout: 264 seconds]
symm- has joined #ruby
freerobby has joined #ruby
DTZUZU has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
zeroDi has joined #ruby
colegatron has quit [Ping timeout: 276 seconds]
Rodya_ has joined #ruby
colegatron has joined #ruby
garethrees has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
leea has joined #ruby
JoshGlzB_ has joined #ruby
Stazer has joined #ruby
Mrgoose has quit [Ping timeout: 258 seconds]
ghr has quit [Ping timeout: 240 seconds]
JoshGlzBrk has quit [Ping timeout: 250 seconds]
Mrgoose has joined #ruby
tristanp has quit [Ping timeout: 264 seconds]
dionysus69 has joined #ruby
tristanp has joined #ruby
Xentil has joined #ruby
pjstirling has left #ruby ["Ex-Chat"]
nando293921 has joined #ruby
ghr has joined #ruby
Dimik has joined #ruby
Mrgoose has quit [Client Quit]
<mustmodify_> adaedra: AH HA.
<mustmodify_> I think.
<mustmodify_> The version of Ruby installed pre-chruby is 1.9.3
<mustmodify_> so at some point someone's doing something that gets past chruby.
zacts has quit [Quit: WeeChat 1.5]
chip_ has joined #ruby
flashpoint9 has joined #ruby
JoshGlzBrk has joined #ruby
JoshGlzB_ has quit [Ping timeout: 250 seconds]
Xentil has quit [Ping timeout: 264 seconds]
bkxd has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
xrlabs has quit [Quit: Connection closed for inactivity]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dc4 has quit [Ping timeout: 272 seconds]
flashpoint9 has joined #ruby
cdg has quit [Remote host closed the connection]
dh64 has quit [Quit: Konversation terminated!]
pawnbox_ has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
johnmilton has quit [Quit: Namaste]
bkxd has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
blackmesa has joined #ruby
enterprisey has joined #ruby
SilverKey has joined #ruby
sergey_makagon has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
GinoMan2440_ has quit [Ping timeout: 250 seconds]
tristanp has quit [Ping timeout: 246 seconds]
TomyLobo has quit [Read error: Connection reset by peer]
GinoMan2440 has joined #ruby
asianMike has joined #ruby
tristanp has joined #ruby
ghr has joined #ruby
TomyLobo has joined #ruby
weaksauce has joined #ruby
AndChat|24576 has joined #ruby
LoneHerm_ has joined #ruby
AndyBotwin has joined #ruby
yadobujo has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
daumie has joined #ruby
chip_ has quit [Ping timeout: 249 seconds]
insured has quit [Ping timeout: 240 seconds]
LoneHerm_ has quit [Ping timeout: 244 seconds]
DrCode has quit [Remote host closed the connection]
karapetyan has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
dgynn has joined #ruby
GodFather has joined #ruby
Rodya_ has quit [Read error: No route to host]
JammyHammy has joined #ruby
Rodya_ has joined #ruby
Azure|dc has quit [Ping timeout: 260 seconds]
yadobujo has joined #ruby
sergey_makagon has quit []
yqt has joined #ruby
roamingdog has joined #ruby
jrafanie has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
Rodya_ has quit [Remote host closed the connection]
bogusdisk has joined #ruby
ecnalyr has quit [Remote host closed the connection]
burgestrand has joined #ruby
SilverKey has quit [Quit: Halted.]
ecnalyr has joined #ruby
yadobujo has quit [Ping timeout: 240 seconds]
SilverKey has joined #ruby
yqt has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 264 seconds]
roamingdog has quit [Ping timeout: 250 seconds]
tristanp has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
ecnalyr has quit [Ping timeout: 240 seconds]
burgestrand has quit [Ping timeout: 260 seconds]
GodFather has quit [Read error: No route to host]
SilverKey has quit [Client Quit]
GodFather has joined #ruby
dc4 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
GodFather has quit [Ping timeout: 246 seconds]
solars has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
roshanavand has joined #ruby
Rodya_ has joined #ruby
AndChat|24576 has quit [Quit: Bye]
insured has joined #ruby
karapetyan has quit [Remote host closed the connection]
AndChat|24576 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
ramfjord has joined #ruby
jaiks1 has joined #ruby
jaiks1 has quit [Client Quit]
insured has quit [Ping timeout: 246 seconds]
roshanavand has quit [Quit: This computer has gone to sleep]
ghr has joined #ruby
asianMike has quit [Remote host closed the connection]
AndChat|24576 has quit [Quit: Bye]
Dimik has quit [Ping timeout: 246 seconds]
insured has joined #ruby
JeanCarloMachado has joined #ruby
AndChat|24576 has joined #ruby
macsteps has joined #ruby
roshanavand has joined #ruby
JoshGlzBrk has quit [Read error: Connection reset by peer]
JoshGlzBrk has joined #ruby
macsteps has quit [Remote host closed the connection]
solars has joined #ruby
insured has quit [Ping timeout: 240 seconds]
DTZUZU has quit [Ping timeout: 246 seconds]
ghr has quit [Ping timeout: 240 seconds]
Hobogrammer has joined #ruby
<havenwood> mustmodify_: Looks like you used `sudo` to install Ruby so it installed to /opt/rubies/ instead of ~/.rubies/ where you'd need sudo with gems.
<havenwood> mustmodify_: https://github.com/postmodern/ruby-insta
allcentury has quit [Ping timeout: 244 seconds]
<Papierkorb> havenwood: your link was cut off
nadir has quit [Quit: Connection closed for inactivity]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> Papierkorb: Oops!
<mustmodify_> so ...
<mustmodify_> you're saying I should not have sudo-installed ruby?
ghr has joined #ruby
<havenwood> mustmodify_: Not if you want it to install to ~/.rubies, just `ruby-install --latest ruby` instead of `sudo ruby-install --latest ruby`.
macsteps has joined #ruby
<havenwood> mustmodify_: rm -rf /opt/rubies/ruby-2.3.1
<mustmodify_> I'm happy for it to live in /opt/rubies
dionysus69 has quit [Ping timeout: 264 seconds]
<havenwood> mustmodify_: then you'll just need to use sudo with gems
<mustmodify_> I see.
bkxd has joined #ruby
<havenwood> mustmodify_: Or RubyGems' --user-install option to install in the user's home dir instead of GEM_HOME.
vuoto has joined #ruby
<havenwood> You could of course change the ownership of the system gem directory but then it seems better to just do a user local install.
<mustmodify_> Right now I'm all turned around with gems. I'm trying to upgrade from Rails 3.2 to 4.0 and I'm getting messages from bundler/gem/something that are baffling.
Xentil has joined #ruby
<mustmodify_> So I guess that's the least of my problems.
LoneHermit has joined #ruby
DrCode has joined #ruby
hahuang61 has joined #ruby
JoshGlzBrk has joined #ruby
<havenwood> mustmodify_: Sanity check that `command -v bundle` and `gem which bundler` are as expected?
arlek has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 264 seconds]
Kaneki has joined #ruby
QORRiE has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
DTZUZU has joined #ruby
<havenwood> mustmodify_: Just that they're both in $rubies_dir/.gem/ruby/2.3.1/
<havenwood> subdirectories of
pLaToOn has joined #ruby
dcunit3d has joined #ruby
<finnnnnnnnnnn> hello! Can anyone suggest a nicer way of creating this hash? https://gist.github.com/anonymous/127e39a8f7c83d91e40b472575d88138
<finnnnnnnnnnn> seems a bit verbose for ruby
Kaneki has quit [Ping timeout: 258 seconds]
dc4 has quit [Ping timeout: 272 seconds]
<havenwood> >> {media_id: 123, alt_text: {text: 'foo'}}
<ruby[bot]> havenwood: # => {:media_id=>123, :alt_text=>{:text=>"foo"}} (https://eval.in/602925)
tristanp has joined #ruby
<havenwood> finnnnnnnnnnn: ^ create it like that, as literals within literals
Kaneki has joined #ruby
<havenwood> finnnnnnnnnnn: You can just assign `hash` to the final result you want directly in this case, and that's the best way.
ghr has joined #ruby
AndChat|24576 has quit [Quit: Bye]
insured has joined #ruby
<finnnnnnnnnnn> havenwood: awsome, thanks.
flughafen_ has joined #ruby
flashpoint9 has joined #ruby
yadobujo has joined #ruby
<havenwood> mustmodify_: An aside but if you really do want to restore all gems to pristine condition there's: gem pristine --all
Madplatypus has joined #ruby
hahuang61 has joined #ruby
Xentil has quit [Ping timeout: 240 seconds]
tristanp has quit [Remote host closed the connection]
yadobujo has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 240 seconds]
ledestin has joined #ruby
flashpoint9 has quit [Ping timeout: 258 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
colegatron_origi has joined #ruby
dcunit3d has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
colegatron has quit [Ping timeout: 260 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has joined #ruby
GodFather has joined #ruby
vuoto has quit [Remote host closed the connection]
JammyHammy has quit [Read error: Connection reset by peer]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
ghr has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
Kaneki has quit [Ping timeout: 244 seconds]
Dimik-- has joined #ruby
yadobujo has joined #ruby
ghr has joined #ruby
cdg has joined #ruby
karapetyan has joined #ruby
zacts has joined #ruby
blackmesa has joined #ruby
yadobujo has quit [Ping timeout: 258 seconds]
SilverKey has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 240 seconds]
Elvin has joined #ruby
whathappens has joined #ruby
charliesome has joined #ruby
whathappens has quit [Remote host closed the connection]
charliesome has quit [Client Quit]
hutch34 has quit [Ping timeout: 252 seconds]
pickandmix has quit [Ping timeout: 252 seconds]
JoshGlzBrk has joined #ruby
enterprisey has quit [Remote host closed the connection]
Azure has joined #ruby
shevy has joined #ruby
Guest18723 has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
shevy is now known as shevy_
roshanavand has quit [Quit: This computer has gone to sleep]
dcunit3d has joined #ruby
zacts has quit [Ping timeout: 240 seconds]
Guest18723 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
yadobujo has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
yadobujo has quit [Ping timeout: 246 seconds]
ghr has joined #ruby
minimalism has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
tomphp has joined #ruby
skade has joined #ruby
tristanp has joined #ruby
gregf has quit [Quit: WeeChat 1.5]
ghr has quit [Ping timeout: 240 seconds]
pLaToOn has quit [Read error: Connection reset by peer]
Elvin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tristanp has quit [Remote host closed the connection]
skade has quit [Client Quit]
JeanCarl1Machado has joined #ruby
tristanp has joined #ruby
tristanp has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
skade has joined #ruby
dcunit3d has quit [Ping timeout: 264 seconds]
zacts has joined #ruby
JeanCarloMachado has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
zacts has quit [Client Quit]
skade has quit [Client Quit]
zacts has joined #ruby
Elvin has joined #ruby
barajasfab has joined #ruby
hutch34 has joined #ruby
whathappens has joined #ruby
gregf has joined #ruby
yadobujo has joined #ruby
svdb64 has joined #ruby
shevy_ has quit [Quit: Leaving]
ghr has quit [Ping timeout: 240 seconds]
Xentil has joined #ruby
shinnya has joined #ruby
hxegon_afk is now known as hxegon
yadobujo has quit [Ping timeout: 260 seconds]
diegoviola has quit [Quit: WeeChat 1.5]
<hxegon> new to yard here, should I be putting doc folder into vcs?
roshanavand has joined #ruby
Dimik-- has quit [Ping timeout: 252 seconds]
tristanp has joined #ruby
charliesome has joined #ruby
ghr has joined #ruby
yadobujo has joined #ruby
Elvin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tristanp has quit [Remote host closed the connection]
l4v2 has joined #ruby
l4v2 has quit [Client Quit]
rumia has quit [Ping timeout: 250 seconds]
<hxegon> nvm
svdb64 has quit [Ping timeout: 246 seconds]
ghr has quit [Ping timeout: 240 seconds]
Xeago__ has joined #ruby
Xeago- has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
Xeago- is now known as Xeago
svdb64 has joined #ruby
yadobujo has quit [Ping timeout: 240 seconds]
Xeago_ has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DrCode has quit [Remote host closed the connection]
BTRE has joined #ruby
Elvin has joined #ruby
tristanp has joined #ruby
crdpink has joined #ruby
ghr has joined #ruby
crdpink2 has quit [Ping timeout: 250 seconds]
SharksAbove has quit [Read error: Connection reset by peer]
Haaibo has joined #ruby
bkxd has joined #ruby
Haaibo is now known as Guest54890
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 260 seconds]
tristanp has quit [Remote host closed the connection]
roshanavand has quit [Quit: This computer has gone to sleep]
ghr has quit [Ping timeout: 240 seconds]
macsteps has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 276 seconds]
bkxd has quit [Ping timeout: 252 seconds]
kavanagh has joined #ruby
karapetyan has joined #ruby
roshanavand has joined #ruby
DTZUZU has quit [Ping timeout: 258 seconds]
roshanavand has quit [Client Quit]
ghr has joined #ruby
yadobujo has joined #ruby
kirun has quit [Quit: Client exiting]
nando293921 has quit [Quit: Lost terminal]
DrCode has joined #ruby
nando293921 has joined #ruby
yadobujo_ has joined #ruby
Mimorial has quit [Quit: Leaving]
ramfjord has quit [Ping timeout: 240 seconds]
karapetyan has quit [Ping timeout: 244 seconds]
Dimik-- has joined #ruby
zacts has quit [Quit: WeeChat 1.5]
yadobujo has quit [Ping timeout: 272 seconds]
nando293921 has quit [Read error: Connection reset by peer]
yadobujo_ has quit [Ping timeout: 258 seconds]
nando293921 has joined #ruby
roamingdog has joined #ruby
SilverKey has joined #ruby
nando293921 has quit [Client Quit]
Xeago__ has quit [Remote host closed the connection]
svdb64 has quit [Quit: WeeChat 1.5]
ghr has quit [Ping timeout: 240 seconds]
nando293921 has joined #ruby
al2o3-cr has quit [Ping timeout: 272 seconds]
Xeago_ has joined #ruby
blackmesa has joined #ruby
swills has quit [Remote host closed the connection]
naftilos76 has joined #ruby
Xeago_ has quit [Ping timeout: 258 seconds]
djbkd has joined #ruby
ghr has joined #ruby
tristanp has joined #ruby
LoneHermit has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 276 seconds]
davedev2_ has quit []
ghr has quit [Ping timeout: 240 seconds]
LoneHerm_ has joined #ruby
yadobujo has joined #ruby
swills has joined #ruby
al2o3-cr has joined #ruby
tristanp has quit [Remote host closed the connection]
ElFerna has joined #ruby
pontiki has joined #ruby
roshanavand has joined #ruby
tristanp has joined #ruby
kith has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
yadobujo has quit [Ping timeout: 240 seconds]
Kaneki has joined #ruby
flashpoint9 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
roshanavand has quit [Client Quit]
Guest54890 has quit [Ping timeout: 276 seconds]
tristanp has quit [Ping timeout: 250 seconds]
hutch34 has quit [Ping timeout: 250 seconds]
daumie has quit [Quit: WeeChat 1.4]
whathappens has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
kevr has joined #ruby
ecnalyr has joined #ruby
yadobujo has joined #ruby
ghr has joined #ruby
hahuang61 has joined #ruby
ddffg has quit [Quit: Leaving]
swills has quit [Remote host closed the connection]
ecnalyr has quit [Ping timeout: 240 seconds]
kith has joined #ruby
David27 has joined #ruby
swills has joined #ruby
zenlot6 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
zenlot has quit [Ping timeout: 252 seconds]
postmodern has joined #ruby
yadobujo has quit [Ping timeout: 240 seconds]
JoshGlzBrk has joined #ruby
firstdayonthejob has quit [Ping timeout: 240 seconds]
last_staff has quit [Remote host closed the connection]
ghr has joined #ruby
`tim` has joined #ruby
dcunit3d has joined #ruby
charliesome has joined #ruby
charliesome has quit [Client Quit]
art-solopov has quit [Quit: Konversation terminated!]
ghr has quit [Ping timeout: 240 seconds]
Dimik-- has quit [Ping timeout: 276 seconds]
diegoviola has joined #ruby
ghr has joined #ruby
AndChat|24576 has joined #ruby
Guest18723 has quit [Ping timeout: 276 seconds]
Guest18723 has joined #ruby
flughafen_ has quit [Ping timeout: 272 seconds]
ghr has quit [Ping timeout: 240 seconds]
AndChat|24576 has quit [Client Quit]
insured has quit [Ping timeout: 264 seconds]
AndChat|24576 has joined #ruby
kavanagh has quit [Quit: That's all folks!]
insured has joined #ruby
yadobujo has joined #ruby
AndChat|24576 has quit [Read error: Connection reset by peer]
insured has quit [Client Quit]
insured has joined #ruby
ghr has joined #ruby
charliesome has joined #ruby
solars has quit [Ping timeout: 252 seconds]
yadobujo has quit [Ping timeout: 246 seconds]
Elvin has quit [Remote host closed the connection]
Elvin has joined #ruby
moei has quit [Quit: Leaving...]
ghr has quit [Ping timeout: 240 seconds]
Pumukel has quit [Remote host closed the connection]
Mimorial has joined #ruby
Xeago_ has joined #ruby
Mimorial has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 246 seconds]
karapetyan has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
hutch34 has joined #ruby
ghr has joined #ruby
moei has joined #ruby
Elvin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
naftilos76 has quit [Ping timeout: 272 seconds]
hutch34 has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
karapetyan has quit [Ping timeout: 244 seconds]
ffgghhj has quit [Ping timeout: 252 seconds]
yadobujo has joined #ruby
hahuang61 has quit [Ping timeout: 240 seconds]
macsteps has joined #ruby
pilne has joined #ruby
flashpoint9 has joined #ruby
ghr has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yadobujo has quit [Ping timeout: 250 seconds]
mrmortondk has quit [Quit: Textual IRC Client: www.textualapp.com]
fujinuma has left #ruby ["WeeChat 1.5"]
hahuang61 has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
Mattx has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
macsteps has quit [Remote host closed the connection]
<Mattx> Hey people! Any idea about this? I have a class, and it's divided into multiple files because some methods have nothing to do with some others. so the thing is that I need of a certain instance @variable, but I'm not sure how to initialize it from outside the method /initialize/
cdg has quit [Remote host closed the connection]
<Mattx> if I put @myvar = [] in file2.rb (file1.rb is where I have the method initialize), then I get @myvar is not initialized because that initialization wasn't run inside an instance
<Mattx> Is it clear or should I write an example?
Kaneki has quit [Ping timeout: 276 seconds]
LoneHerm_ has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
hahuang61 has quit [Ping timeout: 276 seconds]
yadobujo has joined #ruby
<Mattx> here is an example
saneax_AFK is now known as saneax
ghr has joined #ruby
<Mattx> I forgot the extension so the code is colored, check this instead: https://gist.github.com/anonymous/81c6dd7b662bc9666262848fd3206ed7
macsteps has joined #ruby
hahuang61 has joined #ruby
Xeago- has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
dcunit3d has quit [Ping timeout: 258 seconds]
Xeago_ has quit [Ping timeout: 276 seconds]
brianpWins has quit [Read error: Connection reset by peer]
brianpWins has joined #ruby
Xeago has quit [Ping timeout: 276 seconds]
Xeago- is now known as Xeago
yadobujo_ has joined #ruby
<Mattx> maybe I should be using modules and multiple initialize? I don't know...
kevr has quit [Ping timeout: 246 seconds]
roamingdog has quit [Remote host closed the connection]
ghr has joined #ruby
roamingdog has joined #ruby
yadobujo has quit [Ping timeout: 264 seconds]
kevr has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SShrike has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Quit: WeeChat 1.5]
bkxd has joined #ruby
Lord_of_Life has quit [Excess Flood]
ghr has joined #ruby
asianMike has joined #ruby
zacts has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
Lord_of_Life has joined #ruby
aryaching has quit [Ping timeout: 276 seconds]
Guest18723 is now known as M4dH4TT3r
M4dH4TT3r has quit [Changing host]
M4dH4TT3r has joined #ruby
nando293921 has quit [Ping timeout: 272 seconds]
karapetyan has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
<apeiros> Mattx: you can initialize in ivar in any instance method. initialize is just the sane choice.
<apeiros> also splitting up a class into multiple files doesn't make sense to me.
nadir has joined #ruby
<apeiros> if some methods have nothing to do with other methods, then maybe your class has an identity crisis and should really be two classes?