<rubydoc>
stderr: -e:4:in `<main>': undefined local variable or method `num' for main:Object (NameError)... check link for more (https://carc.in/#/r/87lc)
ro9erwilco has joined #ruby
sauvin has joined #ruby
crova has quit [Ping timeout: 245 seconds]
crova has joined #ruby
<rapha>
so little love for stored regular expressions :-(
* rapha
looks at /usr/bin/ruby with a sad and accusatory face
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ropeney has joined #ruby
ropeney_ has joined #ruby
NODE has quit [Quit: changing servers]
Technodrome has joined #ruby
NODE has joined #ruby
suukim has quit [Ping timeout: 248 seconds]
crova has quit [Ping timeout: 248 seconds]
crova has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
mike32 has joined #ruby
mike32 has left #ruby [#ruby]
NODE has quit [Client Quit]
NODE has joined #ruby
TCZ has joined #ruby
RiPuk_ has joined #ruby
RiPuk has quit [Ping timeout: 248 seconds]
bougyman_ has quit [Ping timeout: 250 seconds]
suukim has joined #ruby
devney has quit [Ping timeout: 246 seconds]
crova has quit [Ping timeout: 246 seconds]
crova has joined #ruby
TCZ has quit [Read error: Connection reset by peer]
TCZ has joined #ruby
TCZ has quit [Read error: Connection reset by peer]
TCZ has joined #ruby
conta has joined #ruby
bougyman has joined #ruby
sarink has joined #ruby
moonshine_ has quit [Quit: Leaving]
TCZ has quit [Quit: Bye Bye]
TCZ has joined #ruby
bougyman has quit [Ping timeout: 246 seconds]
sarink has quit [Ping timeout: 252 seconds]
conta1 has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
conta has quit [Ping timeout: 268 seconds]
infinityfye_ has joined #ruby
bvdw has joined #ruby
conta has joined #ruby
devney has joined #ruby
bougyman has joined #ruby
infinityfye has quit [Ping timeout: 246 seconds]
TCZ has quit [Read error: Connection reset by peer]
TCZ has joined #ruby
conta1 has quit [Ping timeout: 265 seconds]
crova has quit [Ping timeout: 246 seconds]
TomyLobo has quit [Quit: Leaving]
cgfbee has joined #ruby
TCZ has quit [Quit: Bye Bye]
TCZ has joined #ruby
romanblanco has quit [Ping timeout: 246 seconds]
ellcs has quit [Remote host closed the connection]
ellcs has joined #ruby
DarthGandalf has quit [Ping timeout: 250 seconds]
DarthGandalf has joined #ruby
ro9erwilco has quit [Remote host closed the connection]
conta has quit [Ping timeout: 265 seconds]
TCZ has quit [Quit: Bye Bye]
TCZ has joined #ruby
TCZ has quit [Client Quit]
cthulchu has quit [Read error: Connection reset by peer]
TCZ has joined #ruby
cthulchu has joined #ruby
cthulchu_ has joined #ruby
TCZ has quit [Client Quit]
TCZ has joined #ruby
TCZ has quit [Client Quit]
TCZ has joined #ruby
ivette has joined #ruby
<ivette>
hi everybody
cthulchu has quit [Ping timeout: 248 seconds]
ivette has quit [Remote host closed the connection]
<TCZ>
hi
TCZ has quit [Read error: Connection reset by peer]
TCZ has joined #ruby
dviola has joined #ruby
svankmajer has joined #ruby
svankmajer has quit [Ping timeout: 265 seconds]
TCZ has quit [Quit: Bye Bye]
TCZ has joined #ruby
TCZ has quit [Client Quit]
balo_ is now known as balo
nickdopdop has joined #ruby
drincruz has joined #ruby
cthulchu has joined #ruby
nickdopdop has left #ruby [#ruby]
AJA4350 has joined #ruby
cthulchu_ has quit [Ping timeout: 248 seconds]
cthulchu has quit [Read error: Connection reset by peer]
svankmajer has joined #ruby
cthulchu has joined #ruby
svankmajer has quit [Ping timeout: 248 seconds]
crova has joined #ruby
ooheitooh has joined #ruby
andikr has quit [Remote host closed the connection]
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 268 seconds]
dionysus70 is now known as dionysus69
infinityfye has joined #ruby
infinityfye has quit [Client Quit]
infinityfye_ has quit [Ping timeout: 245 seconds]
schne1der has quit [Ping timeout: 268 seconds]
svankmajer has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.7]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
cthulchu_ has joined #ruby
cthulchu has quit [Ping timeout: 245 seconds]
DTZUZO has quit [Read error: Connection reset by peer]
DTZUZO has joined #ruby
ropeney has quit [Read error: Connection reset by peer]
ropeney_ has quit [Ping timeout: 246 seconds]
ropeney has joined #ruby
ropeney_ has joined #ruby
DaRock has quit [Ping timeout: 268 seconds]
crova has quit [Ping timeout: 268 seconds]
crova has joined #ruby
vondruch_ has joined #ruby
vondruch has quit [Ping timeout: 268 seconds]
vondruch_ is now known as vondruch
wallace_mu has joined #ruby
jacksoow has joined #ruby
crova has quit [Ping timeout: 248 seconds]
crova has joined #ruby
lucasb has joined #ruby
romanblanco has joined #ruby
crova has quit [Ping timeout: 252 seconds]
davidw has joined #ruby
davidw has joined #ruby
schne1der has joined #ruby
crova has joined #ruby
wallace_mu has quit [Remote host closed the connection]
cthulchu_ has quit [Read error: Connection reset by peer]
cthulchu_ has joined #ruby
cthulchu_ has quit [Read error: Connection reset by peer]
cthulchu_ has joined #ruby
howdoi has joined #ruby
akemrir has quit [Quit: WeeChat 2.6]
crova has quit [Read error: Connection reset by peer]
chalkmonster has joined #ruby
adam12_ is now known as adam12
adam12 is now known as Guest95748
Guest95748 is now known as adam12
akemrir has joined #ruby
crova has joined #ruby
sarink has joined #ruby
akemrir has quit [Quit: WeeChat 2.6]
akemrir has joined #ruby
svankmajer has quit [Quit: leaving]
crova has quit [Read error: Connection reset by peer]
<akem__>
Hi, is there a way to do something like 0.upto(10.0).step(0.1){ ... } ? so that it would iterate 0.1 per 0.1. I'm looking if there is some effective syntax for that. The best way to write that kind of code.
<akem__>
I know i can do it with a separate argument and changing the loop count, but i though there might a better syntax in the ruby world.
<akem__>
Ha ok, found it, it just X.step() ! great!
sarink has quit [Remote host closed the connection]
<akem__>
Is that normal that i got precision issues with that code:
<akem__>
I tought maybe it would round to the precision defined in the step, lets say i write "0.1" it will round to 1 number after the dot. Which it does apparently, but not all the time, that is very strange?
<akem__>
I guess, i'll have to use .round(x) all the time then.
drincruz has quit [Ping timeout: 265 seconds]
Esa_ has quit []
akemrir has quit [Quit: WeeChat 2.6]
<adam12>
I guess it depends on what you're doing with the value.
<skywalker>
dumb question: i have this gem A that requires gem B. but gem B is composed by a couple of files, and a .rb and a .jar that go inside /usr/share/ruby/vendor_ruby. the issue: gem A can't find gem B, because it is looking for a "complete gem" with a structure under /usr/local/share/gems/gems/. is this a normal issue?
sergioro has joined #ruby
<skywalker>
gem B is actually rubygem-facter, installed through a rpm
<erikh>
likely, the rpm is installing into the site path not the gems path
<erikh>
gem activation may miss it if it does that
<erikh>
try installing facter with the gem tool; see you get somewhere that way
<skywalker>
it does work if i install it through gem install
etupat has joined #ruby
<skywalker>
but, here in the company that is not suggested (i kind of understand - not duplicate gems all over the server)
<akem__>
havenwood, And for the first one i got:<main>': undefined method `produce' for Enumerator:Class (NoMethodError)
<skywalker>
i manually created a /usr/share/gems/specifications/facter-3.9.6.gemspec, and that "fixed" the issue
<havenwood>
akem__: I see the same on 2.5 and earlier. Weird.
<havenwood>
akem: Enumerator.produce is a 2.7 feature, so it's not out yet.
<skywalker>
but doesn't sound like a good approach. i wonder if i can use any variable in the gem env to make a better workaround
<akem__>
havenwood, Ha ok. Thx.
romanblanco has joined #ruby
ropeney- has joined #ruby
ropeney has quit [Ping timeout: 252 seconds]
jmcgnh has quit [Ping timeout: 265 seconds]
jmcgnh has joined #ruby
<skywalker>
so, this "gem B" is located by LOAD_PATH, but is not in GEM_PATH, cause it is just a .rb and a .jar. gem A is trying to locate it with a if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then.
<skywalker>
is there a way to move or create a symlink in a way that gem B will pass that gem A's check/locate?
<skywalker>
^that check is in gem A's gemspec
KeyJoo has quit [Quit: KeyJoo]
dionysus69 has joined #ruby
dkmueller has joined #ruby
cthulchu_ has joined #ruby
davispuh has joined #ruby
akem__ has quit [Quit: Leaving]
akemhp has joined #ruby
davidw has joined #ruby
Eiam_ is now known as Eiam
dionysus69 has quit [Ping timeout: 268 seconds]
crova has quit [Read error: No route to host]
jacksoow has quit [Quit: Saindo...]
turbo_choo has quit [Ping timeout: 265 seconds]
turbo_choo has joined #ruby
jacksoow has joined #ruby
william1 has quit [Ping timeout: 248 seconds]
gbristol_ is now known as gbristol
jinie has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
william1 has joined #ruby
Yxhuvud has quit [Read error: Connection reset by peer]
Yxhuvud has joined #ruby
romanblanco has quit [Ping timeout: 265 seconds]
dionysus69 has joined #ruby
duderonomy has joined #ruby
cjohnson_ is now known as cjohnson
MrCrackPotBob has quit [Quit: Leaving]
wildtrees has joined #ruby
rippa has joined #ruby
gix has joined #ruby
etupat has quit [Remote host closed the connection]
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
sarink_ has joined #ruby
crova has joined #ruby
crova has quit [Client Quit]
sarink has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
Technodrome has joined #ruby
TCZ has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
Fernando-Basso has joined #ruby
william1 has quit [Ping timeout: 252 seconds]
sarink_ has quit [Remote host closed the connection]
sarink has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
william1 has joined #ruby
canurabus has joined #ruby
<canurabus>
Hi all. I am looking for a good description of what "#" in a string does. Could someone point me to documentation as I don't really understand what's going on when I use it
<canurabus>
When I try to use that operator to convert a hash to a string, I get a bunch of backslashes added to the output...
canurabus has quit [Quit: Leaving]
dkmueller has quit [Quit: WeeChat 2.3]
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
sarink has quit [Remote host closed the connection]
etupat has quit [Ping timeout: 245 seconds]
sarink has joined #ruby
TCZ has quit [Quit: Bye Bye]
<leftylink>
ok don't stay to hear the answer, thats fine too
akemhp has joined #ruby
akemhp_ has joined #ruby
akemhp_ has quit [Remote host closed the connection]
sarink has quit [Ping timeout: 268 seconds]
sarink has joined #ruby
romanblanco has joined #ruby
phenom has quit [Ping timeout: 250 seconds]
TCZ has joined #ruby
dionysus69 has quit [Quit: dionysus69]
dionysus69 has joined #ruby
<adam12>
The new Rails test runner looks great. I just wish it wasn't so intwined with Rails.
jenrzzz has quit [Ping timeout: 248 seconds]
ropeney has quit [Ping timeout: 252 seconds]
ropeney_ has quit [Ping timeout: 268 seconds]
etupat has joined #ruby
etupat has quit [Ping timeout: 248 seconds]
bambanx has joined #ruby
etupat has joined #ruby
nfsnobody has quit [Ping timeout: 264 seconds]
phenom has joined #ruby
skx86 has joined #ruby
dviola has joined #ruby
dviola has left #ruby [#ruby]
gavlee has quit []
miah_ is now known as miah
romanblanco has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
itarato has joined #ruby
schne1der has quit [Ping timeout: 248 seconds]
nfsnobody has joined #ruby
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
romanblanco has joined #ruby
houhoulis has joined #ruby
mostlybadfly has joined #ruby
itarato has quit [Ping timeout: 268 seconds]
vondruch has quit [Ping timeout: 265 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
Nicmavr has joined #ruby
wallace_mu has quit [Ping timeout: 265 seconds]
william1 has quit [Ping timeout: 248 seconds]
DTZUZO has quit [Ping timeout: 246 seconds]
william1 has joined #ruby
DTZUZO has joined #ruby
mikecmpbll has joined #ruby
felixdacat has joined #ruby
DaRock has joined #ruby
Axy has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Mia has quit [Ping timeout: 245 seconds]
ellcs has joined #ruby
gdonald has quit [Quit: leaving]
CalimeroTeknik has quit [Ping timeout: 245 seconds]
gdonald has joined #ruby
CalimeroTeknik has joined #ruby
ur5us_ has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
GodFather has joined #ruby
Fernando-Basso has quit [Quit: Leaving]
d^sh_ has quit [Ping timeout: 246 seconds]
TCZ has quit [Quit: Bye Bye]
apt-get_ has left #ruby ["Leaving"]
ellcs has quit [Ping timeout: 245 seconds]
etupat has quit [Remote host closed the connection]