adaedra changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.8; 2.0.0-p648: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
arthurl has joined #ruby
<arthurl> hi guys- i'm somewhat new to ruby/rvm/gems etc - attempting to deploy our app via capistarno- seeing a failure: 'An error occurred while installing ZenTest (4.9.2), and Bundler cannot continue.'
<arthurl> not sure how to go about debugging this issue- any help or insight would be much appreciated
<al2o3-cr> or lasagne or tandoori chicken or anything really hehe
speaking1ode has quit [Ping timeout: 255 seconds]
<shevy> al2o3-cr yeah... because of riceandbeans right?
DanKnox_ has joined #ruby
DanKnox has joined #ruby
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> thankfully I already ate so I have no thoughts for food right now
<shevy> arthurl well that is not a very specific error message
juanpablo_ has joined #ruby
hellschreiber has joined #ruby
twintail has quit [Remote host closed the connection]
speaking1ode has joined #ruby
<al2o3-cr> shevy: haha breakfast you will :P
idefine has quit [Remote host closed the connection]
bb010g has joined #ruby
ruurd has joined #ruby
ruurd has quit [Client Quit]
intrigueD has joined #ruby
blur3d has quit [Quit: blur3d]
juanpablo_ has quit [Ping timeout: 244 seconds]
DanKnox_ has quit [Ping timeout: 255 seconds]
DanKnox has quit [Ping timeout: 255 seconds]
evidex has quit [Remote host closed the connection]
weemsledeux has joined #ruby
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
rbennacer has quit [Remote host closed the connection]
roshanavand has quit [Remote host closed the connection]
dexter_ has quit [Ping timeout: 248 seconds]
Guest85892 is now known as BLuEGoD
BLuEGoD is now known as Guest82974
arlek has quit [Ping timeout: 244 seconds]
lucasb has quit [Quit: leaving]
firstdayonthejob has joined #ruby
Rickmasta has joined #ruby
vdamewood has joined #ruby
dlitvak has quit [Remote host closed the connection]
rbennacer has joined #ruby
aaeron has quit [Quit: aaeron]
Guest16234 is now known as jud
jud has quit [Changing host]
jud has joined #ruby
railsForDaiz has quit [Ping timeout: 276 seconds]
symm- has joined #ruby
volty has joined #ruby
eregi has joined #ruby
aryaching_ has joined #ruby
aryaching_ has quit [Client Quit]
aryaching has quit [Ping timeout: 244 seconds]
rbennacer has quit [Ping timeout: 250 seconds]
aaeron has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
weaksauce has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.4 %t]
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
trinaldi has quit [Quit: bye!]
moeabdol1 has joined #ruby
finisherr has quit [Ping timeout: 250 seconds]
shanemcd has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
moeabdol has quit [Ping timeout: 255 seconds]
cschneid has quit [Remote host closed the connection]
tulak has quit [Remote host closed the connection]
moeabdol2 has joined #ruby
Youngmathimus0 has joined #ruby
<eregi> quit
baweaver has joined #ruby
<Ox0dea> No.
<eregi> ;(
<riceandbeans> you can check out any time you want, but you can never leave
<Ox0dea> Nor can you kill the beast.
moeabdol1 has quit [Ping timeout: 250 seconds]
eregi has quit [Quit: leaving]
shanemcd has quit [Ping timeout: 250 seconds]
cdg has quit [Remote host closed the connection]
idefine has joined #ruby
headius has quit [Quit: ZNC - http://znc.in]
headius has joined #ruby
idefine has quit [Remote host closed the connection]
fullofca_ has joined #ruby
dlitvak has joined #ruby
idefine has joined #ruby
chouhoulis has quit [Remote host closed the connection]
DoubleMalt has quit [Remote host closed the connection]
fullofcaffeine has quit [Ping timeout: 250 seconds]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aupadhye has joined #ruby
welovfree has joined #ruby
<welovfree> Hello guys
fullofcaffeine has joined #ruby
dlitvak has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
baweaver has quit [Remote host closed the connection]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shevy has quit [Ping timeout: 264 seconds]
<welovfree> After reading "Eloquent Ruby" do I have what's required to read "The Ruby on Rails Tutorial by M. Hartl"
marxarelli|afk is now known as marxarelli
maletor has quit [Quit: Computer has gone to sleep.]
jam_ has joined #ruby
rodfersou has joined #ruby
fullofca_ has quit [Ping timeout: 255 seconds]
djellemah has quit [Ping timeout: 248 seconds]
<Ox0dea> welovfree: How much of Eloquent Ruby would you say you've internalized?
DLSteve has joined #ruby
fullofca_ has joined #ruby
aaeron has quit [Quit: aaeron]
<welovfree> Ox0dea, it's my first read of the book
jam_ has quit [Ping timeout: 250 seconds]
djellemah has joined #ruby
dlitvak has joined #ruby
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Musashi007 has quit [Quit: Musashi007]
godzillaenlacasa has joined #ruby
fullofcaffeine has quit [Ping timeout: 276 seconds]
rcvalle has quit [Quit: rcvalle]
sami has quit [Ping timeout: 249 seconds]
aaeron has joined #ruby
devbug has joined #ruby
roshanavand has joined #ruby
mfb2 has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 240 seconds]
shevy has joined #ruby
jottr has joined #ruby
devbug has quit [Ping timeout: 244 seconds]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
x64- has quit [Ping timeout: 250 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roshanavand has quit [Ping timeout: 276 seconds]
freerobby has quit [Ping timeout: 250 seconds]
croberts has joined #ruby
welovfree has quit [Quit: Leaving]
<shevy> http.rb:880:in `initialize': execution expired (Net::OpenTimeout)
<shevy> I have so many errors related to net/www stuff :(
intrigueD has quit [Read error: Connection reset by peer]
moeabdol2 has quit [Ping timeout: 248 seconds]
<shevy> http://pastie.org/10726608 not all of them are related to net, granted, but I also have had other problems
<shevy> someone warned me about catching too many errors
<volty> rescue yourself from all those rescues :)
<shevy> yeah
<shevy> the script in question scans a remote forum for some activity
<shevy> there are just too many points of failure to think about! I don't think I will micro-rescue every error like that again
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
plutonic has joined #ruby
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
juanpablo_ has joined #ruby
DanKnox has joined #ruby
DanKnox_ has joined #ruby
GriffinHeart has joined #ruby
meinside has joined #ruby
whiteline has quit [Ping timeout: 248 seconds]
juanpablo_ has quit [Ping timeout: 240 seconds]
tvw has quit [Ping timeout: 250 seconds]
DanKnox_ has quit [Ping timeout: 248 seconds]
DanKnox has quit [Ping timeout: 248 seconds]
kies^ has joined #ruby
symm- has quit [Ping timeout: 240 seconds]
fullofca_ has quit [Remote host closed the connection]
shazaum_ has joined #ruby
fullofcaffeine has joined #ruby
kirillzh has joined #ruby
maletor has joined #ruby
<yenic> welovfree: I like zed shaw's hard way series... i recommend them even if you've been programming for a while
Guest82974 is now known as BLuEGoD
dopamean1 has joined #ruby
dlitvak has joined #ruby
BLuEGoD is now known as Guest20379
kirillzh has quit [Max SendQ exceeded]
<Ox0dea> They're gone, thankfully.
GriffinHeart has quit [Remote host closed the connection]
ruby-lang087 has joined #ruby
<ruby-lang087> Does anyone use think RubyTogether has their priorities wrong?
moeabdol2 has joined #ruby
bronson has quit [Remote host closed the connection]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> Wrong channel.
avenj has quit [Ping timeout: 240 seconds]
Biohazard_ has quit [Quit: WE ARE IN THE BEEEAAAAMMMM]
Fridtjof_ has quit [Read error: Connection reset by peer]
<ruby-lang087> Which channel should this be on?
<Ox0dea> #ruby-community
ruby-lang087 is now known as meatchicken
<havenwood> ruby-lang087: In what way? I'm curious? Yeah, let's talk in the #ruby-community channel.
preyalone has joined #ruby
kirillzh has joined #ruby
GriffinHeart has joined #ruby
dopamean_ has quit [Ping timeout: 250 seconds]
sami has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
Damien22 has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
rkazak has joined #ruby
fullofcaffeine has joined #ruby
hxegon has quit [Quit: PEACE OUT]
Yzguy has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
<shevy> nooooo talk here I wanna know too :(
Fridtjof has joined #ruby
Biohazard has joined #ruby
<Yzguy> HELLO
Biohazard is now known as Guest68514
<shevy> omg you type upcased
freerobby has joined #ruby
<Yzguy> don't tell on me :(
Sucks has joined #ruby
fullofca_ has joined #ruby
floatingpoint has joined #ruby
rkazak has quit [Ping timeout: 250 seconds]
decaff has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
blackmesa has quit [Ping timeout: 240 seconds]
fullofcaffeine has quit [Ping timeout: 276 seconds]
idefine has quit [Remote host closed the connection]
nofacade has joined #ruby
<[spoiler]> Speaking of that, I always found it funny how ruby has String#downcase! which is kinda shouting at a string to stop shouting
<[spoiler]> Actually, ignore that… Strings don't shout
<[spoiler]> nor do methods
<[spoiler]> although, programmers might
volty has quit [Quit: Konversation terminated!]
<[spoiler]> I think it's bedtime
<[spoiler]> Goodnight everyone! ♥
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yqt has quit [Ping timeout: 276 seconds]
sondr3 has joined #ruby
marr has quit [Ping timeout: 240 seconds]
Zai00 has quit [Quit: Zai00]
rodfersou has quit [Quit: leaving]
postmodern has joined #ruby
bronson has joined #ruby
urbanmonk has joined #ruby
montyboy has joined #ruby
mfb2 has joined #ruby
sneakerhax has quit [Quit: back later]
UserInNeed has joined #ruby
shanemcd has joined #ruby
UserInNeed has quit [Killed (Sigyn (Spam is off topic on freenode.))]
UserInNeed has joined #ruby
Abrin has quit [Ping timeout: 244 seconds]
UserInNeed has quit [Changing host]
UserInNeed has joined #ruby
goodcodeguy has joined #ruby
sung has quit [Remote host closed the connection]
mfb2 has quit [Ping timeout: 244 seconds]
ta has joined #ruby
askhat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sucks has quit [Read error: Connection reset by peer]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
goodcodeguy has joined #ruby
mondok has quit [Ping timeout: 240 seconds]
LuckyABA has joined #ruby
Sucks has joined #ruby
Sucks has quit [Max SendQ exceeded]
mondok has joined #ruby
nofacade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aaeron has quit [Quit: aaeron]
Rodya_ has quit [Remote host closed the connection]
Sucks has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
juanpablo_ has joined #ruby
mondok has quit [Remote host closed the connection]
Rodya_ has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
mondok has joined #ruby
jcdesimp has joined #ruby
juanpablo_ has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
GriffinHeart has joined #ruby
norc__ has joined #ruby
meatchicken has quit [Ping timeout: 252 seconds]
william3 has quit [Ping timeout: 250 seconds]
Guest20379 is now known as BLuEGoD
BLuEGoD is now known as Guest2025
norc_ has quit [Ping timeout: 268 seconds]
vifino has quit [Quit: Who turned this off?! D:<]
iwaffles has joined #ruby
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dlitvak has quit [Remote host closed the connection]
shanemcd has quit [Remote host closed the connection]
GriffinHeart has quit [Remote host closed the connection]
mondok has quit [Ping timeout: 240 seconds]
pdoherty has joined #ruby
sankaber has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DLSteve has joined #ruby
dlitvak has joined #ruby
ta has quit [Ping timeout: 240 seconds]
bronson has quit [Remote host closed the connection]
shazaum_ has quit [Quit: Leaving]
vifino has joined #ruby
chouhoulis has joined #ruby
craysiii has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
GriffinHeart has joined #ruby
ss_much has joined #ruby
sol_ has quit [Ping timeout: 260 seconds]
asprillia has joined #ruby
vdamewood has quit [Quit: Life beckons.]
DanKnox_ has joined #ruby
DanKnox has joined #ruby
arthurl has quit [Ping timeout: 250 seconds]
FooMunki has quit [Quit: FooMunki]
shazaum_ has joined #ruby
blackmesa has joined #ruby
DanKnox has quit [Ping timeout: 244 seconds]
DanKnox_ has quit [Ping timeout: 244 seconds]
sol_ has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
celly has joined #ruby
davedev24 has quit []
jam_ has joined #ruby
plutonic has quit [Ping timeout: 255 seconds]
Omen has joined #ruby
plutonic has joined #ruby
idefine has joined #ruby
jam_ has quit [Ping timeout: 265 seconds]
waka has quit [Remote host closed the connection]
arescorpio has joined #ruby
cpup has quit [Ping timeout: 240 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
vifino has quit [Quit: Who turned this off?! D:<]
cpup has joined #ruby
arescorpio has quit [Remote host closed the connection]
LuckyABA has joined #ruby
hkumar|remote has joined #ruby
hkumar|remote is now known as gnufied
waka has joined #ruby
dima_ has joined #ruby
plutonic has quit [Ping timeout: 265 seconds]
freerobby has joined #ruby
maletor has joined #ruby
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
asprillia has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
asprillia has joined #ruby
idefine has quit [Remote host closed the connection]
Rodya_ has quit [Remote host closed the connection]
idefine has joined #ruby
stevemackinnon has quit [Remote host closed the connection]
Rodya_ has joined #ruby
juanfra has quit [Quit: juanfra]
blackgoat has joined #ruby
juanfra has joined #ruby
juanfra has quit [Client Quit]
juanfra has joined #ruby
juanfra has quit [Client Quit]
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DanKnox has joined #ruby
LoneHermit has joined #ruby
DanKnox_ has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
wedgwood has joined #ruby
juanfra has joined #ruby
vifino has joined #ruby
Coldblackice has quit [Ping timeout: 240 seconds]
avenj has joined #ruby
avenj has joined #ruby
vifino has quit [Client Quit]
Guest2025 is now known as BLuEGoD
BLuEGoD is now known as Guest52469
maletor has quit [Quit: Computer has gone to sleep.]
juanfra has quit [Client Quit]
juanfra has joined #ruby
yenic has left #ruby [#ruby]
Sucks has quit [Quit: No Ping reply in 180 seconds.]
Sucks has joined #ruby
devbug has joined #ruby
vifino has joined #ruby
Yzguy has quit [Quit: Cya]
dexter_ has joined #ruby
shanemcd has joined #ruby
bronson has joined #ruby
Rodya_ has quit [Remote host closed the connection]
stevemackinnon has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
Rodya_ has joined #ruby
DEA7TH has quit [Quit: DEA7TH]
dlitvak has quit [Remote host closed the connection]
krz has joined #ruby
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shtirlic has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
casadei has quit [Remote host closed the connection]
nlsun has quit [Quit: ZNC - http://znc.in]
arescorpio has joined #ruby
Abrin has joined #ruby
robbyoconnor has joined #ruby
Brando753 has joined #ruby
nlsun has joined #ruby
idefine has quit [Read error: Connection reset by peer]
godzillaenlacasa has quit [Quit: ZZZZZ....]
p1k has joined #ruby
dima_ has quit [Quit: This computer has gone to sleep]
blackmesa has joined #ruby
DLSteve has joined #ruby
sneakerhax has joined #ruby
devbug has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
shadoi has quit [Quit: Leaving.]
idefine has joined #ruby
arthurl has joined #ruby
plutonic has joined #ruby
plutonic has quit [Client Quit]
schuc has joined #ruby
sondr3 has left #ruby ["Quit"]
nfk|laptop has quit [Quit: yawn]
bb010g has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
Youngmathimus0_ has joined #ruby
Youngmathimus0 has quit [Ping timeout: 240 seconds]
Youngmathimus0_ is now known as Youngmathimus0
GriffinHeart has joined #ruby
idefine has quit [Remote host closed the connection]
wprice has joined #ruby
vdamewood has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
fedexo has joined #ruby
Abrin has quit [Ping timeout: 265 seconds]
arthurl has quit [Read error: Connection reset by peer]
adgtl has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
dima_ has joined #ruby
adgtl has quit [Client Quit]
asprillia has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
pdoherty has quit [Ping timeout: 244 seconds]
Abrin has joined #ruby
juanpablo_ has joined #ruby
mary5030 has quit [Ping timeout: 248 seconds]
devbug has joined #ruby
Eiam_ has joined #ruby
baweaver has joined #ruby
juanpablo_ has quit [Ping timeout: 240 seconds]
braincrash has quit [Quit: bye bye]
stardiviner has joined #ruby
rkazak has joined #ruby
zast has joined #ruby
<Radar> Looking for a method to get the key(s) for a particular value in a Hash. There probably is one, but I'm being dumb and can't think of it.
shanemcd has quit [Remote host closed the connection]
duncannz has joined #ruby
<Radar> { "a" => 1, "b" => 1, "c" => 2 }.magic_method(1)
<Radar> => ["a", "b"]
<Radar> Looks like Hash#key might be the ticket.
<Ox0dea> Another reason for #invert to support conflict resolution. :/
DLSteve has quit [Ping timeout: 255 seconds]
<Ox0dea> >> h = {a: 1, b: 1, c: 2}; h.select { |_, v| v == 1 }.keys
<ruby[bot]> Ox0dea: # => [:a, :b] (https://eval.in/520664)
<Ox0dea> I can't think of anything cleaner than that.
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Radar> Same
braincrash has joined #ruby
<Ox0dea> I suppose #invert with a block wouldn't be any better unless it collected the conflicting keys into an Array by default.
babblebre has quit [Quit: Connection closed for inactivity]
Guest52469 is now known as BLuEGoD
BLuEGoD is now known as Guest60270
ta has joined #ruby
<Ox0dea> Am I just totally misremembering that refinements can be block-scoped?
msosa has quit [Ping timeout: 265 seconds]
moeabdol2 has quit [Ping timeout: 240 seconds]
dima_ has quit [Quit: This computer has gone to sleep]
ta has quit [Ping timeout: 250 seconds]
LoneHermit has quit [Remote host closed the connection]
gnufied has quit [Ping timeout: 250 seconds]
terminalrecluse has joined #ruby
gix has quit [Ping timeout: 255 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gix has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<shevy> don't say you are becoming forgetful
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
hxegon has joined #ruby
saneax_AFK is now known as saneax
blackmesa has joined #ruby
aaeron has joined #ruby
tildes has joined #ruby
Omen has quit [Quit: Leaving]
iwaffles has quit [Quit: iwaffles]
<Ox0dea> More generally: http://i.imgur.com/RBw00ZC.jpg
vdamewood has quit [Quit: Life beckons.]
blackmesa has quit [Ping timeout: 265 seconds]
floatingpoint has joined #ruby
braincra- has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
braincrash has quit [Ping timeout: 255 seconds]
GriffinHeart has joined #ruby
x77686d has quit [Quit: x77686d]
pawnbox has joined #ruby
Rodya_ has quit [Remote host closed the connection]
ss_much has quit [Quit: Connection closed for inactivity]
freerobby1 has quit [Quit: Leaving.]
ur5us has quit [Ping timeout: 240 seconds]
Yiota has joined #ruby
ur5us has joined #ruby
rkazak has joined #ruby
celly has quit [Read error: Connection reset by peer]
celly has joined #ruby
maxiu has joined #ruby
krz has quit [Read error: Connection reset by peer]
perrier has joined #ruby
perrier is now known as Guest20424
nofacade has joined #ruby
arescorpio has quit [Quit: Leaving.]
aaeron has quit [Quit: aaeron]
aaeron has joined #ruby
Dimik has joined #ruby
kies^ has quit [Ping timeout: 240 seconds]
aaeron has quit [Ping timeout: 240 seconds]
nisstyre has quit [Changing host]
nisstyre has joined #ruby
LoneHerm_ has joined #ruby
ur5us has quit [Remote host closed the connection]
jam_ has joined #ruby
Guest60270 is now known as BLuEGoD
BLuEGoD is now known as Guest18371
ayonkhan has joined #ruby
betafive has joined #ruby
yfeldblum has joined #ruby
wprice has quit [Quit: wprice]
Don_John has joined #ruby
arthropododo has quit [Quit: Leaving]
jam__ has joined #ruby
jam_ has quit [Ping timeout: 255 seconds]
ur5us has joined #ruby
nofacade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
whiteline has joined #ruby
postmodern has quit [Quit: Leaving]
ur5us has quit [Remote host closed the connection]
mooka has joined #ruby
toretore has quit [Ping timeout: 250 seconds]
zast has quit [Remote host closed the connection]
maletor has joined #ruby
jam__ has quit [Remote host closed the connection]
hxegon has quit [Quit: BRB]
mooka has left #ruby [#ruby]
stardiviner has quit [Quit: Code, Sex, Just fucking world.]
GriffinHeart has quit [Remote host closed the connection]
krz has joined #ruby
agentmeerkat has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
devbug has quit [Ping timeout: 240 seconds]
agentmeerkat has joined #ruby
yonatankoren has joined #ruby
Tempesta_ has joined #ruby
_djbkd has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
Tempesta has quit [Ping timeout: 248 seconds]
the_drow has joined #ruby
aaeron has joined #ruby
iamvery has quit [Ping timeout: 248 seconds]
aaeron has quit [Read error: Connection reset by peer]
LoneHerm_ has quit [Remote host closed the connection]
x77686d has joined #ruby
infra-red has joined #ruby
mattp__ has quit [Read error: Connection reset by peer]
fullofca_ has quit [Remote host closed the connection]
mattp__ has joined #ruby
fullofcaffeine has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
aaeron has joined #ruby
fullofcaffeine has joined #ruby
GriffinHeart has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
shanemcd has joined #ruby
iamvery has joined #ruby
SweetSoulBro has joined #ruby
<SweetSoulBro> I have returned with more dumb questions.
celly has quit [Remote host closed the connection]
mfb2 has joined #ruby
shanemcd has quit [Ping timeout: 244 seconds]
<SweetSoulBro> is it possible, using YAML to have a Feat-like strucuture?
<SweetSoulBro> So that you can pick from a list of feats
<SweetSoulBro> and then select a second one OR choose one from a different feat tree, at random?
jam_ has joined #ruby
pawnbox_ has joined #ruby
pawnbox has quit [Ping timeout: 248 seconds]
agentmeerkat has quit [Read error: Connection reset by peer]
mfb2 has quit [Ping timeout: 240 seconds]
UtkarshRay has joined #ruby
skade has joined #ruby
<djellemah> SweetSoulBro: yaml is for defining data structures. ruby is for doing stuff with those structures.
<SweetSoulBro> Hmn.
<SweetSoulBro> So Yaml is where the feat trees live
<SweetSoulBro> Ruby is for picking the feats.
<SweetSoulBro> Gotcha
TDJACR has quit [Ping timeout: 240 seconds]
<djellemah> >> feats = ["killed the beast", "escaped", "drove fast", "ate a horse"]; feats.sample(2) # SweetSoulBro
<ruby[bot]> djellemah: # => ["ate a horse", "escaped"] (https://eval.in/520702)
aaeron_ has joined #ruby
<SweetSoulBro> I suppose my question is "If I have 3 feat trees, and I wanted to pick 3 at random, while still staying true to the tree structure"
<SweetSoulBro> Lets say it goes the 1st and the 2nd from the first tree
<SweetSoulBro> and then the 1st from the third tree
frudo has joined #ruby
juanpablo_ has joined #ruby
hostess has quit [Quit: No Ping reply in 180 seconds.]
Y_Ichiro has quit [Quit: No Ping reply in 180 seconds.]
Sucks has quit [Read error: Connection reset by peer]
Y_Ichiro_ has joined #ruby
aaeron has quit [Ping timeout: 244 seconds]
aaeron_ is now known as aaeron
epochwolf has quit [Ping timeout: 240 seconds]
<djellemah> SweetSoulBro: what do you mean by "staying true to the tree structure"?
cschneid_ has quit [Ping timeout: 240 seconds]
<SweetSoulBro> Not picking the feats literally at random where you'll have just 3 randomly selected trees.
<SweetSoulBro> Like
epochwolf has joined #ruby
<SweetSoulBro> Feat C requires Feat B, which requires Feat A.
GGMethos has quit [Ping timeout: 268 seconds]
cschneid has joined #ruby
hostess has joined #ruby
pawnbox_ has quit [Ping timeout: 250 seconds]
<SweetSoulBro> And you have Feat tree alpha, beta, and Charlie
<SweetSoulBro> I don't want it to pick Charlie C, Alpha C, and Beta C
GGMethos has joined #ruby
<SweetSoulBro> I want it to go in order.
juanpablo_ has quit [Ping timeout: 250 seconds]
jidar has quit [Quit: stuff.]
jidar has joined #ruby
william3 has joined #ruby
<djellemah> Sounds like you want to pick a Feat C from one tree, then randomly choose a dependency (child) of C to get B, and likewise for A.
lxsameer has joined #ruby
<SweetSoulBro> ..that's backwards but yes.
<SweetSoulBro> Let me see if I can explain what I want without sounding dumb
<SweetSoulBro> okay
<SweetSoulBro> so
<SweetSoulBro> Bot has a choice of 4 feats total. He has 3 Feat trees; 1,2,and 3
<SweetSoulBro> Of those Trees, he can only take the A of any of them, because he does not have the prerequisties
boogibugs has quit [Quit: Leaving]
<SweetSoulBro> so he choses A1.
<SweetSoulBro> Next goround, he has the choice of the following: B1, A2 or A3
mwlang has joined #ruby
<SweetSoulBro> So he choses B1
<SweetSoulBro> Next goround, he has the choice of C1, A2 or A3
william3 has quit [Ping timeout: 240 seconds]
blackgoat has quit [Quit: WeeChat 1.3]
<SweetSoulBro> So this goround, he choses A3
<SweetSoulBro> The final feat selection leaves him with C1, A2 or B3
darkf has quit [Ping timeout: 250 seconds]
<SweetSoulBro> That's what I'm trying to do.
darkf has joined #ruby
darkf_ has joined #ruby
<djellemah> You're just described your algorithm. All you need now is to keep track of how Bot got to eg C1. That thing is called a path eg [:A1, :B1, :C1]
Guest18371 is now known as BLuEGoD
<djellemah> s/You're/You've/
BLuEGoD is now known as Guest77405
ta has joined #ruby
<SweetSoulBro> Oh.
<SweetSoulBro> Awesome.
<SweetSoulBro> A path
darkf has quit [Ping timeout: 240 seconds]
ruby-lang174 has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
darkf_ is now known as darkf
<SweetSoulBro> Hmn.
AlphaAtom has joined #ruby
TDJACR has joined #ruby
voidDotClass has joined #ruby
<voidDotClass> I'm getting a cryptic error: " There was an error while trying to load the gem 'acts_as_paranoid'. (Bundler::GemRequireError)"
<voidDotClass> How do I find the trace of this error, or exactly why it didn't work?
GriffinHeart has joined #ruby
infra-red has quit [Remote host closed the connection]
bronson has joined #ruby
ta has quit [Ping timeout: 250 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruby-lang174 has quit [Client Quit]
fullofcaffeine has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
kknight has joined #ruby
SweetSoulBro has quit [Ping timeout: 248 seconds]
kirillzh has joined #ruby
<djellemah> voidDotClass: try loading that gem by itself from irb or pry
SweetSoulBro has joined #ruby
<SweetSoulBro> okay
<SweetSoulBro> so a path
<voidDotClass> what's the command for that?
Macaveli has joined #ruby
toretore has joined #ruby
<djellemah> SweetSoulBro: you can model a path using an Array
bronson has quit [Ping timeout: 244 seconds]
<SweetSoulBro> Ah
<SweetSoulBro> so just << the names of the feats to the array?
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<djellemah> >> [:a1, :b1] << :c1 # SweetSoulBro
<ruby[bot]> djellemah: # => [:a1, :b1, :c1] (https://eval.in/520721)
RTG` has quit [Ping timeout: 248 seconds]
jazo has joined #ruby
<SweetSoulBro> Awesome.
<SweetSoulBro> Here's another odd question
<SweetSoulBro> Since these are all strings
<jazo> hi, im trying to use logstash ruby to convert timestamp to "2016-02-05T00:32:41.792Z" but its giving me: "2016-02-18T02:04:52+00:00". using Time.at(item.first.to_i).iso8601 can someone here help me with time formatting
<SweetSoulBro> if I push a string with spaces, from a yaml, will it do it properly?
<SweetSoulBro> Like if I push somethign that says "Archaic Weapon Proficiency (Combat Swords)"
<SweetSoulBro> Will I have to break that up?
<djellemah> voidDotClass: irb and pry are commands. require is a method http://ruby-doc.org/core-2.3.0/Kernel.html#method-i-require
jam__ has joined #ruby
<djellemah> >> [].push "Archaic Weapon Proficiency (Combat Swords)" # SweetSoulBro
<ruby[bot]> djellemah: # => ["Archaic Weapon Proficiency (Combat Swords)"] (https://eval.in/520722)
RTG` has joined #ruby
<SweetSoulBro> Well, that answered my question
<SweetSoulBro> Thanks man.
<SweetSoulBro> Or woman
<voidDotClass> djellemah, i'd have to require a whole rails for that, as it depends on activerecord
<SweetSoulBro> Digital person?
elifoster has joined #ruby
<djellemah> voidDotClass: Seems you have a problem. What do you think your next step would be?
jam_ has quit [Ping timeout: 244 seconds]
<voidDotClass> to google it, which i have done
<djellemah> voidDotClass: so now?
Coldblackice has joined #ruby
ropeney has quit [Remote host closed the connection]
blackmesa has joined #ruby
dionysus69 has joined #ruby
DEA7TH has joined #ruby
<jazo> can someone help me with time string format
<Ox0dea> Pls halp: https://eval.in/520742
LoneHerm_ has joined #ruby
shazaum_ has quit [Quit: This computer has gone to sleep]
<Ox0dea> I feel like it's not actually a bug, but what exactly is going on?
<djellemah> Ox0dea: Looks to me String still inherits from the thing that used to be called Class
blackmesa has quit [Ping timeout: 248 seconds]
<Ox0dea> djellemah: String.method(:foo).owner is M, but how can that be if M is no longer in its ancestor chain?
maletor has quit [Quit: Computer has gone to sleep.]
_djbkd has quit [Quit: My people need me...]
tildes has quit [Ping timeout: 240 seconds]
<djellemah> No, I'm wrong. Class is not an ancestor of String.
<Ox0dea> No, but String is certainly a Class.
DEA7TH has quit [Quit: DEA7TH]
<djellemah> Yup.
SkepBrain has joined #ruby
<Ox0dea> And that's where it's getting its #foo method.
<Ox0dea> Which is in turn getting it from M, which shouldn't even be looked into at the end there.
<toretore> Ox0dea: you're just changing the Class reference
fedexo has quit [Read error: Connection reset by peer]
<toretore> the old Class is still String in String's ancestor chain
<toretore> -String
<Ox0dea> Ah, yes, I see what's going on.
<djellemah> Yup, what toretore said.
yardenbar has joined #ruby
intrigueD has joined #ruby
<toretore> ?ask jazo
<ruby[bot]> jazo: Don't ask to ask. Just ask your question, and if anybody can help, they will likely try to do so.
stevemackinnon has quit [Remote host closed the connection]
<toretore> ?anyone
<ruby[bot]> Just ask your question, if anyone has or can, they will respond.
maletor has joined #ruby
<jazo> Im trying to convert a timestamp to "2016-02-05T00:32:41.792Z"
<toretore> >> require 'time'; Time.now.iso8601
<ruby[bot]> toretore: # => "2016-02-18T06:51:09+00:00" (https://eval.in/520744)
<jazo> "2016-02-18T02:04:52+00:00" is what I get when doing Time.at(item.first.to_i).iso8601
<toretore> it's the same thing
<toretore> Z == +00:00
<jazo> I understand, but I want it to look like "2016-02-05T00:32:41.792Z"
<toretore> why?
<jazo> I have a few different sources of time, and in javascript it returns "2016-02-05T00:32:41.792Z"
sauvin has joined #ruby
<toretore> >> Time.now.utc.trftime('%Y-%d-%mT%H:%M:%SZ')
<ruby[bot]> toretore: # => undefined method `trftime' for 2016-02-18 06:52:31 UTC:Time ...check link for more (https://eval.in/520745)
<toretore> >> Time.now.utc.strftime('%Y-%d-%mT%H:%M:%SZ')
<ruby[bot]> toretore: # => "2016-18-02T06:52:37Z" (https://eval.in/520746)
tildes has joined #ruby
fedexo has joined #ruby
<jazo> Time.parse(item.first.to_i).strftime('%Y-%d-%mT%H:%M:%SZ') ?
<toretore> ?try
<ruby[bot]> Why don't you try it and see for yourself?
<jazo> allright ill try thanks
<toretore> check Time#strftime docs for how to add ms
Abrin has quit [Ping timeout: 240 seconds]
x77686d has quit [Quit: x77686d]
<jazo> i just put in Time.parse(1455778587).strftime('%Y-%d-%mT%H:%M:%SZ') into eval.in, and it threw an error Time.parse(1455778587).strftime('%Y-%d-%mT%H:%M:%SZ')
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> jazo: You want Time.at there, not Time.parse.
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
<jazo> ah excelent
<jazo> so parse deals with strings?
<Ox0dea> Aye.
<jazo> it doesnt like Time.parse("1455778587")
<Ox0dea> Why should it?
<jazo> its a string?
<jazo> im really new to ruby, sorry for asking stupid questions
<Ox0dea> >> Time.at(1455778587) # jazo
<ruby[bot]> Ox0dea: # => 2016-02-18 06:56:27 +0000 (https://eval.in/520757)
tildes has quit [Ping timeout: 240 seconds]
amclain has quit [Quit: Leaving]
<jazo> strftime('%Y-%d-%mT%H:%M:%SZ') is missing the miliseconds
infra-red has joined #ruby
<Ox0dea> toretore: Thoughts on how to scope a refinement to a block?
LoneHerm_ has quit [Remote host closed the connection]
<Ox0dea> That's why I'm mucking with "unprepending".
solars has joined #ruby
kies^ has joined #ruby
htmldrum has quit [Ping timeout: 240 seconds]
<SweetSoulBro> Alright
<SweetSoulBro> I want some input on this traviesty I made.
<SweetSoulBro> https://eval.in/520767
Youngmathimus0_ has joined #ruby
<SweetSoulBro> This is kinda what I was trying to do
<SweetSoulBro> but I think I cocked it up
roshanavand has joined #ruby
solocshaw has quit [Ping timeout: 250 seconds]
Youngmathimus0 has quit [Ping timeout: 240 seconds]
DanKnox_ has quit [Ping timeout: 250 seconds]
Youngmathimus0_ is now known as Youngmathimus0
binaryplease has joined #ruby
DanKnox has quit [Ping timeout: 276 seconds]
bluOxigen_ has joined #ruby
bluOxigen has quit [Ping timeout: 255 seconds]
roshanavand has quit [Ping timeout: 250 seconds]
asprillia has joined #ruby
jcdesimp has quit [Remote host closed the connection]
bruce_lee has joined #ruby
Don_John has quit [Read error: Connection reset by peer]
Guest77405 is now known as BLuEGoD
BLuEGoD is now known as Guest61685
kmckelvi1 has quit [Ping timeout: 255 seconds]
intrigueD has quit [Remote host closed the connection]
ta has joined #ruby
toretore has quit [Ping timeout: 250 seconds]
DanKnox_ has joined #ruby
DanKnox has joined #ruby
kmckelvi1 has joined #ruby
<jazo> Doing Time.at(1455780052882).strftime('%Y-%d-%mT%H:%M:%S.%LZ') is giving me a huge date, "48101-29-10T18:37:39.000Z", i was just trying to get the milliseconds. That number is obtained from javascript d.getTime();
<Ox0dea> >> Time.at(1455780052.882).strftime('%Y-%d-%mT%H:%M:%S.%LZ') # jazo
<ruby[bot]> Ox0dea: # => "2016-18-02T07:20:52.881Z" (https://eval.in/520796)
TheMoonMaster has quit [Ping timeout: 264 seconds]
<jazo> js doesnt return that value is a dot
<Ox0dea> Divide by 1000.0.
<jazo> with*
<djellemah> SweetSoulBro: Seems ruby's yaml implementation does not like 1 space indents. Try 2 space indents.
<SweetSoulBro> Hmn.
sandstrom has joined #ruby
<SweetSoulBro> Well I just want to know I'm on the right path
<SweetSoulBro> :/
<SweetSoulBro> Because I do not feel I am on the right path.
joonty has joined #ruby
kmckelvi1 has quit [Ping timeout: 240 seconds]
ta has quit [Ping timeout: 248 seconds]
aaeron has quit [Ping timeout: 240 seconds]
binaryplease has quit [Ping timeout: 240 seconds]
bluOxigen has joined #ruby
<Ox0dea> SweetSoulBro: You should probably represent a skill tree as, well, a tree.
bluOxigen_ has quit [Ping timeout: 248 seconds]
<SweetSoulBro> It's a feat tree.
TheMoonMaster has joined #ruby
<SweetSoulBro> I was trying to stay true to the feat hiearchy from the book.
anisha has joined #ruby
<SweetSoulBro> But I think I fucked that :/
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
firstdayonthejob has joined #ruby
ur5us has joined #ruby
finisherr has joined #ruby
shanemcd has joined #ruby
<havenwood> >> require 'date'; Integer DateTime.now.strftime '%Q'
<ruby[bot]> havenwood: # => 1455781122758 (https://eval.in/520799)
RTG` has quit [Ping timeout: 240 seconds]
RTG` has joined #ruby
blackmesa has joined #ruby
<SweetSoulBro> Eh
auzty has joined #ruby
<SweetSoulBro> I'll probably omit this part from the roller
SweetSoulBro has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
srenatus has joined #ruby
mhoungbo has joined #ruby
aganov has joined #ruby
shanemcd has quit [Ping timeout: 244 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
<Ox0dea> >> Time.now.strftime '%Q'
<ruby[bot]> Ox0dea: # => "%Q" (https://eval.in/520800)
<Ox0dea> Thanks, havenwood. :P
PaulCapestany has quit [Quit: .]
<havenwood> Ox0dea: haha
einarj has joined #ruby
sinkensabe has joined #ruby
<havenwood> >> Integer Time.now.strftime '%s%3N'
<ruby[bot]> havenwood: # => 1455781473126 (https://eval.in/520804)
mdw has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
PaulCapestany has joined #ruby
mdw_ has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
<havenwood> Time.now.to_r # what does a little extra precision really hurt?
mdw has quit [Ping timeout: 265 seconds]
bronson has joined #ruby
devbug has joined #ruby
DanKnox has quit [Ping timeout: 250 seconds]
DanKnox_ has quit [Ping timeout: 250 seconds]
KnownSyntax has joined #ruby
celly has joined #ruby
nephos has joined #ruby
nephos is now known as Guest69737
devbug has quit [Ping timeout: 240 seconds]
RTG` has quit [Ping timeout: 240 seconds]
saaggy18 has joined #ruby
andikr has joined #ruby
<saaggy18> hello, i'm getting a 502 bad gateway error with faye.js and nginx
sandstrom has quit [Quit: My computer has gone to sleep.]
<saaggy18> here is my configuration files of nginx. please have a look.
celly has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
RTG` has joined #ruby
last_staff has joined #ruby
sandstrom has joined #ruby
joonty has quit [Ping timeout: 276 seconds]
TomyLobo has joined #ruby
LoneHerm_ has joined #ruby
sts__ is now known as sts
JohnBat26 has joined #ruby
last_staff1 has joined #ruby
zapata has quit [Quit: WeeChat 1.4]
last_staff has quit [Ping timeout: 240 seconds]
last_staff1 is now known as last_staff
mrfoto has joined #ruby
scepticulous has quit [Ping timeout: 248 seconds]
mrfoto has quit [Client Quit]
LoneHerm_ has quit [Ping timeout: 240 seconds]
djbkd_ has joined #ruby
ta has joined #ruby
tatsuo has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
weemsledeux has joined #ruby
<djellemah> havenwood: Noice.
lsmola has joined #ruby
<djellemah> >>20.times.map{rand 1/2r .. 5/2r}
<ruby[bot]> djellemah: # => [(3/2), (1/2), (5/2), (1/2), (1/2), (3/2), (5/2), (1/2), (3/2), (1/2), (1/2), (5/2), (3/2), (1/2), ( ...check link for more (https://eval.in/520818)
<djellemah> which is not exactly how I thought it would work.
<Ox0dea> djellemah: Hm?
<Ox0dea> That it simplifies?
<djellemah> >>20.times.map{rand 0.5 .. 2.5}
<ruby[bot]> djellemah: # => [1.82320194576102, 2.0133054990597827, 2.1830855355838343, 1.7108183808144806, 0.8909010316295789, 1 ...check link for more (https://eval.in/520819)
mdw_ has quit [Quit: Sleeping Zzzzz]
the_drow has joined #ruby
bronson has quit [Remote host closed the connection]
steffkes has joined #ruby
Oog has joined #ruby
<pizzaops> I can't seem to get .to_yaml to do quite what I want: https://gist.github.com/pizzaops/d43d73cd78ccf631f880
<pizzaops> Specifically, I want to end up with the quotes actually part of the value, as per the final example of desired result.
<djellemah> Also 2/2 and 4/2 are missing. Hm. Interesting.
<steffkes> hey guys, giving it another try since the conversation yesterday stalled a bit :)
SCHAAP137 has joined #ruby
<steffkes> i'm looking for something and i'm not sure how it's called in the ruby world nor where i could find something like it. i'd like execute a test multiple times with a different context. currently using minitest, i'm doing a hack where i'm defining a array as class variable, iterating over the array using define_method to get what i want
<pizzaops> Ah apparently it's not doable. Never mind hah.
<apeiros> steffkes: if you can't get a satisfying answer here, the ML and stackoverflow are good places to escalate.
bluOxigen has quit [Ping timeout: 240 seconds]
<flughafen> oi!
<Ox0dea> djellemah: It's not doing the right thing.
baweaver has quit [Remote host closed the connection]
<Ox0dea> There's nothing in rand_range() about Rationals, anyway.
<steffkes> thanks apeiros, should have known that ;) will give the list a try if needed. don't even have a SO account :D
<apeiros> pizzaops: `:foo: "bar"` would be {foo: "bar"}, not {foo: '"bar"'}
skade has quit [Quit: Computer has gone to sleep.]
<djellemah> I'm not even sure what the right thing here is.
skade has joined #ruby
Guest61685 is now known as BLuEGoD
<pizzaops> >> puts ({foo: "bar"}.to_yaml)
<ruby[bot]> pizzaops: # => undefined method `to_yaml' for {:foo=>"bar"}:Hash ...check link for more (https://eval.in/520822)
<pizzaops> >> ({foo: "bar"}.to_yaml)
<ruby[bot]> pizzaops: # => undefined method `to_yaml' for {:foo=>"bar"}:Hash ...check link for more (https://eval.in/520823)
<pizzaops> ah... i need to require yaml hah
BLuEGoD is now known as Guest45448
<Ox0dea> djellemah: Right. :P The only sensible last resort is to add 1 between the beginning and the end, and that's what MRI does.
fedexo has quit [Read error: Connection reset by peer]
<pizzaops> >> require 'yaml'; ({foo: "bar"}.to_yaml)
<ruby[bot]> pizzaops: # => "---\n:foo: bar\n" (https://eval.in/520824)
saush has joined #ruby
<flughafen> hey shevy
<flughafen> '
<pizzaops> @apeiros note the lack of quotes around `bar` in the output.
<apeiros> pizzaops: yes. I noticed. that doesn't mean that it's different from bar with quotes around it.
<pizzaops> I realize in YAML-land that `foo: bar` and `foo: "bar"` are equivalent, but not in hiera-land.
<saush> I have installed ruby version 2.2.4 from source. Now I need to reinstall ruby, what should I do?
<pizzaops> I'm asking the question for a reason.
kknight has quit [Ping timeout: 255 seconds]
<apeiros> pizzaops: then maybe start with the reason, otherwise you do bad old xy questions.
<pizzaops> Hiera uses YAML but treats quoted strings as a special case for interpolating variables that come from puppet.
huyderman has quit [Remote host closed the connection]
<pizzaops> So I need to output certain parts of my generated yaml file with quotes around them
<apeiros> then you probably need a Hiera specific gem
<pizzaops> mm indeed.
the_drow has quit [Quit: Leaving]
TomyLobo has quit [Ping timeout: 250 seconds]
<saush> I have installed ruby version 2.2.4 from source. Now I need to reinstall ruby, what should I do?
huyderman has joined #ruby
<pizzaops> saush: used rbenv/rvm :)
<pizzaops> Eh, I'm sorry I said that unhelpful thing.
<saush> pizzaops: I did not use rvm initially while installing ruby
<djellemah> Ox0dea: So it defaults to using 1 as the step between possible values? Maybe the step could be the gcd (or one of those, I can never remember which is which) of the divisors of the two endpoints. That kinda makes sense in my head.
<pizzaops> Yeah, that's why I apologized for that comment.
<havenwood> saush: from the ruby src dir you installed from, maybe something along the lines of: make clean && make distclean && make clean-platform
<solars> quick question: why does system "bash", "-c", "ls -Frt /var/log/apache2/access-export*" output /var/log/apache2/access-export.log* (with a trailing star)?
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> solars: because it doesn't go via the shell
<apeiros> so no expansion
<Ox0dea> >> (1/2r..5/2r).size # djellemah
<ruby[bot]> Ox0dea: # => 3 (https://eval.in/520827)
<Ox0dea> I'd be totally unsurprised by 5 there.
<solars> apeiros, as you can see it expands it
<Ox0dea> But I'm not sure it makes sense for Rationals to be iterable.
aufi has joined #ruby
<solars> apeiros, I think it's normal behavior, apparently I only get it with the cmd in bash directly
<Ox0dea> There's Float#next_float because IEEE 754 gives them what amounts to an ordering.
<apeiros> oh, it gets a .log added? weird
<pizzaops> For now, apeiros, I'm going to be a very bad rubyist and write out a heredoc...because I don't plan to make this configurable anywya.
ruurd has joined #ruby
saush has quit [Ping timeout: 252 seconds]
<apeiros> solars: you sure you don't have a file with a * in the end of the name?
urtokk has joined #ruby
<apeiros> i.e. sure you don't have an actual file named 'access-export.log*'?
frudo has quit [Ping timeout: 248 seconds]
kmckelvi1 has joined #ruby
lukebyrne_ has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
<solars> apeiros, yes, I think it's expanded normally because I'm specifying bash -c
<solars> apeiros, I noticed it returns true, how can I capture the output?
<apeiros> use something else than system. Kernel#spawn or #popen
ayonkhan has quit [Quit: Textual IRC Client: www.textualapp.com]
<solars> apeiros, hm or backticks?
<apeiros> that has different semantics
<apeiros> backticks goes via a subshell
sandstrom has joined #ruby
last_staff has quit [Ping timeout: 240 seconds]
<solars> what does that mean in the script?
<flughafen> hi shevy
<solars> I've got it in a cronjob
<flughafen> no flughafen jokes?
<apeiros> that shell expansion happens before it reaches bash
<solars> apeiros, it still seemed to work
<solars> the expansion
jaiks has joined #ruby
AlphaAtom has joined #ruby
elifoster has quit [Ping timeout: 240 seconds]
skade has joined #ruby
<apeiros> solars: why do you shell out to ls at all?
<apeiros> btw., from `man ls`: "Display a slash (`/') immediately after each pathname that is a directory, an asterisk (`*') after each that is executable"
<apeiros> so sounds like your access-export.log has its x flag set
<solars> apeiros, thanks, I've found that already
<Ox0dea> apeiros: Why reinvent the -F, -r, and -t flags' behavior?
<solars> apeiros, the actual command is much longer, the above war only for demonstration, I need to grep and do some awk'ing
joonty has joined #ruby
firstdayonthejob has quit [Ping timeout: 240 seconds]
<apeiros> Ox0dea: why write ruby at all? you can write bash too.
skade has quit [Client Quit]
<Ox0dea> You're usually so reasonable...
<apeiros> that's the response you get for unreasonable questions.
<Ox0dea> You seem to be insinuating that it's never appropriate to shell out from Ruby.
sinkensabe has quit []
<apeiros> Ox0dea: I don't.
<Ox0dea> You don't... what?
<apeiros> seriously?
<apeiros> I don't insinuate that it's never appropriate to shell out.
blackmesa has joined #ruby
<Ox0dea> Then you wanted "I'm not.".
<apeiros> Ox0dea: I asked why they shell out. the question "why not" is pointless.
<Ox0dea> Nobody asked that question.
bluOxigen has joined #ruby
<apeiros> dude
<pizzaops> #hashtag #ircfight
PedramT has joined #ruby
mwlang has quit [Quit: mwlang]
Liam` has quit [Ping timeout: 240 seconds]
mondok has joined #ruby
* adaedra waves
Oog has quit []
DeaDSouL has joined #ruby
<apeiros> Ox0dea: I guess next time I talk to you it'll be in german and I'll willfully not understand you unless you write it perfectly. welcome on my mental ignore until then.
blackmesa has quit [Ping timeout: 265 seconds]
<Ox0dea> apeiros: It was perfectly reasonable for me to assume that by "I don't.", you meant that you don't shell out from Ruby.
<Ox0dea> You chose the wrong tense and it made your response unambiguous; I simply asked for clarification.
ur5us has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 250 seconds]
<apeiros> Ox0dea: I don't understand your english. you can talk german in #ruby-ch with me.
DanKnox has joined #ruby
<Ox0dea> This is really weird.
sandstrom has quit [Quit: My computer has gone to sleep.]
<raldu> hello. I have a quick and easy question. native extensions can be compiled with `gem` just fine. however, the extensions do not compile when I try to install them with bundler. I have tried switching some bundler config variables with no success. PATHs are also fine. any ideas?
johnmilton has joined #ruby
Snowy has joined #ruby
<pizzaops> raldu: share the errors, probably :)
ruurd has quit [Read error: Connection reset by peer]
<Ox0dea> apeiros: You've been nothing shy of a paragon of levelheadedness in virtually every other interaction I've had with you. I'm just going to chalk this debacle up to having caught you at a bad time. :/
fontain has joined #ruby
<pizzaops> Ox0dea: your comment reminded me that I work at a company founded entirely on the premise of shelling out from ruby :D
adgtl has joined #ruby
crowell has quit [Quit: No Ping reply in 180 seconds.]
<Ox0dea> pizzaops: It's a perfectly reasonable thing to do, of course.
<pizzaops> (Puppet Labs)
fontain has quit [Remote host closed the connection]
<pizzaops> Right, but in my case it's almost the entire premise of our software, which lolz
DanKnox_ has joined #ruby
<Ox0dea> A little. :P
PedramT has quit [Remote host closed the connection]
<pizzaops> Of course in reality we use APIs and all that whenever possible.
<pizzaops> But we definitely shell out a *ton*
crowell has joined #ruby
<Ox0dea> I can think of no better scaffold language than Ruby.
<pizzaops> Largely because we want managing something with Puppet to not behave differently than managing it with the tools you're used to.
djbkd_ has quit []
GriffinHeart has quit [Remote host closed the connection]
mlehrer has joined #ruby
<raldu> pizzaops: the errors are of typical failures with building native extensions with mkmf.log showing nothing but compiler flags and a few lines of C code. again, I can build native extensions for the very same package by using `gem`, but fail with `bundle.`
sandstrom has joined #ruby
PedramT has joined #ruby
devbug has joined #ruby
<pizzaops> Where does your Ruby come from, out of curiosity?
asprillia has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
codecop has joined #ruby
PedramT has quit [Remote host closed the connection]
adgtl has quit [Ping timeout: 250 seconds]
rkazak has quit [Quit: Sleep.....ing....]
zz_denym_ is now known as denym_
adgtl has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jazo has quit []
kmckelvi1 has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
mark4 has joined #ruby
<raldu> pizzaops: it is the default Ruby installed in my system with version 2.1.the point of my question is that, wouldn't there be a way to make use of the native extensions that I have "already" built with `gem` within the context of the project I am working on with bundler?
last_staff has joined #ruby
<djellemah> Ox0dea: (1/2r .. 5/2r).size == 5 makes sense.
<pizzaops> Yup, raldu, it normally would do that.
PedramT has joined #ruby
<djellemah> Ox0dea: when I think about it, a range of Rationals with integer divisors is finite. So why not iterable?
<pizzaops> The fact that it's trying to reinstall them at all means that, at a minimum, the project's gemfile specifies a different version of those gems, but possibly that it's using a different directory to store them entirely, also
<pizzaops> normally the different version is the usual culprit, but your compilation failure makes me think differnetly
<Ox0dea> djellemah: Well, but, how do you define Rational#succ?
<djellemah> Ox0dea: 1/2r.succ => 2/2r; 2/2r.succ => 3/2 etc
<pizzaops> raldu: do you see any difference between `gem env` and `bundle exec gem env`?
jds has joined #ruby
<Ox0dea> djellemah: Oh, you meant if both ends of the Range have the same denominator.
<raldu> pizzaops: still thinking and tinkering on your reply. let me check that difference also.
<adaedra> Hi
<Ox0dea> djellemah: That could certainly be made to do The Right Thing, for some subjective definition thereof.
DeaDSouL has quit [Quit: leaving]
GriffinHeart has joined #ruby
<djellemah> Ox0dea: That would work. But if they're different denominators, succ would have to take them both into account. gcd or lcd or one of those.
william3 has joined #ruby
<Ox0dea> djellemah: Then we'd have to have (0.1..0.9).size == 9, no?
<Ox0dea> This particular slope is a little slippery.
<pizzaops> raldu: another thing to try - open up irb, `require 'bundler/cli' and then `Bundler.rubygems.find_name('some_gem_you_installed').first.full_gem_path`
<djellemah> Ox0dea: 0.1 and 0.9 don't have a clear definition of what their step size is. Except for IEEE 754.
<djellemah> Ox0dea: But 1/10r and 9/10r do.
<Ox0dea> djellemah: I suppose that's fair, but the asymmetry squicks a little.
<raldu> pizzaops: first, `bundle exec gem env` does not show environment information. it just reports missing gems.
<pizzaops> raldu: if it's not the same as the install path from gem env you're in troule
<pizzaops> raldu: yeah I figured that might happen
<djellemah> Ox0dea: which asymmetry?
karapetyan has quit [Remote host closed the connection]
<Ox0dea> djellemah: Well, that Rationals would "magically" work in Ranges while Floats wouldn't.
karapetyan has joined #ruby
<Ox0dea> Every other iterable simply relies on a suitable definition of #succ, but Rational would have to take the end of the Range into account in order to do so.
patchedmonkey has joined #ruby
blaxter has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
<pizzaops> raldu: so note the correlation here: https://gist.github.com/pizzaops/e845ad40838bf196fb11
bronson has joined #ruby
<pizzaops> I would do that test for a gem you are able to succesfully install via both `gem install` and bundler
nej has joined #ruby
william3 has quit [Ping timeout: 265 seconds]
<pizzaops> I'm guessing that somehow, you'll get two different install dirs
<raldu> pizzaops: full_gem_path showd "/var/..."
<raldu> what?
<pizzaops> literally "/var/..."?
<djellemah> Ox0dea: I can't disagree with that. Although integers are rationals with divisor 1. Which is the assumption succ for integers is founded on.
<raldu> no, like '/var/lib/gems...' etc
<Ox0dea> djellemah: Certainly, but it still admits a unary definition of successor.
<pizzaops> raldu: can I see the actual value?
<pizzaops> and the output of the grep
<Ox0dea> Rational#succ would be the only binary one, and that would be surprising.
Xeago has quit [Remote host closed the connection]
<raldu> /var/lib/gems/2.1.0
<pizzaops> and the complete full_gem_path output from irb?
niko has quit [Changing host]
niko has joined #ruby
<djellemah> Ox0dea: Igzakly. succ works fine for elements of ranges, provided it can have a unary definition.
<Ox0dea> Well, there it is. :P
niko has quit [Quit: leaving]
elaptics`away is now known as elaptics
dn5 has joined #ruby
<Ox0dea> djellemah: My immediate response was to read that as a citation.
<raldu> /var/lib/gems/2.1.0/gems/unf_ext...
<pizzaops> Ah, so much for my theory.
<pizzaops> Sorry :/
<Ox0dea> "Igzakly et. al. 1973"
bronson has quit [Ping timeout: 244 seconds]
<raldu> so everything is installed in the right place?
slackbotgz has joined #ruby
jottr has joined #ruby
<raldu> it was a quite plausible theory to admit.
<djellemah> Ox0dea: My American isn't good enough to understand that ;-)
baweaver has joined #ruby
<pizzaops> Yeah, Iwas thinking that maybe bundler was somehow using a different parent installation_directory, causing it to reinstall gems you already installed
<dn5> Could someone check my gsub method
<pizzaops> but nope
<dn5> for some reason, it always returns english days
<djellemah> Ox0dea: IOW what's a citation?
Coldblackice has quit [Ping timeout: 250 seconds]
<pizzaops> dn5: because gsub doesn't change day
DanKnox has quit [Ping timeout: 255 seconds]
<pizzaops> gsub! will change it
<pizzaops> gsub just returns the new value, but it's not the return value for the *method)
<pizzaops> gsub just returns the new value, but it's not the return value for the *method*
<Ox0dea> djellemah: Like, I thought you were referencing some white paper that explained how Rational might have a successor function or something.
<raldu> back to the previous point, perhaps I need to install native extensions for "all" the versions of the gem in question
DanKnox_ has quit [Ping timeout: 255 seconds]
Guest45448 is now known as BLuEGoD
duncannz has quit [Ping timeout: 250 seconds]
BLuEGoD is now known as Guest1844
<pizzaops> >> foo = 'bar'; foo.gsub(/bar/,'baz'); foo;
<ruby[bot]> pizzaops: # => "bar" (https://eval.in/520878)
<pizzaops> >> foo = 'bar'; foo.gsub!(/bar/,'baz'); foo;
<ruby[bot]> pizzaops: # => "baz" (https://eval.in/520879)
<Ox0dea> djellemah: "Igzakly" struck me as a foreign name before I properly interpreted it.
<pizzaops> dn5: ^^
<pizzaops> note the use of !
Xeago has joined #ruby
<raldu> pizzaops: thanks for following along and the very useful gist. see you around.
<djellemah> Ox0dea: Ah, ok. No, I was just thinking about it. Igzakly is the guy who agrees with stuff. Apparently he's called Genow in german. :-D
<dn5> pizzaops: ah, that make sense. Is ! for other methods too to return value for the method?
<pizzaops> In ruby, dn5, by convention, .method returns the new value but leaves the original alone, and .method! actually modifies the original, but be careful because typically it will return nil if it doesn't make a modification.
<pizzaops> raldu: sorry I couldn't be of more help. I'm definitely no expert on ruby environment setup
FooMunki has joined #ruby
<dn5> pizzaops: Great explanation, appreciated it.
PedramT has quit [Remote host closed the connection]
<pizzaops> dn5: and not all methods have !. ! isn't something you just add to any method. .method! is totally its own method
<raldu> You have been very helpful. I'll try to hack something together.
<pizzaops> I typically avoid ! though, and return the changed value when necessary
baweaver has quit [Ping timeout: 265 seconds]
blaxter has quit [Ping timeout: 250 seconds]
<Ox0dea> pizzaops covered it quite well, but there's the visual complement.
saaggy18 has quit [Quit: Page closed]
<pizzaops> >> foo = 'bar'; baz = foo.gsub(/bar/,'yourdaddy'); baz
<ruby[bot]> pizzaops: # => "yourdaddy" (https://eval.in/520888)
<dn5> Ox0dea: Quite interesting
<pizzaops> That's my preferred implementation over using ! in most cases, because updating an existing variable can make things more confusing.
william3 has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
<dn5> So, is there equivalent fallback incase nil on !
<Ox0dea> How do you mean?
<dn5> like to use old value that we compare
blackmesa has joined #ruby
patchedmonkey has quit [Read error: Connection reset by peer]
<Ox0dea> Oh, well, you can use `tap(&:bang!)`, if you're really keen.
<dn5> Ox0dea: if value not equal, the gsub! returns nil, right?
<dn5> aha
marr has joined #ruby
<Ox0dea> dn5: No, it returns `nil` if it didn't make any change.
<dn5> Ox0dea: Oupps, yes.
<pizzaops> dn5: yeah it returns nil but the original variable is untouched so you can still just return day like you're doing now
<dn5> Gotcha.
<pizzaops> E.g. take `puts 'foo'` - it will print out foo, but the *return value* is nil
<pizzaops> e.g. myvar = puts 'foo' results in myvar == nil
<Ox0dea> dn5: `nil` is arguably a more useful return value if a bang method didn't make any change, since hey, you've obviously got a reference to the object in question.
<pizzaops> right and if you're using bang you plan to reuse the original variable anyway
<pizzaops> so the return value can be nil, just as a way to know if ti did anything
<Ox0dea> ^
<dn5> Awesome
woo has joined #ruby
<raldu> pizzaops: well, it turns out that the project had an alternative `BUNDLE_PATH` defined in `.bundle/config`, causing everything to go inside that path. probably to make the project more "portable" perhaps...
<pizzaops> aha
<pizzaops> raldu: that doesn't explain why they failed to compile though, only while they were being reinstalled.
<pizzaops> s/while/why
PedramT has joined #ruby
kmckelvi1 has joined #ruby
<pizzaops> I hope you figure it out!
<pizzaops> Bed time for me. Goodnight, dirty non-functional-programming-language users <3
<raldu> have a nice sleep
Dimik has quit [Ping timeout: 244 seconds]
skade has joined #ruby
skade has quit [Client Quit]
karapetyan has quit [Remote host closed the connection]
frudo has joined #ruby
blur3d has joined #ruby
karapetyan has joined #ruby
skade has joined #ruby
chipotle has quit [Quit: cheerio]
blaxter has joined #ruby
Spami has joined #ruby
shanemcd has joined #ruby
aupadhye has quit [Quit: Leaving]
nofxx has quit [Remote host closed the connection]
adgtl has quit []
Liam` has joined #ruby
shanemcd has quit [Ping timeout: 244 seconds]
bahar_ has quit [Ping timeout: 255 seconds]
evidex has joined #ruby
Kryptonic has quit [Ping timeout: 240 seconds]
zapata has joined #ruby
roshanavand has joined #ruby
riotjones has joined #ruby
jackjackdripper has joined #ruby
LoneHermit has joined #ruby
bahar has joined #ruby
johnmilton has quit [Ping timeout: 240 seconds]
PedramT has quit [Remote host closed the connection]
Prira has quit [Quit: No Ping reply in 180 seconds.]
lukebyrne_ has quit [Quit: lukebyrne_]
vasilakisfil has joined #ruby
celly has joined #ruby
bruce__lee has joined #ruby
slackbotgz has quit [Remote host closed the connection]
slackbotgz has joined #ruby
roshanavand has quit [Ping timeout: 250 seconds]
Prira has joined #ruby
mfb2 has joined #ruby
hayden_ has joined #ruby
dmolina has joined #ruby
LoneHermit has quit [Ping timeout: 240 seconds]
asprillia has joined #ruby
G has joined #ruby
bruce_lee has quit [Ping timeout: 244 seconds]
PedramT has joined #ruby
celly has quit [Ping timeout: 250 seconds]
woo has quit [Ping timeout: 265 seconds]
dtordable has joined #ruby
mfb2 has quit [Ping timeout: 250 seconds]
rodfersou has joined #ruby
atmosx has joined #ruby
woo has joined #ruby
Xeago has quit [Remote host closed the connection]
hamed_r has joined #ruby
pandaant has joined #ruby
nettoweb has joined #ruby
andrewvos has joined #ruby
lurch_ has joined #ruby
trinaldi has joined #ruby
vasilakisfil has quit [Read error: Connection timed out]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
auzty has quit [Quit: Leaving]
lukebyrne_ has joined #ruby
shredding has joined #ruby
DeaDSouL has joined #ruby
Youngmathimus0 has quit [Ping timeout: 240 seconds]
UtkarshRay has quit [Remote host closed the connection]
jackjackdripper has quit [Quit: Leaving.]
jottr has quit [Ping timeout: 240 seconds]
woo has quit [Ping timeout: 250 seconds]
AlphaAtom has joined #ruby
UtkarshRay has joined #ruby
DanKnox_ has joined #ruby
DanKnox has joined #ruby
Xeago has joined #ruby
kmckelvi1 has quit [Ping timeout: 250 seconds]
kknight has joined #ruby
PedramT has quit [Remote host closed the connection]
jottr has joined #ruby
woo has joined #ruby
Guest1844 is now known as BLuEGoD
patchedmonkey has joined #ruby
BLuEGoD is now known as Guest88731
andrewvos has quit [Ping timeout: 250 seconds]
karapetyan has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 255 seconds]
dtordable has quit [Remote host closed the connection]
Damien22 is now known as Flakes
irick has joined #ruby
PedramT has joined #ruby
slackbotgz has quit [Remote host closed the connection]
maxiu has quit [Ping timeout: 265 seconds]
vasilakisfil has joined #ruby
kmckelvi1 has joined #ruby
tatsuo has quit [Remote host closed the connection]
karapetyan has joined #ruby
ldnunes has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
mikecmpbll has joined #ruby
tatsuo has joined #ruby
andrewvos has joined #ruby
blackmesa has joined #ruby
sepp2k has joined #ruby
stannard has joined #ruby
ocbtec has joined #ruby
krz has quit [Ping timeout: 240 seconds]
vdamewood has joined #ruby
darkf has quit [Quit: Leaving]
DoubleMalt has joined #ruby
baweaver has joined #ruby
stannard has quit [Ping timeout: 276 seconds]
jottr has quit [Ping timeout: 250 seconds]
Snowy is now known as SnOooohwy
dlitvak has joined #ruby
timmyBsd has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
baweaver has quit [Ping timeout: 244 seconds]
<timmyBsd> Heyho, i have a question related to ruby pipes. I tried to spawn a pty by using ruby PTY. Therefore i tried to use the sample from ruby-doc page. It works as expected after correcting the typo in begin section
<timmyBsd> so my proble is, that i want to read until gets returns nil
karapetyan has quit [Remote host closed the connection]
lukebyrne_ has quit [Quit: lukebyrne_]
<timmyBsd> but this works only if the writer is closed
LoneHerm_ has joined #ruby
last_staff1 has joined #ruby
toretore has joined #ruby
rikkipitt has joined #ruby
last_staff has quit [Ping timeout: 244 seconds]
last_staff1 is now known as last_staff
<timmyBsd> unless the writer is closed it hangs
andrewvos has quit [Ping timeout: 250 seconds]
DanKnox_ has quit [Ping timeout: 276 seconds]
DanKnox has quit [Ping timeout: 276 seconds]
skade has quit [Quit: Computer has gone to sleep.]
dtordable has joined #ruby
<timmyBsd> in short, i want spawn a process and stream commands into
lurch_ has left #ruby [#ruby]
LoneHerm_ has quit [Ping timeout: 244 seconds]
Flakes has quit [Ping timeout: 265 seconds]
htmldrum has joined #ruby
Tempesta_ has quit [Quit: See ya!]
Tempesta has joined #ruby
patchedmonkey has quit [Ping timeout: 250 seconds]
lubekpl has joined #ruby
htmldrum has quit [Ping timeout: 248 seconds]
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
myntcake has joined #ruby
CloCkWeRX has quit [Ping timeout: 255 seconds]
FernandoBasso has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
woo has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
<djellemah> timmyBsd: maybe you need non-blocking reads, or threads?
hays_ has joined #ruby
andrewvos has joined #ruby
Xat` has left #ruby [#ruby]
AlphaAtom has joined #ruby
jam__ has quit [Remote host closed the connection]
sepp2k has quit [Quit: Leaving.]
sepp2k has joined #ruby
hays_ has quit [Client Quit]
shanemcd has joined #ruby
charlemagne has joined #ruby
blackgoat has joined #ruby
<mikecmpbll> probably a silly question, but why can't i insert at the front of a Queue?
ReK2 has quit [Ping timeout: 264 seconds]
<j416> mikecmpbll: it's a queue so its order is defined
<j416> mikecmpbll: FIFO
<mikecmpbll> hmpf.
<j416> mikecmpbll: can't go before someone in a queue, that is against the concept of the queue. :)
<mikecmpbll> :D
shanemcd has quit [Ping timeout: 244 seconds]
gerjomarty has joined #ruby
CloCkWeRX has joined #ruby
Guest88731 is now known as BLuEGoD
djellemah_ has joined #ruby
BLuEGoD is now known as Guest38592
<Ox0dea> mikecmpbll: Sounds like you want a deque?
<mikecmpbll> Ox0dea: ah—perhaps.
<Ox0dea> timmyBsd: Something like this might do if your use case is sufficiently simple: https://eval.in/520960
askhat has joined #ruby
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
patchedmonkey has joined #ruby
juanpablo__ has joined #ruby
andrewvos has quit [Ping timeout: 250 seconds]
kmckelvi1 has quit [Ping timeout: 250 seconds]
juanpablo__ has quit [Ping timeout: 276 seconds]
toretore has quit [Ping timeout: 276 seconds]
msosa has joined #ruby
siaw has joined #ruby
devbug has quit [Ping timeout: 248 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
msosa has quit [Read error: Connection reset by peer]
<siaw> hello, i want to be able to pass an argument from the command line to this method, so that i can write something like what i’ve writting in the comment https://gist.github.com/siaw23/6634f530a29c8002f22e
<siaw> thinking of making use of ARGV
<siaw> how can i do that?
gerjomarty has left #ruby [#ruby]
<apeiros> mikecmpbll: priority-queue might be another concept of interest to you
sgambino has joined #ruby
<apeiros> not quite the same as "inserting at the front", but somewhat similar
<apeiros> siaw: yes, you'd have to use ARGV
<siaw> apeiros: i know. but how?
<apeiros> with `ruby script.rb 4000`, ARGV would be == ["4000"]
<siaw> apeiros: where do i put ARGV?
<apeiros> where should the 4000 go?
kknight has quit [Ping timeout: 240 seconds]
<siaw> yes, i was thinking of putting it like this: fib_up_to(ARGV)
<apeiros> ok, close
<apeiros> it's the right place
<apeiros> but remember, ARGV is an array of strings
<apeiros> and you want a single integer
rikkipitt has quit [Remote host closed the connection]
Tempesta has quit [Quit: AdiIRC is updating to v2.3 Beta Build (2016/02/17) 32 Bit]
<siaw> apeiros: so i could do ARGV.first
<siaw> apeiros: maybe?
<apeiros> yes. now you have a single string. last step would be to convert that string to an integer.
<siaw> apeiros: ARGV.first.to_i
<apeiros> bingo :)
<siaw> apeiros: ok me trye
<apeiros> alternatively: Integer(ARGV.first)
<siaw> apeiros: ok
Tempesta has joined #ruby
<apeiros> that one will raise an exception if ARGV.first is not really an integer
<apeiros> >> "hello".to_i
<ruby[bot]> apeiros: # => 0 (https://eval.in/520968)
<apeiros> >> Integer("hello")
<ruby[bot]> apeiros: # => invalid value for Integer(): "hello" (ArgumentError) ...check link for more (https://eval.in/520969)
<siaw> ok
jottr has joined #ruby
djellemah_ has quit [Ping timeout: 276 seconds]
Xeago has quit [Remote host closed the connection]
<siaw> apeiros: thanks. both methods work :)
<apeiros> yw
andrewvos has joined #ruby
<Ox0dea> siaw: Some food for exploration: https://eval.in/520971
PedramT has quit [Remote host closed the connection]
djellemah_ has joined #ruby
<siaw> Ox0dea: cool! :D
moeabdol2 has joined #ruby
<Ox0dea> siaw: Even cooler! https://eval.in/520973
moeabdol2 has quit [Client Quit]
<siaw> Ox0dea: now that makes me go crazy
<siaw> Ox0dea: hahahahaa
<siaw> Ox0dea: but i’m only interested in fibonacci here
<siaw> so the first one makes more sense to what i’m after
<siaw> Ox0dea: new methods to me “lazy” and “force”
<Ox0dea> siaw: Sure, I was just showing you some nifty tricks.
rikkipitt has joined #ruby
PedramT has joined #ruby
<Ox0dea> I mean, they're more than "nifty", of course, in that they have practical uses, but this time was mostly just demonstration.
<Ox0dea> Ruby lets us be like Haskell. :P
djellemah_ has quit [Client Quit]
djellemah_ has joined #ruby
<siaw> Ox0dea: hahahha i’m happy to know these :)
<siaw> Ox0dea: you do Haskell?
devbug has joined #ruby
<Ox0dea> siaw: I know the basics, if there are even such things.
Shaboum has joined #ruby
regex101-1168 has joined #ruby
karapetyan has joined #ruby
regex101-1168 has quit [Client Quit]
<siaw> Ox0dea: and elixir? :D :D
DanKnox has joined #ruby
<djellemah_> fib = Hash.new{ |h,k| h[k] = k < 2 ? k : h[k-1] + h[k-2] } # not mine, I found it somewhere
<Ox0dea> siaw: Not Elixir, but I've heard only good things.
DEA7TH has joined #ruby
<Ox0dea> djellemah_: That one overflows the stack, though.
<siaw> Ox0dea: exactly
<siaw> Ox0dea: i was about to say that
skade has joined #ruby
<Ox0dea> We can get around that, mind. MRI does support tail recursion, but it's finicky.
gnufied has joined #ruby
graffix has quit [Ping timeout: 265 seconds]
fontain has joined #ruby
dlitvak has quit [Remote host closed the connection]
blackmesa has joined #ruby
kmckelvi1 has joined #ruby
celly has joined #ruby
dlitvak has joined #ruby
DanKnox_ has joined #ruby
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
jottr has quit [Ping timeout: 240 seconds]
karapetyan has quit [Ping timeout: 250 seconds]
Vingador has joined #ruby
Guest69737 has quit [Remote host closed the connection]
celly has quit [Ping timeout: 276 seconds]
gnufied has quit [Quit: Leaving]
speaking1ode has quit [Ping timeout: 240 seconds]
andrewvos has quit [Ping timeout: 244 seconds]
tobiasvl has quit [Quit: Reboot for CVE-2015-7547]
jottr has joined #ruby
speaking1ode has joined #ruby
tvl has joined #ruby
tvl is now known as tobiasvl
dlitvak has quit [Remote host closed the connection]
AlexRussia has joined #ruby
Xeago has joined #ruby
kmckelvi1 has quit [Ping timeout: 248 seconds]
hamed_r has quit [Ping timeout: 240 seconds]
Timberwo|f has joined #ruby
Timberwo|f has quit [Max SendQ exceeded]
dlitvak has joined #ruby
DanKnox has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
DanKnox_ has quit [Ping timeout: 240 seconds]
PedramT has quit [Ping timeout: 240 seconds]
graffix has joined #ruby
shanemcd has joined #ruby
Timberwo|f has joined #ruby
xrlabs has joined #ruby
vdamewood has quit [Ping timeout: 252 seconds]
woo has joined #ruby
PedramT has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
jottr has quit [Ping timeout: 240 seconds]
PedramT has quit [Remote host closed the connection]
shanemcd has quit [Ping timeout: 244 seconds]
Flakes has joined #ruby
<timmyBsd> djellemah_: the nonblocking read will always raise a 'Errno::EAGAIN: Resource temporarily unavailable - read would block'
Guest38592 is now known as BLuEGoD
PedramT has joined #ruby
zeroDivisible has joined #ruby
BLuEGoD is now known as Guest74452
myntcake has quit [Ping timeout: 248 seconds]
hamed_r has joined #ruby
<timmyBsd> thats my latest tries
devbug has quit [Ping timeout: 240 seconds]
mondok has quit [Ping timeout: 248 seconds]
graffix has quit [Ping timeout: 265 seconds]
atmosx has quit [Quit: This is aparting message!]
<n1colas> Hello
urtokk has quit [Quit: WeeChat 1.4]
jottr has joined #ruby
kmckelvi1 has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
blackmesa has quit [Ping timeout: 240 seconds]
codehotter has quit [Quit: WeeChat 0.4.2]
_sky has joined #ruby
casadei has joined #ruby
dn5 has quit [Quit: Lost terminal]
joonty has quit [Ping timeout: 244 seconds]
<_sky> Hello, guys! I have very strange problem, auditd is unable to capture files created by Carrierwave.
<_sky> Maybe someone is willing to help? I would appreciate it alot
blur3d has quit [Quit: blur3d]
<adaedra> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<_sky> Well, I'm not sure it has anything to do with rails, but thanks anyway, I'll check it out
<siaw> what am i doing srong with my palindrom method here https://gist.github.com/siaw23/047e093678813ff37aea
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<siaw> Ox0dea: that sentence is actually a palindrom but i’m getting false
lurch_ has joined #ruby
<adaedra> siaw: inspect str between l.2 and 3 and you'll see.
SnOooohwy is now known as Snowy
lukebyrne has joined #ruby
lipoqil has quit [Quit: Connection closed for inactivity]
duckpupp1 has joined #ruby
blackmesa has joined #ruby
JammyHammy has joined #ruby
pdoherty has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
johnmilton has joined #ruby
hxegon has joined #ruby
duckpupp1 has quit [Ping timeout: 255 seconds]
idefine has joined #ruby
xrlabs has quit [Ping timeout: 240 seconds]
berserk_ren has quit [Ping timeout: 264 seconds]
lukebyrne has quit [Quit: lukebyrne]
tatsuo has quit [Quit: Leaving...]
jottr_ has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
tulak has joined #ruby
ropeney has joined #ruby
sgambino has joined #ruby
<Ox0dea> siaw: Did you get it sorted?
<siaw> nope
<Ox0dea> You're throwing away the computation you perform on Line 2.
SShrike has joined #ruby
shanemcd has joined #ruby
joonty has joined #ruby
<Ox0dea> You're not modifying `str` in-place, and you're not storing the result in a new variable, so it just goes into the ether.
duckpupp1 has joined #ruby
PedramT has quit [Ping timeout: 240 seconds]
PedramT_ has joined #ruby
SShrike has quit [Quit: SShrike]
CoderPuppy has joined #ruby
cpup has quit [Ping timeout: 276 seconds]
rikkipitt has quit [Quit: Leaving...]
fourq is now known as fourq|away
<Ox0dea> siaw: I think you nailed it. :)
<siaw> Ox0dea: nope
<siaw> Ox0dea: it’s not working
berserk_ren has joined #ruby
godzillaenlacasa has joined #ruby
last_staff1 has joined #ruby
<adaedra> siaw: because you're not comparing the right elements.
htmldrum has joined #ruby
<siaw> adaedra: aaaaa now i see it!
fourq|away is now known as fourq
shanemcd has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
cfjk has joined #ruby
dlitvak has quit [Remote host closed the connection]
sandstrom has quit [Quit: My computer has gone to sleep.]
fourq is now known as fourq|away
dlitvak has joined #ruby
<siaw> adaedra: this is what i was supposed to be doing! :D https://gist.github.com/siaw23/047e093678813ff37aea
<siaw> Ox0dea: this is what i was supposed to be doing! :D https://gist.github.com/siaw23/047e093678813ff37aea
fourq|away is now known as fourq
fourq is now known as fourq|away
last_staff has quit [Ping timeout: 244 seconds]
last_staff1 is now known as last_staff
<Ox0dea> siaw: That'll do it.
<adaedra> Ugh, tabs.
<Ox0dea> siaw: In general, feel free to stick a `p foo` anywhere at any time to check your assumptions.
freerobby has joined #ruby
<adaedra> Or a binding.pry if you need advanced inspections.
_sky has quit [Quit: Page closed]
<siaw> Ox0dea: yeap. that’s good
andrewvos has joined #ruby
<siaw> adaedra: i never got to understood pry
<Ox0dea> It's just irb with love.
Rickmasta has joined #ruby
<adaedra> That would be good to. It's an amazing tool.
<siaw> what do do with it?
<Ox0dea> Explore your programs.
<siaw> yeah ok but how?
<siaw> for instance in this case how could it help?
bahar has quit [Changing host]
bahar has joined #ruby
godzillaenlacasa has quit [Client Quit]
<Ox0dea> This one was a fine case for "puts debugging".
Vingador has quit [Read error: Connection reset by peer]
<adaedra> siaw: you could have put `binding.pry` between your two lines; this would have put you in a pry console where you could have printed str and see it wasn't modified.
fourq|away is now known as fourq
fourq is now known as fourq|away
htmldrum has quit [Ping timeout: 255 seconds]
<adaedra> Agreed, on this one, it'd have been overkill.
graffix has joined #ruby
Zai00 has joined #ruby
twintail has joined #ruby
y2mq37 has quit [Ping timeout: 240 seconds]
tesuji has quit [Ping timeout: 240 seconds]
JDiPierro has joined #ruby
AckZ has quit []
hamed_r has quit [Read error: Connection reset by peer]
sandstrom has joined #ruby
plsk has left #ruby [#ruby]
sandstrom has quit [Client Quit]
Macaveli has joined #ruby
sandstrom has joined #ruby
JakFrist has joined #ruby
DanKnox has joined #ruby
djellemah_ has quit [Ping timeout: 276 seconds]
jottr_ is now known as jottr
askhat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DanKnox_ has joined #ruby
jam_ has joined #ruby
vdamewood has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
voidDotClass has quit [Read error: Connection reset by peer]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
jam_ has quit [Ping timeout: 240 seconds]
andrewvos has quit [Ping timeout: 248 seconds]
robbyoconnor has quit [Ping timeout: 240 seconds]
<Ox0dea> siaw: Uh-oh. https://eval.in/521079
<siaw> Ox0dea: :(
<siaw> Ox0dea: why?
<Ox0dea> siaw: \w means "word" in the identifier sense.
<Ox0dea> foo_bar is a perfectly valid identifier/"word".
<siaw> Ox0dea: and so is evil_is_a_deed_as_i_live
<siaw> no?
skade has joined #ruby
<siaw> Ox0dea: probably not
<Ox0dea> siaw: The problem is that those underscores are ending up in `sentence`.
blackmesa has quit [Ping timeout: 248 seconds]
<siaw> Ox0dea: or maybe i could remove the underscores?
fourq|away is now known as fourq
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fourq is now known as fourq|away
fourq|away is now known as fourq
<siaw> Ox0dea: in the first instance of `sentence`
<siaw> ?
<siaw> Ox0dea: say replace them with a space?
krz has joined #ruby
<Ox0dea> &ri String#delete @siaw
Guest74452 is now known as BLuEGoD
BLuEGoD is now known as Guest2313
swills has quit [Ping timeout: 240 seconds]
<siaw> `derpy: you’re suggesting something like sentence = str.downcase.scan(/\w/).delete(“_”)
<siaw> ?
xrlabs has joined #ruby
<Ox0dea> siaw: I'd do away with the #scan altogether and just say `delete('^a-z')`.
<siaw> Ox0dea: but then `delete('^a-z')` will beremove all letters!!
<adaedra> Did you try it?
<siaw> adaedra: nope
<adaedra> Also, `derpy is a bot, no need to address it.
petrichorx has joined #ruby
<siaw> adaedra: i know i just pressed TAB fast :p
<Ox0dea> Good morning, `derpy.
last_staff1 has joined #ruby
shredding has quit [Ping timeout: 240 seconds]
last_staff has quit [Ping timeout: 244 seconds]
last_staff1 is now known as last_staff
Xeago has quit [Read error: Connection reset by peer]
<siaw> but what’s the meaning of this: (^a-z)?
<adaedra> you know, you don't have to mention us everytime.
<siaw> no i don’t :p
<siaw> but now i do
CloCkWeRX has quit [Ping timeout: 244 seconds]
fmcgeough has joined #ruby
<Ox0dea> > Uses the same rules for building the set of characters as String#count.
<Ox0dea> siaw: That's from the documentation I linked, and the docs for #count are just a few flicks of your scroll wheel away. :)
JakFrist has quit [Ping timeout: 240 seconds]
<siaw> yeah i see it
Xeago has joined #ruby
<siaw> no but you confused me
arlek has joined #ruby
JDiPierro has quit [Remote host closed the connection]
goodcodeguy has joined #ruby
CoderPuppy has quit [Ping timeout: 255 seconds]
<siaw> String#delete days this: Returns a copy of str with all characters in the intersection of its arguments deleted.
idefine has quit [Remote host closed the connection]
<Ox0dea> Aye, that's a little heavy.
<siaw> here it’s clear we’re REMOVING characters
<siaw> right?
<Ox0dea> Absolutely.
<Ox0dea> From a copy, though.
<siaw> it returns a copy yeah
<siaw> but i don’t need that copy
<siaw> do we?
zotherstupidguy has quit [Ping timeout: 265 seconds]
idefine has joined #ruby
<Ox0dea> Well, not necessarily, but bad things can happen if you mutate your inputs.
UtkarshRay has quit [Ping timeout: 240 seconds]
<siaw> ah!
<siaw> i get it
DeaDSouL_ has joined #ruby
<Ox0dea> siaw: https://eval.in/521099
<Ox0dea> Everything looks like it went swimmingly, but it totally didn't.
<Ox0dea> The next user of one of those strings is in for a surprise. :P
arlek has quit [Ping timeout: 244 seconds]
<siaw> Ox0dea: when you use #delete does it keep the deleted characters?
idefine has quit [Ping timeout: 240 seconds]
DeaDSouL has quit [Ping timeout: 250 seconds]
zotherstupidguy has joined #ruby
xrlabs has quit [Ping timeout: 276 seconds]
xrlabs has joined #ruby
LuckyABA has joined #ruby
<shevy> yo flughafen
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SkepBrain has quit [Quit: bye]
<shevy> siaw it returns the string with the given chars deleted, after applying the delete operation
moncky has quit [Ping timeout: 264 seconds]
jottr has quit [Ping timeout: 240 seconds]
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DeaDSouL_ has quit [Ping timeout: 244 seconds]
livcd has quit [Changing host]
livcd has joined #ruby
juanpablo__ has joined #ruby
pdoherty has quit [Ping timeout: 240 seconds]
<siaw> in that case, Ox0dea’s method i don’t understand
<siaw> Ox0dea: can you please help me undestand yuor method?
aryaching has joined #ruby
<Ox0dea> siaw: #upcase and #upcase! are different methods.
<siaw> no
<siaw> i’m not on that
<siaw> i want explanation on your use for #delete
<Ox0dea> I didn't use #delete.
<flughafen> yo shevy
jottr has joined #ruby
cdg has joined #ruby
<siaw> Ox0dea: this is your method https://gist.github.com/siaw23/047e093678813ff37aea
ropeney has joined #ruby
<siaw> there’s delete on line 2
<Ox0dea> siaw: That's not my method.
frudo has quit [Ping timeout: 250 seconds]
<siaw> but it works
bluOxigen has joined #ruby
<siaw> and i don’t understand it
ropeney has quit [Client Quit]
<Ox0dea> >> 'i am going to be all vowels'.delete('^aeiou') # siaw
<ruby[bot]> Ox0dea: # => "iaoioeaoe" (https://eval.in/521106)
juanpablo__ has quit [Ping timeout: 248 seconds]
<siaw> Ox0dea: it’s returning the deleted characters!!
PedramT has joined #ruby
mlehrer has quit [Quit: Leaving]
DanKnox has quit [Ping timeout: 240 seconds]
DanKnox_ has quit [Ping timeout: 255 seconds]
<Ox0dea> siaw: ^ is special there.
<siaw> what does it mean?
<Ox0dea> ¯\_(ツ)_/¯
CloCkWeRX has joined #ruby
PedramT_ has quit [Ping timeout: 255 seconds]
ziyadb has joined #ruby
sankaber has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ramortegui has joined #ruby
mlehrer has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
FernandoBasso has quit [Quit: Leaving]
haylon has joined #ruby
Flakes has quit [Ping timeout: 240 seconds]
last_staff has quit [Quit: last_staff]
sankaber has quit [Remote host closed the connection]
LuckyABA has joined #ruby
blackgoat has quit [Quit: WeeChat 1.3]
sankaber has joined #ruby
roshanavand has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
BSaboia has joined #ruby
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
sdothum has joined #ruby
malconis has joined #ruby
LuckyABA has quit [Ping timeout: 240 seconds]
juanpablo__ has joined #ruby
DanKnox has joined #ruby
DanKnox_ has joined #ruby
sgambino has joined #ruby
xrlabs has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
xrlabs has joined #ruby
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
JDiPierro has joined #ruby
sdothum has joined #ruby
jtnegrotto has joined #ruby
blackmesa has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
umdstu has joined #ruby
roshanavand has joined #ruby
roshanavand has quit [Remote host closed the connection]
sergey_makagon has joined #ruby
<umdstu> what's the best way to install ruby on centos without rbenv/rvm/etc
roshanavand has joined #ruby
<umdstu> to replace the sytem ruby (1.8.6)
<adaedra> centos 6?
AlphaAtom has joined #ruby
<hanmac> umdstu: i think the best way is to replace centos itself XD ... imo the most easy way ARE rbenv or rvm .... otherwise try this: https://github.com/postmodern/ruby-install
<adaedra> you have the software collection system
cpup has joined #ruby
xrlabs has quit [Ping timeout: 240 seconds]
Ishido has joined #ruby
<umdstu> hanmac: i agree they are super easy, i use them for dev. but its not easy to put it on a non networked machine
<adaedra> Maybe if you start by telling us that we would be able to find you a better solution.
Guest2313 is now known as BLuEGoD
<umdstu> adaedra: thanks, i saw that domain pop up in an earlier search but hadn't clicked it yet
<hanmac> ... trying to install something on a non-network system is always funky because you might not know all dependencies you might need
BLuEGoD is now known as Guest61619
<umdstu> adaedra: well i already said I wasn't interested in a ruby manager, sorry
<adaedra> "put it on a non networked machine" was the missing piece.
<umdstu> that's true
<adaedra> There's also a COPR thing for 2.3, but it's CentOS 7 only
<adaedra> Also, what hanmac said.
lipoqil has joined #ruby
<hanmac> umdstu: also when you install your stuff for ruby, you might consider C/C++ stuff too (dev tools) because they might needed when you want to install ruby gems later
<umdstu> dev stuff is installed already, dependencies are still handled through yum, with an internal mirror i guess. not up to date but its there
kies^ has quit [Ping timeout: 240 seconds]
fullofcaffeine has joined #ruby
PedramT has quit [Remote host closed the connection]
Rodya_ has joined #ruby
charlemagne has quit [Remote host closed the connection]
<adaedra> You'll have a problem of trust, too
andrewvos has joined #ruby
nettoweb has joined #ruby
dajobat has joined #ruby
<shevy> nobody trusts anyone anymore!
<dajobat> Afternoon everyone.
ropeney has joined #ruby
Axy has quit [Ping timeout: 244 seconds]
JDiPierro has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
xrlabs has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
idefine has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
PedramT has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
<umdstu> adaedra: good point
babblebre has joined #ruby
DanKnox has quit [Ping timeout: 240 seconds]
DanKnox_ has quit [Ping timeout: 250 seconds]
DanKnox_ has joined #ruby
DanKnox has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aaeron has joined #ruby
lxsameer has quit [Quit: Leaving]
AlexJakeGreen has joined #ruby
vdamewood has quit [Quit: Life beckons.]
Mia has quit [Ping timeout: 240 seconds]
myntcake has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
JDiPierro has joined #ruby
weemsledeux has joined #ruby
TomPeed has joined #ruby
ta has quit [Remote host closed the connection]
sdothum has joined #ruby
shanemcd has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
tvon has quit [Quit: tvon]
PedramT has quit [Read error: Connection reset by peer]
herminiotorres has joined #ruby
bweston92 has quit [Remote host closed the connection]
floatingpoint has joined #ruby
rippa has joined #ruby
cdg has quit [Ping timeout: 244 seconds]
shanemcd has quit [Ping timeout: 244 seconds]
zotherstupidguy has quit [Ping timeout: 240 seconds]
Chau has joined #ruby
DanKnox_ has quit [Ping timeout: 240 seconds]
DanKnox has quit [Ping timeout: 240 seconds]
flaguy48 has joined #ruby
beanHolez has joined #ruby
diego2 has joined #ruby
diego2 is now known as diegoviola
TheHodge has joined #ruby
nofacade has joined #ruby
saneax is now known as saneax_AFK
coyo has joined #ruby
BaroMeter has joined #ruby
arthurl has joined #ruby
DanKnox_ has joined #ruby
DanKnox has joined #ruby
Rodya_ has quit [Remote host closed the connection]
schuc has quit [Ping timeout: 250 seconds]
aaeron has quit [Quit: aaeron]
sandstrom has quit [Quit: My computer has gone to sleep.]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
celly has joined #ruby
stannard has joined #ruby
mfb2 has joined #ruby
DmitryBochkarev has joined #ruby
tvon has joined #ruby
polishdub has joined #ruby
jam_ has joined #ruby
johnnyt has quit [Ping timeout: 264 seconds]
BaroMeter has quit [Remote host closed the connection]
rdark has joined #ruby
tulak has quit [Remote host closed the connection]
rdark has quit [Changing host]
rdark has joined #ruby
tulak has joined #ruby
DanKnox_ has quit [Ping timeout: 248 seconds]
DanKnox has quit [Ping timeout: 248 seconds]
CloCkWeRX has quit [Quit: Leaving.]
schuc has joined #ruby
mfb2 has quit [Ping timeout: 244 seconds]
pdoherty has joined #ruby
x77686d has joined #ruby
jam_ has quit [Ping timeout: 255 seconds]
hamed_r has joined #ruby
mikecmpbll has quit [Ping timeout: 244 seconds]
herminiotorres has quit [Ping timeout: 276 seconds]
dopamean1 has quit [Ping timeout: 240 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sgambino has joined #ruby
Zai00 has quit [Read error: Connection reset by peer]
Zai00_ has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
herminiotorres has joined #ruby
<hanmac> hey shevy i got something for you: check this out: https://github.com/Hanmac/rpg_gamedata (readme, testcases and other stuff will be added later)
Sucks has joined #ruby
<shevy> no readme!
Guest61619 is now known as BLuEGoD
yatish27 has joined #ruby
<hanmac> shevy that was the first commit, readme and other stuff will be added later (today)
BLuEGoD is now known as Guest12742
mary5030 has joined #ruby
sergey_makagon has quit []
godzillaenlacasa has joined #ruby
allcentury has joined #ruby
bruce__lee has quit [Changing host]
bruce__lee has joined #ruby
Macaveli has joined #ruby
johnnyt has joined #ruby
wprice has joined #ruby
zast has joined #ruby
zackzorman has joined #ruby
siaw has quit [Quit: siaw]
casadei has quit [Remote host closed the connection]
celly has quit []
mdw has joined #ruby
dopamean1 has joined #ruby
cdg has joined #ruby
failshell has joined #ruby
chouhoulis has quit [Remote host closed the connection]
<shevy> my projects sucked so much time away, I feel dead :(
jottr has quit [Ping timeout: 276 seconds]
decoponio has joined #ruby
consolejazz has joined #ruby
consolejazz has left #ruby [#ruby]
platzhirsch has joined #ruby
dopamean1 has quit [Ping timeout: 255 seconds]
FooMunki has quit [Quit: FooMunki]
dopamean1 has joined #ruby
FooMunki has joined #ruby
einarj has quit [Remote host closed the connection]
cout has joined #ruby
yardenbar has quit [Ping timeout: 255 seconds]
frudo has joined #ruby
nogic has quit [Ping timeout: 248 seconds]
yardenbar has joined #ruby
infra-red has quit [Remote host closed the connection]
infra-red has joined #ruby
dlitvak_ has joined #ruby
andrewvos has quit [Ping timeout: 248 seconds]
bweston92 has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
malconis_ has joined #ruby
infra-red has quit [Ping timeout: 240 seconds]
crowell has quit [Ping timeout: 240 seconds]
anisha has quit [Quit: Leaving]
coyo has quit []
yatish27 has quit [Remote host closed the connection]
krobzaur has joined #ruby
crowell has joined #ruby
crowell has quit [Changing host]
crowell has joined #ruby
malconis_ has quit [Remote host closed the connection]
malconis has quit [Ping timeout: 240 seconds]
malconis has joined #ruby
tjohnson has joined #ruby
<hanmac> TheBrayn: i know rubocop, but most of the problems are stupid and are wrong setted ... or what exaclty is your problem ?
aganov has quit [Remote host closed the connection]
darix has quit [Remote host closed the connection]
DanKnox_ has joined #ruby
DanKnox has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riotjones has quit []
darix has joined #ruby
PlasmaStar has quit [Ping timeout: 264 seconds]
BrunoSaboia has joined #ruby
mhoungbo has quit [Ping timeout: 240 seconds]
terlar has quit [Ping timeout: 265 seconds]
chipotle has quit [Quit: cheerio]
nogic has joined #ruby
nofacade has quit [Read error: Connection reset by peer]
BSaboia has quit [Ping timeout: 244 seconds]
_deezCodez has joined #ruby
PlasmaStar has joined #ruby
<_deezCodez> Does anyone know why people always overcomplicate simple things to teach more indepth concepts? It just makes it more confusing for me.
aufi has quit [Ping timeout: 240 seconds]
Abrin has joined #ruby
Rodya_ has joined #ruby
mfb2 has joined #ruby
<hanmac> _deezCodez: i dont know, maybe because they have no other problems?
<dajobat> _deezCodez: Example?
steffkes has quit [Ping timeout: 244 seconds]
nofacade has joined #ruby
denym_ is now known as zz_denym_
ping-pong has quit [Ping timeout: 276 seconds]
ruurd has joined #ruby
ruurd is now known as Guest33237
vasilakisfil has quit [Quit: Konversation terminated!]
ss_much has joined #ruby
lubekpl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
St1gma has quit [Quit: laters]
xrlabs has quit [Quit: This computer has gone to sleep]
mark4 has quit [Quit: Leaving.]
Jardayn has joined #ruby
kmckelvin has joined #ruby
graffix has quit [Ping timeout: 265 seconds]
kmckelvi1 has quit [Read error: Connection reset by peer]
xrlabs has joined #ruby
Guest38 has joined #ruby
skade has joined #ruby
rkazak has joined #ruby
krobzaur has quit [Quit: WeeChat 0.4.2]
xapak has joined #ruby
<xapak> Hello.
graffix has joined #ruby
ping-pong has joined #ruby
krobzaur has joined #ruby
casadei has joined #ruby
shredding has joined #ruby
nopolitica has joined #ruby
Guest12742 is now known as BLuEGoD
vod has joined #ruby
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rickmasta has joined #ruby
BLuEGoD is now known as Guest37323
Rickmasta has quit [Max SendQ exceeded]
Rickmasta has joined #ruby
RegulationD has quit [Remote host closed the connection]
sneakerhax has quit [Ping timeout: 248 seconds]
siaw has joined #ruby
rkazak has quit [Ping timeout: 255 seconds]
cfjk has quit [Quit: Leaving]
aegis3121 has joined #ruby
pandaant has quit [Remote host closed the connection]
krobzaur has quit [Quit: WeeChat 0.4.2]
<_deezCodez> Sorry, I got distracted. I was thinking about people talking about blocks. I diving down the rabbit hole and a lot of people to teach blocks are forcing in blocks where I feel blocks wouldn't normally be used.
sepp2k has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
krobzaur has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
karapetyan has joined #ruby
jaiks has quit [Ping timeout: 240 seconds]
frudo has quit [Ping timeout: 240 seconds]
failshell has quit []
blandflakes has joined #ruby
nopolitica has quit [Quit: leaving]
frudo has joined #ruby
karapetyan has quit [Remote host closed the connection]
tildes has joined #ruby
AlexJakeGreen has quit [Quit: Leaving]
_deezCodez has quit [Ping timeout: 252 seconds]
siaw has quit [Quit: siaw]
Sucks has quit [Quit: No Ping reply in 180 seconds.]
chouhoulis has joined #ruby
PhoenixBird has joined #ruby
rakm has joined #ruby
infra-red has joined #ruby
sandstrom has joined #ruby
PhoenixBird has left #ruby [#ruby]
rcvalle has joined #ruby
Rodya_ has quit [Remote host closed the connection]
siaw has joined #ruby
Sucks has joined #ruby
Rodya_ has joined #ruby
sandstrom has quit [Max SendQ exceeded]
maikowblue has joined #ruby
sandstrom has joined #ruby
Yiota has quit [Ping timeout: 244 seconds]
maletor has joined #ruby
symm- has joined #ruby
frudo has quit [Ping timeout: 240 seconds]
bweston92 has quit [Remote host closed the connection]
blackmesa has joined #ruby
ljames has joined #ruby
<haylon> with Gem, can I do an install command like gem install gem -v ~> 2.2 ?
Xeago has quit [Remote host closed the connection]
Jardayn has quit [Ping timeout: 244 seconds]
zacstewart has quit [Ping timeout: 250 seconds]
<apeiros> seems like. but you have to quote the version spec. otherwise it's 2 args instead of 1
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amclain has joined #ruby
<haylon> gem install gem -v "~> 2.2"
TomPeed has joined #ruby
<darix> maybe put the gemname after the version
<haylon> I'll give it a whack
Rodya_ has quit [Remote host closed the connection]
Jardayn has joined #ruby
Snowy has quit [Remote host closed the connection]
<haylon> That did work, I just need not the newest gem version.
xrlabs has quit [Quit: This computer has gone to sleep]
aegis3121 has quit [Ping timeout: 240 seconds]
arthropododo has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kmckelvin has quit [Ping timeout: 240 seconds]
fedexo has joined #ruby
karapetyan has joined #ruby
mfb2 has quit [Remote host closed the connection]
Rodya_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
msosa has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
karapetyan has joined #ruby
<havenwood> hanmac: How didn't it work? Error?
<havenwood> hanmac: oops, but hi!
<havenwood> haylon: ^
lurch_ has quit [Quit: lurch_]
yardenbar has quit [Ping timeout: 248 seconds]
p1k has quit [Ping timeout: 250 seconds]
mfb2 has joined #ruby
Macaveli has joined #ruby
<haylon> havenwood, it worked, but I wanted one of the 2.2.* versions of Zabbix API, supposedly version 2.4* won't work with Zabbix 2.2
<haylon> its a weird versioning/tagging system he's got going on
xrlabs has joined #ruby
zacstewart has joined #ruby
rakm has quit [Quit: Textual IRC Client: www.textualapp.com]
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
amoeba has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
joonty has quit [Ping timeout: 240 seconds]
mfb2 has quit [Remote host closed the connection]
rakm has joined #ruby
karapetyan has joined #ruby
Don_John has joined #ruby
woo has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
mlehrer has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
Rodya_ has quit [Remote host closed the connection]
B1n4r10 has joined #ruby
JDiPierro has quit [Read error: Connection reset by peer]
<apeiros> haylon: don't know how rubygems handles it, but usually flags/options come before arguments
<apeiros> i.e. gem install -v '~> 2.2' gemname
jam_ has joined #ruby
<apeiros> ok, just tried it. position of the option doesn't matter. but rubygems definitively accepts ~> there.
xrlabs has quit [Quit: This computer has gone to sleep]
stannard has quit [Read error: Connection reset by peer]
stannard_ has joined #ruby
<haylon> coolios, thanks apeiros
blaxter has quit [Quit: foo]
x77686d has quit [Quit: x77686d]
andikr has quit [Remote host closed the connection]
jam_ has quit [Ping timeout: 240 seconds]
rakm has quit [Quit: Textual IRC Client: www.textualapp.com]
_ht has joined #ruby
mlehrer has joined #ruby
BSab has joined #ruby
jottr has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
rakm has joined #ruby
sneakerhax has joined #ruby
timwis has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<timwis> Hey guys, I'm trying to write a jekyll plugin and I have an array of "jekyll documents". I'm trying to group them by a particular attribute (category), but it's breaking when a document doesn't have a "category" attribute. So I figured I'd run a .reject() on them first. But I can't figure out how to test whether the "jekyll document" object has an attribute. .has_key, has_attribute, .category? .category.nil? all throw errors. Any ideas?
BSab has quit [Client Quit]
BrunoSaboia has quit [Ping timeout: 244 seconds]
xrlabs has joined #ruby
fedexo has quit [Ping timeout: 250 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
kirillzh has joined #ruby
<arthurl> hi guys- quick question- how do i install bundler to a specific ruby env, for example i see bundle and bundler is NOT currently in '/usr/local/rvm/gems/ruby-1.9.3-p448@global/bin'
DanKnox_ has quit [Ping timeout: 276 seconds]
DanKnox has quit [Ping timeout: 276 seconds]
<arthurl> and i'd like it to be
<arthurl> them* to be
bb010g has quit [Quit: Connection closed for inactivity]
Guest37323 is now known as BLuEGoD
maletor has joined #ruby
B1n4r10 has quit [Ping timeout: 250 seconds]
BLuEGoD is now known as Guest87153
maletor has quit [Client Quit]
shredding has quit [Ping timeout: 255 seconds]
RegulationD has joined #ruby
<haylon> grrr. Now I'm running into a type casing issue. ZabbixApi thinks I'm sending it a string when I put a .to_i after the value.
saneax_AFK is now known as saneax
<haylon> keeps complaining about Conversion from string to Integer, and the string is a number
maletor has joined #ruby
aryaching has quit [Remote host closed the connection]
<haylon> nvm. gotta convert it into a hash.
DanKnox has joined #ruby
aryaching has joined #ruby
DanKnox_ has joined #ruby
babblebre has joined #ruby
dhollinger has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
lubekpl has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
baweaver has joined #ruby
Chau has quit [Ping timeout: 240 seconds]
stannard_ has quit [Remote host closed the connection]
<xapak> Hello.
<xapak> Do you know what does $LOAD_PATH read in the the paths? All .rb files or what?
<xapak> Is it recursive with children paths?
ohaibbq has joined #ruby
stannard has joined #ruby
arlek has joined #ruby
Rodya_ has joined #ruby
bb010g has joined #ruby
lubekpl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam> xapak: it's the search path for require()
RegulationD has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam> require 'foo/bar' will look for foo/bar.rb in each $LOAD_PATH
<eam> very similar to $PATH
VeryBewitching has joined #ruby
<eam> note: rubygems has a different load mechanism
<xapak> Hmm, got it. That’s why it’s not working for my use case. :p
<VeryBewitching> G'day folks.
<xapak> o/
<xapak> eam, thamks.
<xapak> thanks, rather
<eam> np
tvon has quit [Quit: tvon]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
Guest33237 is now known as ruurd
blackmesa has quit [Ping timeout: 240 seconds]
davedev24 has joined #ruby
<vod> hello everyone
kmckelvin has joined #ruby
symm- has quit [Ping timeout: 244 seconds]
dravine has joined #ruby
Xeago has quit [Ping timeout: 276 seconds]
baweaver has quit [Remote host closed the connection]
goodcodeguy has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
zacstewart has quit [Ping timeout: 250 seconds]
swills has joined #ruby
goodcodeguy has quit [Client Quit]
lubekpl has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
sdothum has joined #ruby
_djbkd has joined #ruby
idefine has quit [Remote host closed the connection]
terminalrecluse has joined #ruby
vod has quit [Quit: bye]
Rodya_ has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 240 seconds]
voobscout has joined #ruby
Zai00_ has quit [Ping timeout: 240 seconds]
goodcodeguy has joined #ruby
skade has joined #ruby
Rodya_ has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
<umdstu> whats the difference between using a fixture to create an object, item = items(:item), and using AR, item = Item.new() in a model test?
fontain has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
<umdstu> are fixtures immutable ?
freerobby has quit [Quit: Leaving.]
patchedmonkey has quit [Ping timeout: 248 seconds]
idefine has joined #ruby
mfb2 has joined #ruby
<drale2k> i have a socket and need to send back 1 byte (01). Currently i am trying > client.puts "\x01" but it does not work (the gps device is not responding to this). How else would i send back 1 byte ?
<apeiros> drale2k: puts appends a newline
<apeiros> you should probably use write
aryaching has joined #ruby
<apeiros> and potentially flush the data out (ruby usually buffers IOs)
tvon has joined #ruby
<drale2k> hm write seems to create a new line too
pdoherty has quit [Ping timeout: 255 seconds]
firstdayonthejob has joined #ruby
kmckelvi1 has joined #ruby
freerobby has joined #ruby
benlieb has joined #ruby
Eiam_ has joined #ruby
idefine has quit [Ping timeout: 250 seconds]
kmckelvin has quit [Ping timeout: 240 seconds]
mhoungbo has joined #ruby
marxarelli has joined #ruby
mfb2 has quit []
codecop has joined #ruby
charlemagne has joined #ruby
zacstewart has joined #ruby
justbleed has joined #ruby
TomPeed has quit [Read error: Connection reset by peer]
voobscout has quit [Quit: bye]
justbleed is now known as pdev_memories
kmckelvi1 has quit [Ping timeout: 255 seconds]
eregi has joined #ruby
dajobat has quit [Ping timeout: 248 seconds]
Sucks has quit [Quit: No Ping reply in 180 seconds.]
pawnbox has joined #ruby
SCHAAP137 has joined #ruby
Sucks has joined #ruby
Rodya_ has quit [Remote host closed the connection]
_djbkd has quit [Remote host closed the connection]
kmckelvi1 has joined #ruby
evidex has quit [Ping timeout: 240 seconds]
voobscout has joined #ruby
Silox| has joined #ruby
sepp2k has joined #ruby
benlieb has quit [Quit: benlieb]
saneax is now known as saneax_AFK
aegis3121 has joined #ruby
hays has quit [Ping timeout: 268 seconds]
diegoviola has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
siaw has quit [Quit: siaw]
freerobby has quit [Quit: Leaving.]
Xeago has joined #ruby
kies^ has joined #ruby
dmolina has quit [Ping timeout: 255 seconds]
dmolina1 has joined #ruby
bronson has joined #ruby
hays has joined #ruby
JDiPierro has joined #ruby
_djbkd has joined #ruby
dmolina1 has quit [Client Quit]
mwlang has joined #ruby
Youngmathimus0 has joined #ruby
DanKnox_ has quit [Ping timeout: 248 seconds]
DanKnox has quit [Ping timeout: 248 seconds]
lsmola has quit [Ping timeout: 248 seconds]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sucks has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 244 seconds]
voobscout has quit [Quit: bye]
Sucks has joined #ruby
roshanavand has quit [Remote host closed the connection]
Rodya_ has joined #ruby
hamed_r has quit [Quit: Leaving]
skweek has joined #ruby
PhoenixBird_ has joined #ruby
jottr_ has joined #ruby
Guest87153 is now known as BLuEGoD
rdark has quit [Ping timeout: 250 seconds]
BLuEGoD is now known as Guest78780
x77686d has joined #ruby
B1n4r10 has joined #ruby
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 248 seconds]
last_staff has joined #ruby
Sucks has quit [Ping timeout: 240 seconds]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
codecop has quit [Ping timeout: 244 seconds]
stannard_ has joined #ruby
stannard has quit [Read error: Connection reset by peer]
<conrfrmn> Im on osx and cant get rbenv to change my ruby version. I do $ rbenv install 2.3.0, $ rbenv global 2.3.0, $ rbenv rehash, but it doensn't work am I missing something?
elcontrastador has joined #ruby
BSaboia has joined #ruby
bronson has joined #ruby
skweek has quit [Ping timeout: 250 seconds]
kirillzh has joined #ruby
bruce__lee is now known as bruce_lee
aef has quit [Remote host closed the connection]
<xapak> conrfrmn, you sure rbenv is loaded to the PATH? Do: echo $PATH
B3rg3lm1r has joined #ruby
<xapak> ~HOME/.rbenv/shims should be one of the most to the left.
B3rg3lm1r has quit [Max SendQ exceeded]
ruby-lang272 has joined #ruby
krz has quit [Ping timeout: 248 seconds]
jtnegrotto has quit [Read error: Connection reset by peer]
gizmore has joined #ruby
platzhirsch has left #ruby [#ruby]
B3rg3lm1r has joined #ruby
karapetyan has joined #ruby
marxarelli is now known as marxarelli|afk
chipotle has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
william3 has quit [Remote host closed the connection]
ruby-lang272 has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kirillzh has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
<PhoenixBird_> conrfrmn , I use following entry in .bashrc on kubuntu # Added for rbenv
<PhoenixBird_> export RBENV_ROOT="$HOME/Ruby/rbenv"
<PhoenixBird_> export PATH="$RBENV_ROOT/bin:$PATH"
<PhoenixBird_> export RBENV_VERSION=2.2.3
<PhoenixBird_> eval "$(rbenv init -)"
freerobby has joined #ruby
codecop has joined #ruby
PhoenixBird_ has left #ruby [#ruby]
timwis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
william3 has joined #ruby
chouhoulis has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
chouhoulis has joined #ruby
dajobat has joined #ruby
dajobat has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
pdoherty has joined #ruby
jottr has joined #ruby
william3 has quit [Ping timeout: 255 seconds]
Youngmathimus0 has quit [Ping timeout: 240 seconds]
openstruct has joined #ruby
openstruct has joined #ruby
trinaldi has quit [Quit: gotta go!]
marxarelli|afk is now known as marxarelli
robbyoconnor has quit [Remote host closed the connection]
ss_much has quit [Quit: Connection closed for inactivity]
robbyoconnor has joined #ruby
jottr_ has quit [Ping timeout: 276 seconds]
Youngmathimus0 has joined #ruby
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
DanKnox has joined #ruby
DanKnox_ has joined #ruby
yardenbar has joined #ruby
aegis3121 has quit [Ping timeout: 276 seconds]
jottr has quit [Ping timeout: 240 seconds]
joast has quit [Quit: Leaving.]
joast has joined #ruby
william3 has joined #ruby
chipotle has quit [Quit: cheerio]
sgambino has quit [Read error: Connection reset by peer]
william3 has quit [Remote host closed the connection]
roshanavand has joined #ruby
william3 has joined #ruby
dmolina has joined #ruby
f4cl3y has quit [Ping timeout: 264 seconds]
timwis has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
zackzorman has quit [Ping timeout: 240 seconds]
jackjackdripper has joined #ruby
betafive has quit [Read error: Connection reset by peer]
charlemagne has quit [Read error: Connection reset by peer]
siaw has joined #ruby
<x77686d> after doing 'irb -r ./x' I'd like to be able to edit x.rb and then reload inside irb. I see that __FILE__ is "(irb)". Is there a way to get the name of the file specified with -r so I could load it again?
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
<ironcamel> p seems to print to stdout. is there an easy way to get it to go to stderr?
<drbrain> ironcamel: $stderr = $stdout
charlemagne has joined #ruby
<drbrain> x77686d: it will be in $LOADED_FEATURES
<ironcamel> oh i guess i can STDERR.puts foo.inspect
yardenbar has quit [Ping timeout: 250 seconds]
<drbrain> x77686d: there's code in active_support that does this kind of thing, but I'm not sure where it is or how easy it is to extract
<havenwood> ironcamel: Or if you want to respect warning level optinos: warn {}.inspect
<x77686d> drbrain: thanks!
mhoungbo has quit [Ping timeout: 244 seconds]
azure32 has joined #ruby
<drbrain> x77686d: I think pry might have this as a feature (an irb alternative)
bluOxigen has quit [Ping timeout: 248 seconds]
<drbrain> I think someone else here will be able to correct me/confirm that ↑
kirun has joined #ruby
timwis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JDiPierro has quit [Read error: Connection reset by peer]
JDiPierro has joined #ruby
zackzorman has joined #ruby
baweaver has joined #ruby
jam_ has joined #ruby
bluethundr has joined #ruby
<bluethundr> hey guys
<bluethundr> I'm trying to install the ruby-debug gem but I'm running into an error
<bluethundr> anyone know a way to get out of this hole? thanks
rakm_ has joined #ruby
dlitvak_ has quit [Remote host closed the connection]
zast has quit [Remote host closed the connection]
jam_ has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
rakm has quit [Ping timeout: 276 seconds]
<hanmac> havenwood: did you checkout https://github.com/Hanmac/rpg_gamedata yet? i try again to make rpg scripting stuff
timwis has joined #ruby
<havenwood> hanmac: nope, i hadn't - will do!
yardenbar has joined #ruby
<hanmac> it has no readme or test-cases yet, but it did a fresh start
askhat has joined #ruby
ohaibbq has quit [Remote host closed the connection]
dlitvak has joined #ruby
tildes has quit [Ping timeout: 240 seconds]
Jokkk has joined #ruby
elaptics is now known as elaptics`away
Dimik has joined #ruby
<pizzaops> Why doesn't this return something wrapped in double-braces? https://gist.github.com/
<pizzaops> Since I'm wrapping the intiial memo in [], and that happens with each "iteration" shouldn't i end up with wierdness
FooMunki has quit [Quit: FooMunki]
xapak has left #ruby [#ruby]
<baweaver> !xy
<baweaver> ?xy
<ruby[bot]> it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
FooMunki has joined #ruby
<pizzaops> I know that.
<pizzaops> I'm just curious, syntactically.
rakm has joined #ruby
ur5us has joined #ruby
<pizzaops> I actually already have a solution to my "real" problem.
<baweaver> because you're returning an array
tildes has joined #ruby
<drbrain> bluethundr: gem install ruby-debug:0.10.4
musl has quit [Read error: Connection reset by peer]
<drbrain> bluethundr: and report a bug to ruby-debug with your `gem install` and `gem env` output
sts has quit [Ping timeout: 248 seconds]
perlgod has joined #ruby
<pizzaops> baweaver: I know I'm doing that, but if I'm wrapping each memo in [] for each iteration shouldnt i end up with arrays inside arrays
sts has joined #ruby
idefine has joined #ruby
sts is now known as Guest35894
<baweaver> put a few puts to show you what the memo and iterator are
rakm_ has quit [Ping timeout: 276 seconds]
sandstrom has quit [Ping timeout: 240 seconds]
Guest78780 is now known as BLuEGoD
BLuEGoD is now known as Guest50777
<pizzaops> mm fair enough, thanks
<baweaver> the initial memo is the first element unless you provide one
ta_ has joined #ruby
<baweaver> so you have two hashes
anisha has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
JohnBat26 has joined #ruby
<pizzaops> Yeah, but on the second iteration I would expect it to be [[firstmemo]] + [nexthash]
srenatus has quit [Quit: Connection closed for inactivity]
dlitvak has quit [Remote host closed the connection]
<baweaver> except there is none
<baweaver> add a third element
treehug88 has joined #ruby
<baweaver> with two elements it executes once
devbug has joined #ruby
<baweaver> the first element being the memo and the second being the iterator
raddazong has joined #ruby
arup___ has joined #ruby
mdw has joined #ruby
musl has joined #ruby
dfockler has joined #ruby
cdg has quit [Remote host closed the connection]
yardenbar has quit [Ping timeout: 240 seconds]
<tvsutton> Perhaps someone can help me figure out if I'm using this invoking this method correctly:
<tvsutton> Gem.install('xcode-install', options: { :user_install => true })
<tvsutton> Gem.install('xcode-install') does what I'd expect and attempts to install the Gem to the default site dir
B3rg3lm1r has quit [Read error: Connection reset by peer]
<tvsutton> I'm trying to set an option that's the equivalent of `gem install --user-install` but directly from Ruby
<arup___> say I have "D" now, from this I want to print by 2 letters behind the `D` as "A".. What is neat way ?
<arup___> sorry, `B`, not `A`
chipotle has joined #ruby
idefine has joined #ruby
yardenbar has joined #ruby
<drbrain> tvsutton: I think you want Gem.install 'xcode-install', user_install: true
Xeago has quit [Remote host closed the connection]
zacstewart has quit [Ping timeout: 248 seconds]
zeroDivisible has joined #ruby
<tvsutton> I tried that as well, no luck.
karapetyan has joined #ruby
<ironcamel> i'm trying to find the index of the first occurrence of an item in an array, starting after a given index. what is the best way to do this? should i take a slice and call .first_index on that?
<ironcamel> foo[3..].first_index('bar')
<drbrain> tvsutton: maybe Gem.install 'xcode-install', '>= 0', user_install: true ?
<tvsutton> drbrain: ah, got it. I'm on 2.0.0, which doesn't support an options hash at all :(
<drbrain> ha!
<tvsutton> I was looking at docs with Dash, which has 2.3.0
dlitvak has joined #ruby
<drbrain> 2.5.2(?) is latest
<ironcamel> related question, how can i take a slice of an array from a given starting point all the way to the end, f[3..]
<tvsutton> What I'm actually looking to do is programatically ensure within a Rakefile that a specific gem version is installed in the user's gems dir
sandstrom has joined #ruby
codecop has quit [Quit: Išeinu]
<baweaver> >> [1,2,3,4,5][3..-1]
<ruby[bot]> baweaver: # => [4, 5] (https://eval.in/521267)
<baweaver> >> [1,2,3,4,5][2..-2]
<ruby[bot]> baweaver: # => [3, 4] (https://eval.in/521268)
<tvsutton> I can do this with shell code, just hoped that I could do it a bit more efficiently directly using Gem in Ruby
musl has quit [Quit: WeeChat 1.3]
musl has joined #ruby
FernandoBasso has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
idefine has quit [Ping timeout: 240 seconds]
voobscout has joined #ruby
Cohedrin has joined #ruby
Youngmathimus0 has quit [Ping timeout: 240 seconds]
kent\n has quit [Read error: Connection reset by peer]
<ironcamel> thanks baweaver
voobscout has quit [Client Quit]
rakm_ has joined #ruby
baweaver has quit [Remote host closed the connection]
roshanavand has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
rakm has quit [Ping timeout: 255 seconds]
idefine has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
freerobby has quit [Quit: Leaving.]
idefine has quit [Remote host closed the connection]
zeroDivisible has joined #ruby
graudify has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
<graudify> is there any way to imitate `--data-binary` with net/http?
hxegon is now known as hxegon_AFK
flughafen_ has joined #ruby
william3 has quit [Remote host closed the connection]
rakm has joined #ruby
sgambino has joined #ruby
idefine has joined #ruby
marxarelli has joined #ruby
<drbrain> graudify: just put the binary data in the post body
rakm has quit [Max SendQ exceeded]
jackjackdripper has quit [Quit: Leaving.]
<drbrain> you might need to set the appropriate content-type too
jackjackdripper has joined #ruby
marxarelli is now known as marxarelli|afk
rakm has joined #ruby
voobscout has joined #ruby
<graudify> nice, thanks drbrain
rakm_ has quit [Ping timeout: 248 seconds]
voobscout has quit [Remote host closed the connection]
xrlabs has quit [Ping timeout: 276 seconds]
dionysus69 has quit [Ping timeout: 276 seconds]
HammyJammy has joined #ruby
idefine has quit [Remote host closed the connection]
wmdrossard has joined #ruby
idefine has joined #ruby
voobscout has joined #ruby
Don_John_ has joined #ruby
marxarelli|afk is now known as marxarelli
chipotle_ has joined #ruby
wmdrossard has quit [Client Quit]
Tempesta_ has joined #ruby
stannard has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
wmdrossard has joined #ruby
zenspider_ has joined #ruby
Insti has joined #ruby
veloutin_ has joined #ruby
stryek_ has joined #ruby
junior1 has joined #ruby
Meeh_ has joined #ruby
helpa-bot has joined #ruby
xrlabs has joined #ruby
janno_ has joined #ruby
kiki_lam1 has joined #ruby
Raboo_ has joined #ruby
adeponte has joined #ruby
^raz^ has joined #ruby
jtoy_ has joined #ruby
eam_ has joined #ruby
codyc has joined #ruby
rfi_ has joined #ruby
janelleb_ has joined #ruby
ereslibre_laptop has joined #ruby
ereslibre_laptop has joined #ruby
p0p0pr37 has quit [Read error: Connection reset by peer]
stannard_ has quit [Read error: Connection reset by peer]
shtirlic has quit [Ping timeout: 255 seconds]
helpa has quit [Ping timeout: 255 seconds]
WebDawg has quit [Ping timeout: 255 seconds]
EdwardIII has quit [Ping timeout: 255 seconds]
joeyjones has quit [Ping timeout: 255 seconds]
Platini has quit [Ping timeout: 255 seconds]
veloutin has quit [Ping timeout: 255 seconds]
janno has quit [Ping timeout: 255 seconds]
akkad has quit [Ping timeout: 255 seconds]
chipotle has quit [Ping timeout: 255 seconds]
Raboo has quit [Ping timeout: 255 seconds]
juniorism has quit [Ping timeout: 255 seconds]
stryek has quit [Ping timeout: 255 seconds]
dfoolz has quit [Ping timeout: 255 seconds]
kiki_lamb has quit [Ping timeout: 255 seconds]
quarcu has quit [Ping timeout: 255 seconds]
adam^ has quit [Ping timeout: 255 seconds]
yardenbar has quit [Ping timeout: 255 seconds]
Don_John has quit [Ping timeout: 255 seconds]
ping-pong has quit [Ping timeout: 255 seconds]
JammyHammy has quit [Ping timeout: 255 seconds]
Timberwo|f has quit [Ping timeout: 255 seconds]
Tempesta has quit [Ping timeout: 255 seconds]
whiteline has quit [Ping timeout: 255 seconds]
wedgwood has quit [Ping timeout: 255 seconds]
ixti has quit [Ping timeout: 255 seconds]
rfi has quit [Ping timeout: 255 seconds]
ereslibre has quit [Ping timeout: 255 seconds]
jtoy has quit [Ping timeout: 255 seconds]
Rush has quit [Ping timeout: 255 seconds]
cyphactor has quit [Ping timeout: 255 seconds]
nitrix has quit [Ping timeout: 255 seconds]
papercode has quit [Ping timeout: 255 seconds]
raz has quit [Ping timeout: 255 seconds]
janelleb has quit [Ping timeout: 255 seconds]
eam has quit [Ping timeout: 255 seconds]
NfNitLoop has quit [Ping timeout: 255 seconds]
Meeh has quit [Ping timeout: 255 seconds]
zenspider has quit [Ping timeout: 255 seconds]
edulix has quit [Read error: Connection reset by peer]
maikowblue has quit [Ping timeout: 255 seconds]
nogic has quit [Ping timeout: 255 seconds]
herminiotorres has quit [Ping timeout: 255 seconds]
Shaboum has quit [Ping timeout: 255 seconds]
yonatankoren has quit [Ping timeout: 255 seconds]
jazzonmymind has quit [Ping timeout: 255 seconds]
jzigmund has quit [Ping timeout: 255 seconds]
rodfersou has quit [Quit: leaving]
isomorphismes has quit [Ping timeout: 255 seconds]
Raboo_ is now known as Raboo
joeyjones has joined #ruby
papercode has joined #ruby
^raz^ is now known as raz
raz has quit [Changing host]
raz has joined #ruby
dfoolz has joined #ruby
joast has quit [Ping timeout: 255 seconds]
WebDawg has joined #ruby
EdwardIII has joined #ruby
quarcu has joined #ruby
platzhirsch has joined #ruby
whiteline has joined #ruby
Shaboum has joined #ruby
adam_ has joined #ruby
edulix has joined #ruby
jzigmund has joined #ruby
jazzonmymind has joined #ruby
isomorphismes has joined #ruby
Guest6991 has joined #ruby
akkad has joined #ruby
symm- has joined #ruby
ping-pong has joined #ruby
anisha has quit [Quit: Leaving]
Platini has joined #ruby
Rush has joined #ruby
nogic has joined #ruby
DanKnox_ has quit [Ping timeout: 244 seconds]
DanKnox has quit [Ping timeout: 240 seconds]
yo61 has quit [Ping timeout: 265 seconds]
im0b has quit [Ping timeout: 265 seconds]
dlitvak has quit [Remote host closed the connection]
ohaibbq has joined #ruby
adambeynon has quit [Ping timeout: 265 seconds]
angiebadillo has quit [Ping timeout: 250 seconds]
jlyndon has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
angiebadillo has joined #ruby
jimeh has quit [Ping timeout: 265 seconds]
deepak has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
im0b has joined #ruby
jlyndon has joined #ruby
jimeh has joined #ruby
joast has joined #ruby
avdi has quit [Ping timeout: 265 seconds]
tejasmanohar has quit [Ping timeout: 265 seconds]
avdi has joined #ruby
adambeynon has joined #ruby
spider-mario has joined #ruby
tejasmanohar has joined #ruby
yo61 has joined #ruby
wprice has quit [Ping timeout: 244 seconds]
deepak has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wprice has joined #ruby
ohaibbq has quit [Ping timeout: 250 seconds]
xrlabs has quit [Quit: This computer has gone to sleep]
yqt has joined #ruby
dlitvak has joined #ruby
last_staff has quit [Quit: last_staff]
yardenbar has joined #ruby
Deck` has joined #ruby
DanKnox has joined #ruby
DanKnox_ has joined #ruby
andrewvos has joined #ruby
ixti has joined #ruby
hxegon_AFK is now known as hxegon
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
mhoungbo has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
<tvsutton> going a little further down the rabbit hole: OS X (still) ships with RubyGems 2.0.14. If I don't first update it to the latest with `gem update --system`, I can't do `Gem::Installer.new`, even though the Gem::Installer class seems to be present in the System's Ruby 2.0.0 dir within the rubygems lib.
voobscout has quit [Quit: bye]
<drbrain> tvsutton: can't do = ? did you require it?
<tvsutton> I get "uninitialized constant Gem::Installer (NameError)"
<drbrain> tvsutton: also, you should use Gem::DependencyInstaller (which also installs dependencies)
<drbrain> require 'rubygems/dependency_installer' to bring it in
DEA7TH has quit [Quit: DEA7TH]
<tvsutton> Hm, thanks
<tvsutton> I'll try that one
<drbrain> it isn't loaded by default because it pulls in features that you don't need most of the time
SenpaiSilver has joined #ruby
<tvsutton> I see, ok. But it seems I don't need to explicitly require 'rubygems/installer' for the latest rubygems version
idefine has quit [Remote host closed the connection]
eregi_ has joined #ruby
xrlabs has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SenpaiSilver has quit [Max SendQ exceeded]
eregi has quit [Read error: Connection reset by peer]
dlitvak has quit [Remote host closed the connection]
x77686d has quit [Quit: x77686d]
aegis3121 has joined #ruby
SenpaiSilver has joined #ruby
SenpaiSilver has quit [Max SendQ exceeded]
goodcodeguy has joined #ruby
BSaboia has quit [Read error: Connection reset by peer]
umdstu has quit [Ping timeout: 252 seconds]
Guest50777 is now known as BLuEGoD
<tvsutton> Thanks for the tip - I totally didn't realize I'd need to import the sub-components
BLuEGoD is now known as Guest1304
azure32 has quit [Ping timeout: 244 seconds]
voobscout has joined #ruby
yardenbar has quit [Ping timeout: 276 seconds]
hayden_ has quit [Quit: Connection closed for inactivity]
tildes has quit [Ping timeout: 248 seconds]
maletor has quit [Ping timeout: 240 seconds]
Channel6 has joined #ruby
idefine has joined #ruby
stannard has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
arup___ has left #ruby [#ruby]
idefine has joined #ruby
stannard has joined #ruby
baweaver has joined #ruby
BSaboia has joined #ruby
chouhoul_ has joined #ruby
dfockler has quit [Ping timeout: 250 seconds]
raddazong has quit [Changing host]
raddazong has joined #ruby
mhoungbo has quit [Ping timeout: 248 seconds]
raddazong is now known as madhatter
william3 has quit [Remote host closed the connection]
chouhou__ has joined #ruby
nofacade has quit [Ping timeout: 248 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
casadei has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
<graudify> drbrain: req.body worked perfectly. thanks
baweaver has quit [Ping timeout: 250 seconds]
chouhoul_ has quit [Ping timeout: 240 seconds]
x77686d has joined #ruby
yardenbar has joined #ruby
graudify has quit [Quit: Page closed]
charlemagne has quit [Remote host closed the connection]
charlemagne has joined #ruby
loveablelobster has joined #ruby
blackgoat has joined #ruby
casadei has joined #ruby
ldnunes has quit [Quit: Leaving]
_djbkd has quit [Remote host closed the connection]
clamstar has quit [Quit: ZNC - http://znc.in]
loveablelobster has quit [Client Quit]
BrunoSaboia has joined #ruby
charlemagne has quit [Ping timeout: 255 seconds]
kent\n has joined #ruby
mhoungbo has joined #ruby
tyil has left #ruby ["system has died"]
BSaboia has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
infra-re_ has joined #ruby
sandstrom has joined #ruby
marxarelli is now known as marxarelli|afk
infra-red has quit [Ping timeout: 240 seconds]
clamstar has joined #ruby
idefine has joined #ruby
voobscout has left #ruby ["ERC (IRC client for Emacs 24.5.1)"]
freerobby has joined #ruby
pawnbox has quit [Ping timeout: 255 seconds]
potsmoker has joined #ruby
baweaver has joined #ruby
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
william3 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Silox| has quit [Quit: Connection closed for inactivity]
idefine has quit [Ping timeout: 248 seconds]
GinoManWorks has joined #ruby
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
JDiPierro has quit [Remote host closed the connection]
FooMunki has quit [Quit: FooMunki]
dubek has quit [Ping timeout: 240 seconds]
FooMunki has joined #ruby
Guest38 has joined #ruby
william3 has quit [Ping timeout: 240 seconds]
Youngmathimus0 has joined #ruby
Rodya_ has quit [Remote host closed the connection]
konr has joined #ruby
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
johnmilton has quit [Quit: Namaste]
_ht has quit [Quit: Konversation terminated!]
Guest38 has quit [Client Quit]
flughafen_ has quit [Ping timeout: 250 seconds]
Jokkk has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
Jokkk has joined #ruby
jackjackdripper has quit [Ping timeout: 240 seconds]
jackjackdripper has joined #ruby
ohaibbq has joined #ruby
firstdayonthejob has joined #ruby
patchedmonkey has joined #ruby
mdw has quit [Ping timeout: 240 seconds]
potsmoker is now known as potsmoker3
mhoungbo has quit [Ping timeout: 276 seconds]
idefine has joined #ruby
crowell has quit [Ping timeout: 240 seconds]
UserInNeed is now known as PlsHelpMe
mary5030 has quit [Remote host closed the connection]
timwis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crowell has joined #ruby
rehat_ has joined #ruby
idefine has quit [Remote host closed the connection]
Shaboum has quit [Quit: WeeChat 1.4]
idefine has joined #ruby
jam_ has joined #ruby
theery has joined #ruby
karapetyan has joined #ruby
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
patchedmonkey has joined #ruby
_djbkd has joined #ruby
idefine has quit [Remote host closed the connection]
chouhou__ has quit [Remote host closed the connection]
jam_ has quit [Ping timeout: 244 seconds]
cdg has joined #ruby
patchedmonkey has quit [Client Quit]
karapetyan has quit [Ping timeout: 250 seconds]
azure32 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
pawnbox has joined #ruby
chouhoul_ has joined #ruby
swills has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
TomyLobo has joined #ruby
idefine has joined #ruby
s00pcan has quit [Remote host closed the connection]
charlemagne has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
mwlang has quit [Quit: mwlang]
tomaz_b has joined #ruby
PedramT has joined #ruby
doublemalt_ has joined #ruby
pawnbox has quit [Ping timeout: 255 seconds]
Rodya_ has joined #ruby
s00pcan has joined #ruby
patchedmonkey has joined #ruby
idefine has quit [Read error: Connection reset by peer]
mhoungbo has joined #ruby
s00pcan has quit [Remote host closed the connection]
DoubleMalt has quit [Ping timeout: 265 seconds]
helpa-bot has quit [Remote host closed the connection]
helpa has joined #ruby
s00pcan has joined #ruby
platzhirsch has left #ruby [#ruby]
Guest1304 is now known as BLuEGoD
idefine has joined #ruby
fullofcaffeine has joined #ruby
BLuEGoD is now known as Guest52944
s00pcan has quit [Remote host closed the connection]
<daxroc> Evening
codyc is now known as NfNitLoop
s00pcan has joined #ruby
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rodya_ has quit [Remote host closed the connection]
tvw has joined #ruby
patchedmonkey has joined #ruby
<daxroc> Should you test for attribute URI being an http or https ? not sure the best approach for this
<daxroc> of type URI::HTTP||HTTPS
openstruct has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
Rodya_ has joined #ruby
maxiu has joined #ruby
n00bdev has joined #ruby
idefine has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
theery_ has joined #ruby
devbug has quit [Ping timeout: 250 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rodya_ has quit [Remote host closed the connection]
xrlabs has quit [Quit: This computer has gone to sleep]
sgambino has joined #ruby
infra-re_ has quit [Remote host closed the connection]
gustavohmsilva has joined #ruby
idefine has quit [Remote host closed the connection]
duckpupp1 has quit [Quit: WeeChat 1.4]
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
theery has quit [Ping timeout: 248 seconds]
patchedmonkey has joined #ruby
decoponio has quit [Quit: Leaving...]
B1n4r10 has quit [Ping timeout: 244 seconds]
devbug has joined #ruby
zackzorman has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
idefine has joined #ruby
Rodya_ has joined #ruby
Rickmasta has joined #ruby
skade has joined #ruby
Pumukel has quit [Client Quit]
infra-red has joined #ruby
dlitvak has joined #ruby
devbug has quit [Remote host closed the connection]
devbug has joined #ruby
darkf has joined #ruby
yardenbar has quit [Ping timeout: 250 seconds]
stevemackinnon has joined #ruby
zackzorman has joined #ruby
nemesit|znc has quit [Quit: quit]
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
avenj has quit [Ping timeout: 240 seconds]
duckpuppy has joined #ruby
marxarelli has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
gizmore has quit [Ping timeout: 276 seconds]
trinaldi has joined #ruby
pawnbox has joined #ruby
rbennacer has joined #ruby
idefine has quit [Remote host closed the connection]
nfk has joined #ruby
tubulife- has joined #ruby
<drbrain> daxroc: I check uri.scheme.downcase
idefine has joined #ruby
PedramT has quit [Remote host closed the connection]
sideshowcoder has quit [Ping timeout: 240 seconds]
ebertx has quit [Ping timeout: 240 seconds]
charlemagne has quit [Remote host closed the connection]
sideshowcoder has joined #ruby
charlemagne has joined #ruby
htmldrum has joined #ruby
ebertx has joined #ruby
karapetyan has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
krobzaur has quit [Quit: WeeChat 0.4.2]
rbennacer has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
swills has joined #ruby
wwwbukolaycom has joined #ruby
n00bdev has quit []
william3 has joined #ruby
<haylon> Is it possible to do a #{} substitution with single quotes?
<bnagy> no
swills has quit [Remote host closed the connection]
charlemagne has quit [Ping timeout: 276 seconds]
<haylon> GAR!! because this gem freaks out when I use double quotes with my password and the characters in it.
patchedmonkey has quit [Quit: Textual IRC Client: www.textualapp.com]
<bnagy> sounds like an escaping problem
allcentury has quit [Ping timeout: 248 seconds]
<bnagy> >> "\n".bytesize # for example
<ruby[bot]> bnagy: # => 1 (https://eval.in/521331)
tjohnson has quit [Quit: Connection closed for inactivity]
karapetyan has quit [Ping timeout: 250 seconds]
<drbrain> >> %Q(some string #{with_interpolation} and "double" quotes)
<ruby[bot]> drbrain: # => undefined local variable or method `with_interpolation' for main:Object (NameError) ...check link for more (https://eval.in/521332)
<haylon> bnagy, I'm sure there's an issue with the RubyGem itself as well.
<drbrain> haylon: ↑
<haylon> drbrain, I like that, I'll look into that.
<drbrain> … use %Q(string goes "here")
<haylon> thank you
<bnagy> you'll still have to escape backslashes though
idefine has quit [Remote host closed the connection]
<haylon> That's fine, I think I can work with that
william3 has quit [Ping timeout: 248 seconds]
smeagol has joined #ruby
<smeagol> exit
<smeagol> exit
smeagol has quit [Client Quit]
yardenbar has joined #ruby
swills has joined #ruby
<haylon> lol, I did that yesterday
<haylon> using a command line client eh?
idefine has joined #ruby
mary5030 has joined #ruby
Domaldel has quit [Quit: Leaving]
idefine has quit [Remote host closed the connection]
rbennacer has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
nemesit|znc has joined #ruby
idefine has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
roshanavand has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
infra-red has quit [Remote host closed the connection]
roshanavand has joined #ruby
rbennacer has quit [Ping timeout: 255 seconds]
karapetyan has joined #ruby
VeryBewitching has quit [Quit: Konversation terminated!]
duckpuppy has quit [Ping timeout: 255 seconds]
haylon has left #ruby ["WeeChat 1.4"]
idefine has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 240 seconds]
perlgod has quit [Quit: Textual IRC Client: www.textualapp.com]
pdev_memories has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
einarj has joined #ruby
BraddPitt is now known as strongcode
myntcake has quit [Quit: Leaving]
arthropododo has quit [Quit: Leaving]
mondok has joined #ruby
myntcake has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
Xeago has joined #ruby
x77686d has quit [Quit: x77686d]
<strongcode> what is the ruby on rails freenode channel?
podman has joined #ruby
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
PedramT has joined #ruby
chipotle_ has quit [Quit: cheerio]
pawnbox has joined #ruby
idefine has joined #ruby
<drbrain> ?ror
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
<strongcode> grat, thank you
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elifoster has joined #ruby
beanHolez has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 240 seconds]
FernandoBasso has quit [Quit: Leaving]
ramortegui has quit [Quit: Ex-Chat]
CloCkWeRX has joined #ruby
rcvalle has quit [Quit: rcvalle]
sgambino has joined #ruby
saneax_AFK is now known as saneax
smeagol has joined #ruby
rcvalle has joined #ruby
solocshaw has joined #ruby
volty has joined #ruby
yfeldblum has joined #ruby
smeagol has quit [Quit: WeeChat 1.4]
Guest52944 is now known as BLuEGoD
polishdub has quit [Quit: Leaving]
BLuEGoD is now known as Guest27825
theery_ has quit []
marxarelli is now known as marxarelli|afk
casadei has quit [Remote host closed the connection]
dfockler has joined #ruby
ferr has joined #ruby
Rodya_ has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
chipotle has quit [Client Quit]
einarj has quit [Ping timeout: 276 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
einarj has joined #ruby
pibby has joined #ruby
postmodern has joined #ruby
<postmodern> what is the defacto naming convention for API clients? Foo::API? Foo::Client? Foo::API::Client?
zenlot1 has quit [Ping timeout: 250 seconds]
ocbtec has quit [Quit: leaving]
siaw has quit [Quit: siaw]
aegis3121 has quit [Ping timeout: 255 seconds]
zenlot1 has joined #ruby
einarj has quit [Read error: Connection reset by peer]
einarj_ has joined #ruby
solars has quit [Ping timeout: 250 seconds]
baweaver has quit [Remote host closed the connection]
siaw has joined #ruby
Deck` has quit [Ping timeout: 244 seconds]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomaz_b has quit [Ping timeout: 240 seconds]
wmdrossard has quit [Quit: Lost terminal]
norc_ has joined #ruby
<Radar> postmodern: Foo::API
siaw has quit [Client Quit]
myntcake has quit [Quit: Leaving]
BrunoSaboia has quit [Ping timeout: 240 seconds]
norc__ has quit [Ping timeout: 240 seconds]
Coldblackice has joined #ruby
solocshaw has quit [Ping timeout: 240 seconds]
<postmodern> Radar, and should i name the gem foo-api, or squat "foo"?
DanKnox_ has quit [Ping timeout: 255 seconds]
marxarelli|afk is now known as marxarelli
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marxarelli is now known as marxarelli|afk
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rodya_ has joined #ruby
DanKnox has quit [Ping timeout: 255 seconds]
<Radar> postmodern: hm, tough. I have an argument for each.
marxarelli|afk is now known as marxarelli
<Radar> is it for a third party?
goodcodeguy has joined #ruby
saneax is now known as saneax_AFK
x77686d has joined #ruby
<postmodern> Radar, yep 3rd party service, no ruby client currently exists
pawnbox has joined #ruby
<pizzaops> So when I require this code from somwhere — https://gist.github.com/pizzaops/f1c5eb2728e5124c2716 — e.g. require 'wilhelm/project/list', prior to trying to create an instance of the class inside, the error "Project is not a module" is returned. And that's true. There's a Wilhelm::Project class. But I still want to refer to this class here as
<pizzaops> Wilhelm::Project::List for organization/namespacing purposes. Is there some way to do that?
<Radar> postmodern: I think squatting the name is fine.
<postmodern> pizzaops, change `module Project` to `class Project`?
<pizzaops> postmodern: for some reason I just didn't think I could do that.
<pizzaops> snce i already haev a class project
rakm has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
einarj has joined #ruby
einarj_ has quit [Ping timeout: 240 seconds]
dhollinger has quit [Quit: WeeChat 1.4]
william3 has joined #ruby
PlsHelpMe is now known as randomguy
randomguy is now known as talktome
talktome is now known as asdfadsf
Rodya_ has quit [Remote host closed the connection]
kies^ has quit [Ping timeout: 250 seconds]
sneakerhax has quit [Ping timeout: 276 seconds]
spider-mario has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 240 seconds]
asdfadsf is now known as PlsHelpMe
sandstrom has quit [Quit: My computer has gone to sleep.]
PlsHelpMe is now known as asdfadsf
PedramT has quit [Ping timeout: 244 seconds]
PedramT_ has joined #ruby
kirillzh has joined #ruby
vdamewood has joined #ruby
pdoherty has quit [Ping timeout: 276 seconds]
duckpuppy has joined #ruby
PedramT has joined #ruby
zackzorman has quit [Ping timeout: 244 seconds]
tubulife- has quit [Quit: ZNC - http://znc.in]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
loc22 has joined #ruby
decaff has quit [Quit: WeeChat 0.4.2]
PedramT_ has quit [Ping timeout: 240 seconds]
bluethundr has quit [Quit: Lost terminal]
asdfadsf is now known as [-_-]
blur3d has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
[-_-] is now known as [-__-]
einarj has quit [Remote host closed the connection]
baweaver has joined #ruby
Rodya_ has joined #ruby
DanKnox_ has joined #ruby
DanKnox has joined #ruby
jam_ has joined #ruby
Xeago has quit [Remote host closed the connection]
jam_ has quit [Ping timeout: 255 seconds]
andrewvos has quit [Ping timeout: 248 seconds]
robbyoconnor has joined #ruby
rdark has joined #ruby
rdark has joined #ruby
pawnbox has joined #ruby
kirun has quit [Quit: Client exiting]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ropeney has joined #ruby
[-__-] is now known as PlsHelpMe
PlsHelpMe is now known as [-__-]
<drbrain> o_O
floatingpoint has joined #ruby
[-__-] is now known as PlsHelpMe
PedramT_ has joined #ruby
PlsHelpMe is now known as [-__-]
pawnbox has quit [Ping timeout: 240 seconds]
bruce_lee has quit [Read error: Connection reset by peer]
<Radar> [-__-]: Can we help you with something?
PedramT has quit [Ping timeout: 244 seconds]
allcentury has joined #ruby
<[-__-]> sory
<[-__-]> sorry*
<[-__-]> that was a nick that i wanted to group
idefine has quit [Remote host closed the connection]
floatingpoint has quit [Client Quit]
marxarelli is now known as marxarelli|afk
p0p0pr37 has joined #ruby
juanpablo__ has quit [Quit: (null)]
PedramT_ has quit [Client Quit]
rdark has quit [Ping timeout: 244 seconds]
<pizzaops> postmodern: that did work btw. Thanks! I don't know why that wasn't obvious. Appreciate the help!
intrigueD has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest27825 is now known as BLuEGoD
mondok has quit [Ping timeout: 240 seconds]
BLuEGoD is now known as Guest13559
fmcgeough has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
mlehrer has quit [Remote host closed the connection]
blur3d has quit [Quit: blur3d]
toretore has joined #ruby
goodcodeguy has joined #ruby
dopamean1 has quit [Ping timeout: 250 seconds]
Deck` has joined #ruby
trinaldi has quit [Quit: zzz]
idefine has joined #ruby
Tharbakim has joined #ruby
azure32 has quit [Ping timeout: 248 seconds]
baweaver has quit [Remote host closed the connection]
Deck` has quit [Ping timeout: 248 seconds]
aegis3121 has joined #ruby
aegis312_ has joined #ruby
blackmesa has joined #ruby
avenj has joined #ruby
AndyBotwin has joined #ruby
Channel6 has quit [Quit: Leaving]
aegis3121 has quit [Ping timeout: 250 seconds]
bronson has quit [Remote host closed the connection]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nej has quit [Changing host]
nej has joined #ruby
nej is now known as ja
DanKnox_ has quit [Ping timeout: 244 seconds]
DanKnox has quit [Ping timeout: 244 seconds]
ur5us has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
baweaver has joined #ruby
yfeldblum has quit [Remote host closed the connection]