zigomir__ has quit [Read error: Connection reset by peer]
tmtwd has joined #ruby
zigomir has joined #ruby
nicksanford has quit [Ping timeout: 264 seconds]
zigomir has quit [Read error: Connection reset by peer]
zigomir__ has joined #ruby
zigomir__ has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir_ has quit [Ping timeout: 248 seconds]
zigomir has quit [Read error: Connection reset by peer]
b00stfr3ak has joined #ruby
zigomir has joined #ruby
zigomir_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
lethjakman has joined #ruby
zigomir__ has joined #ruby
cobakobodob has quit [Ping timeout: 240 seconds]
garndt has quit [Quit: Connection closed for inactivity]
paul_k has quit [Quit: Leaving]
zigomi___ has joined #ruby
Photism has quit [Quit: Leaving]
paul_k has joined #ruby
zigom____ has joined #ruby
zigo_____ has joined #ruby
zigomir_ has quit [Ping timeout: 248 seconds]
Hanmac has quit [Ping timeout: 248 seconds]
zigomir_ has joined #ruby
zigomir_ has quit [Read error: Connection reset by peer]
zigomir has quit [Ping timeout: 248 seconds]
zigomir has joined #ruby
zigomir__ has quit [Ping timeout: 248 seconds]
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomi___ has quit [Ping timeout: 248 seconds]
zigomir has quit [Read error: Connection reset by peer]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zigomir has joined #ruby
zigom____ has quit [Ping timeout: 248 seconds]
garndt has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
stopbit has joined #ruby
zigo_____ has quit [Ping timeout: 248 seconds]
zigomir has quit [Read error: Connection reset by peer]
<shevy>
lol
zigomir has joined #ruby
mclee has joined #ruby
zigomir_ has joined #ruby
kireevco has quit [Quit: Leaving.]
zigomir_ has quit [Read error: Connection reset by peer]
zigomir_ has joined #ruby
gilesw has joined #ruby
zigomir__ has joined #ruby
zigomi___ has joined #ruby
maletor has joined #ruby
zigom____ has joined #ruby
zigomir has quit [Ping timeout: 264 seconds]
zigomir has joined #ruby
zigo_____ has joined #ruby
zigomir_ has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
zigomir_ has joined #ruby
zigomir__ has quit [Ping timeout: 248 seconds]
zigomir_ has quit [Read error: Connection reset by peer]
benlieb has quit [Quit: benlieb]
zigomir_ has joined #ruby
Gygar|afk has quit [Quit: leaving]
codeurge has joined #ruby
zigomi___ has quit [Ping timeout: 264 seconds]
zigomir__ has joined #ruby
zigom____ has quit [Ping timeout: 248 seconds]
mikecmpb_ has quit [Quit: i've nodded off.]
zigomir has quit [Ping timeout: 248 seconds]
Hanmac has joined #ruby
zigomir has joined #ruby
codeurge has quit [Client Quit]
zigo_____ has quit [Ping timeout: 248 seconds]
hermanmunster has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomi___ has joined #ruby
zigomi___ has quit [Read error: Connection reset by peer]
zigomir_ has quit [Ping timeout: 248 seconds]
zigomir has joined #ruby
zigomir__ has quit [Ping timeout: 248 seconds]
kireevco has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
microdex has joined #ruby
britneywright has joined #ruby
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
<microdex>
In Rails , does params.require() expect a model reference ?
zigomir has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
<elektronaut>
no, just a hash key
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
sunya7a has joined #ruby
fgo has joined #ruby
zaiste has joined #ruby
zigomir has joined #ruby
boosgetti has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir_ has joined #ruby
<microdex>
In some code I'm looking at it accepts one hash key but sometimes knows about all the properties of the model with that hash key
<microdex>
*somehow
zigomir_ has quit [Read error: Connection reset by peer]
zigomir_ has joined #ruby
r_rios has quit [Ping timeout: 245 seconds]
cashnguns has joined #ruby
<microdex>
I have a Report model and when I do params.require( :report ) somehow it returns all the keys of the Report model ... ?
zigomir__ has joined #ruby
<elektronaut>
if you do require on {foo: {bar: 'baz'}}, it'll return {bar: 'baz'}
cobakobodob has joined #ruby
cashnguns has quit [Client Quit]
<elektronaut>
so it's pretty much equivalent to accessing params[:foo], except it'll raise an error if that key isn't found
<elektronaut>
you'll need to pair it with .permit for it to be secure from mass assignment
zigomi___ has joined #ruby
<microdex>
and permit! allows all ?
fgo has quit [Ping timeout: 252 seconds]
magnetica has quit [Ping timeout: 246 seconds]
<elektronaut>
right
zigom____ has joined #ruby
zigomir has quit [Ping timeout: 248 seconds]
<microdex>
but my params don't contain the key which I am requiring yet it returns all of the model properties
zigom____ has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
<microdex>
Is it possible that if you pass a model name into the require( model_name ) that it somehow grabs those properties ?
zigomir has joined #ruby
saarinen has joined #ruby
zigom____ has joined #ruby
zigomir_ has quit [Ping timeout: 248 seconds]
autonomousdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zigomir_ has joined #ruby
<elektronaut>
no, it'll just pass through everything you send from the view for that model
zigomir__ has quit [Ping timeout: 248 seconds]
<microdex>
send from where?
zigomir__ has joined #ruby
zigomi___ has quit [Ping timeout: 248 seconds]
<microdex>
pardon, I cannot grap
<microdex>
grasp
<microdex>
pass through ?
<elektronaut>
this is the entire require method: def require(key); self[key].presence || raise(ParameterMissing.new(key)); end
<microdex>
so thats self in this case
zigomi___ has joined #ruby
<microdex>
ApplicationController ?
<elektronaut>
params, which is an instance of ActionController::Params
<elektronaut>
so, it's equivalent to accessing params[:report]
zigo_____ has joined #ruby
alexju has joined #ruby
nicksanf_ has quit [Remote host closed the connection]
<microdex>
hmm
zigomir has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
zigomir has joined #ruby
zigom____ has quit [Ping timeout: 264 seconds]
zigomir has quit [Read error: Connection reset by peer]
<microdex>
Thanks elektronaut !!!
codeurge has joined #ruby
zigomir has joined #ruby
<microdex>
I think I see le issue
zigomir_ has quit [Ping timeout: 264 seconds]
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir__ has quit [Ping timeout: 264 seconds]
<elektronaut>
great :)
einarj has quit [Remote host closed the connection]
zigomir_ has joined #ruby
zigomi___ has quit [Ping timeout: 248 seconds]
codeurge has quit [Client Quit]
zigomir__ has joined #ruby
zigo_____ has quit [Ping timeout: 264 seconds]
zigomir__ has quit [Read error: Connection reset by peer]
zigomir__ has joined #ruby
timonv has quit [Ping timeout: 255 seconds]
zigomir__ has quit [Read error: Connection reset by peer]
zigomir__ has joined #ruby
zigomir__ has quit [Read error: Connection reset by peer]
Steve21 has joined #ruby
zigomir__ has joined #ruby
zigomir has quit [Ping timeout: 264 seconds]
_zxq9_ has quit [Quit: Konversation terminated!]
_zxq9_ has joined #ruby
zigomir__ has quit [Read error: Connection reset by peer]
_zxq9_ is now known as zxq9
zigomir_ has quit [Ping timeout: 248 seconds]
zxq9 has quit [Client Quit]
zxq9 has joined #ruby
zigomir has joined #ruby
coderhs has joined #ruby
zigomir_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir_ has quit [Read error: Connection reset by peer]
zigomir_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir__ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
babykosh has joined #ruby
vifino has quit [Quit: Ze Cat now leaves...]
lw has joined #ruby
tmtwd has quit [Ping timeout: 264 seconds]
zigomir has joined #ruby
autonomousdev has joined #ruby
replay has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir_ has quit [Ping timeout: 248 seconds]
zigomir has quit [Read error: Connection reset by peer]
Wolland has joined #ruby
zigomir has joined #ruby
autonomousdev has quit [Client Quit]
zigomir_ has joined #ruby
zigomir__ has quit [Ping timeout: 248 seconds]
zigomir_ has quit [Read error: Connection reset by peer]
zigomir_ has joined #ruby
aspires has joined #ruby
zigomir__ has joined #ruby
Steve21 has quit [Remote host closed the connection]
Steve21 has joined #ruby
zigomi___ has joined #ruby
tmtwd has joined #ruby
zigom____ has joined #ruby
zigomir has quit [Ping timeout: 264 seconds]
george2 has joined #ruby
zigomir has joined #ruby
aniM has quit [Ping timeout: 255 seconds]
zigo_____ has joined #ruby
zigomir_ has quit [Ping timeout: 264 seconds]
zigo_____ has quit [Read error: Connection reset by peer]
radic_ has joined #ruby
radic has quit [Disconnected by services]
zigomir_ has joined #ruby
zigomir__ has quit [Ping timeout: 248 seconds]
thrownaway has quit [Ping timeout: 245 seconds]
zigomir__ has joined #ruby
zigomi___ has quit [Ping timeout: 248 seconds]
zigomir__ has quit [Read error: Connection reset by peer]
shevy has quit [Ping timeout: 264 seconds]
zigomir__ has joined #ruby
zigom____ has quit [Ping timeout: 264 seconds]
zigomir__ has quit [Read error: Connection reset by peer]
zigomir__ has joined #ruby
duncannz has quit [Ping timeout: 240 seconds]
zigomir__ has quit [Read error: Connection reset by peer]
Steve21 has quit [Quit: Steve21]
tacos1de has quit [Remote host closed the connection]
zigomir has quit [Ping timeout: 264 seconds]
zigomir has joined #ruby
zz_karupa is now known as karupa
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir_ has quit [Ping timeout: 248 seconds]
zigomir has quit [Read error: Connection reset by peer]
tacos1de has joined #ruby
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
aniM has joined #ruby
zigomir has joined #ruby
saarinen has quit [Quit: saarinen]
zigomir has quit [Read error: Connection reset by peer]
binaryhat has quit [Quit: Leaving]
zigomir has joined #ruby
zigomir_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
mr_snowf1ake has joined #ruby
zigomir_ has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
josh has joined #ruby
josh is now known as Guest43144
zigomir has joined #ruby
sunya7a_ has joined #ruby
zigomir_ has joined #ruby
sunya7a has quit [Ping timeout: 240 seconds]
fgo has joined #ruby
<Guest43144>
How do I specify my gem has a dependency if run on Rubinius, but not JRuby? (specifically, depends on psych, idk if there’s a better solution for that one)
zigomir__ has joined #ruby
zigomir__ has quit [Read error: Connection reset by peer]
zigomir__ has joined #ruby
Sawbones has joined #ruby
zigomir__ has quit [Read error: Connection reset by peer]
karupa is now known as zz_karupa
zigomir__ has joined #ruby
benlieb has joined #ruby
tmtwd has quit [Remote host closed the connection]
wald0 has quit [Quit: Lost terminal]
zigomir__ has quit [Read error: Connection reset by peer]
braincrash has quit [Quit: bye bye]
shevy has joined #ruby
zigomir__ has joined #ruby
tmtwd has joined #ruby
zigomir__ has quit [Read error: Connection reset by peer]
coderhs has quit [Ping timeout: 240 seconds]
zigomir has quit [Ping timeout: 264 seconds]
zigomir__ has joined #ruby
zigomir_ has quit [Ping timeout: 264 seconds]
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
arrubin has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zxq9 has left #ruby ["Konversation terminated!"]
zigomir has joined #ruby
oo_ has joined #ruby
braincrash has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
Sawbones has quit [Remote host closed the connection]
autonomousdev has joined #ruby
zigomir has joined #ruby
yfeldblum has joined #ruby
autonomousdev has quit [Client Quit]
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
zigomir__ has quit [Ping timeout: 248 seconds]
zigomir_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby
zigomir_ has quit [Read error: Connection reset by peer]
replay has joined #ruby
zigomir has joined #ruby
diegoviola has quit [Client Quit]
zigomir has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby
zigomir has joined #ruby
Sawbones has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir_ has quit [Read error: Connection reset by peer]
zigomir_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
boosgetti has quit [Ping timeout: 245 seconds]
fgo has quit [Remote host closed the connection]
zigomir_ has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
<babykosh>
rspec gods…how do write the following in current rspec syntax?….STDIN.stub(:gets) {"b"}
zigomir_ has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
chrishough has quit [Quit: chrishough]
maletor has quit [Quit: Computer has gone to sleep.]
coderhs has joined #ruby
r_rios has joined #ruby
zigomir_ has joined #ruby
aniM has quit [Ping timeout: 252 seconds]
zigomir_ has quit [Read error: Connection reset by peer]
zigomir_ has joined #ruby
kireevco has left #ruby [#ruby]
zigomir_ has quit [Read error: Connection reset by peer]
b00stfr31k has joined #ruby
b00stfr31k has quit [Client Quit]
zigomir_ has joined #ruby
chrishough has joined #ruby
b00stfr3ak has quit [Quit: leaving]
Hanmac1 has joined #ruby
b00stfr3ak has joined #ruby
zigomir__ has joined #ruby
coderhs has quit [Client Quit]
zigomir has quit [Ping timeout: 264 seconds]
zigomir__ has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
zigomir has quit [Read error: Connection reset by peer]
Hanmac has quit [Ping timeout: 252 seconds]
aniM has joined #ruby
zigomir has joined #ruby
djbkd has quit [Remote host closed the connection]
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir_ has quit [Ping timeout: 264 seconds]
zigomir__ has joined #ruby
zigomir_ has joined #ruby
codeurge has joined #ruby
sunya7a has joined #ruby
zigomi___ has joined #ruby
oo_ has quit [Remote host closed the connection]
zigomi___ has quit [Read error: Connection reset by peer]
zigomir_ has quit [Read error: Connection reset by peer]
<shevy>
microdex reason I mentioned that btw is that many people here on #ruby do not really know rails and thus can not really help
zigomir_ has joined #ruby
Guest54762 has joined #ruby
zigomir__ has joined #ruby
zigomir has quit [Ping timeout: 248 seconds]
zigomir has joined #ruby
zigomir__ has quit [Read error: Connection reset by peer]
mgberlin has quit [Remote host closed the connection]
zigomir__ has joined #ruby
<pipework>
Many people actually pretend not to know rails, but those that genuinely don't tend not to respond when talking about rails. Except shevy, he doesn't know anything and talks all the time.
<pipework>
<333
<Hanmac1>
zigomir__ fix your internet connection something seems to be wrong
<shevy>
microdex, ok pipework just volunteered
Hanmac1 is now known as Hanmac
JBreit has joined #ruby
<shevy>
microdex you can ask him rails questions
<pipework>
Ask in #rubyonrails
<shevy>
hey
zigomi___ has joined #ruby
rippa has joined #ruby
zigom____ has joined #ruby
flak has joined #ruby
rippa has quit [Client Quit]
zigomir_ has quit [Ping timeout: 264 seconds]
zigom____ has quit [Read error: Connection reset by peer]
zigomir_ has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
zigomir has quit [Ping timeout: 264 seconds]
tmtwd has quit [Ping timeout: 264 seconds]
zigomir_ has quit [Read error: Connection reset by peer]
zigomir__ has quit [Ping timeout: 264 seconds]
zigomir has joined #ruby
zigomi___ has quit [Ping timeout: 264 seconds]
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
dodosan has joined #ruby
zigomir_ has joined #ruby
dodosan has quit [Client Quit]
zigomir_ has quit [Read error: Connection reset by peer]
zigomir_ has joined #ruby
tmtwd has joined #ruby
Guest54762 has quit [Ping timeout: 255 seconds]
zigomir_ has quit [Read error: Connection reset by peer]
zigomir_ has joined #ruby
zigomir_ has quit [Read error: Connection reset by peer]
<microdex>
:shevy Thank You
zigomir has quit [Ping timeout: 264 seconds]
zigomir has joined #ruby
DanielRb_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
sdouglas has joined #ruby
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
<shevy>
I'd totally ask pipework
<shevy>
he'd say to read up the docs
<shevy>
then you need to keep on nagging
<shevy>
until he provides you with the URL
zigomir has joined #ruby
zigomir_ has joined #ruby
lethjakman has quit [Ping timeout: 240 seconds]
zigomir__ has joined #ruby
zigomi___ has joined #ruby
<microdex>
I must be a foolish earthling but I can't figure out how to log in to #rubyonrails
<microdex>
do I have to register online somewhere to get passowrd ?
Valesk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zenojis>
you could write a ruby program that outputs graphml that yed visualizes
zigomi___ has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
zigomi___ has joined #ruby
zigomi___ has quit [Read error: Connection reset by peer]
tmtwd has joined #ruby
decoponio has joined #ruby
zigomir has quit [Ping timeout: 264 seconds]
zigomir has joined #ruby
nicksanf_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir_ has quit [Ping timeout: 248 seconds]
zigomir has joined #ruby
zigomir_ has joined #ruby
zigomir__ has quit [Ping timeout: 264 seconds]
zigomir_ has quit [Read error: Connection reset by peer]
<Hanmac>
i recently wrote a script that scans a folder with rb files and hows which file requires which other ones
zigomir_ has joined #ruby
zigomir_ has quit [Read error: Connection reset by peer]
zigomir_ has joined #ruby
nicksanford has quit [Ping timeout: 240 seconds]
zigomir__ has joined #ruby
zigomir_ has quit [Read error: Connection reset by peer]
claymore has joined #ruby
zigomir_ has joined #ruby
zigomir__ has quit [Read error: Connection reset by peer]
zigomir_ has quit [Read error: Connection reset by peer]
zigomir has quit [Ping timeout: 264 seconds]
zigomir_ has joined #ruby
Georg3_ has quit [Quit: Computer has gone to sleep.]
zigomir_ has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
lewix has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
oo_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
alem0lars has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
sdouglas has quit [Remote host closed the connection]
zigomir_ has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
ClarusCogitatio has quit [Ping timeout: 240 seconds]
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir_ has quit [Read error: Connection reset by peer]
ClarusCogitatio has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir_ has joined #ruby
zigomir__ has joined #ruby
zigomir_ has quit [Read error: Connection reset by peer]
ehaliewicz has joined #ruby
zigomir__ has quit [Read error: Connection reset by peer]
zigomir_ has joined #ruby
Georg3_ has joined #ruby
zigomir_ has quit [Read error: Connection reset by peer]
ehaliewicz has quit [Remote host closed the connection]
zigomir_ has joined #ruby
alec-c4 has joined #ruby
zigomir_ has quit [Read error: Connection reset by peer]
zigomir_ has joined #ruby
zigomir has quit [Ping timeout: 264 seconds]
zigomir_ has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
Hanmac1 has joined #ruby
zigomir_ has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
Hanmac has quit [Ping timeout: 255 seconds]
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
charliesome has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
alec-c4 has quit [Ping timeout: 264 seconds]
zigomir has quit [Read error: Connection reset by peer]
lizzin_ has joined #ruby
m8 has joined #ruby
zigomir has joined #ruby
aniM has quit [Ping timeout: 255 seconds]
zigomir_ has joined #ruby
lizzin has quit [Ping timeout: 240 seconds]
zigomir__ has joined #ruby
zigomir__ has quit [Read error: Connection reset by peer]
zigomir__ has joined #ruby
zigomi___ has joined #ruby
zigomir__ has quit [Read error: Connection reset by peer]
zigomir has quit [Ping timeout: 264 seconds]
zigomi___ has quit [Read error: Connection reset by peer]
DanielRb has quit [Ping timeout: 255 seconds]
fgo has joined #ruby
zigomir has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zigomir has quit [Read error: Connection reset by peer]
Darkchaos has joined #ruby
zigomir has joined #ruby
zigomir_ has quit [Ping timeout: 264 seconds]
zigomir has quit [Read error: Connection reset by peer]
zigomir_ has joined #ruby
zigomir has joined #ruby
DanielRb has joined #ruby
zigomir__ has joined #ruby
zigomir__ has quit [Read error: Connection reset by peer]
zigomir__ has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
zigomir__ has quit [Read error: Connection reset by peer]
zigomir__ has joined #ruby
cobolt^ has left #ruby [#ruby]
zigomir__ has quit [Read error: Connection reset by peer]
zigomir__ has joined #ruby
zigomir__ has quit [Read error: Connection reset by peer]
zigomir_ has quit [Ping timeout: 264 seconds]
zigomir_ has joined #ruby
zigomir has quit [Ping timeout: 264 seconds]
zigomir_ has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
DanielRb has quit [Ping timeout: 260 seconds]
zigomir has quit [Read error: Connection reset by peer]
dangerousdave has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
dangerousdave has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
brandonjmckay has joined #ruby
zigomir has joined #ruby
brandonjmckay has quit [Client Quit]
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
DanielRb has joined #ruby
mijicd has joined #ruby
zigomir has joined #ruby
zigomir_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
sdouglas has joined #ruby
zigomir_ has quit [Read error: Connection reset by peer]
Wolland has joined #ruby
zigomir has joined #ruby
jamto11 has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir_ has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
fgo has joined #ruby
zigomir has joined #ruby
Wolland has quit [Ping timeout: 264 seconds]
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
sdouglas has quit [Ping timeout: 240 seconds]
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
zigomir has quit [Read error: Connection reset by peer]
babykosh has quit [Quit: babykosh]
Snickers_ has quit [Changing host]
Snickers_ has joined #ruby
bcavileer_ has quit [Changing host]
bcavileer_ has joined #ruby
zigomir has joined #ruby
charles81___ has quit [Changing host]
charles81___ has joined #ruby
gyre007 has quit [Changing host]
gyre007 has joined #ruby
yo61 has quit [Changing host]
yo61 has joined #ruby
Tranquility has quit [Changing host]
Tranquility has joined #ruby
halfdan has quit [Changing host]
halfdan has joined #ruby
dangerousdave has joined #ruby
andrewcarter has quit [Changing host]
andrewcarter has joined #ruby
mroth has quit [Changing host]
mroth has joined #ruby
alol_ has joined #ruby
alol_ has quit [Changing host]
dnyy has quit [Changing host]
mostlybadfly has joined #ruby
dnyy has joined #ruby
mostlybadfly has quit [Changing host]
skmp has joined #ruby
skmp has quit [Changing host]
Guest85414______ has joined #ruby
Guest85414______ has quit [Changing host]
yfeldblum has quit [Ping timeout: 240 seconds]
ELLIOTTCABLE_ has quit [Changing host]
ELLIOTTCABLE_ has joined #ruby
andrewstewart has quit [Changing host]
andrewstewart has joined #ruby
rfv_ has quit [Changing host]
rfv_ has joined #ruby
vcoinminer____ has quit [Changing host]
vcoinminer____ has joined #ruby
amitchellbullard has joined #ruby
amitchellbullard has quit [Changing host]
im0b has quit [Changing host]
im0b has joined #ruby
mjc__ has joined #ruby
mjc__ has quit [Changing host]
Macacity has joined #ruby
Macacity has quit [Changing host]
guilleiguaran__ has quit [Changing host]
guilleiguaran__ has joined #ruby
dioms_ has quit [Changing host]
dioms_ has joined #ruby
callenb has quit [Changing host]
callenb has joined #ruby
ceej has quit [Changing host]
ceej has joined #ruby
bjeanes has quit [Changing host]
bjeanes has joined #ruby
sent-hil_ has quit [Changing host]
sent-hil_ has joined #ruby
pusewicz has quit [Changing host]
pusewicz has joined #ruby
jeregrine has quit [Changing host]
jeregrine has joined #ruby
jeffreybaird has quit [Changing host]
jeffreybaird has joined #ruby
zigomir has quit [Client Quit]
neersighted_ has quit [Changing host]
neersighted_ has joined #ruby
schaary|afk has joined #ruby
zzak__ has joined #ruby
culturelabs_ has joined #ruby
schaary|afk has quit [Changing host]
zzak__ has quit [Changing host]
culturelabs_ has quit [Changing host]
edmellum has quit [Changing host]
edmellum has joined #ruby
ssut has quit [Changing host]
ssut has joined #ruby
Striki has quit [Changing host]
Striki has joined #ruby
rickruby__ has joined #ruby
rickruby__ has quit [Changing host]
antonishen has joined #ruby
CJD14___ has joined #ruby
antonishen has quit [Changing host]
CJD14___ has quit [Changing host]
jpinnix_____ has quit [Changing host]
jpinnix_____ has joined #ruby
dmoe______ has quit [Changing host]
dmoe______ has joined #ruby
tiagonobre has quit [Changing host]
tiagonobre has joined #ruby
nifty has quit [Changing host]
nifty has joined #ruby
DanielRb has quit [Ping timeout: 252 seconds]
glowcoil has quit [Changing host]
glowcoil has joined #ruby
zartoosh has quit [Changing host]
zartoosh has joined #ruby
lizzin_ has quit [Ping timeout: 248 seconds]
theRoUS` has quit [Changing host]
theRoUS` has joined #ruby
hermanmunster has joined #ruby
DanielRb has joined #ruby
devians has joined #ruby
redlegion_ has quit [Ping timeout: 245 seconds]
lizzin has joined #ruby
lizzin is now known as Guest2728
<devians>
heya, I'm hacking on a nginx, passenger, rack app based on the Gollum gem, which is a Sinatra app. In the layout view class I'm trying to make a method (? I'm not realy good on ruby terms) that gives me the base_url for the page. I keep getting stumped by scoping issues. I tried to use url('/') which is in Sinatra::Base but I couldnt figure out how to make that available in my scope. I've also tried the request variable but thats not
<devians>
available in my view scope either. Can someone help point me in the correct direction?
tmtwd has quit [Ping timeout: 248 seconds]
DanielRb has quit [Ping timeout: 245 seconds]
Notte has joined #ruby
DanielRb has joined #ruby
redlegion has joined #ruby
tmtwd has joined #ruby
DanielRb has quit [Ping timeout: 240 seconds]
DanielRb has joined #ruby
jackneill has joined #ruby
cephalostrum has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
claymore has quit [Ping timeout: 248 seconds]
alexju has quit [Remote host closed the connection]
hermanmunster has quit [Remote host closed the connection]
cephalostrum has joined #ruby
hermanmunster has joined #ruby
kaihara has quit [Ping timeout: 240 seconds]
alec-c4 has joined #ruby
timonv has quit [Ping timeout: 264 seconds]
hermanmunster has quit [Ping timeout: 255 seconds]
alec-c4 has quit [Ping timeout: 252 seconds]
apeiros has quit [Remote host closed the connection]
brandonjmckay has joined #ruby
apeiros has joined #ruby
DanielRb has quit [Ping timeout: 252 seconds]
nicksanf_ has quit [Remote host closed the connection]
Guest27059 has joined #ruby
andrewlio has joined #ruby
claymore has joined #ruby
Photism has joined #ruby
stytown has quit [Quit: stytown]
vinleod has joined #ruby
Guest27059 has quit [Ping timeout: 245 seconds]
Mon_Ouie has joined #ruby
DanielRb_ has joined #ruby
Georg3_ has quit [Quit: Computer has gone to sleep.]
kyb3r_ has joined #ruby
mijicd has quit [Remote host closed the connection]
DanielRb_ has quit [Ping timeout: 252 seconds]
lewix has quit [Remote host closed the connection]
evansbee has quit [Ping timeout: 248 seconds]
lewix has joined #ruby
replay has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DanielRb_ has joined #ruby
yfeldblu_ has joined #ruby
timonv has joined #ruby
nvdllq has joined #ruby
charliesome has joined #ruby
northfurr has quit [Quit: northfurr]
Notte has quit [Remote host closed the connection]
lewix has quit [Ping timeout: 248 seconds]
yfeldblu_ has quit [Ping timeout: 260 seconds]
Guest43144 has quit [Quit: Guest43144]
nfk has joined #ruby
ikaros has joined #ruby
rebelshrug has joined #ruby
rebelshrug has quit [Client Quit]
jottr_ has joined #ruby
tmtwd has quit [Ping timeout: 255 seconds]
Guest2728 has left #ruby [#ruby]
spider-mario has joined #ruby
DanielRb_ is now known as DanielRb
DanielRb has quit [Changing host]
DanielRb has joined #ruby
microdex has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 240 seconds]
tmtwd has joined #ruby
sepp2k has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
nicksanford has joined #ruby
DanielRb has quit [Ping timeout: 240 seconds]
kp666 has joined #ruby
carraroj has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DanielRb has joined #ruby
codezomb has quit [Read error: Connection reset by peer]
Notte has joined #ruby
DanielRb has quit [Ping timeout: 240 seconds]
kalusn has joined #ruby
mikecmpbll has joined #ruby
DanielRb has joined #ruby
jottr_ has joined #ruby
Hanmac has joined #ruby
Hanmac1 has quit [Ping timeout: 264 seconds]
LexicalScope has quit [Ping timeout: 260 seconds]
alec-c4 has joined #ruby
brandonjmckay has quit [Ping timeout: 245 seconds]
Takle has quit [Remote host closed the connection]
schaerli has quit [Remote host closed the connection]
bmurt has joined #ruby
bradleyprice has joined #ruby
chipotle has quit [Quit: cya]
ARCADIVS has joined #ruby
<mr_foobar_baz>
Hi, I am trying to test my backup application's CLI with the Aruba gem. But how do I test that when you run the command gives you a different output when you run "take backup" and it is time to take a backup, and when you run "take backup" and it is not time for a backup?
relix has joined #ruby
<mr_foobar_baz>
Usually I would mock out something like BackupApp.is_time_to_take_backup? to always return true or false, depending on what state I want to test
<mr_foobar_baz>
But how can I access the BackupApp instance in my cucumber steps while using aruba?
Notte has quit [Remote host closed the connection]
<mr_foobar_baz>
is that even possible? It's actually just running a command and looking at the output after all
Guest69577 has quit [Excess Flood]
deepa has joined #ruby
claymore has quit [Ping timeout: 245 seconds]
ohcibi_ is now known as ohcibi
claymore has joined #ruby
tus has joined #ruby
Guest24253 has quit [Ping timeout: 240 seconds]
Pyrotecnix has joined #ruby
parduse has joined #ruby
Shidash has quit [Quit: Leaving.]
alec-c4 has quit [Ping timeout: 248 seconds]
sputnik13 has joined #ruby
timonv has quit [Remote host closed the connection]
Pyrotecnix_ has joined #ruby
gruz0[russia] has joined #ruby
chipotle has joined #ruby
jezen has quit []
Pyrotecnix has quit [Ping timeout: 240 seconds]
ixti has quit [Ping timeout: 240 seconds]
<tmtwd>
hello
<mr_foobar_baz>
I suppose I'll create a class TestCLI that inherits from my CLI and supports overriding behaviour to simulate the states I want to test with some command line arguments or environment variables
<mr_foobar_baz>
tmtwd: hi
nicksanford has quit [Remote host closed the connection]
fgo has joined #ruby
fgo has quit [Ping timeout: 244 seconds]
mr_foobar_baz has quit [Remote host closed the connection]
gruz0[russia] has quit [Quit: This computer has gone to sleep]
<Mon_Ouie>
Well, if you try just Thread.new { puts 4 } in IRB/pry it will print 4 eventually
Photism has joined #ruby
<Fractional>
Mon_Ouie: I solved the issue, not quite sure why though. Replaced the equation within sleep to a constant, and now everything works perfectly.
Channel6 has joined #ruby
<Mon_Ouie>
Wait, was your question actually "why does the thread not run *with* the sleep statement?"
SloggerKhan1 has joined #ruby
<Mon_Ouie>
Anyway 1000/60/1000 == 0
<Mon_Ouie>
(because of how integer division works. Use floats)
<Fractional>
Oh, thank you!
soulcake has quit [Ping timeout: 255 seconds]
SloggerKhan has quit [Ping timeout: 240 seconds]
bmurt has quit []
Channel6 has quit [Client Quit]
Eyes has quit [Quit: modprobe -r processor]
bmurt has joined #ruby
northfurr has joined #ruby
soulcake has joined #ruby
bmurt has quit [Client Quit]
Eyes has joined #ruby
Sawbones has joined #ruby
<matti>
Mon_Ouie: ;]
gigetoo has quit [Ping timeout: 245 seconds]
yokel has quit [Ping timeout: 245 seconds]
andrewlio has quit [Ping timeout: 245 seconds]
<Mon_Ouie>
'alut matti
northfurr has quit [Client Quit]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
Soda has quit [Remote host closed the connection]
soulcake has quit [Ping timeout: 255 seconds]
diegoviola has quit [Ping timeout: 255 seconds]
Soda has joined #ruby
spider-mario has quit [Remote host closed the connection]
shevy has joined #ruby
SloggerKhan1 has quit [Ping timeout: 240 seconds]
soulcake has joined #ruby
<shevy>
heza
<shevy>
my LCD monitor broke off from its socket yesterday
s2013 has joined #ruby
Sawbones has quit [Remote host closed the connection]
diegoviola has joined #ruby
SloggerKhan has joined #ruby
orpvcy has joined #ruby
spider-mario has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
andrewlio has joined #ruby
try has joined #ruby
Wolland has joined #ruby
s2013 has quit [Ping timeout: 240 seconds]
spider-mario has joined #ruby
alec-c4 has joined #ruby
neersighted_ is now known as neersighted
Wolland has quit [Ping timeout: 264 seconds]
abdulsattar has joined #ruby
bruno- has joined #ruby
fwaokda has joined #ruby
alec-c4_ has joined #ruby
alec-c4 has quit [Ping timeout: 255 seconds]
johnmolina has joined #ruby
alec-c4_ has quit [Ping timeout: 255 seconds]
renier_ has joined #ruby
tmtwd has quit [Ping timeout: 252 seconds]
arrubin has joined #ruby
Takle has quit [Remote host closed the connection]
s2013 has joined #ruby
soulcake has quit [Ping timeout: 255 seconds]
renier has quit [Ping timeout: 240 seconds]
DaniG2k has joined #ruby
nfk has quit [Ping timeout: 264 seconds]
<DaniG2k>
does anyone know of a company hiring RoR devs in London?
<Fractional>
Does anyone know if UDPSocket::send is waiting for a return value? My program freezes at this part.
tmtwd has joined #ruby
Shidash has quit [Quit: Leaving.]
isthisreallife has joined #ruby
nfk has joined #ruby
isthisreallife has left #ruby [#ruby]
soulcake has joined #ruby
pskosinski has quit [Ping timeout: 264 seconds]
<Fractional>
When working with UDP sockets in Ruby is it necessary for clients to act as a server? (If you want to retrieve content from the server, after sending your UDPSocket)?
bruno-_ has joined #ruby
bruno- has quit [Ping timeout: 244 seconds]
apeiros has quit [Remote host closed the connection]
garndt has joined #ruby
Valesk has joined #ruby
orpvcy has quit [Ping timeout: 260 seconds]
pskosinski has joined #ruby
DaniG2k has quit [Quit: leaving]
Takle has joined #ruby
s2013 has quit [Ping timeout: 252 seconds]
tokik has joined #ruby
umnmqn has joined #ruby
eka has joined #ruby
eka has quit [Client Quit]
Nexus_x1 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
St_Marx has quit [Ping timeout: 264 seconds]
St_Marx has joined #ruby
shredding has joined #ruby
naw has joined #ruby
northfurr has joined #ruby
schaerli has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
<Fractional>
Why does my program freeze when trying to send a UDP socket? content, sender = @server.recvfrom(16) # sender.send("foo", 0, sender[3], 7500)
<Mon_Ouie>
sender[3]? What's sender?
<shevy>
I just realized
<shevy>
we have two keywords
<shevy>
one called begin, the other called BEGIN
sinkensabe has joined #ruby
jhass|off is now known as jhass
<Mon_Ouie>
We also have end and END
diegoviola has quit [Ping timeout: 252 seconds]
oo_ has quit [Remote host closed the connection]
IceDragon has joined #ruby
Soda has quit [Remote host closed the connection]
Soda has joined #ruby
oo_ has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
jhass is now known as jhass|off
dangerousdave has joined #ruby
<shevy>
hehe
<shevy>
that is so weird
Beoran__ has joined #ruby
Beoran_ has quit [Ping timeout: 252 seconds]
wildroman2 has joined #ruby
diegoviola has joined #ruby
brunops has joined #ruby
<Fractional>
Mon_Ouie: Sender contains information from the client which sent the socket. The program hangs itself when trying to send a packet to the sender. Is it waiting for a response? If so, how do you do it?
jarto has joined #ruby
Sawbones has joined #ruby
lw has joined #ruby
IceDragon has quit [Ping timeout: 260 seconds]
IceDragon has joined #ruby
oo_ has quit [Remote host closed the connection]
Wolland has joined #ruby
therealGent has joined #ruby
Sawbones has quit [Remote host closed the connection]
Wolland has quit [Ping timeout: 240 seconds]
<banisterfiend>
Fractional if you can write in french Mon_Ouie would be more likely to give you a response (he's french)
sinkensabe has quit [Remote host closed the connection]
<Fractional>
banisterfiend: Sadly I can not
<banisterfiend>
Fractional google translate
tmtwd has quit [Remote host closed the connection]
sevenseacat has quit [Remote host closed the connection]
<Fractional>
Mon_Ouie: Expéditeur contient des informations du client qui a envoyé le paquet. Le serveur se bloque lorsque vous essayez d'envoyer un paquet à l'expéditeur. Attend-il une réponse? Si oui, comment le faites-vous?
jamto11 has joined #ruby
therealGent has quit [Ping timeout: 264 seconds]
codeurge has joined #ruby
diegoviola has quit [Ping timeout: 260 seconds]
<fwaokda>
what gems, packages in ubuntu do i need to install to be able to use require 'xmlrpc/client' ? I've found links online to where to download different things to install but theyre all dead links
poppingtonic has quit [Ping timeout: 240 seconds]
jarto has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
aspiers has quit [Ping timeout: 264 seconds]
<banisterfiend>
Fractional great work! let's now just sit and wait it out :D
alec-c4 has joined #ruby
bluOxigen has joined #ruby
<Mon_Ouie>
Fractional: You're calling sender.send and also sender[3]
<Mon_Ouie>
You know that banisterfiend was joking about using French to communicating, right? :p
<Mon_Ouie>
Oh, you had sender (as opposed to @sender) in your example
<Fractional>
Mon_Ouie: Obviously I did not :D
maestrojed has joined #ruby
shredding has quit [Quit: shredding]
bruno- has quit [Ping timeout: 255 seconds]
Shidash has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Zebroid has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
CaptainJet has joined #ruby
chipotle has quit [Quit: cya]
Zebroid has quit [Remote host closed the connection]
nicksanford has joined #ruby
Zebroid has joined #ruby
nicksanf_ has joined #ruby
soulcake has joined #ruby
LadyRainicorn has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ClarusCogitatio has quit [Ping timeout: 245 seconds]
<Fractional>
Mon_Ouie: Do you know what I am doing wrong?
pskosinski has quit [Ping timeout: 264 seconds]
wowXD has quit [Remote host closed the connection]
nicksanford has quit [Ping timeout: 240 seconds]
ClarusCogitatio has joined #ruby
Zebroid has quit [Ping timeout: 248 seconds]
gruz0[russia] has quit [Quit: This computer has gone to sleep]
aerook has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
nicksanf_ has quit [Remote host closed the connection]
mijicd has joined #ruby
nicksanford has joined #ruby
p0sixpscl has quit [Quit: p0sixpscl]
alec-c4 has joined #ruby
<Mon_Ouie>
No, I've never really messed with that sort of things
nicksanford has quit [Ping timeout: 240 seconds]
<shevy>
unshadow you mean pure method definitions? name space collisions can happen; if people use the same name as you do, so re-using becomes impossible
<shevy>
unshadow it's also much easier to keep on using @ivar variables with a class; try to write a large complex program with only def ... where will you store the data?
dangerousdave has quit [Read error: Connection reset by peer]
Valesk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
dangerousdave has joined #ruby
DanielRb has quit [Ping timeout: 240 seconds]
sinkensabe has joined #ruby
Fractional has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
LadyRainicorn has joined #ruby
brian___ has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
DanielRb has joined #ruby
Poky has joined #ruby
dangerousdave has joined #ruby
tokik has quit [Ping timeout: 240 seconds]
banister has joined #ruby
ra4king1 has joined #ruby
virtualize has joined #ruby
<banister>
Mon_Ouie wanna watch a netflix?
bruno- has quit [Ping timeout: 240 seconds]
<Mon_Ouie>
No. Is that even a thing in Europe?
banister is now known as banisterfiend
<unshadow>
shevy, I use $veriable for example (i'm very new to programming so i'm just trying to understand the concepts)
benzrf|offline is now known as benzrf
<banisterfiend>
Mon_Ouie yea, it's available in holland anyway
ra4king has quit [Ping timeout: 245 seconds]
ra4king1 is now known as ra4king
DanielRb has quit [Ping timeout: 240 seconds]
kireevco has joined #ruby
einarj has quit [Ping timeout: 248 seconds]
IceDragon has quit [Ping timeout: 264 seconds]
IceDragon has joined #ruby
DanielRb has joined #ruby
codeurge has joined #ruby
gruz0[russia] has joined #ruby
Takle has joined #ruby
ixti has joined #ruby
<shevy>
unshadow yeah, that is a global variable; whenever anyone else uses the same name, he will overwrite it
<shevy>
so the more and more code you add in such a way, the more likely it is that some library would have defined a $ variable, if everyone would just use the main namespace alone
<shevy>
module Foo; $bla = 5
<shevy>
$bla = 33
<shevy>
it does not matter where the $ resides, it is global and thus unique everywhere; $bla "inside" module Foo will be the same as $bla anywhere else
<shevy>
which is different to @ivar behaviour
<shevy>
hmm
Zebroid has joined #ruby
<shevy>
let's say I have two methods called foo()
<mr_foobar_baz>
Is it a sin to test more than the user can usually see in cucumber steps? E.g. I am testing if "my_cli_backup_app take_backup" is not only printing "Taking backup..." but also if it is executing the code that takes a backup
<shevy>
is there a way to ask ruby which foo() I will call? e. g. they are in other modules each
<mr_foobar_baz>
(using aruba to test my CLI)
bruno- has joined #ruby
DanielRb has quit [Ping timeout: 255 seconds]
kaiserpathos has joined #ruby
ixti has quit [Ping timeout: 244 seconds]
fgo has quit [Remote host closed the connection]
gruz0[russia] has quit [Quit: This computer has gone to sleep]
ixti has joined #ruby
Wolland has joined #ruby
<unshadow>
shevy, I see your poit, so classes and methouds are a way to "wrap" my code in bigger and bigger parts so I can use @ and @@ to move variables around instead of using $ , I got it right ?
DanielRb has joined #ruby
kaiserpathos has quit []
<shevy>
unshadow I referred only to @, not @@
<shevy>
but yeah, they are better for most cases compared to $
<shevy>
class Cat; def initialize; @fur_color = 'black'; end; end
Zebroid has quit [Ping timeout: 240 seconds]
<shevy>
every instance of your class Cat will have the @ivar called @fur_colour
<shevy>
and it will be unique to the specific object that you will instantiate via Cat.new
<shevy>
so you can have cats with grey hair and cats with black hair and also white cats
<shevy>
class Cat; def initialize(colour = 'black'); @fur_color = colour; end; end
<shevy>
now you can even pass the colour at instantiation time
<shevy>
Cat.new 'pink'
vifino has quit [Quit: Ze Cat now leaves...]
<unshadow>
Ok, thats cool , I think I got it
<unshadow>
so, why not @@ ?
<shevy>
the most important question before asking that is
<shevy>
why would you want to use @@
<unshadow>
Lets say I want to move a veriable between two of my classes
chipotle has joined #ruby
<unshadow>
class1 will have @fur_color = black
ra4king1 has joined #ruby
<unshadow>
but class2 will have a different @fur_color
<shevy>
as long as you don't have a compelling use case, it's hard to understand why you would want to use its additional complexity, especially considering that constants can be (ab)used for just about the same thing; but ideally you'd never even want to need any @@ because - why really
Wolland has quit [Ping timeout: 260 seconds]
ra4king has quit [Disconnected by services]
ra4king1 is now known as ra4king
DanielRb has quit [Ping timeout: 264 seconds]
<shevy>
ok so why must that variable be @@
<shevy>
and stop writing veriable please ;-)
<shevy>
unshadow what I tend to do is to use a set of constants
<shevy>
for instance
<shevy>
module Prison; class Cat
<shevy>
ok, now all the cats reside in Prison namespace
<shevy>
inside that namespace I do stuff like this:
<shevy>
and then inside that, you can use defaults
<shevy>
class Cat; def initialize(colour = DEFAULT_FUR_COLOUR)
<shevy>
etc...
<shevy>
I think the sole use case I saw for @@ was to keep them as a useless counter
<shevy>
class Cat; @@n_cats = 0
<shevy>
so far I never needed that
<shevy>
what do I care if there are 50 cats or 100 cats
<unshadow>
ohhh, ok so then the DEFAULT_FUR_COLOUR wont change unless I specificly overwrite it in a class ?
<unshadow>
and then it will only change for that specific class
pvb has quit [Ping timeout: 240 seconds]
<shevy>
you could overwrite it but it is a constant
<shevy>
in this context it is just use to provide a default argument
<shevy>
you could use a @@ too
<shevy>
but you'd have to explain why you need the @@ and not a constant
<unshadow>
shevy: let me create a scenario: def foo, check if a = 1 , if a = 1 b=bla if a = 2 b=blabla, end . now def bar , call foo to get bla or blabla , if b=bla print if b=blabla exit. how do I pass the value of b to this check ?
<shevy>
I don't know what that is you just typed
<shevy>
you do know that a = 1 is an assignment right?
<unshadow>
yeha
<unshadow>
a == 1
<unshadow>
sorry
<shevy>
now that is better
<shevy>
clearer thoughts lead to clearer code
<unshadow>
:)
abdulsattar has quit [Ping timeout: 255 seconds]
diegoviola has joined #ruby
<unshadow>
Sorry, but you do get my question from this ?
<shevy>
I am not entirely sure what you mean to "pass the value of"
<shevy>
have you used pasties before btw?
johnmolina has quit []
<shevy>
it can be hard to read code on IRC
<shevy>
but in general, I think what you mean with "value of b", is to simply pass b
<shevy>
def foo(a, b)
<shevy>
^^^ here you must provide two arguments
<shevy>
def foo(a, b = nil)
<shevy>
^^^ here you must provide one argument
DanielRb has joined #ruby
diegoviola has quit [Client Quit]
<shevy>
def foo(a = nil, b = nil)
<unshadow>
I want to have the value set to b by def foo , knowed to def bar
<shevy>
^^^ here you must provide no argument
diegoviola has joined #ruby
sdouglas has joined #ruby
<shevy>
what do you mean
<shevy>
the return value of a method?
<unshadow>
I think what you started to write is exactly what I was looking for
<shevy>
inside the method you can check
<shevy>
def foo(a = nil, b = nil)
<unshadow>
you know what, Ill create a pastebin and send the link
<shevy>
a = DEFAULT_ARGUMENT if a.nil?
mikecmpbll has joined #ruby
<shevy>
and you can use return values of methods too
<shevy>
a = call_some_method_here() if a.nil?
<shevy>
of course people in ruby tend to omit () when no arguments are given to that method
<shevy>
please not pastebin
<shevy>
pastie.org or gist github
evansbee has joined #ruby
cerberblue has joined #ruby
pskosinski has joined #ruby
Lewix has joined #ruby
axl_ has joined #ruby
sdouglas has quit [Ping timeout: 272 seconds]
Lewix has quit [Remote host closed the connection]
<shevy>
I'd never write it like that btw, I just based it on your code
Morkel has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
Zebroid has quit [Remote host closed the connection]
ClarusCogitatio has joined #ruby
fgo has joined #ruby
<unshadow>
shevy, how would you have wrote it ? you would use def bar(b) ?
wowXD has quit [Ping timeout: 264 seconds]
DanielRb has quit [Ping timeout: 272 seconds]
DanielRb has joined #ruby
<unshadow>
I saw your example, what you do is instead of me doing $ to create a global, you use @ to create a"global" inside the class, so with this in mind , what would I do if foo was in class 1 and bar was in class 2 ?
<shevy>
happytux as you can see they work in main ruby
<shevy>
so it is entirely unrelated to BDD helpers
Lewix has quit [Ping timeout: 272 seconds]
Morkel has quit [Quit: Morkel]
stytown has joined #ruby
benzrf|offline is now known as benzrf
brian___ has quit [Quit: brian___]
adnauseam has left #ruby [#ruby]
brandonjmckay has quit [Quit: Leaving.]
unshadow has quit [Ping timeout: 272 seconds]
<happytux>
ah
DanielRb_ has quit [Ping timeout: 240 seconds]
vifino has joined #ruby
timonv has joined #ruby
DanielRb_ has joined #ruby
chipotle has joined #ruby
mr_foobar_baz has joined #ruby
diegoviola has joined #ruby
<diegoviola>
is there something like Array#include? but instead of telling me if an element is included in the array, I want it to tell me if it's not included
<shevy>
it is usually easier to think in a true-like fashion
<shevy>
forward thinking
<shevy>
if this, do that, else do that
<diegoviola>
right
<diegoviola>
#include? works
<shevy>
it's hard to do:
Rainicorn is now known as LadyRainicorn
<diegoviola>
actually
<shevy>
unless that, do this, else do that
<diegoviola>
thanks
<diegoviola>
right
<shevy>
I think it has to do with how the human brain works :)
<diegoviola>
cool.. thanks
<diegoviola>
yep
<diegoviola>
thanks a bunch
GriffinHeart has quit [Remote host closed the connection]
<shevy>
the other way could be via .select, and act on what it returns
<shevy>
or actually, .grep/.match/.scan too I guess
<shevy>
a million ways!
maximski has quit []
sinkensabe has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
mijicd has quit [Remote host closed the connection]
Channel6 has joined #ruby
sigurding has quit [Quit: sigurding]
linduxed has quit [Ping timeout: 264 seconds]
fnando has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hanmac1 has joined #ruby
relix has joined #ruby
jheg has joined #ruby
sdouglas has joined #ruby
brian___ has joined #ruby
<fnando>
Hi. I'm trying to create a bin but I'm receiving this error message: ./script/myapp: Permission denied @ realpath_rec - /var/www/myapp (Errno::EACCES) ~ The bin has just the shebang (#!/usr/bin/env ruby) and a `puts Hi`. The permission is -rwxr-xr-x... can't figure out why is failing. Any thoughts?
<Edelwin>
puts "Hi"
Hanmac has quit [Ping timeout: 248 seconds]
<fnando>
@Edelwin yeah... just a typo. That's not the issue.
<RubyPanther>
fnando: Often it is caused by the parent directory not having +x
<RubyPanther>
depending on platform, of course. +x on the directory is also needed if there is any wildcard in the filename, or if you're trying to check if a file exists in the directory before executing it
<fnando>
RubyPanther tried that... not working. Funny thing is... if switch the shebang to python's it works
<RubyPanther>
fnando: Generally apache enforces the +x requirement pretty far up the tree, not just the immediate parent
<fnando>
RubyPanther ah... let me try the whole tree
chipotle has quit [Ping timeout: 248 seconds]
<RubyPanther>
fnando: in that case the ruby itself might not be runable as the apache user
DanielRb_ has quit [Ping timeout: 244 seconds]
dideler_ has joined #ruby
<RubyPanther>
fnando: generally you would want a per-app system user that is used instead of *nix groups, and then to install the ruby in that user's dir, and then have apache run the app as that user. or per-team in some cases.
<shevy>
now see this goshdarnyou, that's a much better code
<goshdarnyou>
thanks havenwood!
dapz has joined #ruby
<goshdarnyou>
weird that one's not running either.. maybe it's not the code and something else
thomasfedb has joined #ruby
Eyes has quit [Quit: X probably crashed]
casheew has joined #ruby
casheew_1 has quit [Read error: Connection reset by peer]
<goshdarnyou>
upto and times is way cleaner tho, thx
octarine has quit [Ping timeout: 260 seconds]
casheew_ has joined #ruby
tekacs has quit [Ping timeout: 260 seconds]
mostlybadfly_ has quit [Ping timeout: 260 seconds]
tiagonobre has quit [Ping timeout: 260 seconds]
RoryHughes has quit [Ping timeout: 260 seconds]
SegFaultAX has quit [Ping timeout: 260 seconds]
nopc0de has quit [Ping timeout: 260 seconds]
kapowaz_ has quit [Ping timeout: 260 seconds]
antonishen has quit [Ping timeout: 260 seconds]
andrewstewart_ has quit [Ping timeout: 260 seconds]
elektronaut has quit [Ping timeout: 260 seconds]
adambeynon has quit [Ping timeout: 260 seconds]
_whitelogger_ has joined #ruby
Beoran_ has joined #ruby
ELLIOTTCABLE__ has joined #ruby
axl_ has quit [Quit: axl_]
schaerli has quit [Ping timeout: 260 seconds]
cyphactor has quit [Ping timeout: 260 seconds]
casheew__ has quit [Ping timeout: 260 seconds]
Dwarf has quit [Ping timeout: 260 seconds]
Wolland has quit [Remote host closed the connection]
SirFunk_ has joined #ruby
ballPointPenguin has quit [Ping timeout: 260 seconds]
yo61 has quit [Ping timeout: 260 seconds]
DefV has quit [Ping timeout: 260 seconds]
Raboo has quit [Ping timeout: 260 seconds]
kalleth has quit [Ping timeout: 260 seconds]
goshdarnyou has quit [Ping timeout: 260 seconds]
natewalck_ has quit [Ping timeout: 260 seconds]
hanikazmi_ has quit [Ping timeout: 260 seconds]
bcavileer__ has quit [Ping timeout: 260 seconds]
MindfulMonk has quit [Ping timeout: 260 seconds]
rtlong has quit [Ping timeout: 260 seconds]
benzrf|offline has quit [Ping timeout: 252 seconds]
goshdarnyou_ is now known as goshdarnyou
callumacrae_ has joined #ruby
yo61_ has joined #ruby
ballPointPenguin has joined #ruby
mjc___ has joined #ruby
culturelabs_ has quit [Ping timeout: 260 seconds]
zz_LoRdToLsToI has quit [Ping timeout: 260 seconds]
TDJACR has quit [Ping timeout: 260 seconds]
apeiros has joined #ruby
dapz has quit [Ping timeout: 260 seconds]
mjc__ has quit [Ping timeout: 260 seconds]
dnyy has quit [Ping timeout: 260 seconds]
dideler_ has quit [Ping timeout: 260 seconds]
Sigma00 has quit [Ping timeout: 260 seconds]
_whitelogger has quit [Ping timeout: 260 seconds]
camilasann has quit [Ping timeout: 260 seconds]
ELLIOTTCABLE_ has quit [Ping timeout: 260 seconds]
SirFunk has quit [Ping timeout: 260 seconds]
SirFunk_ is now known as SirFunk
Raboo has joined #ruby
Beoran__ has quit [Ping timeout: 260 seconds]
neersighted has quit [Ping timeout: 260 seconds]
callumacrae has quit [Ping timeout: 260 seconds]
icebourg has quit [Ping timeout: 260 seconds]
jrdnull has quit [Ping timeout: 260 seconds]
pvb has quit [Ping timeout: 260 seconds]
leslie has quit [Ping timeout: 260 seconds]
callumacrae_ is now known as callumacrae
jeekl has quit [Ping timeout: 260 seconds]
shanlar has quit [Ping timeout: 260 seconds]
lbwski has quit [Ping timeout: 260 seconds]
caveat- has joined #ruby
jamo__ has quit [Ping timeout: 260 seconds]
gremax has quit [Ping timeout: 260 seconds]
neersighted has joined #ruby
naw_ has joined #ruby
lbwski has joined #ruby
yo61_ is now known as yo61
naw has quit [Ping timeout: 260 seconds]
Sigma00 has joined #ruby
zz_LoRdToLsToI has joined #ruby
Hamled|Erp has quit [Ping timeout: 260 seconds]
franka_ has quit [Ping timeout: 260 seconds]
Snickers_ has quit [Ping timeout: 260 seconds]
icebourg has joined #ruby
mjc___ is now known as mjc__
franka_ has joined #ruby
Hamled has joined #ruby
dnyy has joined #ruby
sweeper has quit [Ping timeout: 260 seconds]
<shevy>
goshdarnyou how do you run it
nisstyre has joined #ruby
jamo_ has joined #ruby
<shevy>
"ruby name_of_file.rb"
<shevy>
yes?
frank_____ has quit [Quit: Connection closed for inactivity]
Snickers has joined #ruby
MindfulMonk has joined #ruby
sweeper has joined #ruby
mgberlin has quit [Remote host closed the connection]
dinoex has quit [Ping timeout: 260 seconds]
gremax has joined #ruby
<shevy>
some IDEs might screw you up
dinoex has joined #ruby
<shevy>
the ruby name.rb works 100% with that code above
leslie has joined #ruby
Mon_Ouie has quit [Ping timeout: 260 seconds]
anekos has quit [Ping timeout: 260 seconds]
camilasan has joined #ruby
TDJACR has joined #ruby
deepy has joined #ruby
troyready has quit [Ping timeout: 272 seconds]
theRoUS` has quit [Ping timeout: 260 seconds]
miah has quit [Ping timeout: 260 seconds]
caveat- has quit [Remote host closed the connection]
jinie has quit [Ping timeout: 260 seconds]
tommylom1ykins has quit [Ping timeout: 260 seconds]
tchebb has quit [Ping timeout: 260 seconds]
deepy is now known as Guest86375
Nexus_x1 has quit [Quit: Computer has gone to sleep.]
jinie has joined #ruby
Dwarf has joined #ruby
rtlong has joined #ruby
comma8 has joined #ruby
caveat- has joined #ruby
tommylommykins has joined #ruby
jrdnull has joined #ruby
miah has joined #ruby
tchebb has joined #ruby
dideler_ has joined #ruby
pvb has joined #ruby
ELLIOTTCABLE__ is now known as ELLIOTTCABLE
wasamasa has quit [Ping timeout: 260 seconds]
anekos has joined #ruby
DanielRb has quit [Ping timeout: 240 seconds]
MmmmPie has joined #ruby
fgo has joined #ruby
tcstar1 has joined #ruby
theRoUS has joined #ruby
Poky has joined #ruby
wasamasa has joined #ruby
optiz0r has left #ruby ["Leaving"]
DanielRb has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
<banisterfiend>
apeiros hi
gogiel has quit [Read error: Connection reset by peer]
DanielRb has quit [Ping timeout: 248 seconds]
sameerynho has quit [Ping timeout: 272 seconds]
chipotle has quit [Quit: cya]
Sawbones has joined #ruby
MmmmPie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MmmmPie has joined #ruby
jackneill has quit [Read error: Connection reset by peer]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
<goshdarnyou>
yea ruby filename.rb doesnt seem to return anything, repl.it just times out
cpruitt has joined #ruby
brandonjmckay has joined #ruby
marr has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
cpruitt has quit [Read error: Connection reset by peer]
alec-c4 has quit [Remote host closed the connection]
cpruitt has joined #ruby
alec-c4 has joined #ruby
DanielRb has joined #ruby
kp666 has quit [Ping timeout: 264 seconds]
<apeiros>
hi bani
kp666 has joined #ruby
gigetoo has joined #ruby
kenneth has joined #ruby
brian___ has quit [Quit: brian___]
amargherio has joined #ruby
Rylee has joined #ruby
alec-c4 has quit [Ping timeout: 240 seconds]
bricker`LA has quit [Quit: leaving]
DanielRb has quit [Ping timeout: 264 seconds]
Mon_Ouie has joined #ruby
wowXD has joined #ruby
GriffinHeart has joined #ruby
<fwaokda>
anyone know of a gem that would allow me to get the temperature of my cpu?
ji0n_ is now known as ji0n
DanielRb has joined #ruby
DanielRb has quit [Changing host]
DanielRb has joined #ruby
<havenwood>
fwaokda: os/distro?
wowXD has quit [Ping timeout: 244 seconds]
<fwaokda>
havenwood, just found the gem "cpu"
<fwaokda>
thanks though!
mgberlin has joined #ruby
<havenwood>
51.25°C, mm hot
wildroman2 has quit [Read error: Connection reset by peer]
wildroman2 has joined #ruby
GriffinHeart has quit [Ping timeout: 272 seconds]
rgrinberg has left #ruby [#ruby]
benzrf has joined #ruby
fnando has joined #ruby
DanielRb has quit [Ping timeout: 252 seconds]
Rix has quit [Ping timeout: 240 seconds]
CaptainJet has quit []
<Hanmac>
shevy: this weekend i updated abit of the data script stuff (you know what i mean) but once again my script parts colide into a circle connection ... :/ current problem states, like everything else add features ... but one of the features that can be added are auto-states ... now i need to find a way to provide that functionaliy without causing a circle connection ...
Sawbones has quit [Remote host closed the connection]
andrewjanssen has joined #ruby
diegoviola has joined #ruby
ClarusCogitatio has quit [Ping timeout: 240 seconds]
DanielRb has joined #ruby
<Hanmac>
havenwood: how are you with watching AT or DoctorWho?
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
razieliyo has quit [Ping timeout: 272 seconds]
toertore has quit [Read error: Connection reset by peer]
kyb3r_ has joined #ruby
weems has quit [Read error: Connection reset by peer]
toertore has joined #ruby
GriffinHeart has joined #ruby
weems has joined #ruby
lupine is now known as Whisky`
Whisky` is now known as lupine
dc has joined #ruby
kayloos has quit [Remote host closed the connection]
DanielRb has quit [Ping timeout: 240 seconds]
GriffinHeart has quit [Ping timeout: 260 seconds]
topdownjimmy has joined #ruby
sdouglas has joined #ruby
iamjusthatdude has joined #ruby
<iamjusthatdude>
hey guys
<iamjusthatdude>
anyone around?
<iamjusthatdude>
I need help with something
<iamjusthatdude>
:(
<topdownjimmy>
I'm getting an error when trying to run sass --watch. Here's the first line of output: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in `gem_original_require': /home/jay/.gem/gems/celluloid-0.16.0.pre2/lib/celluloid.rb:58: syntax error, unexpected tSTAR, expecting tAMPER (SyntaxError)
havenn has joined #ruby
<topdownjimmy>
That's right after it says "Sass is watching for changes."
northfurr has quit [Quit: northfurr]
abdulsattar has joined #ruby
<topdownjimmy>
It seems suspicious that it's looking in /usr/lib/ruby/site_ruby/1.8, since I just installed 1.9.3
havenwood has quit [Ping timeout: 264 seconds]
Radar has quit [Read error: Connection reset by peer]
helpa has quit [Read error: Connection reset by peer]
helpa has joined #ruby
DanielRb has joined #ruby
Radar has joined #ruby
brandonjmckay has joined #ruby
Radar is now known as Guest5789
Guest5789 is now known as Radar
wowXD has joined #ruby
eka has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
aniM has joined #ruby
nicksanford has joined #ruby
kloeri has quit [Remote host closed the connection]
eka has quit [Client Quit]
nicksan__ has joined #ruby
sameerynho has quit [Quit: Leaving]
northfurr has joined #ruby
nicksanf_ has quit [Ping timeout: 255 seconds]
brandonjmckay has quit [Ping timeout: 248 seconds]
wowXD has quit [Ping timeout: 240 seconds]
nicksanford has quit [Ping timeout: 252 seconds]
Soda has quit [Remote host closed the connection]
Deele has quit [Ping timeout: 255 seconds]
goleldar has quit [Remote host closed the connection]
Deele has joined #ruby
brandonjmckay has joined #ruby
nicksan__ has quit [Remote host closed the connection]
<shevy>
topdownjimmy you don't provide much additional information
<shevy>
for instance, how do you manage ruby, what does "I just installed 1.9.3" effectively mean
<shevy>
and what is your operating system anyway
freerobby has joined #ruby
<shevy>
sass --watch
<shevy>
What files should I watch? Did you mean something like:
<shevy>
the line after "sass --watch" was output from sass
DanielRb has quit [Ping timeout: 240 seconds]
<topdownjimmy>
Thanks shevy, wasn't sure which information would be most valuable. I had my hosting upgrade ruby to 1.9.3 since I couldn't run guard-livereload on the version we had (1.8.7 I think). It's CentOS. I run: sass --watch scss:css
fayimora has quit [Quit: Connection closed for inactivity]
asteve has joined #ruby
asteve has quit [Max SendQ exceeded]
<shevy>
so you did not update yourself?
<topdownjimmy>
No, I didn't.
Darkchaos has quit [Ping timeout: 240 seconds]
hiall has quit [Quit: hiall]
asteve has joined #ruby
nicksanford has joined #ruby
<shevy>
and you installed the gem after you upgraded your ruby
<topdownjimmy>
They did. I've never used rvm, I just do gem install <gem> -i ~/.gem
<shevy>
I am quite sure that normal centos 1.8.7 does not have a path like /usr/local/rvm
nicksanford has quit [Read error: Connection reset by peer]
<shevy>
sounds like a mess hehehe
fgo has joined #ruby
<topdownjimmy>
Haha yeah I'm sure it is
pmyjavec has joined #ruby
<shevy>
first time I heard that main distributions use rvm
<shevy>
because if they use rvm, you could use rvm just as well
<shevy>
and completely ignore their version of ruby
freerobby has quit [Quit: Leaving.]
<topdownjimmy>
So I'd install the gems with rvm instead of gem install?
<shevy>
I honestly don't know, your system confuses me to no ends
<shevy>
you also have /home/jay/.gem/gems
<topdownjimmy>
Haha ok, thanks anyway
pmyjavec is now known as emergion
<shevy>
I can tell you how I manage ruby - I install into /Programs/Ruby/VERSION_HERE - afterwards, whenever I do system-wide gem installs, they get dumped into the currently selected versions ruby lib dir
ClarusCogitatio has quit [Ping timeout: 240 seconds]
nicksanf_ has quit [Ping timeout: 244 seconds]
<shevy>
for instance, currently into /Programs/Ruby/Current/lib/ruby/gems/2.1.0/gems/
<shevy>
where Current points to -> /Programs/Ruby/2.1.2/
<topdownjimmy>
Hm ok
<shevy>
In general, if you do not want a system-wide installation, you can use "gem install --user-install name_of_gem_here.gem"
<shevy>
then it will install into your user home directory
<shevy>
probably in your case /home/jay/.gem/gems
<shevy>
you still seem to have the problem of 1.8.x being in your path
<shevy>
perhaps try to locate how man "gem" are on your machine
<shevy>
I guess there must be more than one
<shevy>
find / -name gem
<shevy>
is slow but works :P
<shevy>
when you have more than one gem, try to call both and see what they output when you give them "env" as instruction
fgo has quit [Ping timeout: 272 seconds]
mgberlin has quit [Remote host closed the connection]
<topdownjimmy>
Thanks shevy, I think that'll help.
<topdownjimmy>
Gonna play around for a while.
george2 has joined #ruby
Lewix has joined #ruby
Soda has joined #ruby
ClarusCogitatio has joined #ruby
DanielRb has quit [Ping timeout: 244 seconds]
mgberlin has joined #ruby
<topdownjimmy>
Whew, I've got it working. Thanks for the help!
nicksanford has joined #ruby
tanema has joined #ruby
<sent-hil>
which is more idiomatic for gem names: `es_reindex` or `es-reindex'
Liothen- is now known as Liothen
Liothen has quit [Changing host]
Liothen has joined #ruby
klaut has quit [Remote host closed the connection]
diegovio1 has joined #ruby
diegoviola has quit [Ping timeout: 264 seconds]
DanielRb has joined #ruby
benlieb has quit [Quit: benlieb]
nicksan__ has quit [Ping timeout: 248 seconds]
djbkd has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
diegovio1 is now known as diegoviola
nicksanford has quit [Ping timeout: 255 seconds]
nicksanford has joined #ruby
bruno- has joined #ruby
brunops has quit [Ping timeout: 240 seconds]
brandonjmckay has quit [Quit: Leaving.]
jamto11 has joined #ruby
brunops has joined #ruby
DanielRb has quit [Ping timeout: 264 seconds]
bruno- has quit [Ping timeout: 252 seconds]
brandonjmckay has joined #ruby
jamto11 has quit [Ping timeout: 260 seconds]
brunops has quit [Ping timeout: 244 seconds]
hermanmunster has joined #ruby
DanielRb has joined #ruby
ClarusCogitatio has quit [Ping timeout: 255 seconds]
jack_rabbit has joined #ruby
wildroman2 has joined #ruby
brunops has joined #ruby
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ClarusCogitatio has joined #ruby
kp666 has quit [Ping timeout: 252 seconds]
axl_ has joined #ruby
asteve has joined #ruby
asteve has quit [Max SendQ exceeded]
asteve has joined #ruby
DanielRb has quit [Ping timeout: 240 seconds]
aniM has quit [Ping timeout: 260 seconds]
axl_ has quit [Client Quit]
Zebroid has quit [Remote host closed the connection]
wildroman2 has quit [Remote host closed the connection]
sdouglas has joined #ruby
wildroman2 has joined #ruby
george2 has quit [Quit: george2]
havenn has quit []
chipotle has joined #ruby
sdouglas has quit [Read error: Connection reset by peer]