icole has quit [Remote host closed the connection]
SCommette has quit [Quit: SCommette]
atno__ has quit [Read error: Connection reset by peer]
jds__ has quit [Ping timeout: 255 seconds]
atno__ has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
atno__ has joined #ruby
<davidcelis>
i wish i knew ruby
postmodern has joined #ruby
tomku has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
caleb_io has joined #ruby
atno__ has joined #ruby
jenrzzz has joined #ruby
pkeni has quit [Read error: Operation timed out]
atno__ has quit [Read error: Connection reset by peer]
atno__ has joined #ruby
SCommette has joined #ruby
ebobby has quit [Quit: Leaving]
pu22l3r_ has quit [Remote host closed the connection]
matrixise has joined #ruby
havenn has quit [Remote host closed the connection]
medik has quit [Quit: medik has no reason]
brianpWins has quit [Quit: brianpWins]
Takehiro has quit [Remote host closed the connection]
tomku has quit [Ping timeout: 252 seconds]
havenn has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
atno__ has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
leonardorb has joined #ruby
SCommette has quit [Quit: SCommette]
workmad3 has quit [Ping timeout: 252 seconds]
atno__ has joined #ruby
lordnaz has joined #ruby
nignaztic has quit [Ping timeout: 240 seconds]
mercwithamouth has quit [Ping timeout: 264 seconds]
x82_nicole has quit [Quit: Computer has gone to sleep.]
Cicloid has quit [Remote host closed the connection]
havenn has quit [Ping timeout: 260 seconds]
atno__ has quit [Read error: Connection reset by peer]
apeiros_ has quit [Remote host closed the connection]
Averna1 has joined #ruby
savant has quit [Read error: Connection reset by peer]
atno__ has joined #ruby
savant has joined #ruby
Russell^^ has quit [Quit: Russell^^]
atno__ has quit [Read error: Connection reset by peer]
atno__ has joined #ruby
freakazoid0223 has quit [Quit: Leaving]
atno__ has quit [Read error: Connection reset by peer]
_jds has left #ruby [#ruby]
atno__ has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
havenn has joined #ruby
vasile has joined #ruby
atno__ has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
leonardorb has quit [Ping timeout: 240 seconds]
invisime has quit [Quit: Leaving.]
atno__ has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
digitalcakestudi has joined #ruby
atno__ has joined #ruby
seanstickle has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
mikepack has quit [Remote host closed the connection]
atno__ has joined #ruby
miso1337 has joined #ruby
Jasko2 has quit [Quit: Leaving]
davidcelis has quit [Quit: K-Lined.]
c0rn has quit [Quit: Computer has gone to sleep.]
IceDragon has joined #ruby
imami|afk is now known as banseljaj
sn0wb1rd has quit [Quit: I will be right back]
dmerrick_ has joined #ruby
tomku has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
atno__ has joined #ruby
caleb_io has quit [Quit: caleb_io]
bradhe has quit [Remote host closed the connection]
dmerrick has quit [Ping timeout: 240 seconds]
havenn has joined #ruby
havenn has quit [Read error: Connection reset by peer]
TTilus has joined #ruby
estan has joined #ruby
TTilus has quit [Read error: Operation timed out]
Spaceboy1 has joined #ruby
Ethan2 has joined #ruby
estan has quit [Read error: Connection reset by peer]
Cicloid has joined #ruby
dmerrick_ has quit [Ping timeout: 260 seconds]
alee has quit [Ping timeout: 276 seconds]
undersc0re97 has quit [Ping timeout: 265 seconds]
jeffreybaird has quit [Quit: jeffreybaird]
ilyam has joined #ruby
ilyam has quit [Client Quit]
Cicloid has quit [Ping timeout: 250 seconds]
Spaceboy has quit [Ping timeout: 276 seconds]
atno__ has quit [Read error: Connection reset by peer]
Ethan2 is now known as Ethan
alee has joined #ruby
leonardorb has joined #ruby
Jasko has joined #ruby
atno__ has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
Cicloid has joined #ruby
atno__ has joined #ruby
joeycarmello has joined #ruby
Cicloid has quit [Remote host closed the connection]
atno__ has quit [Read error: Connection reset by peer]
atno__ has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
atno__ has joined #ruby
joeycarmello has quit [Ping timeout: 250 seconds]
nat2610 has quit [Quit: Leaving.]
digitalcakestudi has quit [Quit: Leaving.]
gridaphobe has quit [Ping timeout: 248 seconds]
c0rn has joined #ruby
dmiller has joined #ruby
headius has joined #ruby
IceDragon has quit [Quit: Space~~~]
x82_nicole has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
<havenn>
So I pushed a pull request and it is Red on Travis CI but when I run Ubuntu locally or the VirtualBox of Travis CI with Vagrant it is green. Build 13: https://travis-ci.org/robgleeson/xpool/pull_requests
atno__ has joined #ruby
tommyvyo_ has joined #ruby
<havenn>
I can't for the life of me figure out what the problem is. Does adding a "require 'rbconfig'" need some other changes to not break Travis CI or am I missing something?
atno__ has quit [Read error: Connection reset by peer]
tomku has quit [Ping timeout: 240 seconds]
dmiller has quit [Ping timeout: 265 seconds]
atno__ has joined #ruby
charliesome has joined #ruby
cableray has quit [Ping timeout: 255 seconds]
crueber has joined #ruby
Ethan has quit [Quit: Leaving]
Mon_Ouie has quit [Ping timeout: 264 seconds]
tommyvy__ has joined #ruby
Takehiro has joined #ruby
timonv has joined #ruby
mikepack has joined #ruby
blazes816 has quit [Quit: blazes816]
atno__ has quit [Read error: Connection reset by peer]
rezzack has quit [Ping timeout: 244 seconds]
atno__ has joined #ruby
IceDragon has joined #ruby
LouisGB has quit [Ping timeout: 265 seconds]
atno__ has quit [Read error: Connection reset by peer]
Tref_ has quit [Quit: Tref_]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
atno__ has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
atno__ has quit [Read error: Connection reset by peer]
rezzack has joined #ruby
atno__ has joined #ruby
atno__ has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 252 seconds]
bradhe has joined #ruby
banseljaj is now known as imami|afk
khimera has joined #ruby
sn0wb1rd has joined #ruby
khimera has quit [Client Quit]
ruby_noob has quit [Quit: ruby_noob]
elaptics is now known as elaptics`away
mahmoudimus has joined #ruby
hsbt is now known as hsbt_away
vlad_starkov has joined #ruby
cableray has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
tomku has joined #ruby
Jasko has joined #ruby
efrainolivares has joined #ruby
dankest has quit [Quit: Leaving...]
banjara has quit [Quit: Leaving.]
matrixise has quit [Ping timeout: 248 seconds]
ephemerian has quit [Quit: Leaving.]
vlad_starkov has quit [Ping timeout: 255 seconds]
mikepack has quit [Remote host closed the connection]
c0rn has quit [Quit: Computer has gone to sleep.]
Nanuq has quit [Ping timeout: 246 seconds]
bradhe has quit [Ping timeout: 264 seconds]
hsbt_away is now known as hsbt
statarb3 has quit [Read error: Connection reset by peer]
g_bleezy has joined #ruby
friskd has quit [Ping timeout: 240 seconds]
samphippen has quit [Quit: Computer has gone to sleep.]
maletor has quit [Quit: Computer has gone to sleep.]
silent1mezzo has joined #ruby
mikepack has joined #ruby
sebastianb has quit [Ping timeout: 246 seconds]
mikepack has quit [Remote host closed the connection]
c0rn has joined #ruby
sebastianb has joined #ruby
eka has quit [Remote host closed the connection]
eka has joined #ruby
vasile has quit [Ping timeout: 240 seconds]
xyzodiac has joined #ruby
xyzodiac has quit [Read error: Connection reset by peer]
tjbiddle_ has joined #ruby
Virunga has quit [Remote host closed the connection]
xyzodiac has joined #ruby
eka has quit [Ping timeout: 260 seconds]
tjbiddle has quit [Ping timeout: 240 seconds]
tjbiddle_ is now known as tjbiddle
sebastianb has quit [Ping timeout: 246 seconds]
freakazoid0223 has joined #ruby
bradhe has joined #ruby
gridaphobe has joined #ruby
sebastianb has joined #ruby
davidcelis has joined #ruby
jrajav has quit [Quit: I tend to be neutral about apples]
c0rn has quit [Quit: Computer has gone to sleep.]
seanstickle has quit [Quit: seanstickle]
c0rn has joined #ruby
c0rn has quit [Client Quit]
devdazed has quit [Ping timeout: 276 seconds]
apeiros_ has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
devdazed has joined #ruby
NiteRain has quit [Ping timeout: 246 seconds]
moos3 has quit [Quit: Computer has gone to sleep.]
cintrikz has quit [Remote host closed the connection]
danneu has joined #ruby
apeiros_ has quit [Ping timeout: 252 seconds]
sebastianb has quit [Ping timeout: 246 seconds]
slainer68 has quit [Remote host closed the connection]
leonardorb has quit [Remote host closed the connection]
malkomalko has joined #ruby
bradhe has quit [Remote host closed the connection]
nwertman has joined #ruby
daniel_- has quit [Ping timeout: 252 seconds]
sebastianb has joined #ruby
xnm has quit [Ping timeout: 264 seconds]
silent1mezzo has quit [Remote host closed the connection]
dmiller has joined #ruby
emmanuelux has quit [Remote host closed the connection]
headius has quit [Quit: headius]
jenrzzz has quit [Ping timeout: 255 seconds]
nwertman has quit [Ping timeout: 260 seconds]
cableray has quit [Quit: cableray]
dmiller has quit [Ping timeout: 250 seconds]
bradhe has joined #ruby
JDubs has quit [Ping timeout: 260 seconds]
bradhe has quit [Remote host closed the connection]
adeponte has quit [Remote host closed the connection]
<havenn>
banisterfiend: I use chruby + ruby-build, but same diff.
firefux has left #ruby [#ruby]
<banisterfiend>
havenn: i'll give it a go, thanks
drago757 has joined #ruby
Hanmac1 has joined #ruby
<banisterfiend>
havenn: i assume just going: export CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer" and then installing any ruby via ruby-build will have those config options applied?
samg_ has joined #ruby
<havenn>
banisterfiend: Actually, I think all you need is CFLAGS="-march=native -O2" with GCC >= 4.3
malkomalko has quit [Remote host closed the connection]
nari has joined #ruby
<havenn>
gcc -v
<havenn>
err, oops :P
Hanmac has quit [Ping timeout: 255 seconds]
<samg_>
Array#shuffle optionally takes an rng, which I want to use to make an action deterministic in a test. You can pass in, e.g., Random.new(1), and the shuffle is deterministic. This works, but not across platform because Random's rng isn't specified. My question: When I try to pass anything other than an instance of Random, ruby ignores me and I get a non-deterministic shuffle. How can I inject a cross-implementation rng to Array#shuffle?
coliflor_ has joined #ruby
louism2_ has quit [Quit: This computer has gone to sleep]
<samg_>
havenn: Right. That is expected. Now try it in rubinius.
vlad_starkov has quit [Ping timeout: 260 seconds]
<havenn>
samg_: [4, 2, 3, 5, 1] >.>
<samg_>
It depends on the RNG implementation, which isn't specified, so rbx and mri use different ones.
<havenn>
samg_: Yeah, I didn't realize...
nwertman has joined #ruby
<samg_>
[1, 2, 3, 4, 5].shuffle(random: Random.new(1)) has the same result, without a global mutation, btw.
<havenn>
samg_: We need an MRI to RBX #srand converter! :P
<samg_>
I want [1, 2, 3, 4, 5].shuffle(random: MyRandom.new), but I don't think that is possible.
Guest38105 has quit [Client Quit]
leonardorb has quit [Ping timeout: 240 seconds]
<bigmac>
i think it is
kil0byte_ has joined #ruby
<samg_>
bigmac: I'm not sure what interface I need to implement.
<bigmac>
your just trying to random 1 threw 5 ?
<samg_>
no. I have some code that does a random shuffle, but for testing, I want to make it deterministic. My preferred approach is to inject the RNG, so the shuffle is deterministic in test.
g_bleezy has quit [Remote host closed the connection]
crueber has joined #ruby
slainer68 has quit [Ping timeout: 256 seconds]
<samg_>
It would be enough to shuffle 1..5 consistently between rbx and mri, as a proof of concept.
<bigmac>
i want to see if i can do, ill need if expression
mneorr_ has quit [Remote host closed the connection]
<bigmac>
0..4
<nycjv321>
ah it works thanks for the link havenn
<nycjv321>
so the syntax changed in ruby?
mahmoudimus has joined #ruby
<bigmac>
samg_: paste into irb----> v=""; 50.times{v<<rand("4").to_s+"\n"}; v.split.uniq
<nycjv321>
sorry Shoes**
<samg_>
bigmac: TypeError
louism2_ has quit [Client Quit]
<bigmac>
works for me
<samg_>
bigmac: I fixed the TypeError, but this isn't what I'm looking for. It isn't deterministic.
<waxjar>
weird question. does anyone know the name of this open blogging platform focused on technology? i think you had to log in with your github account and the colour scheme of the site was a white background with (light) blue accents.
jlast has quit [Remote host closed the connection]
tommyvyo has quit [Quit: Computer has gone to sleep.]
tommyvy__ is now known as tommyvyo
Takehiro has quit [Remote host closed the connection]
adeponte has joined #ruby
baroquebobcat has joined #ruby
jeffreybaird has joined #ruby
bronson has quit [Quit: bronson]
Takehiro has joined #ruby
rhys has joined #ruby
rhys has quit [Changing host]
rhys has joined #ruby
Takehiro has quit [Remote host closed the connection]
dankest has joined #ruby
havenn has quit [Remote host closed the connection]
vasile has joined #ruby
mildfate has joined #ruby
<waxjar>
not the one i meant, but something very much like it. thx ryanf :)
Aiur has joined #ruby
<mildfate>
If I have an array of user-written objects, what method inside the object will be called if I call .include?(some_obj) on said array? eq? equals? equal?
mneorr has joined #ruby
philomory has joined #ruby
<philomory>
Anyone know, is the 'test "foo" do … end' style of running tests specific to rails? I thought it was a feature of mintiest but I appear to be wrong.
<Spaceghostc2c>
It isn't.
<waxjar>
i don't think so philomory, depends on the test framework you / rails use(s) obvioulsy
<mildfate>
If I have multiple locks, can I have a synchronize on one OR the other? and then have the information on which one has synchronized in order to perform waits on the right condition vars?
vasile has quit [Ping timeout: 255 seconds]
ryanf has quit [Quit: leaving]
yshh has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
xyzodiac has quit [Quit: Computer has gone to sleep.]
zaki has quit [Read error: Operation timed out]
yaymukund has joined #ruby
<philomory>
For general reference, the syntax I am referring to *is* rails specific, or at least ActiveSupport-specific, and comes from ActiveSupport::Testing::Declarative
<philomory>
In case anyone was wondering
Takehiro has joined #ruby
kuzushi has joined #ruby
mneorr has quit [Remote host closed the connection]
jlast has joined #ruby
mrsrikanth has joined #ruby
vlad_starkov has joined #ruby
FlowState has joined #ruby
FlowState has quit [Changing host]
FlowState has joined #ruby
xyzodiac has joined #ruby
samg_ has quit [Read error: Connection reset by peer]
samg_ has joined #ruby
samg_ has quit [Client Quit]
quest88 has quit [Quit: quest88]
crueber has quit [Quit: Leaving.]
kiyoura has quit [Quit: Leaving]
havenn has joined #ruby
hsbt_away is now known as hsbt
vlad_starkov has quit [Ping timeout: 265 seconds]
aetcore has joined #ruby
louism2_ has quit [Quit: This computer has gone to sleep]
Bosox20051 has quit [Quit: Leaving]
hadees has joined #ruby
havenn has quit [Ping timeout: 240 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
zaki has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
FlowState has quit [Quit: Ex-Chat]
ddd has quit [Quit: Leaving.]
mneorr has joined #ruby
mrsrikanth has quit [Quit: Leaving]
d2dchat has quit [Remote host closed the connection]
gridaphobe has quit [Remote host closed the connection]
dankest is now known as dankest|away
freeayu has joined #ruby
Aiur has quit [Quit: Computer has gone to sleep.]
silent1mezzo has quit [Remote host closed the connection]
michaelmartinez has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
Takehiro has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
d2dchat has joined #ruby
devdazed has quit [Ping timeout: 264 seconds]
rohit has joined #ruby
crueber has joined #ruby
crueber has left #ruby [#ruby]
Hanmac1 has quit [Ping timeout: 260 seconds]
pavilionXP__ has joined #ruby
lolcathost has joined #ruby
devdazed has joined #ruby
d2dchat has quit [Remote host closed the connection]
skaczor has quit [Remote host closed the connection]
dmiller has quit [Ping timeout: 240 seconds]
pavilionXP has quit [Ping timeout: 252 seconds]
babonk has quit [Quit: babonk]
wargasm has quit [Ping timeout: 244 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
jlast has joined #ruby
xyzodiac has quit [Quit: Computer has gone to sleep.]
jimeh has quit [Quit: Computer has gone to sleep.]
ryanf has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
wargasm1 has joined #ruby
browndawg has quit [Quit: Leaving.]
xyzodiac has joined #ruby
pcarrier has quit []
nycjv321 has quit [Read error: Connection reset by peer]
wmoxam has quit [Read error: Connection reset by peer]
osvico has quit [Ping timeout: 264 seconds]
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
areil has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
osvico has joined #ruby
adeponte has quit [Remote host closed the connection]
pavilionXP__ has quit [Ping timeout: 250 seconds]
Loaft has joined #ruby
<Loaft>
can anyone recommend me a text editor they use?
shammancer has quit [Quit: Leaving]
<savant>
ed
<waxjar>
sublime text 2
mneorr has quit [Remote host closed the connection]
philomory has quit [Read error: Connection reset by peer]
philomory has joined #ruby
<Loaft>
thanks wax looks good
Takehiro has joined #ruby
lordnaz has quit [Ping timeout: 265 seconds]
rohit_ has joined #ruby
jds__ has joined #ruby
baroquebobcat has joined #ruby
<reactormonk>
Loaft, emacs/vim if you want to go for the advanced ones
<Loaft>
i literally just installed ruby and the devkit so
xyzodiac has quit [Quit: Computer has gone to sleep.]
<Loaft>
if the time comes ill make sure to switch
rohit has quit [Ping timeout: 240 seconds]
Hanmac has joined #ruby
tommyvyo_ has joined #ruby
drago757 has quit [Quit: drago757]
jds__ has quit [Ping timeout: 255 seconds]
<Loaft>
alright i need a suggestion for a better cmd prompt now =P
<waxjar>
you mean like an alternative to bash, or are you on windows?
<Loaft>
im on windows yes
hemanth has quit [Read error: Connection reset by peer]
<Loaft>
something that actually expands would be nice, i've set the font smaller on the default OS one but its not cutting it
hemanth has joined #ruby
<waxjar>
no idea, i think there is a version of zsh for windows, but i'm not sure
osvico has quit [Ping timeout: 248 seconds]
xyzodiac has joined #ruby
ananthakumaran has joined #ruby
jojosiao has left #ruby [#ruby]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
slainer68 has joined #ruby
<Loaft>
i guess they dont make as many for windows lol
L1 has joined #ruby
<kuzushi>
o
jlast has joined #ruby
slainer68 has quit [Ping timeout: 240 seconds]
eka has joined #ruby
xyzodiac has quit [Quit: Computer has gone to sleep.]
eka has quit [Ping timeout: 240 seconds]
fyolnish has quit [Remote host closed the connection]
hemanth has quit [Ping timeout: 240 seconds]
skcin7 has quit [Ping timeout: 240 seconds]
dmiller has joined #ruby
jlast has quit [Ping timeout: 264 seconds]
cantonic_ has joined #ruby
dmiller has quit [Ping timeout: 255 seconds]
cantonic has quit [Ping timeout: 264 seconds]
cantonic_ is now known as cantonic
yshh has joined #ruby
hemanth has joined #ruby
rohit_ has quit [Quit: Leaving]
Spaceboy1 has quit [Ping timeout: 276 seconds]
gridaphobe has joined #ruby
gridaphobe has quit [Read error: Connection reset by peer]
gridaphobe has joined #ruby
jlwestsr has quit [Quit: Ex-Chat]
lolcathost has quit [Ping timeout: 250 seconds]
babonk has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
artm has joined #ruby
lolcathost has joined #ruby
nerd has quit [Quit: WeeChat 0.3.9.2]
nerd has joined #ruby
klacc has joined #ruby
Spaceboy has joined #ruby
nerd has quit [Client Quit]
lenovodroid has joined #ruby
jlast has joined #ruby
fyolnish has joined #ruby
mildfate has quit [Quit: Leaving.]
mildfate has joined #ruby
jenrzzz has joined #ruby
Axsuul has quit [Remote host closed the connection]
ewag has quit [Ping timeout: 260 seconds]
artm has quit [Quit: artm]
fyolnish has quit [Ping timeout: 265 seconds]
jlast has quit [Ping timeout: 264 seconds]
mneorr has joined #ruby
vlad_starkov has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
rakl has quit [Quit: sleeping]
hadees has quit [Quit: hadees]
adac has joined #ruby
browndawg has joined #ruby
browndawg has left #ruby [#ruby]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
<adac>
I have a path/string "/assets/images_test_data/2ASKG7fcBGyJDigYK1epkPMg0XI/0.JPEG" Now I wanted to remove the filename so that I get the folders path only "/assets/webpage_images_test_data/2ASKG7fcBGyJDigYK1epkPMg0XI" How to do that?
ananthakumaran has quit [Ping timeout: 264 seconds]
gridaphobe has quit [Read error: Connection reset by peer]
<adac>
sorry: last path should be of course: "/assets/images_test_data/2ASKG7fcBGyJDigYK1epkPMg0XI"
browndawg has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
<zeen>
hey, pretty new to ruby. i have it installed on my server already, 1.9.2 and i want to upgrade to 1.9.3.. when i su and do rvm install it installs it into my ~/.gems/ directory instead of /usr/local/rvm/gems/ (where 1.9.2 is). any advice? i can't remember how i did this the first time
devdazed has joined #ruby
<Hanmac>
zeen what is your server version? (maybe there is an newer ruby for your server)
s1n4 has joined #ruby
<Hanmac>
adac File.dirname
Asher has quit [Ping timeout: 260 seconds]
<zeen>
oh actually bundle install --system is doing something, let me try this first..
dmiller has quit [Ping timeout: 246 seconds]
jlast has joined #ruby
<zeen>
but it's ruby ruby-1.9.2-p320 in the RIGHT dir, and 1.9.3p194 in my root home dir
<zeen>
hmm that didn't help
Asher has joined #ruby
yacks has quit [Read error: Connection reset by peer]
baroquebobcat has quit [Quit: baroquebobcat]
hsbt is now known as hsbt_away
cableray has quit [Quit: cableray]
<zeen>
hmm one of the errors when installing is /root/.rvm/user/db does not exist
<zeen>
maybe it's a path problem
gridaphobe has joined #ruby
savant has left #ruby [#ruby]
Paradox has joined #ruby
ewag has joined #ruby
klacc has quit [Quit: leaving]
<zeen>
yes .. yes it is
wargasm1 has quit [Ping timeout: 256 seconds]
jlast has quit [Ping timeout: 264 seconds]
ananthakumaran has joined #ruby
apeiros_ has joined #ruby
lenovodroid has quit [Ping timeout: 255 seconds]
mneorr has quit [Remote host closed the connection]
gridaphobe has quit [Read error: Connection reset by peer]
coliflor has joined #ruby
jekotia has quit [Quit: *passes out*]
gridaphobe has joined #ruby
Synthead has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
gridaphobe has quit [Remote host closed the connection]
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
DanBoy has quit [Remote host closed the connection]
gridaphobe has joined #ruby
adac has quit [Ping timeout: 265 seconds]
hsbt_away is now known as hsbt
gridaphobe has quit [Remote host closed the connection]
eldariof has joined #ruby
workmad3 has joined #ruby
ewag has quit [Ping timeout: 252 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
freeayu has quit [Remote host closed the connection]
maletor has joined #ruby
scruple has quit [Ping timeout: 244 seconds]
lenovodroid has joined #ruby
mercwithamouth has quit [Ping timeout: 244 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
segv- has quit [Remote host closed the connection]
jlast has joined #ruby
NiteRain has quit [Ping timeout: 246 seconds]
lolcathost has quit [Ping timeout: 252 seconds]
mfridh has joined #ruby
cableray has joined #ruby
daniel_hinojosa1 has quit [Ping timeout: 244 seconds]
BoomCow has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
lolcathost has joined #ruby
Xapht1 has joined #ruby
jlast has quit [Ping timeout: 264 seconds]
nicoulaj has joined #ruby
ejholmes has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<zeen>
so i install ruby via rvm install logged in as root and it puts it into my home directory, is there a reason it's not in my /usr/local/rvm directory? should it be in my home directory to start with?
whowantstolivefo has quit [Quit: need to reboot]
<ryanf>
you need to install rvm itself as root for stuff to be in /usr/local/rvm. after that, you don't generally need to use sudo anymore
aetcore has quit [Quit: aetcore]
fyolnish has joined #ruby
<zeen>
k cool, i'll try reinstalling rvm
ejholmes has quit [Quit: ejholmes]
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
Xapht1 has quit [Quit: Leaving.]
ewag has joined #ruby
yshh_ has joined #ruby
yshh has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
Guest___ has quit [Quit: Computer has gone to sleep.]
ejholmes has joined #ruby
h4mz1d has joined #ruby
kil0byte has joined #ruby
jackdanger has quit [Read error: Connection reset by peer]
maletor has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
mildfate has quit [Quit: Leaving.]
jlast has joined #ruby
Beoran__ has joined #ruby
wchun has quit [Ping timeout: 240 seconds]
cableray has quit [Quit: cableray]
rweng has joined #ruby
rweng has quit [Client Quit]
<zeen>
finally got it, path was wrong. forgot to restart terminal and source didn't do anything
<zeen>
thanks
Beoran_ has quit [Ping timeout: 250 seconds]
Mon_Ouie has joined #ruby
toto_ has joined #ruby
locriani_ has joined #ruby
<ryanf>
sure, no problem
locriani has quit [Read error: Connection reset by peer]
c0rn has joined #ruby
nilg has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
McSvenster has joined #ruby
jlast has quit [Ping timeout: 264 seconds]
karoshi has joined #ruby
yacks has joined #ruby
McSvenster has left #ruby [#ruby]
Zai00 has joined #ruby
<karoshi>
I am looking for algorithms to solve dy/dx = sqrt(x).
fyolnish has quit [Remote host closed the connection]
nilg has quit [Remote host closed the connection]
s1n4 has quit [Quit: leaving]
jamesaxl has quit [Ping timeout: 264 seconds]
love_color_text has quit [Remote host closed the connection]
piotr has joined #ruby
Jackneill has joined #ruby
max_ has joined #ruby
Jackneill is now known as Guest54127
Synthead has quit [Ping timeout: 246 seconds]
jackbrownhf has quit [Quit: Sto andando via]
arturaz has joined #ruby
nilg has joined #ruby
bairui has quit [Ping timeout: 276 seconds]
Virunga has joined #ruby
bairui has joined #ruby
timonv has joined #ruby
s1n4 has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
lampe2 has joined #ruby
hamed_r has joined #ruby
karoshi has quit [Ping timeout: 256 seconds]
ChampS666 has joined #ruby
Virunga has quit [Remote host closed the connection]
lenovodroid has quit [Remote host closed the connection]
ryanf has quit [Ping timeout: 252 seconds]
bairui_ has joined #ruby
aetcore has joined #ruby
bairui has quit [Ping timeout: 250 seconds]
bairui_ is now known as bairui
cj3kim has quit [Quit: This computer has gone to sleep]
adambeynon has joined #ruby
jlast has joined #ruby
Virunga has joined #ruby
karoshi has joined #ruby
lolmaus has joined #ruby
eka has joined #ruby
karoshi has left #ruby [#ruby]
phelps has quit [Quit: Computer has gone to sleep.]
dmiller has joined #ruby
artm has joined #ruby
phelps has joined #ruby
coliflor has quit [Ping timeout: 245 seconds]
dmiller has quit [Ping timeout: 255 seconds]
artm has quit [Client Quit]
rezzack has quit [Ping timeout: 255 seconds]
jlast has quit [Ping timeout: 264 seconds]
Zai00 has quit [Quit: Zai00]
freeayu has joined #ruby
yshh has joined #ruby
elkclone has joined #ruby
elkclone has quit [Changing host]
elkclone has joined #ruby
yshh_ has quit [Ping timeout: 252 seconds]
nemesit has joined #ruby
luminous has joined #ruby
elaptics`away is now known as elaptics
c0rn has quit []
buibex has joined #ruby
Zai00 has joined #ruby
combataircraft has quit [Quit: leaving]
whowantstolivefo has joined #ruby
coliflor has joined #ruby
<Loaft>
anyone here familiar with watir and could give me a hand?
marr has joined #ruby
hamed_r has quit [Remote host closed the connection]
buibex has quit [Remote host closed the connection]
phelps has quit [Quit: Computer has gone to sleep.]
staafl has joined #ruby
<luminous>
join /redmine
staafl_alt has joined #ruby
jlast has joined #ruby
Slivka has joined #ruby
horrror has joined #ruby
<horrror>
What's a good ruby speech recognition library?
staafl has quit [Ping timeout: 240 seconds]
fyolnish has joined #ruby
luminous has left #ruby [#ruby]
statarb3 has joined #ruby
vasile has joined #ruby
cascalheira has joined #ruby
moshee has quit [Ping timeout: 244 seconds]
moshee has joined #ruby
cascalheira has quit [Client Quit]
Takehiro has quit [Remote host closed the connection]
fyolnish has quit [Ping timeout: 276 seconds]
Takehiro has joined #ruby
artm has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
kil0byte has quit [Read error: Connection reset by peer]
h4mz1d has quit [Ping timeout: 264 seconds]
adac has joined #ruby
vasile has quit [Ping timeout: 252 seconds]
buibex has joined #ruby
Takehiro has quit [Remote host closed the connection]
vasile has joined #ruby
artm has quit [Quit: artm]
daniel_- has joined #ruby
Takehiro has joined #ruby
vasile has quit [Ping timeout: 240 seconds]
piotr_ has joined #ruby
piotr has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
L1 has quit [Quit: Quitter]
fyolnish has joined #ruby
louism2_ has joined #ruby
moshee has quit [Ping timeout: 265 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
freeayu has quit [Remote host closed the connection]
araujo has joined #ruby
dmiller has joined #ruby
ejholmes has quit [Quit: ejholmes]
drizzy has joined #ruby
dmiller has quit [Ping timeout: 246 seconds]
lampe2 has quit [Quit: Leaving.]
Gooder` has joined #ruby
Gooder` has quit [Remote host closed the connection]
jlast has joined #ruby
<adac>
is there a way to read out "objects" from a yaml file? I'm trying something like this: "agent.agent.http.verify_mode = APP_CONFIG['localhost']['ssl_verfication']"
<adac>
where APP_CONFIG['localhost']['ssl_verfication'] would be "OpenSSL::SSL::VERIFY_NONE"
Gonzih has joined #ruby
alee has quit [Remote host closed the connection]
dankest|away has quit [Quit: Leaving...]
browndawg has quit [Quit: Leaving.]
alee has joined #ruby
nilg has quit [Remote host closed the connection]
devdazed has quit [Ping timeout: 276 seconds]
devdazed has joined #ruby
drizzy has quit [Quit: Leaving]
jlast has quit [Ping timeout: 240 seconds]
x82_nicole has joined #ruby
hck89 has joined #ruby
toto-_ has joined #ruby
hsbt is now known as hsbt_away
tk__ has joined #ruby
toto_ has quit [Ping timeout: 240 seconds]
elkclone has quit [Quit: It's never too late to unplug and run.]
<elaptics>
adac: just load the data. data = Yaml.load(yaml_file_name)
browndawg has joined #ruby
<elaptics>
adac: data['localhost'] etc
Mon_Ouie has quit [Ping timeout: 264 seconds]
lolcathost has quit [Ping timeout: 256 seconds]
malkomalko has joined #ruby
dukedave has joined #ruby
baphled has joined #ruby
daniel_- has quit [Ping timeout: 252 seconds]
gyre007 has joined #ruby
dukedave has quit [Ping timeout: 240 seconds]
lolcathost has joined #ruby
louism2_ has quit [Quit: This computer has gone to sleep]
Loaft has quit [Read error: Connection reset by peer]
LouisGB has joined #ruby
timonv has quit [Remote host closed the connection]
baphled has quit [Ping timeout: 244 seconds]
malkomalko has quit [Remote host closed the connection]
lolcathost has quit [Ping timeout: 265 seconds]
BoomCow has quit [Ping timeout: 250 seconds]
jlast has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
jeffreybaird has joined #ruby
jds__ has joined #ruby
lolcathost has joined #ruby
buibex has quit [Remote host closed the connection]
BoomCow has joined #ruby
ananthakumaran has quit [Ping timeout: 252 seconds]
slainer68 has joined #ruby
baphled has joined #ruby
i42n has joined #ruby
ikaros has joined #ruby
hck89 has quit [Quit: Sto andando via]
<i42n>
hey guys, I try to install the redcloth ruby gem and get the following error: http://pastebin.com/3pJD9Byk I do not know what to do now. Any tips?
<apeiros_>
hi stefan
<apeiros_>
i42n: odd… you have rvm (which afair needs xcode or at least a compiler), but the error you get indicates that you don't have that…
<apeiros_>
i42n: have you installed xcode?
<i42n>
yes, I also installed the command line tools
<i42n>
apeiros_: I am also able to install some other gems. But RedCloth has problems.
devdazed has quit [Ping timeout: 265 seconds]
<apeiros_>
by "other gems" you mean "other gems with native extensions"?
dmiller has joined #ruby
clj_newb has joined #ruby
devdazed has joined #ruby
<i42n>
from ruby requirements: Right now Ruby requires gcc to compile, but Xcode 4.2 and later no longer ship with gcc. Instead they ship with llvm-gcc (to which gcc is a symlink) and clang, neither of which are supported for building Ruby. Xcode 4.1 was the last version to ship gcc, which was /usr/bin/gcc-4.2.
bigmac has quit [Remote host closed the connection]
<i42n>
That's odd. I am on Xcode 4.5.2 but gcc --version shows me 4.2
areil_ has joined #ruby
Virunga has quit [Remote host closed the connection]
<i42n>
oh but it seems to be the llvm build
<i42n>
maybe that is my problem
chessguy has joined #ruby
jds__ has quit [Remote host closed the connection]
dmiller has quit [Ping timeout: 246 seconds]
areil has quit [Ping timeout: 240 seconds]
emmanuelux has joined #ruby
radic_ has quit [Ping timeout: 265 seconds]
chessguy_ has joined #ruby
chessguy_ has quit [Read error: Connection reset by peer]
banisterfiend has quit [Remote host closed the connection]
jonathanwallace has quit [Quit: WeeChat 0.3.9.2]
jrunning1 has joined #ruby
forced_request has joined #ruby
apeiros_ has joined #ruby
toto_ has joined #ruby
jrunning1 has quit [Client Quit]
pseudonymous has joined #ruby
DaZ has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
mercwithamouth has joined #ruby
Jasko has joined #ruby
adac has joined #ruby
hamed_r has joined #ruby
ewag has quit [Ping timeout: 265 seconds]
<drlaj>
Is it always this quiet/
lolcathost has quit [Quit: brb peepls!!1!1!1]
<phelps>
drlaj: only on weekends
lolcathost has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
eka has joined #ruby
havenn has joined #ruby
dysoco has joined #ruby
<dysoco>
Hello, I'm trying to install Octopress in my linux system, I'm using Ruby 1.9.3 via RVM and when I run "bundle install" I get an error while installing the RedCloth gem, I've searched but couldn't find anything so far... any ideas?
lampe2 has quit [Ping timeout: 240 seconds]
apeiros_ has quit [Remote host closed the connection]
<waxjar>
what error do you get dysoco?
<dysoco>
An error occurred while installing RedCloth (4.2.9), and Bundler cannot continue.
jlast has joined #ruby
m_3 has quit [Remote host closed the connection]
<waxjar>
is that all?
<dysoco>
/home/dylan/.rvm/rubies/ruby-1.9.3-p327/lib64/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
<dysoco>
oh wait, I might not have the lastest version of GCC or something?
<dysoco>
this is a new box
jrajav has joined #ruby
<waxjar>
i think that's probably it. Redcloth apparently has to compile a C extension
leonardorb has quit [Remote host closed the connection]
m_3 has joined #ruby
xyzodiac has joined #ruby
slainer68 has joined #ruby
seanstickle has quit [Quit: seanstickle]
nari has quit [Ping timeout: 255 seconds]
lampe2 has joined #ruby
jds__ has quit [Remote host closed the connection]
malkomalko has joined #ruby
Naeblis has joined #ruby
clj_newb has joined #ruby
Gooder` has quit [Ping timeout: 256 seconds]
jlast has quit [Ping timeout: 240 seconds]
<shevy>
drlaj depends on the day and time, usually around evening CET time it is quite active here
xyzodiac has quit [Quit: Computer has gone to sleep.]
vasile has quit [Ping timeout: 264 seconds]
kjellski has joined #ruby
samphippen has joined #ruby
redmaverick has quit [Quit: Page closed]
iaj has quit [Ping timeout: 260 seconds]
iaj has joined #ruby
pmros has joined #ruby
gyre007 has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
lkba has joined #ruby
Jasko has joined #ruby
<jrajav>
I'm here now
<jrajav>
That's all that really matters
u89 has quit [Remote host closed the connection]
gyre007 has quit [Read error: Operation timed out]
nerd has joined #ruby
xyzodiac has joined #ruby
monkegjinni has joined #ruby
<shevy>
hmmm
<shevy>
what's with this ubuntu spyware
Squarepy has joined #ruby
Squarepy has quit [Changing host]
Squarepy has joined #ruby
<jrajav>
That's pretty old news
<jrajav>
Which RMS apparently only just found out about
Squarepy has quit [Read error: Connection reset by peer]
<jrajav>
I'm curious what OS he uses personally
Squarepy has joined #ruby
Squarepy has quit [Changing host]
Squarepy has joined #ruby
jamesaxl has quit [Ping timeout: 252 seconds]
dmiller has joined #ruby
artm has joined #ruby
leonardorb has joined #ruby
<shevy>
debian probably
Takehiro has quit [Read error: Connection reset by peer]
headius has quit [Ping timeout: 240 seconds]
Takehiro_ has joined #ruby
Takehiro_ has quit [Read error: Connection reset by peer]
<shevy>
or
<shevy>
GNU Hurd
<shevy>
(hahahahahahaha)
<shevy>
hey wait...
<shevy>
I know
<shevy>
Emacs
Takehiro has joined #ruby
aruntomar has left #ruby [#ruby]
malkomalko has quit [Remote host closed the connection]
dmiller has quit [Ping timeout: 250 seconds]
leonardorb has quit [Remote host closed the connection]
leonardorb has joined #ruby
hotovson has joined #ruby
phantasm66 has joined #ruby
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
Morkel has quit [Quit: Morkel]
hotovson has quit [Remote host closed the connection]
<metrix>
What is a good GUI for Ruby and Windows? are there any good GUI designer apps out there?
clj_newb has quit [Ping timeout: 260 seconds]
<shevy>
the ruby GUIs kind of died
statarb3 has quit [Quit: Leaving]
<shevy>
in the past I used ruby-gnome bindings on both windows and linux
<shevy>
but I cant even get the latest to compile anymore... :(
<metrix>
:/
<shevy>
you could use glade XML files for ruby-gnome back then
u89 has joined #ruby
<shevy>
I hated XML though so I wrote things on my own
<metrix>
I see
<shevy>
qtruby looked beautiful but it's only one guy really who wrote stuff
<Jackneill>
can you help me? i have this working xpath: @rate = @page.xpath("//table[@class='dataTable']"), but when i do //table[@class='dataTable']/tbody which also should be working, i got nothing for response. more properly an empty line. | sorry for asking here but in nokogiri i didnt get any response since 4 hours.
<shevy>
and he kind of stopped, or at least became less active
<shevy>
it's the mobile sector that killed the ruby GUI bindings
<shevy>
dysoco, ruby works very well when people write things on their own ;P
jlast has quit [Ping timeout: 252 seconds]
graft has quit [Quit: Lost terminal]
<metrix>
that would be me
<dysoco>
Sure, but I want to get some simple blog running and I'm not writing an Engine like Octopress in C or Go :P
drago757 has joined #ruby
<dysoco>
not a Ruby expert here
catphish has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
sjhuang has joined #ruby
Proshot has joined #ruby
<shevy>
metrix hehe... for me too, partially. when other ruby software is GOOD in quality, I am fine using it
Proshot is now known as statarb3
<shevy>
sadly, most projects are either too BIG, or suffer from quality or lack of good documentation
<shevy>
or they are too restricted in how they want to be used
statarb3 has quit [Changing host]
statarb3 has joined #ruby
nerd is now known as database
drlaj has joined #ruby
ddd has joined #ruby
<metrix>
yeah, I can see that
<metrix>
hmm.. well... are there any really quick web GUI's out there?
<dysoco>
oh man, this is impossible: installed the base devel packages, installed ruby-devel, tried with older versions of the Gem... no luck
pmros has quit [Quit: Konversation terminated!]
daniel_- has joined #ruby
miso1337 has quit [Ping timeout: 244 seconds]
u89 has quit [Remote host closed the connection]
<shevy>
what is the specific error again dysoco
<shevy>
usually it's in a .log file I think
<waxjar>
maybe you need to run in with sudo dysoco?
iamjarvo has joined #ruby
<waxjar>
*it
aetcore has joined #ruby
yshh has quit [Remote host closed the connection]
aetcore has quit [Client Quit]
<dysoco>
Allright, "sudo gem install RedCloth" worked, but after that "bundle install" fails with the same error and "sudo bundle install" fails too
freeayu has quit [Ping timeout: 255 seconds]
miso1337 has joined #ruby
GoGoGarrett has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
mpereira has joined #ruby
rakunHo has quit [Remote host closed the connection]
ebouchut has joined #ruby
tobinharris_ has quit [Quit: tobinharris_]
dysoco has quit [Quit: Lost terminal]
apeiros_ has joined #ruby
atmosx has joined #ruby
tps_ has joined #ruby
timonv has quit [Remote host closed the connection]
kuzushi has quit [Ping timeout: 260 seconds]
<maetthew>
I have a program that needs to check certain conditions before it executes. I can do this with nested if statements but it's tedious and just plain ugly. Is there a better way to perform these kinds of checks in Ruby?
<_br_>
maetthew: Not sure, do you mean something like the andand gem?
<waxjar>
a trick i often use is, instead of wrapping everything in an if statement, just invert the condition and return on based on that
<maetthew>
_br_, hmm no i don't but i'm having a look at it.
Virunga has joined #ruby
<maetthew>
waxjar, Like "do_this unless condition_is_met"?
lolcathost has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
<waxjar>
so not if `x.is_a? Integer; xxx; end` but `return unless x.is_a? Integer`
<waxjar>
and put the xx part below
jlast has joined #ruby
atmosx has quit [Client Quit]
apeiros_ has quit [Ping timeout: 276 seconds]
<waxjar>
i rarely have to nest if-clauses
lolcathost has joined #ruby
alup has quit [Ping timeout: 260 seconds]
<waxjar>
and that too maetthew, it reads much easier
lampe21 has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
ebouchut has quit [Quit: This computer has gone to sleep]
areil_ has quit [Ping timeout: 264 seconds]
<waxjar>
another trick is to use || where possible to pass the right argument: method(some_method_that_may_return_nil || 'default value')
lampe2 has quit [Ping timeout: 264 seconds]
bocchrj has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
<maetthew>
waxjar, thanks a lot. learned something new :)
<maetthew>
will try it out
kuzushi has joined #ruby
aaronmacy has joined #ruby
jlast has quit [Ping timeout: 264 seconds]
nemesit has joined #ruby
<waxjar>
yw :)
Slivka has joined #ruby
i42n has joined #ruby
ebouchut has joined #ruby
tomku has joined #ruby
<maetthew>
waxjar, Would it be terribly wrong to instead of making nested if statements. I just do one if statements for each check and just "return" if condition is met
dmiller has joined #ruby
<canton7>
it's called "early escape" and it's pretty popular
<waxjar>
adac: i guess because -0 wouldn't be possible, to indicate the end of the String
yaymukund has quit [Ping timeout: 276 seconds]
atno has joined #ruby
<adac>
waxjar, hmmm....
Nisstyre has joined #ruby
jlast has joined #ruby
<heftig>
waxjar: clearly, string indices should be floating point numbers :p
drlaj has quit [Remote host closed the connection]
<_br_>
adac: String#chomp
perenecabuto has quit [Quit: Leaving]
<_br_>
s/chomp/chop
akafurious has left #ruby ["Leaving"]
metrix has quit [Ping timeout: 252 seconds]
Nisstyre_ has joined #ruby
Nisstyre has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Read error: Connection reset by peer]
Nisstyre_ is now known as Nisstyre
moos3 has joined #ruby
havenn has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 264 seconds]
Nisstyre has quit [Read error: Operation timed out]
hsbt is now known as hsbt_away
<jrajav>
adac: It is a little odd that negative indices are 1-indexed rather than zero indexed, but there are several reasons for it: 1) If they were zero-indexed, the statement array[0] would be ambiguous, 2) it makes the negative indicing consistent with array[array.length - 1], 3) That's how everyone else does it :P
metrix has joined #ruby
juarlex has quit [Ping timeout: 264 seconds]
<jrajav>
Arguably, we should never have had 0-indexed arrays to begin with
<jrajav>
It made memory work and some algorithms marginally simpler to reason about in the olden days though
<jrajav>
So we're stuck with it
iamjarvo has quit [Quit: Leaving.]
monkegjinni has quit [Remote host closed the connection]
<adac>
jrajav, _br_ thank you
s1n4 has quit [Quit: leaving]
yshh has joined #ruby
monkegjinni has joined #ruby
nilg has joined #ruby
yshh has quit [Ping timeout: 244 seconds]
<shevy>
guys I am looking at old code I wrote years ago
GoGoGarrett has quit [Remote host closed the connection]
<Axsuul>
Say I have 2 ruby files, A and B and B requires A. Is there any way to get the path of B from within A
<butblack>
Axsuul: check out DIR
<Axsuul>
butblack: DIR?
emmanuelux has joined #ruby
<butblack>
for directory
Monie has quit [Read error: Connection reset by peer]
pyr0commie has joined #ruby
adac has quit [Ping timeout: 240 seconds]
Takehiro has quit [Ping timeout: 255 seconds]
<Axsuul>
butblack: I only see Dir.pwd which doesn't give me what I want
dmiller has quit [Ping timeout: 246 seconds]
hsbt is now known as hsbt_away
<arturaz>
Axsuul you want to know what file included B?
<arturaz>
err, included A ?
<Axsuul>
arturaz: yep
<arturaz>
why?
GoGoGarrett has joined #ruby
pseudonymous has quit [Ping timeout: 244 seconds]
gmci_ has quit [Quit: Computer has gone to sleep.]
generalissimo has joined #ruby
jacortinas has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
wallerdev has joined #ruby
<_br_>
Axsuul: Tricky one, not sure maybe you get some information about this in the Callstack. "caller"
<butblack>
does anyone know mine?
gmci has joined #ruby
kirun has quit [Read error: Operation timed out]
gmci is now known as Guest45802
<_br_>
butblack: Hm, you get that as a string? It looks like a object.inspect to me.
<_br_>
butblack: It seems you just printed a ruby object?
Jasko has quit [Read error: Connection reset by peer]
<butblack>
_br_: how could i get the @title out?
Jasko has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Shamgar has quit [Ping timeout: 240 seconds]
rakl has joined #ruby
mneorr has joined #ruby
hoelzro is now known as hoelzro|away
timonv has joined #ruby
jlast has joined #ruby
Shamgar has joined #ruby
IcyDragon has joined #ruby
tyfighter has quit [Quit: tyfighter]
IceDragon has quit [Ping timeout: 244 seconds]
hsbt_away is now known as hsbt
snearch has joined #ruby
<_br_>
butblack: Hm, object.videos is an array containing a Video object. object.videos.each { |v| puts v.title } I guess..
ananthakumaran has quit [Quit: Leaving.]
xyzodiac has joined #ruby
<_br_>
butblack: Read the manual about #instance_variables, might be interesting for you.
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
<_br_>
butblack: Also, if you want to play with objects and see a bit what is going on, try "pry"
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
drlaj has quit [Remote host closed the connection]
ryanf has joined #ruby
kirun has joined #ruby
carlyle has joined #ruby
<butblack>
_br_: i use pry.. and perfect thanks!
x82_nicole has quit [Quit: Computer has gone to sleep.]
hsbt is now known as hsbt_away
whowantstolivef1 has joined #ruby
jlast has quit [Ping timeout: 244 seconds]
Adget has quit [Ping timeout: 255 seconds]
rcsheets has quit [Remote host closed the connection]
davidboy has quit [Remote host closed the connection]
bel3atar has joined #ruby
DDAZZA has joined #ruby
patricksroberts has quit [Remote host closed the connection]
bel3atar has left #ruby [#ruby]
octarine has quit [Remote host closed the connection]
t0rc has joined #ruby
carlyle has quit [Remote host closed the connection]
grote has joined #ruby
arturaz has quit [Ping timeout: 240 seconds]
iamjarvo has joined #ruby
forced_request has joined #ruby
slainer68 has quit [Remote host closed the connection]
daniel_- has joined #ruby
arietis has joined #ruby
xyzodiac has quit [Quit: Computer has gone to sleep.]
blazes816 has joined #ruby
jenrzzz has joined #ruby
mengu has joined #ruby
workmad3 has joined #ruby
araujo has quit [Ping timeout: 260 seconds]
swarley-freenode is now known as swarley
lampe2 has joined #ruby
x82_nicole has joined #ruby
jeffreybaird has joined #ruby
whowantstolivef1 has quit [Ping timeout: 240 seconds]
whowantstolivef1 has joined #ruby
banisterfiend has quit [Remote host closed the connection]
lampe21 has quit [Ping timeout: 252 seconds]
dangerousdave has joined #ruby
grote has quit [Quit: Leaving.]
ipalaus has joined #ruby
grote has joined #ruby
Adget has joined #ruby
<ipalaus>
I'm having some problems using a vagrant that is ruby based. Basically win-rm gives me this error: http://paste.laravel.com/cWK . I've tried installing it but nothing changes. some light please? thanks in advance!
moos3 has quit [Quit: Computer has gone to sleep.]
gurps has joined #ruby
SuperrMann has quit [Quit: Bye all :)]
c0rn has joined #ruby
Nisstyre has quit [Quit: Leaving]
Foxboron has joined #ruby
neiko has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
<Foxboron>
Helluw, i need some help regarding hub, git bash and ruby. Basically, hub wont be ran with ruby.
grotr has quit [Quit: Leaving.]
mneorr has quit [Remote host closed the connection]
rakl has quit [Ping timeout: 264 seconds]
mneorr has joined #ruby
rakl has joined #ruby
<neiko>
Anyone know of a way to, or another library, to use Yajl and encode in chunks? I want to put the items I'm encoding in chunks, not read the encoded data in chunks mind you. So in essence, if I'm building a JSON array I can add the items in a little at a time rather than build a huge in memory array and encode all at once at the end.
elaptics is now known as elaptics`away
dinkytoy has joined #ruby
generalissimo has joined #ruby
Michael__ has quit [Remote host closed the connection]
Nisstyre has joined #ruby
blacktulip has quit [Remote host closed the connection]
generalissimo has quit [Read error: Connection reset by peer]
havenn has joined #ruby
generalissimo has joined #ruby
nerd has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
c0rn has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
bigmcq77 has quit [Quit: Computer has gone to sleep.]
mildfate has quit [Quit: Leaving.]
whitedawg has joined #ruby
gurps has quit [Quit: bye]
kil0byte has quit [Remote host closed the connection]
c0rn has joined #ruby
<ipalaus>
what gem I need to solve this error? /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
bigmcq77 has joined #ruby
* ipalaus
installing ruby1.9.1-dev..
pmros has quit [Ping timeout: 244 seconds]
Adget has quit [Quit: Adget]
rakuN has quit [Quit: rakuN]
nicoulaj has quit [Remote host closed the connection]