<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]
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…]
<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…]
<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
<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…]
<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.
<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.
<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/
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]