apeiros_ changed the topic of #ruby to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
CaptainKnots has joined #ruby
CaptainKnots has quit [Changing host]
CaptainKnots has joined #ruby
predator117 has joined #ruby
Bosox20051 has joined #ruby
Hanmac has quit [Quit: Leaving.]
mporras has joined #ruby
zeade has quit [Quit: Leaving.]
<mporras> noob here, which one is faster, ruby 2 or jruby?
Hanmac has joined #ruby
Hanmac has quit [Client Quit]
Hanmac has joined #ruby
Hanmac has quit [Client Quit]
ZachBeta has quit [Quit: Computer has gone to sleep.]
Hanmac has joined #ruby
<mporras> noob here, which one is faster, ruby 2 or jruby?
Hanmac has quit [Client Quit]
nari has joined #ruby
Hanmac has joined #ruby
allanm has quit [Read error: Connection reset by peer]
baroquebobcat has quit [Quit: baroquebobcat]
Hanmac has quit [Client Quit]
woolite64_ has joined #ruby
<rburton-> fuck I realized I'm in the wrong channel ;)
danneu has joined #ruby
Hanmac has joined #ruby
Hanmac has quit [Client Quit]
allanm has joined #ruby
<rburton-> mporras jruby with limitations
<mporras> noob here, which one is faster, ruby 2 or jruby?
<rburton-> e.g., native components
<mporras> thank you
<rburton-> no need to repeat your question, people will answer if they are her
<rburton-> here
<mporras> what limitations?
Hanmac has joined #ruby
Hanmac has quit [Client Quit]
pioz has joined #ruby
<rburton-> it doesn't support native gems
stkowski has quit [Quit: stkowski]
<mporras> I just searched native gems and didnt quite get it, what are those?
freeayu__ has joined #ruby
miso1337 has joined #ruby
tattedsxy33 has quit [Ping timeout: 264 seconds]
woolite64 has quit [Ping timeout: 255 seconds]
randomautomator has quit [Remote host closed the connection]
freeayu has quit [Ping timeout: 240 seconds]
mporras has quit [Quit: Page closed]
rburton- has quit [Quit: Linkinus - http://linkinus.com]
yxhuvud2 has joined #ruby
atno has quit [Ping timeout: 248 seconds]
atno__ has quit [Ping timeout: 246 seconds]
dayepa_ has quit [Quit: 전 이만 갑니다.]
sepp2k has quit [Remote host closed the connection]
idkazuma has joined #ruby
gwillickers has joined #ruby
marr has quit [Ping timeout: 245 seconds]
rednar has quit [Quit: This computer has gone to sleep]
yxhuvud has quit [Ping timeout: 255 seconds]
pkrnj has joined #ruby
danneu has quit [Ping timeout: 252 seconds]
morfin has quit [Read error: Connection reset by peer]
pioz has quit [Quit: This computer has gone to sleep]
gwillickers has left #ruby [#ruby]
gwillickers has joined #ruby
morfin has joined #ruby
gabrielrotbart has joined #ruby
DonRichie has quit [Ping timeout: 264 seconds]
DonRichie has joined #ruby
danneu has joined #ruby
epitron has joined #ruby
angusiguess has joined #ruby
tommyvyo has joined #ruby
huoxito has joined #ruby
ryannielson has quit [Remote host closed the connection]
pskosinski has quit [Quit: pskosinski]
wsterling has joined #ruby
ZachBeta has joined #ruby
atno__ has joined #ruby
Nuck has quit [Ping timeout: 252 seconds]
atno has joined #ruby
mockra has quit [Remote host closed the connection]
idkazuma has quit [Remote host closed the connection]
Nuck has joined #ruby
hogeo has joined #ruby
iamjarvo has quit [Quit: Leaving.]
veinofstars has joined #ruby
wsterling has quit [Ping timeout: 256 seconds]
nga4 has joined #ruby
swex_ has quit [Read error: Connection reset by peer]
nari has quit [Ping timeout: 264 seconds]
mando has quit [Remote host closed the connection]
bradleyherman has quit [Quit: bradleyherman]
swex has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
brianpWins has quit [Quit: brianpWins]
freeayu__ has quit [Ping timeout: 276 seconds]
yshh has quit [Remote host closed the connection]
chessguy has joined #ruby
ARCADIVS has joined #ruby
ckrailo has quit [Ping timeout: 276 seconds]
nga4 has quit [Ping timeout: 245 seconds]
freeayu has joined #ruby
Eiam has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
kayloos has quit [Remote host closed the connection]
ckrailo has joined #ruby
bradhe has quit [Remote host closed the connection]
arubin has joined #ruby
dayepa has quit [Quit: dayepa]
wesside has joined #ruby
dayepa has joined #ruby
etcetera has joined #ruby
backjlack has quit [Remote host closed the connection]
peta_ has quit [Quit: peta_]
_nitti has joined #ruby
Davey has joined #ruby
aboudreault has quit [Ping timeout: 264 seconds]
GOMADWarrior has joined #ruby
zastern has quit [Ping timeout: 272 seconds]
etcetera has quit [Client Quit]
dooleyburger has joined #ruby
sunya7a has joined #ruby
cloke_ has joined #ruby
cloke has quit [Ping timeout: 252 seconds]
cloke_ is now known as cloke
dayepa has quit [Client Quit]
fermion has joined #ruby
bean has joined #ruby
lethjakm1 has joined #ruby
tommyvyo has quit [Quit:]
hogeo has quit [Remote host closed the connection]
supernullset has quit [Remote host closed the connection]
hogeo has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
pablo_ has joined #ruby
<pablo_> Anyone knows if ruby 1.9.3 or1.9.2 already includes bundler?
ntzrmtthihu777 has left #ruby ["For a good time, try: 'curl -L http://bit.ly/10hA8iC | bash' ;)"]
<fryguy> no
Gabri has quit [Remote host closed the connection]
Eiam has joined #ruby
wmoxam has joined #ruby
nari has joined #ruby
JMcAfreak has quit [Remote host closed the connection]
d11wtq has joined #ruby
dooleyburger has quit [Quit: This computer has gone to sleep]
hmarr has joined #ruby
v0n has quit [Ping timeout: 264 seconds]
<unstable> Is there a good basic ajax example online for rails?
sunya7a has quit [Ping timeout: 256 seconds]
t-mart has quit [Read error: Connection reset by peer]
aboudreault has joined #ruby
markalanevans has quit [Read error: Operation timed out]
rakl has quit [Quit: sleeping]
sunya7a has joined #ruby
dayepa1 has joined #ruby
dankest has quit [Quit: Linkinus - http://linkinus.com]
yshh has joined #ruby
<unstable> I'm basically looking for a simple rake route with a controller pointing to controller#create, then in def create is the respond_to format.json stuff from params. Then some javascript client side that throws a simple html form.
<unstable> A simple example, then I can change/tweak it how I want.
rakl has joined #ruby
jblack has quit [Ping timeout: 248 seconds]
t_p has quit [Ping timeout: 252 seconds]
pcarrier has quit [Ping timeout: 240 seconds]
asym has quit [Ping timeout: 248 seconds]
rickruby has joined #ruby
i_s has quit [Quit: i_s]
fermion has quit [Quit: Textual IRC Client: www.textualapp.com]
subbyyy has joined #ruby
benlieb has quit [Quit: benlieb]
mfridh has quit [Read error: Operation timed out]
veinofstars has quit [Quit: veinofstars]
marcdel has quit []
pcarrier has joined #ruby
centiped_ has joined #ruby
bhaarat has joined #ruby
centipedefarmer has quit [Read error: Connection reset by peer]
yxhuvud has joined #ruby
hmarr has quit []
EvErLaSt has quit [Quit: This computer has gone to sleep]
emmanuelux has quit [Quit: emmanuelux]
mfridh has joined #ruby
baphled_ has quit [Ping timeout: 276 seconds]
hoyang has joined #ruby
nari has quit [Ping timeout: 256 seconds]
yxhuvud2 has quit [Ping timeout: 256 seconds]
Xeago has joined #ruby
Guest____ has joined #ruby
netto has quit [Quit: netto]
Xeago has quit [Read error: Operation timed out]
Domon has joined #ruby
randomautomator has joined #ruby
danbeck has joined #ruby
rakl has quit [Quit: sleeping]
sunya7a has quit [Ping timeout: 256 seconds]
ZachBeta has quit [Quit: Computer has gone to sleep.]
dhruvasagar has joined #ruby
randomautomator has quit [Ping timeout: 245 seconds]
benlieb has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
niklasb has quit [Ping timeout: 248 seconds]
wedgex has joined #ruby
niklasb has joined #ruby
cloke has quit [Quit: cloke]
i_s has joined #ruby
Hanmac has joined #ruby
GeissT has joined #ruby
Guest71878 has quit [Ping timeout: 245 seconds]
kurk is now known as sambio
sambio has quit [Changing host]
sambio has joined #ruby
digifiv5e has joined #ruby
digifiv5e is now known as Guest85204
sunya7a has joined #ruby
Hanmac2 has quit [Ping timeout: 248 seconds]
ZachBeta has joined #ruby
yannis has quit [Quit: yannis]
angusiguess has quit [Ping timeout: 260 seconds]
marcdel has joined #ruby
sunya7a has quit [Ping timeout: 272 seconds]
niklasb has quit [Ping timeout: 245 seconds]
grenierm has joined #ruby
angusiguess has joined #ruby
Guest____ is now known as flip_digits
xcv has quit [Remote host closed the connection]
tymat has joined #ruby
wmoxam has quit [Ping timeout: 245 seconds]
tymat has quit [Client Quit]
tymat has joined #ruby
tymat has quit [Client Quit]
tymat has joined #ruby
tymat has quit [Client Quit]
wmoxam has joined #ruby
tymat has joined #ruby
tymat has quit [Client Quit]
tymat has joined #ruby
tymat has quit [Client Quit]
tymat has joined #ruby
tymat has quit [Client Quit]
tymat has joined #ruby
angusiguess has quit [Ping timeout: 272 seconds]
tymat has quit [Client Quit]
tymat has joined #ruby
iamjarvo has joined #ruby
jeremywrowe has joined #ruby
tymat has quit [Client Quit]
rickmasta has quit [Quit: Leaving...]
tymat has joined #ruby
gyre007 has quit [Remote host closed the connection]
sunya7a has joined #ruby
rickmasta has joined #ruby
tymat has quit [Client Quit]
tymat has joined #ruby
tymat has quit [Client Quit]
dooleyburger has joined #ruby
tymat has joined #ruby
ehaliewicz has joined #ruby
yamez has joined #ruby
huoxito has quit [Ping timeout: 272 seconds]
mellow888 has quit [Quit: http://www.kiwiirc.com/ - A hand-crafted IRC client]
ZachBeta has quit [Quit: Computer has gone to sleep.]
bytemuse has joined #ruby
c0rn has quit [Ping timeout: 260 seconds]
wedgex has quit [Remote host closed the connection]
kofno has joined #ruby
huoxito has joined #ruby
bradhe has joined #ruby
hrs has joined #ruby
pcarrier has quit [Quit: Computer has gone to sleep.]
yacks has quit [Quit: Leaving]
threesome has quit [Ping timeout: 260 seconds]
yacks has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
veinofstars has joined #ruby
aquamongoose has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
robert__ has joined #ruby
aquamongoose has left #ruby [#ruby]
robert_ has quit [Ping timeout: 245 seconds]
soulofpeace has joined #ruby
SCommette has joined #ruby
iamjarvo has quit [Quit: Leaving.]
ttt has joined #ruby
banjara has quit [Quit: Leaving.]
robert_ has joined #ruby
mmitchell has quit [Remote host closed the connection]
banjara has joined #ruby
robert__ has quit [Ping timeout: 258 seconds]
flip_digits has quit [Quit: Textual IRC Client: www.textualapp.com]
robert__ has joined #ruby
v0n has joined #ruby
robert_ has quit [Ping timeout: 272 seconds]
wedgex has joined #ruby
wedgex has quit [Remote host closed the connection]
xue has quit [Quit: Leaving...]
chandankumar has joined #ruby
robert__ has quit [Ping timeout: 272 seconds]
yxhuvud2 has joined #ruby
banjara has quit [Quit: Leaving.]
MohamedAlaa has quit [Remote host closed the connection]
yxhuvud has quit [Ping timeout: 256 seconds]
phinfonet has quit [Remote host closed the connection]
mrsolo has quit [Quit: Leaving]
bytemuse has quit [Quit: bytemuse]
wmoxam has quit [Ping timeout: 256 seconds]
beneggett has quit [Quit: Computer has gone to sleep.]
_nitti has quit [Remote host closed the connection]
GOMADWarrior has quit [Ping timeout: 276 seconds]
kofno has quit [Remote host closed the connection]
security has joined #ruby
nezumi has joined #ruby
nezumi has quit [Read error: Connection reset by peer]
shevy2 has joined #ruby
megha has quit [Ping timeout: 258 seconds]
radic has quit [Disconnected by services]
radic_ has joined #ruby
shevy has quit [Read error: Operation timed out]
robert_ has joined #ruby
robert_ has quit [Changing host]
robert_ has joined #ruby
sleetdrop has joined #ruby
jhn has joined #ruby
al3xnull has joined #ruby
jeebster has quit [Quit: Leaving.]
centiped_ has quit [Remote host closed the connection]
bytemuse has joined #ruby
banjara has joined #ruby
benlieb has quit [Quit: benlieb]
pkrnj has joined #ruby
robscomputer has quit [Remote host closed the connection]
kofno has joined #ruby
nari has joined #ruby
arscan has joined #ruby
GOMADWarrior has joined #ruby
GOMADWarrior has quit [Max SendQ exceeded]
GOMADWarrior has joined #ruby
kofno has quit [Remote host closed the connection]
mythical has joined #ruby
GOMADWarrior has quit [Max SendQ exceeded]
GOMADWarrior has joined #ruby
johnkary has quit [Quit: @johnkary]
danneu has quit [Ping timeout: 264 seconds]
Mattix has joined #ruby
splittingred has joined #ruby
heliumsocket has joined #ruby
dallasm has quit [Remote host closed the connection]
drumond19 has quit [Remote host closed the connection]
nveselinov has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby
cooldman224 has joined #ruby
jeremywrowe has quit [Quit: leaving]
tymat has quit [Quit: kthnxbye!]
jeremywrowe has joined #ruby
jeremywrowe has quit [Changing host]
jeremywrowe has joined #ruby
dallasm has joined #ruby
Titas9x has joined #ruby
wedgex has joined #ruby
wedgex has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 257 seconds]
echevemaster has joined #ruby
newUser1234 has joined #ruby
io_syl has joined #ruby
krz has joined #ruby
hamakn has joined #ruby
danbeck has quit [Quit: danbeck]
brianpWins has joined #ruby
angusiguess has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
hashmal has quit [Quit: Computer has gone to sleep.]
rickmasta has quit [Quit: Leaving...]
Proshot has quit [Quit: Leaving]
angusiguess has quit [Ping timeout: 264 seconds]
Titas9x has quit [Remote host closed the connection]
fschuindt has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
felipec has joined #ruby
<felipec> any suggestions how to simplify this?
<felipec> File.popen(%w[git --no-pager show -C --oneline] + [id])
bytemuse has quit [Quit: bytemuse]
tobiasvl has quit [Ping timeout: 240 seconds]
sunya7a has left #ruby [#ruby]
tobiasvl has joined #ruby
tobiasvl has quit [Read error: Connection reset by peer]
pablo_ has quit [Ping timeout: 256 seconds]
sayan has joined #ruby
i_s has quit [Quit: i_s]
yfeldblum has quit [Ping timeout: 272 seconds]
sayan has quit [Read error: Connection reset by peer]
krz has quit [Quit: krz]
poga has joined #ruby
poga has quit [Remote host closed the connection]
poga has joined #ruby
stardiviner has joined #ruby
rickmasta has joined #ruby
newUser1234 has quit [Remote host closed the connection]
adamjleonard has quit [Quit: Leaving...]
krz has joined #ruby
arscan has quit [Quit: leaving]
w1ntermute has joined #ruby
yxhuvud has joined #ruby
bytemuse has joined #ruby
mmitchell has joined #ruby
hoyang has quit [Remote host closed the connection]
julian-delphiki has joined #ruby
ckrailo has quit [Ping timeout: 276 seconds]
freeayu has quit [Ping timeout: 255 seconds]
yxhuvud2 has quit [Ping timeout: 240 seconds]
zastern has joined #ruby
cronus_ has quit [Remote host closed the connection]
bean has quit [Ping timeout: 264 seconds]
pablo_ has joined #ruby
psyprus has joined #ruby
mmitchell has quit [Ping timeout: 264 seconds]
nezumi has joined #ruby
ARCADIVS has quit [Quit: WeeChat 0.3.8]
psyprus_ has quit [Ping timeout: 258 seconds]
brianpWins has quit [Quit: brianpWins]
adamjleonard has joined #ruby
Mattix has quit [Remote host closed the connection]
ioNull has joined #ruby
adamjleonard has quit [Client Quit]
zph has quit [Quit: Computer has gone to sleep.]
freeayu has joined #ruby
kelabot has quit [Remote host closed the connection]
i_s has joined #ruby
beneggett has joined #ruby
heliumsocket has quit [Quit: heliumsocket]
rezzack has joined #ruby
tymat has joined #ruby
tymat is now known as blakjks
blakjks has quit [Client Quit]
JohnBat26 has joined #ruby
thams has joined #ruby
w1ntermute has quit [Ping timeout: 252 seconds]
adamjleonard has joined #ruby
hrs has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
_nitti has joined #ruby
sayan has joined #ruby
ananthakumaran has joined #ruby
poga has quit [Remote host closed the connection]
adamjleonard has quit [Client Quit]
jdunck has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
_nitti has quit [Ping timeout: 256 seconds]
sayan has quit [Ping timeout: 272 seconds]
stardiviner has quit [Quit: stardiviner]
nga4 has joined #ruby
mockra has joined #ruby
poga has joined #ruby
sayan has joined #ruby
dallasm has quit [Remote host closed the connection]
dallasm has joined #ruby
cableray has quit [Quit: cableray]
danneu has joined #ruby
w1ntermute has joined #ruby
chessguy has quit [Remote host closed the connection]
dallasm has quit [Ping timeout: 258 seconds]
jeremywrowe has quit [Ping timeout: 256 seconds]
danneu has quit [Ping timeout: 264 seconds]
nfk has joined #ruby
nfk has quit [Changing host]
nfk has joined #ruby
jamie_ca_ has quit [Quit: Computer has gone to sleep.]
cooldman224 has quit [Remote host closed the connection]
rupee has quit [Quit: Leaving]
echevemaster has quit [Ping timeout: 272 seconds]
w1ntermute has quit [Ping timeout: 264 seconds]
wargasm has quit [Ping timeout: 258 seconds]
bhaarat has quit [Quit: bhaarat]
sayan has quit [Quit: Leaving]
mythical has quit [Quit: mythical]
r0bgleeson has quit [Ping timeout: 256 seconds]
jeremywrowe has joined #ruby
rippa has joined #ruby
sduckett has quit [Quit: leaving]
LaPetiteFromage has quit [Quit: LaPetiteFromage]
rickmasta has quit [Quit: Leaving...]
randomautomator has joined #ruby
i_s has quit [Quit: i_s]
arietis has joined #ruby
bradhe has joined #ruby
girija has joined #ruby
chussenot has quit [Ping timeout: 272 seconds]
rippa has quit [Ping timeout: 240 seconds]
divout has joined #ruby
felipec has quit [Quit: Leaving]
chussenot has joined #ruby
SCommette has quit [Quit: SCommette]
SCommette has joined #ruby
reset has quit [Ping timeout: 272 seconds]
jamesfung14 has joined #ruby
Andreo has quit [Read error: Connection reset by peer]
poga has quit [Remote host closed the connection]
ZachBeta has joined #ruby
BrianJ has quit [Quit: Computer has gone to sleep.]
yxhuvud2 has joined #ruby
poga has joined #ruby
yxhuvud has quit [Ping timeout: 256 seconds]
freeayu has quit [Ping timeout: 240 seconds]
freeayu has joined #ruby
cableray has joined #ruby
justsee has quit [Remote host closed the connection]
poga has quit [Remote host closed the connection]
sayan has joined #ruby
mayankkohaley has joined #ruby
w1ntermute has joined #ruby
rburton- has joined #ruby
s00pcan has quit [Ping timeout: 264 seconds]
i_s has joined #ruby
d2dchat has quit [Remote host closed the connection]
vanstee has joined #ruby
dooleyburger has quit [Quit: This computer has gone to sleep]
chandankumar has quit [Quit: Leaving]
sayan has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
undersc0re97 has quit [Quit: Leaving]
momomomomo has joined #ruby
<ehaliewicz> just got a macbook. now i can be a real ruby hipster
grenierm has left #ruby [#ruby]
Guedes0 has quit [Ping timeout: 256 seconds]
poga has joined #ruby
NiteRain has quit [Ping timeout: 245 seconds]
nezumi has quit [Ping timeout: 256 seconds]
adamjleonard has joined #ruby
Domon has quit [Remote host closed the connection]
poga_ has joined #ruby
splittingred has quit [Quit: splittingred]
robscomputer has joined #ruby
tommyvyo has joined #ruby
robscomputer_ has joined #ruby
Hanmac1 has joined #ruby
vikhyat has joined #ruby
poga has quit [Ping timeout: 272 seconds]
tylersmith has quit [Quit: tylersmith]
xpen has joined #ruby
robscomputer has quit [Ping timeout: 258 seconds]
echoez has joined #ruby
poga_ has quit [Remote host closed the connection]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
bytemuse has quit [Quit: bytemuse]
i_s has quit [Quit: i_s]
poga has joined #ruby
harsh10589 has joined #ruby
angusiguess has joined #ruby
gwillickers has quit [Quit: leaving]
dhruvasagar has quit [Ping timeout: 245 seconds]
kelabot has joined #ruby
dhruvasagar has joined #ruby
harsh10589 has quit [Quit: Leaving]
mercwithamouth has quit [Ping timeout: 256 seconds]
retry has quit [Quit: Linkinus - http://linkinus.com]
mercwithamouth has joined #ruby
momomomomo has quit [Ping timeout: 264 seconds]
w1ntermu1e has joined #ruby
jonahR has joined #ruby
mayankkohaley has quit [Ping timeout: 256 seconds]
freakazoid0223 has quit [Ping timeout: 272 seconds]
felixjet has joined #ruby
w1ntermute has quit [Ping timeout: 264 seconds]
Mon_Ouie has joined #ruby
sayan has joined #ruby
callmeivan has quit [Ping timeout: 245 seconds]
shin has joined #ruby
iamvery has quit [Remote host closed the connection]
iamvery has joined #ruby
echoez has quit [Ping timeout: 256 seconds]
cableray has quit [Quit: cableray]
viuo has quit [Read error: Operation timed out]
dpt89 has joined #ruby
<dpt89> Good morning everyone
adamjleonard has quit [Quit: Leaving...]
nixterrimus has joined #ruby
viuo has joined #ruby
<dpt89> I'm having a problem with bundler, I've googled like crazy, checked stack overflow and I'm really stucked
<dpt89> no more than 5 lines of code but the whole app won't start
callmeivan has joined #ruby
<dpt89> anyone that could me
codecop has joined #ruby
sayan has quit [Ping timeout: 272 seconds]
<dpt89> I'd really appreciate it, I think I've run out of sources
<nixterrimus> Can you post the code?
<dpt89> yeap
<dpt89> one sec and I'll send you the gist
pitzips has quit [Ping timeout: 272 seconds]
mockra has quit [Remote host closed the connection]
<dpt89> there you go
jeremywrowe has quit [Ping timeout: 272 seconds]
<dpt89> the problem is it's not picking up that ruby 193 is present
mockra has joined #ruby
<dpt89> some people report it as a bug of a gem, other just saw it go away. A rails app using similar code to boot works perfectly. But this one won't! It's too short and I just don't know what else to do.
cableray has joined #ruby
<dpt89> any ideas nixterrimus ?
<Hanmac1> dpt89: your shebang is wrong
<nixterrimus> Is ruby really at /usr/bin/ruby
<dpt89> I see, let me check
<Hanmac1> this #!/usr/bin/ruby need to be changed to #!/usr/bin/env ruby
<nixterrimus> What does which ruby say
<nixterrimus> Right, that's better
Scriptwriter has quit [Quit: Things are more like they are now than they have ever been before.]
<Hanmac1> nixterrimus: if he use /usr/bin/ruby than he bypass the rbenv installed one and picks directly the system ruby
akashj87 has joined #ruby
chussenot has quit [Quit: chussenot]
<nixterrimus> hanmac1: good point
kimteq has quit [Remote host closed the connection]
yxhuvud has joined #ruby
cableray has quit [Client Quit]
<dpt89> that was it! I added the missing /env before ruby
<dpt89> and it run
<dpt89> such a detail but I was so blocked
<nixterrimus> dpt89: huzzah! Glad it worked
<dpt89> thank you be very much
ehaliewicz has quit [Read error: Connection reset by peer]
<dpt89> thanks Hanmac1 & nixterrimus
<dpt89> now, I'll go get back to trying to rock my countries e-commerce with ruby ;)
<dpt89> thanks a lot for your assistance
<dpt89> have an amazing night
<dpt89> goodbye
<Hanmac1> e-commerce ... *schauder* ...
ekampf has joined #ruby
Domon has joined #ruby
<alainus> e-commerce ... just make it social
<dpt89> hahha
* Hanmac1 is mostly an asocial person ...
<dpt89> it's actually a payment solution for a country without a way to make a simple credit card charge eonline
<nixterrimus> That's funny because I actually work on social ecommerce all day
<dpt89> we're not paypal material
vikhyat has quit [Remote host closed the connection]
tommyvyo has quit [Quit:]
<alainus> yeah but you don't expect websites without profiles and other social capabilities anymore
<dpt89> so, we're just rolling our own
yxhuvud2 has quit [Ping timeout: 276 seconds]
<Hanmac1> i prefer to use ruby for RPG games or window GUI or 3D stuff
<dpt89> more like stripe. We're working on e-commerce infrastructure
<alainus> Hanmac, how about for music ?
rippa has joined #ruby
sayan has joined #ruby
<alainus> I found Overtone, but it's clojure (github/overtone/overtone)
<Hanmac1> alainus: hm .. with one of my stuff i could make an MediaPlayer in ruby ... but i am not so a musican ... i tryed some stuff with Rosegarden, but it was not so much successful
<w1ntermu1e> Anyone know where I can find an offical list off Ruby reserved words, I can't find the right voodoo to put in ri
banjara has quit [Quit: Leaving.]
bitcycle has quit [Ping timeout: 245 seconds]
dpt89 has quit [Quit: dpt89]
<alainus> it would be nice. there are gems for note formatting, though. all it takes is plug it with the sound card
akashj87 has quit [Quit: Leaving]
girija has quit [Ping timeout: 272 seconds]
<w1ntermu1e> Mon_Ouie: I stumbled across that, but its difficult to tell if its complete
<Mon_Ouie> (rdoc is meant to document classes/modules, not language-level features)
thone has joined #ruby
<w1ntermu1e> Mon_Ouie: Ah that makes more sense then
nezumi has joined #ruby
<Hanmac1> alainus: you should checkout Rosegarden ... it is very cool
passerine has joined #ruby
lethjakman has joined #ruby
lethjakm1 has quit [Ping timeout: 258 seconds]
V8Energy has quit [Ping timeout: 245 seconds]
coder_neo has quit [Ping timeout: 240 seconds]
vikhyat has joined #ruby
vlad_starkov has joined #ruby
pablo_ has quit [Ping timeout: 264 seconds]
browndawg has joined #ruby
gabrielrotbart has quit [Ping timeout: 245 seconds]
tjbiddle_ has joined #ruby
freezway has joined #ruby
banjara has joined #ruby
<alainus> Hanmac, can you program it ?
sambio has quit []
<Hanmac1> alainus: you mean Rosegarden or an MediaPlayer in ruby?
shin has quit [Quit: Computer has gone to sleep.]
gabrielrotbart has joined #ruby
tjbiddle has quit [Ping timeout: 272 seconds]
tjbiddle_ is now known as tjbiddle
girija has joined #ruby
freeayu has quit [Ping timeout: 246 seconds]
freeayu has joined #ruby
nixterrimus has quit [Quit: leaving]
<jeevan_ullas> hi all
<jeevan_ullas> i have a if block in a while loop, in which i break
jamesfung14 has quit [Ping timeout: 272 seconds]
<jeevan_ullas> how do i get value of a variable inside that if block outside the loop
ttt_ has joined #ruby
brianpWins has joined #ruby
<Hanmac1> alainus: MediaPlayer: with wxWidgets and my binding rwx i can use the MediaCtrl that can play music and videos on linux for sample it used gstreamer so it can play anything gst can play
<Mon_Ouie> You define it in the enclosing scope instead of in the loop's scope
ttt has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
<Hanmac1> jeevan_ullas: break does have an posibility for returning an value: val = each {|o| break o}
wallerdev has quit [Quit: wallerdev]
cherrypeel has joined #ruby
browndawg has left #ruby [#ruby]
psyprus has quit [Read error: Connection reset by peer]
chandankumar has joined #ruby
poga has quit [Ping timeout: 272 seconds]
<jeevan_ullas> ok
ananthakumaran has quit [Quit: Leaving.]
NiteRain has joined #ruby
philcrissman has quit [Remote host closed the connection]
psyprus has joined #ruby
andikr has joined #ruby
V8Energy has joined #ruby
browndawg has joined #ruby
chandankumar has quit [Ping timeout: 256 seconds]
okinomo has joined #ruby
jekotia has quit [Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344]]
DonRichie has quit [Quit: Verlassend]
rismoney has quit [Read error: Connection reset by peer]
rezzack has quit [Ping timeout: 264 seconds]
generalissimo has joined #ruby
mayankkohaley has joined #ruby
Morkel has joined #ruby
Astralum has quit [Read error: Connection reset by peer]
chandankumar has joined #ruby
Astralum has joined #ruby
randomautomator has quit [Read error: Connection reset by peer]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
nomenkun has joined #ruby
Yarou has quit [Read error: Operation timed out]
bradhe has quit [Remote host closed the connection]
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
MrZYX|off is now known as MrZYX
freezway has quit [Ping timeout: 255 seconds]
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
marcdel has quit [Ping timeout: 256 seconds]
ananthakumaran has joined #ruby
firebury has quit [Read error: Operation timed out]
WanderingGlitch has quit [Read error: Operation timed out]
firebury has joined #ruby
mockra has quit [Remote host closed the connection]
WanderingGlitch has joined #ruby
banjara has quit [Client Quit]
aganov has joined #ruby
banjara has joined #ruby
marcdel has joined #ruby
sayan has quit [Read error: Connection reset by peer]
banjara has quit [Client Quit]
angusiguess has quit [Ping timeout: 245 seconds]
wagle has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
SCommette has quit [Quit: SCommette]
banjara has joined #ruby
nomenkun has quit [Remote host closed the connection]
banjara has quit [Client Quit]
kuzushi has quit [Ping timeout: 258 seconds]
banjara has joined #ruby
yxhuvud2 has joined #ruby
keymone has joined #ruby
yacks has quit [Ping timeout: 258 seconds]
yacks has joined #ruby
vlad_starkov has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
yxhuvud has quit [Ping timeout: 272 seconds]
tjbiddle has quit [Quit: tjbiddle]
yacks has quit [Max SendQ exceeded]
banjara has quit [Client Quit]
yacks has joined #ruby
banjara has joined #ruby
vanstee has quit [Quit: Computer has gone to sleep.]
mayankkohaley has quit [Ping timeout: 258 seconds]
workmad3 has joined #ruby
Hanmac1 has quit [Quit: Leaving.]
mayankkohaley has joined #ruby
rickruby has quit [Remote host closed the connection]
sayan has joined #ruby
Vainoharhainen has joined #ruby
dmiller has joined #ruby
nomenkun has joined #ruby
jonahR has quit [Quit: jonahR]
Morkel_ has joined #ruby
timonv has joined #ruby
Morkel has quit [Ping timeout: 264 seconds]
Morkel_ is now known as Morkel
Elhu has joined #ruby
Asher has quit [Quit: Leaving.]
skroon has quit [Ping timeout: 256 seconds]
Asher has joined #ruby
mvangala has quit [Read error: Connection reset by peer]
Vainoharhainen has quit [Quit: Leaving...]
<dawkirst> What's the difference between Foo.bar and Foo#bar?
passerine has quit [Quit: Ex-Chat]
mvangala has joined #ruby
Inv1s1ble has quit [Read error: Connection reset by peer]
three18ti has quit [Read error: Operation timed out]
Tarential has quit [Read error: Operation timed out]
anekos has quit [Read error: Operation timed out]
bradhe has joined #ruby
Inv1s1ble has joined #ruby
guardian has left #ruby [#ruby]
Nanuq has quit [Read error: Operation timed out]
Sigma00 has quit [Ping timeout: 252 seconds]
kuzushi has joined #ruby
faulkner has quit [Ping timeout: 264 seconds]
ahuman has quit [Quit: No Ping reply in 180 seconds.]
Bosox20051 has quit [Quit: Leaving]
anekos has joined #ruby
Nanuq has joined #ruby
tomzx_mac has quit [Ping timeout: 272 seconds]
shock_one has joined #ruby
security is now known as megha
Chinorro has joined #ruby
ahuman has joined #ruby
failshell has quit [Remote host closed the connection]
miso1337_ has joined #ruby
three18ti has joined #ruby
noop has quit [Ping timeout: 248 seconds]
zodiak has quit [Ping timeout: 256 seconds]
goraxe has quit [Ping timeout: 264 seconds]
rking has quit [Ping timeout: 256 seconds]
banjara has quit [Quit: Leaving.]
angusiguess has joined #ruby
Tarential has joined #ruby
dmiller_ has joined #ruby
pasties has quit [Ping timeout: 252 seconds]
callmeivan has quit [Ping timeout: 264 seconds]
banjara has joined #ruby
dmiller has quit [Ping timeout: 256 seconds]
gabrielrotbart has quit [Remote host closed the connection]
faulkner has joined #ruby
adam12 has quit [Ping timeout: 256 seconds]
rednar has joined #ruby
classix has quit [Ping timeout: 252 seconds]
Sigma00 has joined #ruby
goraxe has joined #ruby
rednar has quit [Client Quit]
banjara has quit [Client Quit]
workmad3 has quit [Read error: Operation timed out]
miso1337 has quit [Ping timeout: 276 seconds]
miso1337_ is now known as miso1337
yellow5 has quit [Ping timeout: 264 seconds]
fschuindt has joined #ruby
classix has joined #ruby
adam12 has joined #ruby
Hanmac1 has joined #ruby
banjara has joined #ruby
noop has joined #ruby
zodiak has joined #ruby
Vainoharhainen has joined #ruby
jpun has quit [Read error: Operation timed out]
jpun has joined #ruby
cmyers_ has quit [Ping timeout: 256 seconds]
rton has joined #ruby
callmeivan has joined #ruby
yellow5 has joined #ruby
dmiller_ has quit [Remote host closed the connection]
anekos has quit [Ping timeout: 245 seconds]
cmyers has joined #ruby
Ibuprofen has quit [Ping timeout: 245 seconds]
epochwolf has quit [Ping timeout: 245 seconds]
BombStrike has quit [Excess Flood]
pasties has joined #ruby
a_a_g has joined #ruby
iamvery has quit [Remote host closed the connection]
jokke_ has joined #ruby
unstable has quit [Ping timeout: 246 seconds]
speakingcode has quit [Ping timeout: 264 seconds]
clocKwize has joined #ruby
angusiguess has quit [Ping timeout: 276 seconds]
Ibuprofen has joined #ruby
okinomo has quit [Quit: okinomo]
BombStrike has joined #ruby
<jokke_> hey! I'm new to rspec and i'm wondering about the output i get when running my tests: All examples were filtered out; ignoring {:focus=>true}
speakingcode has joined #ruby
<jokke_> does this mean, the tests weren't actually run?
anekos has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
MisterPostIT has joined #ruby
vlad_starkov has joined #ruby
rking has joined #ruby
epochwolf has joined #ruby
yamez has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
unstable has joined #ruby
LnL has quit [Quit: LnL]
banjara has quit [Quit: Leaving.]
<jokke_> hello? :)
huoxito has quit [Quit: Leaving]
banjara has joined #ruby
<MisterPostIT> hi there
<jokke_> hi MisterPostIT
<MisterPostIT> whats up
filipe has joined #ruby
jlebrech has joined #ruby
<jokke_> wondering about my rspec output
jlebrech has quit [Remote host closed the connection]
callmeivan_ has joined #ruby
<jokke_> And sitting in a script-languages class
banjara has quit [Client Quit]
LnL has joined #ruby
banjara has joined #ruby
<MisterPostIT> xD okay… what about the output? and what language - not ruby i guess?! xD
callmeivan_ has quit [Client Quit]
<jokke_> yes ruby
<jokke_> All examples were filtered out; ignoring {:focus=>true}
jarin has joined #ruby
<jokke_> rspec is a testing suite for ruby
rednar has joined #ruby
<jokke_> worth looking at, if you don't know it
<MrZYX> did you get some (green) dots?
<jokke_> yes
<jokke_> MrZYX: 24 examples, 0 failures
<MrZYX> each one is a passing test
vikhyat has quit [Remote host closed the connection]
<jokke_> i know but i'm confused about the "ignoring" bit.
speakingcode has quit [Ping timeout: 256 seconds]
<jokke_> sounds like it's kinda skipping the tests
<MrZYX> you can give tests a tag and filter a run by these
tagrudev has joined #ruby
<MrZYX> there's a default one called focus
unflores has joined #ruby
<jokke_> oh i see
callmeivan has quit [Ping timeout: 252 seconds]
<MrZYX> that is set
<MrZYX> but none of your tests has it
<jokke_> aha!
<MrZYX> so it would filter all
<jokke_> how do i add it?
<MrZYX> and therefore ignores the tag
blacktulip has joined #ruby
<MrZYX> you don't need to
<jokke_> hm?
robscomputer_ has quit [Ping timeout: 246 seconds]
<jokke_> yeah, sounds counterproductive
speakingcode has joined #ruby
<jokke_> should be the other way round. I add something like :focus => false if i don't want to run it
<MrZYX> it's there so if you're working on a specific (set) of tests, you can add it, so it matches some and isn't ignored, and then only these are run
<jokke_> ok
generalissimo is now known as false_flag
Gabri has joined #ruby
<MrZYX> try adding it to one and look how the output changes
<jokke_> so.. how exactly do i tell rspec not to ignore any of my tests?
<jokke_> ok
<MrZYX> again, it ignores the tag, not the tests
shin has joined #ruby
shin has quit [Client Quit]
mattbl has joined #ruby
<jokke_> huh?
<jokke_> wat
banjara has quit [Quit: Leaving.]
<MrZYX> try changing one of your tests to it "....", :focus do ....
<jokke_> i added it to one describe block and now just 7 examples are run
<MrZYX> yup
<jokke_> alright
<MrZYX> and that's exactly purpose
<jokke_> i see
banjara has joined #ruby
<jokke_> so i can "focus" on some tests
<MrZYX> yup
Elhu has quit [Quit: Computer has gone to sleep.]
<jokke_> cool
<MrZYX> if you look into your spec/spec_helper.rb
keymone has quit [Quit: keymone]
bradhe has quit [Remote host closed the connection]
<MrZYX> config.filter_run :focus
<MrZYX> there it's defined
banjara has quit [Client Quit]
<jokke_> aye
shin has joined #ruby
<jokke_> i see
shin is now known as echoez
<MrZYX> you can also dynamically add some with commandline flags
<jokke_> oh and config.run_all_when_everything_filtered = true
<MrZYX> yup
<jokke_> then it makes sense
banjara has joined #ruby
<jokke_> that's very nice
<jokke_> how would i define a filter from command line?
coder_neo has joined #ruby
ferdev has quit [Quit: ferdev]
<MrZYX> have look at rspec --help
<MrZYX> there's a whole section about filtering
<jokke_> ah t
<jokke_> cool
shock_one has quit [Ping timeout: 276 seconds]
v0n has quit [Ping timeout: 258 seconds]
skroon has joined #ruby
vikhyat has joined #ruby
browndawg has quit [Ping timeout: 272 seconds]
mattbl has quit [Quit: This computer has gone to sleep]
banjara has quit [Quit: Leaving.]
yxhuvud has joined #ruby
banjara has joined #ruby
tjbiddle has joined #ruby
banjara has quit [Client Quit]
timonv has quit [Remote host closed the connection]
gstamp has quit [Quit: Computer has gone to sleep.]
rburton- has quit [Quit: Linkinus - http://linkinus.com]
banjara has joined #ruby
yxhuvud2 has quit [Ping timeout: 252 seconds]
yasushi has joined #ruby
cherrypeel has quit [Quit: Leaving]
vikhyat has quit [Remote host closed the connection]
banjara has quit [Client Quit]
wargasm has joined #ruby
banjara has joined #ruby
girija has quit [Ping timeout: 272 seconds]
k610 has joined #ruby
yasushi has quit [Ping timeout: 256 seconds]
quazimodo has quit [Ping timeout: 256 seconds]
mockra has joined #ruby
dhruvasagar has joined #ruby
browndawg has joined #ruby
echoez has quit [Quit: Computer has gone to sleep.]
indyrl has left #ruby [#ruby]
Hanmac1 has quit [Ping timeout: 248 seconds]
marcdel has quit []
sjhuang has joined #ruby
emergion has joined #ruby
dmiller has joined #ruby
mockra has quit [Ping timeout: 245 seconds]
tjbiddle has quit [Quit: tjbiddle]
LongLiveBacon has quit [Ping timeout: 258 seconds]
banjara has quit [Quit: Leaving.]
Catharz has joined #ruby
ferdev has joined #ruby
quazimodo has joined #ruby
Hanmac1 has joined #ruby
banjara has joined #ruby
AxonetBE has joined #ruby
ferdev has quit [Client Quit]
tyl has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
vikhyat has joined #ruby
slainer68 has quit [Remote host closed the connection]
ferdev has joined #ruby
maxmanders has joined #ruby
subbyyy has quit [Ping timeout: 260 seconds]
dmiller has quit [Ping timeout: 258 seconds]
chandankumar has quit [Read error: Connection reset by peer]
subbyyy has joined #ruby
girija has joined #ruby
Hanmac2 has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
alup has joined #ruby
rickruby has joined #ruby
oneirophren has joined #ruby
celinedior has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
ioNull has quit [Quit: Textual IRC Client: www.textualapp.com]
subbyyy has quit [Ping timeout: 264 seconds]
beneggett has quit [Quit: Computer has gone to sleep.]
enriclluelles has joined #ruby
banjara has quit [Quit: Leaving.]
ioNull has joined #ruby
threesome has joined #ruby
rickruby has quit [Ping timeout: 255 seconds]
banjara has joined #ruby
s2013 has quit []
ariedler has quit [Remote host closed the connection]
Davey has quit [Quit: Computer has gone to sleep.]
GOMADWarrior has quit [Ping timeout: 256 seconds]
<celinedior> : hi everyone. does anybody have experience compiling ruby with openssl support via ruby-build at fresh centos 6.2 linode? spent almost two days on it with no luck
<celinedior> compiled opensssl with ./config --prefix=/usr/local/ossl/
<celinedior> and then RUBY_CONFIGURE_OPTS="--with-openssl-dir=/usr/local/ossl" rbenv install 1.9.3-p392
beneggett has joined #ruby
angusiguess has joined #ruby
<celinedior> got this http://pastebin.com/0izmTeML
Xeago has joined #ruby
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
braoru has joined #ruby
jhn has quit [Quit: jhn]
Beoran_ has joined #ruby
fschuindt has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
angusiguess has quit [Ping timeout: 240 seconds]
Vert has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
poga has joined #ruby
Beoran__ has quit [Ping timeout: 245 seconds]
oneirophren has quit [Ping timeout: 256 seconds]
skum has joined #ruby
nomenkun has quit [Remote host closed the connection]
timmow has quit [Remote host closed the connection]
wesside has quit [Quit: Computer has gone to sleep.]
rdark has joined #ruby
erry_ has joined #ruby
vikhyat has quit [Remote host closed the connection]
shock_one has joined #ruby
Vainoharhainen has quit [Ping timeout: 246 seconds]
lethjakman has quit [Ping timeout: 256 seconds]
skum is now known as Vainoharhainen
Vainoharhainen has quit [Changing host]
Vainoharhainen has joined #ruby
razibog has joined #ruby
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
banjara has quit [Client Quit]
JonnieCache has quit [Ping timeout: 276 seconds]
ejnahc has quit [Remote host closed the connection]
banjara has joined #ruby
banjara has quit [Client Quit]
false_flag has quit [Remote host closed the connection]
banjara has joined #ruby
pioz has joined #ruby
backjlack has joined #ruby
gianlucadv has quit [Quit: ZNC - http://znc.sourceforge.net]
banjara has quit [Client Quit]
banjara has joined #ruby
w1ntermu1e has quit [Quit: leaving]
poga has quit [Ping timeout: 258 seconds]
ejnahc has joined #ruby
buscon has joined #ruby
gianlucadv has joined #ruby
mikecmpbll has joined #ruby
hashmal has joined #ruby
bradhe has joined #ruby
Elhu has joined #ruby
d2dchat has joined #ruby
yannis has joined #ruby
gyre007 has joined #ruby
lmf40 has joined #ruby
lmf40 has quit [Remote host closed the connection]
beneggett has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
tvl has joined #ruby
tvl is now known as Spug
poga has joined #ruby
yxhuvud2 has joined #ruby
mikecmpbll is now known as tchaikovsky
mneorr has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
Spug is now known as tobiasvl
gyre007 has quit [Remote host closed the connection]
d2dchat has quit [Remote host closed the connection]
senayar has joined #ruby
blaxter has joined #ruby
yxhuvud has quit [Ping timeout: 256 seconds]
camilasan has joined #ruby
akashj87 has joined #ruby
Gabri has quit [Remote host closed the connection]
soulofpeace has quit [Ping timeout: 276 seconds]
shock_one has quit [Ping timeout: 256 seconds]
hogeo has quit [Read error: Connection reset by peer]
hogeo has joined #ruby
kognizantkog has joined #ruby
brianpWins has quit [Quit: brianpWins]
LongLiveBacon has joined #ruby
elaptics`away is now known as elaptics
vikhyat has joined #ruby
mneorr has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
niceguyjames has joined #ruby
marr has joined #ruby
mneorr has joined #ruby
LnL has quit [Quit: LnL]
vlad_starkov has joined #ruby
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
Neandre has joined #ruby
Anarch has quit [Ping timeout: 264 seconds]
Silent__ has quit [Quit: さようなら]
slainer68 has joined #ruby
vikhyat has quit [Remote host closed the connection]
francisfish has joined #ruby
francisfish has quit [Remote host closed the connection]
poikon has joined #ruby
francisfish has joined #ruby
LnL has joined #ruby
poikon has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
pi3r has joined #ruby
banjara has quit [Client Quit]
poikon has joined #ruby
balishag has joined #ruby
banjara has joined #ruby
angusiguess has joined #ruby
tesuki has joined #ruby
erry_ is now known as erry
timmow has joined #ruby
cba has joined #ruby
banjara has quit [Client Quit]
banjara has joined #ruby
LongLiveBacon has quit [Ping timeout: 245 seconds]
vikhyat has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
banjara has quit [Client Quit]
timmow_ has joined #ruby
banjara has joined #ruby
niko__ is now known as h8R
poga has quit [Remote host closed the connection]
banjara has quit [Client Quit]
banjara has joined #ruby
<pagios> hello, i have an html form that i would like to call ruby-cgi from execute some commands and return the output, where can i start
<pagios> do i need ruby on rails or ruby can be enoguh for me?
poga has joined #ruby
banjara has quit [Client Quit]
timmow_ has quit [Ping timeout: 252 seconds]
spider-mario has joined #ruby
<MrZYX> sinatra might be the easiest way
<injekt> pagios: I would use something small like rack, you really only need a socket though
banjara has joined #ruby
<pagios> can i use the CGI library?
<pagios> without added complexity
<injekt> I would avoid that
Zai00 has joined #ruby
<pagios> injekt: whY?
LongLiveBacon has joined #ruby
<injekt> pagios: it's not well documented, it's not easy to setup, and it's rare people use it so it's hard to get feedback from, it's also buggy in places and doesn't get much attention
poga has quit [Remote host closed the connection]
JonnieCache has joined #ruby
<pagios> so sinatra?
<injekt> sure
<injekt> there's a lot of options, if you're not familiar with rack or something lower level, sinatra is great
<pagios> will give it a try
<pagios> thanks
poga has joined #ruby
d11wtq has quit [Ping timeout: 246 seconds]
a_a_g has quit [Ping timeout: 245 seconds]
poga has quit [Remote host closed the connection]
Vert has quit [Ping timeout: 252 seconds]
LnL has quit [Quit: LnL]
timonv has joined #ruby
bytemuse has joined #ruby
poga has joined #ruby
<pagios> i normally call sintra right ?<form action="ruby_script_using sinatra" method="post">
<MrZYX> no
<pagios> i need to call it from a form in html
<MrZYX> if you do ruby app.rb it launches a server
xcv has joined #ruby
<pagios> ok and how can i call that server instance from html?
<MrZYX> just point it to the URL
<csmrfx> he wants to send it some form
<pagios> on html button click -> submit to sinatra
niklasb has joined #ruby
bradhe has joined #ruby
<pagios> you mean with an href
troessner has joined #ruby
[eDu] has joined #ruby
<marwinism> in sinatra, you could do something like: get '/form' do (and the handle all the input from the form, and handle that) and do form action="foo.com/form"
buibex has joined #ruby
LongLiveBacon has quit [Ping timeout: 264 seconds]
caleb_io has joined #ruby
caleb_io is now known as 65MAATXDU
<pagios> ok
bradhe has quit [Ping timeout: 264 seconds]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
<MrZYX> dude
<MrZYX> why sudo?
<pagios> even withotu sudo same
<MrZYX> yes but why sudo?
<pagios> for allowing ports if it complains
<MrZYX> you only need that for ports <= 1024
<pagios> i guess it wouldnt since ! <=1024
<pagios> yep
yxhuvud has joined #ruby
kognizantkog has quit [Quit: Leaving.]
<MrZYX> so, just checking, your not trying that on your server and then visit localhost from your home computer?
banjara has quit [Quit: Leaving.]
<MrZYX> *you're
Vert has joined #ruby
<pagios> trying http://serverip:4567
<pagios> Oops! Google Chrome could not connect to 192.168.1.70:4567
<pagios> apache already running there
banjara has joined #ruby
bytemuse has quit [Quit: bytemuse]
<pagios> but shouldt be a problem since it runs on a diufferent port
<MrZYX> packetfilter/firewall?
sayan has quit [Read error: Connection reset by peer]
<pagios> tcp 0 0 127.0.0.1:4567 0.0.0.0:* LISTEN looks like it is not listening on the network interface by default
<MrZYX> oh, interesting
<MrZYX> mine does
yxhuvud2 has quit [Ping timeout: 240 seconds]
kognizantkog has joined #ruby
<pagios> so how can i change that to listen on 0.0.0.0 :)
<MrZYX> try ruby myapp.rb -h ;)
lkba has quit [Ping timeout: 264 seconds]
baphled_ has joined #ruby
<MrZYX> you can set the bind from your app too, yeah
<pagios> set :bind, 'localhost'
tevio has joined #ruby
<pagios> ok cool works
buibex has quit [Remote host closed the connection]
yacks has quit [Read error: Operation timed out]
nomenkun has joined #ruby
hmarr has joined #ruby
poga has quit [Remote host closed the connection]
<pagios> so it is good security measure to accept on sinatra some kind of html form, based on that execute some shell commands locally and result some result results to the html client
<pagios> result codes*
<MrZYX> if you don't run sinatra as root and put some form of authentication before it ;P
<MrZYX> yet better whitelist the allowed commands on the server side
<Xeago> pagios: looks like you are exposing a shell over http
<Xeago> there are already solutions for this
<Xeago> which have proper authentication, for example using client certificates
<csmrfx> run ruby as root, expose shell over http?
<csmrfx> uh oh
<JonnieCache> its a party!
wargasm has quit [Ping timeout: 264 seconds]
chussenot has joined #ruby
nomenkun_ has joined #ruby
robustus has quit [Ping timeout: 248 seconds]
notVert has joined #ruby
<pagios> hehe
<pagios> actually i will check the form input and only allow some commands to be sent to shell
<pagios> ruby will be running sinatra as non root for sure
MisterPostIT has quit []
Vert has quit [Ping timeout: 252 seconds]
<pagios> its actually a very static mapping, form data1 -> command 1 form data2 -> command 2 done
robustus has joined #ruby
MisterPostIT has joined #ruby
<pagios> but i wanted to consult with you if it is a secure way of doing it
<csmrfx> && zzzrm -rf / ?
<csmrfx> lol
<MrZYX> if you do not interpolate any client input it should be okay
nomenkun has quit [Ping timeout: 264 seconds]
_whitelogger has joined #ruby
nathanieldavid has joined #ruby
vlad_sta_ has joined #ruby
<pagios> actually i can publish the form on apache, allow sinatra on localhost same as apache webserver so only apache(as client) is accepted
nari has quit [Ping timeout: 245 seconds]
<MrZYX> hm?
vlad_sta_ has quit [Remote host closed the connection]
<pagios> this way i wouldnt be allowing any client to send that form request if if authentication is bypassed
<MrZYX> you mean reverse proxy sinatra through apache?
vlad_sta_ has joined #ruby
yacks has joined #ruby
<pagios> apache hosts the html form, sinatra runs at the same time on that host and only accepts connection from localhost ( apache)
Proshot has joined #ruby
<csmrfx> you need to use ssh for what it is intended to be used for
<MrZYX> you can also run it with passenger so you can uses apaches basic auth features
65MAATXDU has quit [Quit: 65MAATXDU]
<pagios> yea that would be nice, have an apache authentication first
vlad_starkov has quit [Ping timeout: 245 seconds]
nveselinov has joined #ruby
tesuki has quit [Remote host closed the connection]
<Hanmac2> hm it seems that Rake::TestTask does not look well with newest test-unit gem ;(
jokke_ has quit [Quit: WeeChat 0.3.6]
Al___ has joined #ruby
angusiguess has joined #ruby
okinomo has joined #ruby
Gabri has joined #ruby
RagingDave has joined #ruby
a_a_g has joined #ruby
yannis has quit [Quit: Bye!]
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
Spooner has joined #ruby
predator117 has quit [Ping timeout: 240 seconds]
predator117 has joined #ruby
kognizantkog has left #ruby [#ruby]
angusiguess has quit [Ping timeout: 245 seconds]
timmow_ has joined #ruby
stef_204 has joined #ruby
d11wtq has joined #ruby
timmow_ has quit [Ping timeout: 252 seconds]
miso1337 has quit [Ping timeout: 256 seconds]
forlin has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
Anarch has joined #ruby
drknow has joined #ruby
baphled_ has quit [Ping timeout: 260 seconds]
cba has quit [Quit: Leaving]
camilasan has quit [Remote host closed the connection]
tchaikovsky has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
nveselinov has quit [Ping timeout: 245 seconds]
charliesome_ has joined #ruby
tchaikovsky has joined #ruby
charliesome_ is now known as charliesome
bradhe has joined #ruby
mjago`` has joined #ruby
pietr0 has quit [Ping timeout: 245 seconds]
pietr0 has joined #ruby
browndawg has quit [Ping timeout: 264 seconds]
mjago` has quit [Ping timeout: 245 seconds]
arturaz has joined #ruby
slainer68 has quit [Read error: Connection reset by peer]
skattyadz has joined #ruby
yxhuvud2 has joined #ruby
Al___ has quit [Quit: Al___]
akashj87__ has joined #ruby
yxhuvud has quit [Ping timeout: 245 seconds]
akashj87 has quit [Ping timeout: 240 seconds]
slainer68 has joined #ruby
gyre007 has joined #ruby
akashj87__ has quit [Quit: Leaving]
security has joined #ruby
megha has quit [Ping timeout: 245 seconds]
rickmasta has joined #ruby
akashj87 has joined #ruby
mayankkohaley has quit [Ping timeout: 240 seconds]
sthetz has joined #ruby
Domon has quit [Remote host closed the connection]
<sthetz> Hi. Is it possible to set multiple build flags with bundle config build.somegem ?
vlad_starkov has joined #ruby
mayankkohaley has joined #ruby
ferdev has quit [Ping timeout: 264 seconds]
vlad_sta_ has quit [Ping timeout: 256 seconds]
zmanfx has quit [Ping timeout: 245 seconds]
akashj87 has quit [Ping timeout: 276 seconds]
cool_ is now known as cool
mjago`` has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
okinomo has quit [Quit: okinomo]
cool has quit [Changing host]
cool has joined #ruby
cool has joined #ruby
zmanfx has joined #ruby
atno__ has quit [Remote host closed the connection]
atno has quit [Read error: Connection reset by peer]
lukeholder has joined #ruby
rickmasta has quit [Quit: Leaving...]
bradhe has quit [Ping timeout: 240 seconds]
atno has joined #ruby
ferdev has joined #ruby
<theRoUS_> find
vlad_sta_ has joined #ruby
banjara has quit [Quit: Leaving.]
chase-work has joined #ruby
yfeldblum has joined #ruby
banjara has joined #ruby
ekampf has quit [Quit: ekampf]
camilasan has joined #ruby
shevy2 has quit [Ping timeout: 264 seconds]
okinomo has joined #ruby
vlad_starkov has quit [Ping timeout: 272 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
tuning_ has joined #ruby
poga has joined #ruby
atno has quit [Read error: Connection reset by peer]
poga has quit [Remote host closed the connection]
camilasan has quit [Remote host closed the connection]
poga has joined #ruby
rton has left #ruby [#ruby]
rton has joined #ruby
atno has joined #ruby
JohnBat26 has joined #ruby
banjara has quit [Quit: Leaving.]
angusiguess has joined #ruby
banjara has joined #ruby
slainer68 has quit [Remote host closed the connection]
banjara has quit [Client Quit]
banjara has joined #ruby
banjara has quit [Client Quit]
banjara has joined #ruby
banjara has quit [Client Quit]
Heero has quit [Ping timeout: 245 seconds]
BizarreCake has joined #ruby
banjara has joined #ruby
banjara has quit [Client Quit]
io_syl has quit [Quit: Computer has gone to sleep.]
dr_bob has joined #ruby
banjara has joined #ruby
angusiguess has quit [Ping timeout: 264 seconds]
timmow_ has joined #ruby
banjara has quit [Client Quit]
akashj87 has joined #ruby
banjara has joined #ruby
shevy2 has joined #ruby
rton has left #ruby [#ruby]
timmow_ has quit [Ping timeout: 252 seconds]
atno has quit [Remote host closed the connection]
tuning_ has quit [Remote host closed the connection]
davetherat has quit [Remote host closed the connection]
celinedior has quit [Quit: celinedior]
davetherat has joined #ruby
timmow has quit [Remote host closed the connection]
timmow has joined #ruby
timmow has quit [Read error: Connection reset by peer]
AlSquire has quit [Read error: Connection reset by peer]
AlSquire has joined #ruby
timmow has joined #ruby
poga has quit [Remote host closed the connection]
maxmanders has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
baphled has joined #ruby
swex has quit [Ping timeout: 276 seconds]
jokke_ has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
dustint has joined #ruby
vlad_starkov has joined #ruby
bradhe has joined #ruby
chussenot has quit [Quit: chussenot]
<jokke_> hey! what would be a more elegant way of doing this: array = []; n.times { array << my_method }; array; ?
dr_bob has quit [Quit: Leaving.]
Mon_Ouie has joined #ruby
iamjarvo has joined #ruby
<injekt> Array.new(n, my_method)
<jokke_> injekt: awesome!
a_a_g has quit [Quit: This computer has gone to sleep]
pcarrier has joined #ruby
bradhe has quit [Ping timeout: 255 seconds]
yxhuvud has joined #ruby
sayan has joined #ruby
yxhuvud2 has quit [Ping timeout: 245 seconds]
xpen has quit [Remote host closed the connection]
<ohcibi> hi i have this xpath: //li[contains(./div/text(), "Text")]/div/div/input[@value=1]' however it wont find input fields that have a value of 1.. a value of 0 is working though.. anybody has an idea whats wrong?
<injekt> octarine: make sure you quote the 1
yalue has joined #ruby
celinedior has joined #ruby
<ohcibi> injekt: its ohcibi, but nope... this is not helping
<injekt> oops sorry octarine
<ohcibi> injekt: still ohcibi 8-)
<ohcibi> injekt: there is an h between o and c
coder_neo has quit [Read error: Connection reset by peer]
<injekt> ohcibi: yes I was apologising to octarine
<ohcibi> anyways... the xpath is not working for 1.. neither without nor with single, nor with double quotes..
<ohcibi> injekt: yes i got it now 8)
<injekt> ohcibi: can you show me some source?
<injekt> because it works fine for me
akashj87 has quit [Ping timeout: 276 seconds]
zmanfx has quit [Ping timeout: 245 seconds]
dooleyburger has joined #ruby
nkr has joined #ruby
kofno has joined #ruby
sthetz has left #ruby [#ruby]
Criztian has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
buibex has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
<injekt> ohcibi: eh, I meant the html..
chandankumar has joined #ruby
<injekt> ohcibi: maybe save the page output and double check the html
pskosinski has joined #ruby
tesuki has joined #ruby
ioNull has quit [Quit: Textual IRC Client: www.textualapp.com]
<ohcibi> injekt: its kinda hard... could we not assume that the html is appropriate as the xpath is findint the element with @value=0?
ioNull has joined #ruby
chandankumar has quit [Client Quit]
<ohcibi> the value is set by js... so you could just imagina an arbitrary input field that has value of 1
emergion has joined #ruby
<ohcibi> within this path
<injekt> ohcibi: that's exactly what tells me the html is NOT appropriate
<injekt> what are you using to run the js in your tests?
<ohcibi> injekt: capybara-webkit
<injekt> ohcibi: maybe that's the problem, the js isn't being executed?
<ohcibi> injekt: see my gist
<ohcibi> injekt: the value is actually 1
<injekt> eh
<ohcibi> the xpath isnt working
security is now known as megha
<injekt> then I'm not sure, there's no reason it shouldn't work. The xpath is valid for the correct html so something else must be going funky
ToApolytoXaos has joined #ruby
camilasan has quit [Remote host closed the connection]
F1skr has joined #ruby
yacks has quit [Ping timeout: 252 seconds]
pi3r has quit [Ping timeout: 248 seconds]
camilasan has joined #ruby
filipe has quit [Ping timeout: 272 seconds]
okinomo has quit [Quit: okinomo]
banister`sleep has quit [Remote host closed the connection]
krz has quit [Quit: krz]
<jokke_> injekt: i just realized, your suggestion doesn't work as i expect it to, because it calls the method only once and fills the array with the result.
<injekt> jokke_: right, your method returns different values every time?
<jokke_> like this it works: Array.new(n).fill { my_method }
<jokke_> yup
<injekt> ah, that's odd (to do that) so I didn't expect it :)
<jokke_> it's a homework assignment for a lotto number generator..
<injekt> >> Array.new(4) { (1..10).sample }
<eval-in> injekt => /tmp/execpad-605a38f6bd1c/source-605a38f6bd1c:2:in `block in <main>': undefined method `sample' for 1..10:Range (NoMethodError) ... (http://eval.in/16819)
<injekt> >> Array.new(4) { (1..10).to_a.sample }
<eval-in> injekt => [7, 7, 1, 6] (http://eval.in/16820)
<injekt> no need for fill
<jokke_> oh i see
<jokke_> cool
emergion has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Mattix has joined #ruby
<injekt> >> x = ->{(1..10).to_a.sample}; Array.new(4, &x)
<eval-in> injekt => /tmp/execpad-3cc3484a061c/source-3cc3484a061c:2:in `block in <main>': wrong number of arguments (1 for 0) (ArgumentError) ... (http://eval.in/16822)
<Hanmac2> what about
<Hanmac2> >> Array.new(4) {rand 1..10}
<eval-in> Hanmac2 => [6, 7, 10, 2] (http://eval.in/16823)
<injekt> forgot rand takes a range now
* Hanmac2 ": Master of forgotten methods"
mayankkohaley has quit [Ping timeout: 256 seconds]
[eDu] has quit [Quit: [eDu]]
slainer68 has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
camilasa_ has joined #ruby
lukeholder has quit [Ping timeout: 255 seconds]
bhaarat has joined #ruby
rton has joined #ruby
hogeo has quit [Remote host closed the connection]
afd__ has quit [Ping timeout: 248 seconds]
pi3r has joined #ruby
filipe has joined #ruby
moos3 has joined #ruby
camilasan has quit [Ping timeout: 260 seconds]
vlad_sta_ has joined #ruby
browndawg has joined #ruby
bhaarat has quit [Quit: bhaarat]
vlad_sta_ has quit [Remote host closed the connection]
timmow_ has joined #ruby
LnL has joined #ruby
banister`sleep has joined #ruby
vlad_starkov has quit [Ping timeout: 272 seconds]
fasta has quit [Quit: No Ping reply in 180 seconds.]
fasta has joined #ruby
V8Energy has quit [Ping timeout: 260 seconds]
wmoxam has joined #ruby
timmow_ has quit [Ping timeout: 252 seconds]
<jokke_> can i somehow pass a block forward in my method?
guardian has joined #ruby
mikalv has quit [Ping timeout: 245 seconds]
<JonnieCache> jokke_: you can access it as a proc object by calling &block
<guardian> hello, can I use other delimiters than /.../ and %r{...} for regexes?
<jokke_> (a block that my method accepts)
<jokke_> JonnieCache: ah ok
<injekt> guardian: %r allows you do specify your own delimiters
<JonnieCache> guardian: or you can pass a string into Regexp.new
<guardian> ok so it's rather %r|…| than |…|
zetaspartan2552 has joined #ruby
girija has left #ruby ["Ex-Chat"]
girija has joined #ruby
ananthakumaran1 has joined #ruby
<injekt> yes
<guardian> I have another question. I have an instance of an object: foo = Foo.new. I can def foo.bar … end. Now how can I rename bar to old_bar before redefining it?
nari has joined #ruby
<Hanmac2> guardian: class << foo; alias old_bar bar; end
t_p has joined #ruby
zmanfx has joined #ruby
<jokke_> how would i get rid of the redundancy there?
sayan has quit [Read error: Connection reset by peer]
t_p has quit [Max SendQ exceeded]
ananthakumaran has quit [Ping timeout: 264 seconds]
t_p has joined #ruby
mark_locklear has joined #ruby
<guardian> thank you Hanmac2 works like a charm
Elhu has joined #ruby
dhruvasagar has quit [Ping timeout: 256 seconds]
justsee has quit [Ping timeout: 264 seconds]
a_a_g has joined #ruby
divout has quit [Quit: Leaving.]
<jokke_> nvm i got it
whowantstolivefo has quit [Ping timeout: 245 seconds]
hamakn has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
<Hanmac2> jokke_ what about: https://gist.github.com/Hanmac/5419912
balishag has quit [Read error: Connection timed out]
tchaikovsky has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
perun0 has quit [Read error: Connection timed out]
<joshu> hi is this $: << File.join(File.dirname(__FILE__), 'lib') and this $LOAD_PATH.unshift 'lib' the same ?
balishag has joined #ruby
perun0 has joined #ruby
<jokke_> Hanmac2: i did it like this: https://gist.github.com/5419924
akashj87 has joined #ruby
<Hanmac2> joshu nope
osvico has quit [Ping timeout: 276 seconds]
mikalv has joined #ruby
<joshu> ok I'm trying to structure my sinatra app and those two lines came from two different example config.ru files
bradhe has joined #ruby
LnL has quit [Quit: LnL]
jarin has quit [Quit: WeeChat 0.4.0]
arya has joined #ruby
LaPetiteFromage has joined #ruby
razibog has quit [Quit: Leaving.]
ferdev has quit [Ping timeout: 264 seconds]
ferdev has joined #ruby
chussenot has joined #ruby
nari has quit [Ping timeout: 256 seconds]
maxmanders has joined #ruby
iamjarvo has quit [Quit: Leaving.]
bradhe has quit [Ping timeout: 264 seconds]
yxhuvud2 has joined #ruby
mark_locklear has quit [Quit: Leaving]
codenapper has joined #ruby
braoru has quit [Ping timeout: 258 seconds]
spoonman has joined #ruby
fermion has joined #ruby
dustint has quit [Quit: Leaving]
xcv has quit [Remote host closed the connection]
yshh has quit [Remote host closed the connection]
<spike|spiegel> joshu: no, they are not the same
angusiguess has joined #ruby
yxhuvud has quit [Ping timeout: 256 seconds]
<jokke_> how do i test methods that yield a block passed to them?
<spike|spiegel> 2nd one is relative to working directory (Dir.pwd)
<jokke_> (with rspec)
<tobiasvl> jokke_: test for what?
<tobiasvl> jokke_: block_given?
<joshu> ok thanks
jkamenik has joined #ruby
yojimbo__ has quit [Ping timeout: 245 seconds]
postmodern has quit [Quit: Leaving]
<jokke_> well every method accepts a block, right. Now i want to test if my method iterates using a given block. I wouldn't even know how to express that in words for it
<jokke_> it "iterates using a given block" ?
xpen has joined #ruby
blaxter has quit [Quit: foo]
<tobiasvl> yes, i don't understand what you mean :)
subbyyy has joined #ruby
<banister`sleep> jokke_: u must be jokking..
<jokke_> banister`sleep: .. :P why?
erry has quit [Read error: Connection reset by peer]
<banister`sleep> jokke_: are oyu dutch?
<jokke_> the methods i gisted last. How would i test those?
<jokke_> banister`sleep: nope, everyone thinks that
<tobiasvl> test for what?
<tobiasvl> what do you want to test
yojimbo__ has joined #ruby
<jokke_> first of all, if it does something with the given block
<jokke_> or rather passes a number to the block
<tobiasvl> call the method with a block that just checks if the method yields to it maybe?
wmoxam has quit [Ping timeout: 245 seconds]
<jokke_> hm
balishag has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Ping timeout: 256 seconds]
jean-louis has joined #ruby
<jokke_> alright
maxmanders has quit [Quit: Computer has gone to sleep.]
<jokke_> expect { |b| 5.tap(&b) }.to yield_control
<jokke_> found this in rspec-expectations
invisime has joined #ruby
sthetz has joined #ruby
<jokke_> so sth like { |b| draw(&b) }.should yield_control ?
<banister`sleep> jokke_: a = nil; the_method { a = 1 }; a.should == 1
razibog has joined #ruby
<sthetz> How do I set Sidekiq options in non-rails ruby app?
<sthetz> Those options that usually set in rails initializers
wmoxam has joined #ruby
<sthetz> Putting them into file that sidekiq boots on startup doesn't work
wmoxam has quit [Client Quit]
braoru has joined #ruby
wmoxam has joined #ruby
coder_neo has joined #ruby
<pagios> XMLHttpRequest cannot load http://192.168.1.70:4567/. Origin http://192.168.1.70 is not allowed by Access-Control-Allow-Origin.
maxmanders has joined #ruby
<pagios> ?
anonymuse has joined #ruby
okinomo has joined #ruby
arya__ has joined #ruby
arya__ is now known as arya_
arya_ has quit [Client Quit]
arya_ has joined #ruby
arya has quit [Ping timeout: 248 seconds]
pcarrier has quit [Ping timeout: 272 seconds]
okinomo has quit [Client Quit]
chase-work has quit [Quit: Textual IRC Client: www.textualapp.com]
pcarrier has joined #ruby
t_p has quit [Ping timeout: 264 seconds]
mayankkohaley has joined #ruby
dallasm has joined #ruby
carloslopes has joined #ruby
joast has quit [Quit: Leaving.]
joast has joined #ruby
peta_ has joined #ruby
tesuki_ has joined #ruby
ariedler has joined #ruby
dallasm has quit [Ping timeout: 258 seconds]
akhet has quit [Remote host closed the connection]
binaryplease has joined #ruby
tesuki_ has quit [Remote host closed the connection]
pioz has quit [Quit: This computer has gone to sleep]
girija has quit [Ping timeout: 248 seconds]
tesuki has quit [Read error: No route to host]
tesuki has joined #ruby
<jokke_> hm, i think i misunderstood the &block part
justsee has joined #ruby
<jokke_> in my method that yields to a block, how can i access that block?
vlad_starkov has joined #ruby
mneorr has quit [Remote host closed the connection]
justsee has quit [Client Quit]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
chipotle_ has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
vlad_starkov has quit [Remote host closed the connection]
BizarreCake has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
idkazuma has joined #ruby
<tobiasvl> access how?
sayan has joined #ruby
<jokke_> i need to pass the block to another method
buscon has quit [Remote host closed the connection]
<jokke_> which will then yield to it
<banister`sleep> jokke_: like dis
<banister`sleep> >> def a; b(&Proc.new); end; def b; yield; end; a { :hello };
<eval-in> banister`sleep => :hello (http://eval.in/16824)
<jokke_> ah ok
<MrZYX> hm, I think I prefer the def a(&block) b(&block); end version, way more obvious IMO
<jokke_> great thanks
buibex has quit [Remote host closed the connection]
<banister`sleep> MrZYX: i know, i just did that for the lulz :)
<MrZYX> to a beginner? mean ;P
bhaarat has joined #ruby
<banister`sleep> hehe
maxmanders has quit [Quit: Computer has gone to sleep.]
LongLiveBacon has joined #ruby
codecop has quit [Remote host closed the connection]
Criztian has quit [Remote host closed the connection]
sthetz has left #ruby [#ruby]
timmow_ has joined #ruby
BizarreCake has joined #ruby
idkazuma has quit [Ping timeout: 272 seconds]
<pagios> whats with this sinatra error when trying to execute from my client an xmlhttprequest W, [2013-04-19T15:50:57.308580 #5212] WARN -- : attack prevented by Rack::Protection::HttpOrigin
BizarreCake has quit [Client Quit]
sambao21 has joined #ruby
teddyp1cker has joined #ruby
tommyvyo has joined #ruby
mengu has joined #ruby
jeremywrowe has joined #ruby
jeremywrowe has quit [Changing host]
jeremywrowe has joined #ruby
mneorr has joined #ruby
trautwein has joined #ruby
<jokke_> this doesn't work
Neomex has joined #ruby
<jokke_> i get wrong number of arguments (1 for 2) for call_block
Neomex has quit [Client Quit]
emergion has joined #ruby
Neomex has joined #ruby
dkannan has joined #ruby
divout has joined #ruby
<MrZYX> so your method receives a block, Proc.new captures it and makes it a proc, the & then converts it back to a block and passes it to call_block which expects a numbers array and a proc
timmow_ has quit [Ping timeout: 252 seconds]
<jokke_> aah
splittingred has joined #ruby
<jokke_> ok
<pagios> MrZYX: Access-Control-Allow-Origin: * needs to be set first in sinatra?
hrs has joined #ruby
<MrZYX> I think I'd prefer to just reverse proxy the sinatra app through apache or serve it via passenger
<jokke_> yay!
codenapper has quit [Ping timeout: 258 seconds]
<jokke_> now it works: https://gist.github.com/5420158
<MrZYX> jokke_: btw you edit a gist
xcv has joined #ruby
<MrZYX> *can
sleetdrop has quit [Ping timeout: 264 seconds]
pi3r has quit [Quit: Leaving]
maxmanders has joined #ruby
m8 has joined #ruby
marr has quit [Ping timeout: 264 seconds]
maxmanders has quit [Client Quit]
Morkel has quit [Quit: Morkel]
<jokke_> i know
<jokke_> its a vim plugin
<jokke_> haven't figured out how to do that with it
kpshek has joined #ruby
vikhyat has quit [Remote host closed the connection]
maxmanders has joined #ruby
ananthakumaran1 has quit [Quit: Leaving.]
tommyvyo has quit [Quit:]
razibog has quit [Ping timeout: 272 seconds]
jmeeuwen has quit [Read error: Connection reset by peer]
jmeeuwen has joined #ruby
LaPetiteFromage has quit [Quit: LaPetiteFromage]
k3rn3lito has quit [Ping timeout: 240 seconds]
Roa has quit [Ping timeout: 240 seconds]
Macaveli has joined #ruby
maxmanders has quit [Client Quit]
murtuza has joined #ruby
<murtuza> hi
<Macaveli> can I both use for example o.set_name("Test") or o.set_name "Test" or what's the difference?
Czupa has joined #ruby
maxmanders has joined #ruby
<murtuza> You can use both. They are the same.
emergion has quit [Quit: Computer has gone to sleep.]
<murtuza> Macaveli You can use both. They are the same.
mmitchell has joined #ruby
k3rn3lito has joined #ruby
lukeholder has joined #ruby
Roa has joined #ruby
Roa has quit [Changing host]
Roa has joined #ruby
<pagios> MrZYX: so if i understand correctly cross origin resource sharing can be enabled by 1) enabling it on the sinatra to allow requests from certain clients and on the browser too to allow jscript to request resources other than the domain they are loaded from?
bradhe has joined #ruby
razibog1 has joined #ruby
philcrissman has joined #ruby
<MrZYX> didn't have that issue yet, so probably ;P
centipedefarmer has joined #ruby
murtuza has quit [Client Quit]
subbyyy has quit [Ping timeout: 256 seconds]
rdark has quit [Ping timeout: 245 seconds]
chipotle_ has quit [Quit: cya]
rdark has joined #ruby
LnL has joined #ruby
jonathanwallace has joined #ruby
justsee has quit [Quit: leaving]
user__ has joined #ruby
rton has left #ruby [#ruby]
yxhuvud has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
dhruvasagar has quit [Read error: Operation timed out]
peta_ has quit [Quit: peta_]
anderson has quit [Ping timeout: 256 seconds]
oneirophren has joined #ruby
hamakn has joined #ruby
pioz has joined #ruby
yxhuvud2 has quit [Ping timeout: 245 seconds]
ioNull has quit [Quit: Computer has gone to sleep.]
snearch has joined #ruby
sayan has quit [Read error: Connection reset by peer]
LnL has quit [Quit: LnL]
dawkirst has quit [Ping timeout: 258 seconds]
csaunders has joined #ruby
a_a_g has quit [Quit: This computer has gone to sleep]
LongLiveBacon has quit [Ping timeout: 240 seconds]
pitzips has joined #ruby
k3rn3lito has quit [Ping timeout: 264 seconds]
banister`sleep has quit [Remote host closed the connection]
Roa has quit [Ping timeout: 264 seconds]
kpshek has quit []
iamjarvo has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
robottinosino has quit [Ping timeout: 245 seconds]
k3rn3lito has joined #ruby
johnmilton has joined #ruby
Roa has joined #ruby
Roa has quit [Changing host]
Roa has joined #ruby
wolcanus has joined #ruby
wolcanus has quit [Remote host closed the connection]
LnL has joined #ruby
kpshek has joined #ruby
wolcanus has joined #ruby
kloeri has quit [Ping timeout: 630 seconds]
hamakn has quit [Ping timeout: 260 seconds]
io_syl has joined #ruby
jokke_ has quit [Quit: WeeChat 0.3.6]
Banistergalaxy has joined #ruby
ttt_ has quit [Remote host closed the connection]
erry_ has joined #ruby
erry_ is now known as erry
solidoodlesuppor has joined #ruby
rton has joined #ruby
rednar has quit [Quit: Leaving]
huoxito has joined #ruby
zmanfx has quit [Ping timeout: 245 seconds]
yshh has joined #ruby
jtharris has joined #ruby
RagingDave has quit [Quit: Ex-Chat]
EPIK has quit []
dawkirst has joined #ruby
rton has left #ruby [#ruby]
rton has joined #ruby
r0bgleeson has joined #ruby
kloeri has joined #ruby
emergion has joined #ruby
emergion has quit [Client Quit]
mercwithamouth has joined #ruby
hrs has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
retry has joined #ruby
vikhyat has joined #ruby
pi3r has joined #ruby
robbyoconnor has joined #ruby
zmanfx has joined #ruby
newUser1234 has joined #ruby
shevy2 is now known as shevy
danneu has joined #ruby
danneu has quit [Client Quit]
matchaw_ has quit [Read error: Connection reset by peer]
camilasa_ has quit [Remote host closed the connection]
matchaw has joined #ruby
dallasm has joined #ruby
interactionjaxsn has joined #ruby
akhet has joined #ruby
akhet has quit [Changing host]
akhet has joined #ruby
johnmilton has quit [Ping timeout: 240 seconds]
Chinorro has quit [Remote host closed the connection]
zph has joined #ruby
vlad_sta_ has joined #ruby
LnL has quit [Quit: LnL]
Banistergalaxy has quit [Ping timeout: 240 seconds]
Uranio has joined #ruby
ioNull has joined #ruby
Neomex has quit [Quit: Neomex]
Banistergalaxy has joined #ruby
Macaveli has quit [Ping timeout: 264 seconds]
cHarNe2 has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
nezumi has quit [Ping timeout: 245 seconds]
dooleyburger has quit [Quit: Leaving]
LaPetiteFromage has joined #ruby
yfeldblum has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
PragCypher has joined #ruby
thams has quit [Quit: thams]
pagios has quit [Ping timeout: 246 seconds]
v0n has joined #ruby
chussenot has quit [Quit: chussenot]
Hanmac2 has quit [Ping timeout: 258 seconds]
<Xeago> grief, lots of stuff going on this week :\
pcarrier has quit [Quit: Computer has gone to sleep.]
jerius has joined #ruby
adamjleonard has joined #ruby
bean has joined #ruby
LennyLinux has joined #ruby
ekampf has joined #ruby
wolcanus has quit [Remote host closed the connection]
PragCypher has quit [Quit: Leaving]
hmarr has quit [Ping timeout: 264 seconds]
chrishunt has quit [Quit: ZzZzZz...]
gyre007 has quit [Ping timeout: 272 seconds]
chrishunt has joined #ruby
hmarr has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
mellow888 has joined #ruby
<mellow888> hi
<mellow888> I have an issue with this code: http://pastebin.com/SptVcDKc
<mellow888> it only prints "aaaaaaa"
<mellow888> i think im using threads in the wrong way
<MrZYX> same issue as yesterday
freeayu has joined #ruby
blaxter_ has joined #ruby
<MrZYX> you're calling a method and pass that return value to Thread.new
<mellow888> yes, but thats a working example :P
<mellow888> how should I put it so it prints the 3 funcs?
<MrZYX> Thread.new { fa }
elaptics is now known as elaptics`away
<bean> yeah () is wrong for that.
vlad_sta_ has quit [Ping timeout: 264 seconds]
<MrZYX> that passes a block to Thread.new and then that block is called inside the new thread. The block then calls your method
<bean> with () it expects either *args or *args,proc
<bean> err &proc
<mellow888> I have just tested without brackets
<mellow888> and still it only prints aaaa
<MrZYX> are you actually reading what I write?
<mellow888> oh ok
<mellow888> I understood incorrectly sorry
pagios has joined #ruby
wagster has joined #ruby
p0wn3d has joined #ruby
robbyoconnor has quit [Max SendQ exceeded]
blaxter_ is now known as blaxter
<mellow888> so its the same as just putting the code in the {}
mneorr has quit [Remote host closed the connection]
<MrZYX> well, not exactly the same but the effect is the same
robbyoconnor has joined #ruby
newUser1234 has quit [Remote host closed the connection]
<mellow888> so if I use Thread.new {fa} I don't get anything printed
<MrZYX> also use spaces for indentation not tabs, there's no need to call or define methods with parenthesis, `while 1` is the same as `while true` is the same as `loop do` (the last version is generally preferred)
<fryguy> mellow888: did you join the thread
balishag has joined #ruby
<mellow888> great, thanks fryguy
<mellow888> I started only doing Thread.new () and it worked like that
<mellow888> thanks a lot MrZYX
preller has quit [Read error: Operation timed out]
chipotle_ has joined #ruby
d11wtq_ has joined #ruby
<mellow888> if I wanted to use the function with a parameter
<mellow888> a = Thread.new { fa(222) } would suffice ?
<MrZYX> yup
pothibo has quit [Quit: pothibo]
<mellow888> great this is what i needed thanks!
<MrZYX> fryguy: no explain him why he needs to join ;P
<MrZYX> *now
d11wtq has quit [Ping timeout: 264 seconds]
<wuest> MrZYX: joining threads is for cowards ;-)
dkannan has quit [Ping timeout: 264 seconds]
Vert has joined #ruby
<mellow888> "If we don't call thr.join before the main thread terminates, then all other threads including thr will be killed."
decoder_ring has quit [Quit: decoder_ring]
<MrZYX> oh, you're actually aware of that?
markalanevans has joined #ruby
notVert has quit [Ping timeout: 252 seconds]
<mellow888> no, just googled it haha
dawkirst has quit [Ping timeout: 276 seconds]
<mellow888> so my main thread ended
<mellow888> and that why the program stopped without printing
<MrZYX> yup
freezey has joined #ruby
balishag has quit [Ping timeout: 256 seconds]
bradhe has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
mikepack has joined #ruby
mklappstuhl has quit [Ping timeout: 276 seconds]
martinklepsch has quit [Ping timeout: 272 seconds]
zph has quit [Quit: Computer has gone to sleep.]
AxonetBE has quit [Read error: No route to host]
AxonetBE1 has joined #ruby
yxhuvud2 has joined #ruby
<greenarrow> Ìû
bradhe has quit [Ping timeout: 272 seconds]
SCommette has joined #ruby
<MrZYX> greenarrow: !!
robbyoconnor has quit [Ping timeout: 258 seconds]
tchaikovsky has joined #ruby
<greenarrow> ?
<greenarrow> MrZYX: hi
interactionjaxsn has quit [Remote host closed the connection]
<MrZYX> what's up?
<greenarrow> you said my name
<MrZYX> you said ?? to the chan
<greenarrow> nope
<tobiasvl> <greenarrow> ÌûX
mklappstuhl has joined #ruby
<MrZYX> well, non utf8 gibberish then
pcarrier has joined #ruby
<sam113101> no
yxhuvud has quit [Ping timeout: 256 seconds]
<sam113101> he said Iû
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<fryguy> somebody doesn't have their terminal configured correctly
Mattix has quit [Read error: Connection reset by peer]
<sam113101> exactly
<sam113101> fix your unicode, brah
<greenarrow> lol how
wolcanus has joined #ruby
Mattix has joined #ruby
interactionjaxsn has joined #ruby
<tobiasvl> sam113101: unicode aside, greenarrow didn't write _anything_ apparently :P
<fryguy> you guys have terrible irc clients
mellow888 has quit [Quit: http://www.kiwiirc.com/ - A hand-crafted IRC client]
<greenarrow> xchat :(
p0wn3d has quit [Quit: Leaving.]
newUser1234 has joined #ruby
Mon_Ouie has joined #ruby
KazW has quit [Ping timeout: 245 seconds]
celinedior has quit [Quit: celinedior]
jean-lou` has joined #ruby
KazW_ has joined #ruby
<greenarrow> bug
mneorr has joined #ruby
s00pcan has joined #ruby
generalissimo has joined #ruby
martinklepsch has joined #ruby
danbeck has joined #ruby
danbeck has quit [Client Quit]
iamvery has joined #ruby
oneirophren has quit [Ping timeout: 256 seconds]
jean-louis has quit [Ping timeout: 246 seconds]
LnL has joined #ruby
skattyadz_ has joined #ruby
csmrfx has left #ruby ["exit(0)"]
yshh_ has joined #ruby
skattyadz has quit [Ping timeout: 264 seconds]
skattyadz_ is now known as skattyadz
yshh has quit [Ping timeout: 258 seconds]
oneirophren has joined #ruby
<pagios> i am not able to get rid of this error : WARN -- : attack prevented by Rack::Protection::HttpOrigin
chussenot has joined #ruby
kemist has joined #ruby
mneorr has quit [Ping timeout: 256 seconds]
johnnyfuchs has joined #ruby
<pagios> added set :protection, :except => [:remote_token, :frame_options] but still problem is there
dmiller has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
backjlack has quit [Remote host closed the connection]
pitzips has quit [Ping timeout: 258 seconds]
EvErLaSt has joined #ruby
EvErLaSt has quit [Client Quit]
coder_neo has quit [Ping timeout: 256 seconds]
classix has quit [Ping timeout: 255 seconds]
baroquebobcat has joined #ruby
sambao21 has joined #ruby
rippa has joined #ruby
_nitti has joined #ruby
pcarrier has quit [Quit: Computer has gone to sleep.]
mneorr has joined #ruby
yshh_ has quit [Read error: Connection reset by peer]
blaxter has quit [Quit: foo]
yshh has joined #ruby
mneorr_ has joined #ruby
braoru has quit [Quit: Leaving]
enebo has joined #ruby
csaunders has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jlast has joined #ruby
mneorr has quit [Ping timeout: 256 seconds]
bombay has joined #ruby
<bombay> is this ruby?
<MrZYX> no, but about ruby
himsin has joined #ruby
wolcanus has quit [Remote host closed the connection]
rickruby has joined #ruby
Banistergalaxy has quit [Ping timeout: 240 seconds]
enebo has quit [Read error: Connection reset by peer]
Banistergalaxy has joined #ruby
sailias has joined #ruby
unstable has quit [Ping timeout: 256 seconds]
enebo has joined #ruby
pcarrier has joined #ruby
goblin42 has joined #ruby
<goblin42> is this ruby?
bombay has quit [Ping timeout: 258 seconds]
psyprus has quit [Changing host]
psyprus has joined #ruby
<goblin42> hello?
<MrZYX> hi
<marwinism> Yes, this is dog. erh.. Ruby
<goblin42> what can ruby give me, that i already havent had?
<MrZYX> what do you have already?
tommyvyo has joined #ruby
wolcanus has joined #ruby
<goblin42> skills
nezumi has joined #ruby
<hoelzro> goblin42: what's your background?
<goblin42> i am hispanic
<hoelzro> I mean programming-wise =)
<marwinism> don't feed the troll.
<goblin42> i know ASM 8086
Davey has joined #ruby
akhet has quit [Remote host closed the connection]
zph has joined #ruby
rickruby has quit [Ping timeout: 256 seconds]
axl_ has joined #ruby
snearch has quit [Quit: Verlassend]
vikhyat has quit [Remote host closed the connection]
progbyperm has joined #ruby
vikhyat has joined #ruby
classix has joined #ruby
<progbyperm> hello, quick newbie question: in "class CreatePosts < ActiveRecord::Migration" - what is ::Migration?
<marwinism> Ruby on Rails?
evenix has joined #ruby
mikepack has quit [Remote host closed the connection]
<goblin42> boobie on rails
<progbyperm> no, generally speaking, in Ruby syntax what is ::Migration
<hoelzro> namespace separator
<goblin42> ##dicktits
<evenix> progbyperm: migrating your code for building/updating table/column into the schema
jeremywrowe has quit [Ping timeout: 264 seconds]
Vainoharhainen has quit [Quit: Leaving...]
<marwinism> goblin42: how about you crawl back into that hole you came out of.
mikepack has joined #ruby
<sebastianb> that would be thailand
<goblin42> lol
vikhyat has quit [Remote host closed the connection]
ekampf has quit [Quit: ekampf]
vlad_starkov has joined #ruby
kurk has joined #ruby
kurk has quit [Remote host closed the connection]
mattbl has joined #ruby
chipotle_ has quit [Quit: cya]
sambio has joined #ruby
akhet has joined #ruby
Morkel has joined #ruby
<progbyperm> thanks guys
rippa has quit [Read error: Connection reset by peer]
tethra has quit [Read error: Connection reset by peer]
rippa has joined #ruby
LnL has quit [Quit: LnL]
wedgex has joined #ruby
skroon has quit [Read error: Operation timed out]
pagios_ has joined #ruby
pagios has quit [Ping timeout: 240 seconds]
sleetdrop has joined #ruby
Mohan has joined #ruby
Mohan has quit [Changing host]
Mohan has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
Banistergalaxy has quit [Ping timeout: 258 seconds]
noop has quit [Quit: Leaving]
akhet has quit [Remote host closed the connection]
tethra has joined #ruby
dallasm has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
Gabri has quit [Remote host closed the connection]
tethra has quit [Remote host closed the connection]
unflores_ has joined #ruby
JohnBat26 has joined #ruby
freeayu has quit [Ping timeout: 256 seconds]
wyhaines has joined #ruby
unflores has quit [Read error: Connection reset by peer]
unflores_ is now known as unflores
tomsthumb has quit [Quit: Leaving.]
mayankkohaley has quit [Ping timeout: 256 seconds]
clocKwize has quit [Quit: clocKwize]
bradhe has joined #ruby
jeremywrowe has joined #ruby
jeremywrowe has quit [Changing host]
jeremywrowe has joined #ruby
tethra has joined #ruby
chrishough has joined #ruby
wallerdev has joined #ruby
aganov has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
oneirophren has quit [Ping timeout: 256 seconds]
Banistergalaxy has joined #ruby
baroquebobcat has joined #ruby
yxhuvud has joined #ruby
vanstee has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
tesuki_ has joined #ruby
yxhuvud2 has quit [Ping timeout: 258 seconds]
clocKwize has joined #ruby
classix has quit [Ping timeout: 276 seconds]
asym has joined #ruby
tesuki has quit [Ping timeout: 256 seconds]
pagios_ is now known as pagios
goblin42 has quit [Quit: Konversation terminated!]
clocKwize has quit [Client Quit]
classix has joined #ruby
GOMADWarrior has joined #ruby
tk_ has joined #ruby
ckrailo has joined #ruby
Czupa has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 272 seconds]
nomenkun_ has quit [Remote host closed the connection]
asym has quit [Read error: Connection reset by peer]
tesuki_ has quit [Remote host closed the connection]
classix has quit [Ping timeout: 252 seconds]
asym has joined #ruby
El_Diablo has joined #ruby
classix has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
dhruvasagar has quit [Ping timeout: 252 seconds]
lethjakman has joined #ruby
tvw has joined #ruby
Xeago has quit [Remote host closed the connection]
asym has quit [Read error: Connection reset by peer]
mattbl has quit [Quit: This computer has gone to sleep]
xpen has quit [Remote host closed the connection]
shreknet has quit [Ping timeout: 256 seconds]
xpen has joined #ruby
angusiguess has quit [Ping timeout: 246 seconds]
skroon has joined #ruby
mattbl has joined #ruby
asym has joined #ruby
axl_ has quit [Quit: axl_]
jrajav has joined #ruby
akhet has joined #ruby
akhet has quit [Changing host]
akhet has joined #ruby
neku has joined #ruby
wsterling has joined #ruby
akhet has quit [Remote host closed the connection]
binaryplease has quit [Ping timeout: 252 seconds]
jkamenik has quit [Quit: Leaving.]
unstable has joined #ruby
akhet has joined #ruby
tomsthumb has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
amh345 has quit [Quit: amh345]
etcetera has joined #ruby
daniel_- has joined #ruby
daniel_- has quit [Changing host]
daniel_- has joined #ruby
sambao21 has joined #ruby
hogeo has joined #ruby
jeremywrowe has quit [Quit: leaving]
jbueza has joined #ruby
chipotle_ has joined #ruby
wesside has joined #ruby
nathanieldavid has quit [Quit: Leaving...]
tjbiddle has joined #ruby
zph has quit [Quit: Computer has gone to sleep.]
niklasb has quit [Ping timeout: 248 seconds]
AxonetBE1 has quit [Quit: Leaving.]
unstable has quit [Ping timeout: 264 seconds]
moos3 has quit [Quit: Computer has gone to sleep.]
braincrash has joined #ruby
<markalanevans> Hey folks, I'm starting to understand how to use rake tasks, i have a nightly process that basically does : download_files, generate_build_files, import_build_files. During the standard process, i would say build merchants=1,34,56,23,55 and that should first call download_files, then after completed call genereate_build_files then call import_build_files.
tagrudev has quit [Remote host closed the connection]
<markalanevans> Ideally i would have a cron that runs nightly and calls a master function.
dhruvasagar has joined #ruby
<pskosinski> Is there a static sites generator similar to Sinatra?
skroon has quit [Ping timeout: 264 seconds]
<markalanevans> rake products:build merchants=1,3,4,3423, Rack_ENV=production
avalarion has joined #ruby
xpen_ has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
<markalanevans> and that should basically call each task in order.
<markalanevans> So my question is, when one rake task calls another, does it pass the argv params.
<markalanevans> And lets say i wanted to be able to trigger a rake task from a web request example admin wants to manually just rebuild say merchant 2...
<markalanevans> Whats the best way to go about organizing this?
peta_ has joined #ruby
t_p has joined #ruby
xpen has quit [Ping timeout: 240 seconds]
Vivekananda has joined #ruby
binaryplease has joined #ruby
d2dchat has joined #ruby
hogeo has quit [Remote host closed the connection]
avalarion has quit [Ping timeout: 258 seconds]
xpen_ has quit [Ping timeout: 252 seconds]
erry has quit [Quit: Segmentation fault]
johnnyfuchs1 has joined #ruby
johnnyfuchs has quit [Quit: Leaving.]
erry_ has joined #ruby
zetaspartan2552 has quit [Quit: zetaspartan2552]
erry_ is now known as erry
caleb_io has joined #ruby
<ohcibi> injekt: i've created an example https://github.com/ohcibi/capybara-xpath-example
theRoUS has quit [Ping timeout: 264 seconds]
moos3 has joined #ruby
<ohcibi> injekt: there seems to be a bug with capybara as this only occurs when the input value is manipulated via js
angusiguess has joined #ruby
allanm has quit [Read error: Connection reset by peer]
allanm has joined #ruby
braincrash has quit [Quit: bye bye]
freakazoid0223 has joined #ruby
Paradox has quit [Ping timeout: 245 seconds]
mneorr_ has quit [Remote host closed the connection]
jcrawford has quit [Ping timeout: 245 seconds]
Voodoofish430 has joined #ruby
wesside_ has joined #ruby
wesside_ has quit [Remote host closed the connection]
Arzaga has joined #ruby
GeissT has quit [Quit: MillBroChat AdIRC User]
timonv has quit [Remote host closed the connection]
peteyg has quit [Ping timeout: 252 seconds]
braincrash has joined #ruby
Paradox has joined #ruby
matti has quit [Ping timeout: 252 seconds]
darkc0met has quit [Ping timeout: 252 seconds]
Boohbah has quit [Ping timeout: 252 seconds]
Bry8Star has quit [Ping timeout: 276 seconds]
senayar has quit [Remote host closed the connection]
wolcanus has quit [Remote host closed the connection]
peteyg has joined #ruby
matti has joined #ruby
matti has quit [Changing host]
matti has joined #ruby
Boohbah has joined #ruby
randomau_ has joined #ruby
Boohbah is now known as Guest62355
gyre007 has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
balishag has joined #ruby
xpen has joined #ruby
niklasb has joined #ruby
chandankumar has joined #ruby
vikhyat has joined #ruby
avalarion has joined #ruby
jcrawford has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
sambao21 has quit [Quit: Computer has gone to sleep.]
MistuhKurtz has quit [Quit: Textual IRC Client: www.textualapp.com]
pagios has quit [Quit: Leaving]
jamie_ca_ has joined #ruby
tchaikovsky has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
sambao21 has joined #ruby
crazed has joined #ruby
<crazed> how come ARGF.read doesn't read input from tail -f?
<crazed> what's the appropriate way to handle that
Bry8Star has joined #ruby
skattyadz has quit [Quit: skattyadz]
vandemar has quit [Quit: leaving]
skattyadz has joined #ruby
xardas has joined #ruby
Arzaga has quit [Quit: Computer has gone to sleep.]
caleb_io has quit [Quit: caleb_io]
darkc0met has joined #ruby
decoponio has joined #ruby
stkowski has joined #ruby
chussenot has quit [Quit: chussenot]
nga4 has quit [Ping timeout: 272 seconds]
skattyadz has quit [Ping timeout: 258 seconds]
Elhu has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
chandankumar has quit [Ping timeout: 252 seconds]
jdunck has joined #ruby
mneorr has joined #ruby
unflores has quit [Quit: unflores]
alex__c2022 has joined #ruby
pitzips has joined #ruby
jamie_ca_ has quit []
bradhe has joined #ruby
skattyadz has joined #ruby
BizarreCake has joined #ruby
dhruvasagar has quit [Ping timeout: 276 seconds]
enriclluelles has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
pagios has joined #ruby
yxhuvud2 has joined #ruby
jean-lou` has quit [Ping timeout: 256 seconds]
kf8a has joined #ruby
<pagios> ok so i have sinatra accepting routes, i would like to issue a command when route1 is received and result its result into the client using sinatra
dhruvasagar has joined #ruby
alainus is now known as alainus[-_-]
noop has joined #ruby
dankest has joined #ruby
bradhe has quit [Ping timeout: 258 seconds]
yxhuvud has quit [Ping timeout: 252 seconds]
bradhe has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
xpen has quit [Ping timeout: 258 seconds]
k610 has quit [Ping timeout: 258 seconds]
mattpolito has joined #ruby
pioz has quit [Ping timeout: 260 seconds]
filipe has quit [Remote host closed the connection]
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
zph has joined #ruby
marcdel has joined #ruby
noop has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
rdark has quit [Quit: leaving]
rakl has joined #ruby
chandankumar has joined #ruby
k610 has joined #ruby
jonathanvw has joined #ruby
mityaz has joined #ruby
chussenot has joined #ruby
Morkel has quit [Quit: Morkel]
Morkel has joined #ruby
rickmasta has joined #ruby
etcetera has quit []
JonnieCache has quit [Ping timeout: 256 seconds]
zeade has joined #ruby
JonnieCache has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
<pagios> so i want something in sinatra as simple as : get '/hi' do <Firecommand1 at shell> ; ReturnResultofcommand1 end is that possible
<Spooner> pagios, Use `command bleh` inside the block.
vlad_starkov has quit [Remote host closed the connection]
wolcanus has joined #ruby
<pagios> post '/start' do Command1; 'Stream started' end
<Spooner> pagios,e.g. get "/hi" do; `ls`; end
<pagios> ?
<pagios> wouldnt it return ls to the user?
cloke has joined #ruby
<Spooner> No, `` captures the output and returns it as a string.
<pagios> i thought everything in the block is the return response to the user
bwlang has joined #ruby
vlad_starkov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<Spooner> No, the last expression in the block is returned.
mockra has joined #ruby
marcdel has quit []
<Spooner> `` is not the same as ''
<pagios> yes
<pagios> thanks Spooner works
<pagios> sinatra is really nice
arturaz has quit [Quit: Leaving]
decoponio has quit [Quit: Leaving...]
<Spooner> Yep. I like it.
vlad_starkov has joined #ruby
arturaz has joined #ruby
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
axl_ has joined #ruby
alup has quit [Quit: Leaving]
<pagios> i can do whatever i want inside the block, normal ruby work and than send as a result the last line
binaryplease has quit [Read error: Operation timed out]
jamie_ca_ has joined #ruby
JMcAfreak has joined #ruby
<pagios> no limitation inside the block Spooner ? like calling some functions or whatoever
<Spooner> Indeed you can.
pcarrier has quit [Quit: Computer has gone to sleep.]
JMcAfreak has quit [Remote host closed the connection]
Vainoharhainen has joined #ruby
chandankumar has quit [Remote host closed the connection]
arturaz has quit [Ping timeout: 258 seconds]
Vainoharhainen has quit [Client Quit]
bwlang has left #ruby [#ruby]
slainer68 has quit [Remote host closed the connection]
stoic_squirrel has joined #ruby
wolcanus has quit [Ping timeout: 258 seconds]
bwlang has joined #ruby
danbeck has joined #ruby
stef_204 has joined #ruby
Neomex has joined #ruby
jonathanvw has left #ruby [#ruby]
mikepack has quit [Remote host closed the connection]
sleetdrop has quit [Quit: Textual IRC Client: www.textualapp.com]
<Spooner> No, no, no, Frank Sinatra is #1 at google for "Sinatra", pushing the real Sinatra down to position #2!
JohnBat26 has quit [Remote host closed the connection]
adamjleonard has quit [Read error: Connection reset by peer]
xperience has joined #ruby
yojimbo__ has quit [Ping timeout: 256 seconds]
<MrZYX> you know your google isn't everybody's google?
mmitchell has quit [Remote host closed the connection]
<Spooner> Well, OK. Sinatra got relegated to #2 on My Google :D
timmow has quit [Remote host closed the connection]
DonRichie has joined #ruby
mikepack has joined #ruby
<MrZYX> Frank Sinatra is actually #3 on mine xD
blacktul_ has joined #ruby
<Spooner> I have sinatra.com, sinatrarb.com then the wikipedia.
etcetera has joined #ruby
<MrZYX> sinatrarb.com, github/sinatra, WP here
unstable has joined #ruby
<Spooner> github is #8 for me. I think I'll stop analysing then.
skattyadz has quit [Quit: skattyadz]
<MrZYX> sinatra.com is #5 after german WP on #4
blacktulip has quit [Ping timeout: 245 seconds]
s2013 has joined #ruby
bradleyprice has joined #ruby
<MrZYX> and if I switch google to english it's sinatrarb.com, WP, github, sinatra.com
nazty has joined #ruby
s2013_ has joined #ruby
atno has joined #ruby
brum has joined #ruby
ariedler has quit [Remote host closed the connection]
bradhe has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
wolcanus has joined #ruby
yojimbo__ has joined #ruby
skroon has joined #ruby
s2013 has quit [Ping timeout: 256 seconds]
lukeholder has quit [Quit: Computer has gone to sleep.]
baroquebobcat has quit [Quit: baroquebobcat]
codecop has joined #ruby
nga4 has joined #ruby
<pagios> hmm ok i want to launch a command into the background and kill it at some other point in time, how can i track its pid number in ruby?
maxmanders has joined #ruby
<pagios> something like coproc in bash
emmanuelux has joined #ruby
banjara has quit [Quit: Leaving.]
tylersmith has joined #ruby
tevio has quit [Remote host closed the connection]
wesside has quit [Quit: Computer has gone to sleep.]
jerius has quit []
Mon_Ouie has joined #ruby
chipotle_ has quit [Quit: cya]
vanstee has quit [Quit: Computer has gone to sleep.]
<reactormonk> pagios, one of the popen
<reactormonk> pagios, maybe you need popen4
timmow has joined #ruby
Andreo has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
yacks has joined #ruby
tomzx_mac has joined #ruby
unstable has quit [Ping timeout: 276 seconds]
sleetdrop has joined #ruby
sleetdrop has quit [Client Quit]
sleetdrop has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
timmow has quit [Ping timeout: 252 seconds]
tesuki has joined #ruby
pitzips has quit [Remote host closed the connection]
altivec has joined #ruby
forrest has joined #ruby
kuzushi_ has joined #ruby
a_a_g has joined #ruby
elux has joined #ruby
xperience has quit [Quit: Leaving...]
interactionjaxsn has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
ekampf has joined #ruby
himsin has quit [Ping timeout: 258 seconds]
tjbiddle has joined #ruby
nbjahan has joined #ruby
sjhuang has quit [Quit: leaving]
thams has joined #ruby
banjara has joined #ruby
jonahR has joined #ruby
kuzushi has quit [Ping timeout: 264 seconds]
ukd1 has joined #ruby
yojimbo__ has quit [Ping timeout: 252 seconds]
chrishough has quit [Quit: chrishough]
angusiguess has quit [Ping timeout: 255 seconds]
interactionjaxsn has quit [Ping timeout: 258 seconds]
rupee has joined #ruby
etcetera has quit []
codecop has quit [Remote host closed the connection]
vanstee has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
ferdev has quit [Quit: ferdev]
codecop has joined #ruby
brianpWins has joined #ruby
mattbl has quit [Quit: Leaving]
jeebster has joined #ruby
yojimbo__ has joined #ruby
<tjbiddle> Hey guys - Trying to figure out why bundle update keeps wanting to pull from Git. I've run bundle install --without test development and the capybara-webkit gem is not listed, but then when I bundle update - it starts calling out to Git (We build from their master branch)
Vivekananda has quit [Quit: Ex-Chat]
<MrZYX> did you lock a rev in the gemfile?
Vivekananda has joined #ruby
JuanMiguel2 has joined #ruby
danneu has joined #ruby
kirun has joined #ruby
yxhuvud has joined #ruby
<tjbiddle> Nope - They pull from master. #ack - Not a huge, huge deal as it *should* only happen in a test environment.
rickmasta has quit [Quit: Leaving...]
<tjbiddle> I think it's due to the Gemfile.lock - Does the Gemfile.lock actually lock in versions? I thought that's what specifying that in the Gemfile was for.
chrishough has joined #ruby
JuanMiguel2 has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
LaPetiteFromage has quit [Ping timeout: 256 seconds]
<MrZYX> the Gemfile.lock determines the versions installed by a bundle install, the Gemfile what should be pulled initially/on update
MistuhKurtz has joined #ruby
<MrZYX> just run bundle update gem names you want to update instead of the open one
ariedler has joined #ruby
<MrZYX> and don't worry about the fetch
<Spooner> YEah, if you update, then it will update the Gemfile.lock's versions to the latest appropriate ones. Use bundle update my_gem instead.
yxhuvud2 has quit [Ping timeout: 245 seconds]
tesuki has quit [Remote host closed the connection]
pioz has joined #ruby
<tjbiddle> Hm. Any particular reason why bundle install and update keeps saying "Updating git://github.com/thoughtbot/capybara-webkit" even though I'm running bundle install with `--without test development` when capybara is in that group?
c0rn has joined #ruby
<MrZYX> just ignore that
CalebMingle has joined #ruby
angusiguess has joined #ruby
<tjbiddle> MrZYX: Can't really - Deployments are breaking as we don't have Git installed on prod machines.
<MrZYX> it's not update the actual directory used but the local cache
<tjbiddle> I'm assuming that's why at least
<MrZYX> well, then you shouldn't run git releases....
poikon has quit [Remote host closed the connection]
akashj87__ has joined #ruby
<tjbiddle> MrZYX: I don't want to - I only want to do that for our test environment. Their last build broke something we rely on
<MrZYX> then I don't get your issue
sleetdrop has quit [Quit: Computer has gone to sleep.]
Banistergalaxy has quit [Ping timeout: 258 seconds]
c0rn has quit [Client Quit]
c0rn has joined #ruby
MistuhKurtz has quit [Ping timeout: 245 seconds]
Banistergalaxy has joined #ruby
nbjahan has quit [Ping timeout: 252 seconds]
akashj87 has quit [Ping timeout: 245 seconds]
BizarreCake has quit [Ping timeout: 256 seconds]
wmoxam has quit [Ping timeout: 260 seconds]
ariedler has quit [Ping timeout: 258 seconds]
unstable has joined #ruby
danneu has quit [Quit: WeeChat 0.3.8]
Neomex has quit [Quit: Neomex]
chandankumar has joined #ruby
danman has joined #ruby
<fryguy> tjbiddle: just because bundler doesn't use the things doesn't mean it still doesn't download them
moos3 has joined #ruby
jonathanwallace has quit [Quit: WeeChat 0.3.9.2]
renanoronfle has quit [Quit: This computer has gone to sleep]
okinomo has joined #ruby
tvw has quit []
snooc has joined #ruby
retry has quit [Quit: Linkinus - http://linkinus.com]
interactionjaxsn has joined #ruby
unstable has quit [Ping timeout: 256 seconds]
motto has joined #ruby
jonathanwallace has joined #ruby
fuark has joined #ruby
etcetera has joined #ruby
snooc has quit [Remote host closed the connection]
jonathanwallace has quit [Client Quit]
m8 has quit [Ping timeout: 272 seconds]
<tjbiddle> fryguy: That's silly. I'm just building from master and uploading to our local repo
JMcAfreak has joined #ruby
snooc has joined #ruby
jonathanwallace has joined #ruby
CalebMingle has quit [Quit: CalebMingle]
renanoronfle has joined #ruby
zastern has quit [Remote host closed the connection]
CalebMingle has joined #ruby
zastern has joined #ruby
mmitchell has joined #ruby
mmitchell has quit [Remote host closed the connection]
chussenot has quit [Quit: chussenot]
a_a_g has quit [Quit: This computer has gone to sleep]
GOMADWarrior has quit [Ping timeout: 256 seconds]
mmitchell has joined #ruby
Neandre has quit [Read error: Connection reset by peer]
kofno has quit [Remote host closed the connection]
BizarreCake has joined #ruby
<Morrolan> Are arbitrary objects as hash keys something which I should avoid, or will everything work as expected, provided I implement the 'eql?' and 'hash' functions?
yojimbo__ has quit [Ping timeout: 252 seconds]
kofno has joined #ruby
nadirvardar has joined #ruby
<fryguy> tjbiddle: there are situations where it not doing that will lead to a different set of things being loaded in production. read the manpage
<ChristianS> Morrolan: with 'eql?' and 'hash', you should be fine (methinks)
s2013_ is now known as s2013
Macaveli has joined #ruby
unstable has joined #ruby
LnL has joined #ruby
marcdel has joined #ruby
<Morrolan> ChristianS: :)
goblin42 has joined #ruby
<goblin42> hi
m8 has joined #ruby
<goblin42> IWANT TO BUY RUBY
<MrZYX> from who?
<Spooner> MrZYX, Just a troll. Was on earlier.
<goblin42> from ruby sellers
<MrZYX> Spooner: I know ;)
<MrZYX> goblin42: who are they?
motto has quit [Ping timeout: 256 seconds]
<Morrolan> Jewelries, maybe?
<goblin42> retail
<Morrolan> You'll get plastic rubies there, at most.
<Morrolan> Compare it to Ruby implemented in Bash, if you want.
<goblin42> i want ruby, ON, railz
<MrZYX> then go to #rubyonrails
yojimbo__ has joined #ruby
unstable has quit [Ping timeout: 256 seconds]
enriclluelles has joined #ruby
ddfreyne has joined #ruby
<ddfreyne> Oh wow, this channel is over twice as big as #ruby-lang
yojimbo__ has quit [Read error: Connection reset by peer]
yojimbo__ has joined #ruby
mikepack has quit [Remote host closed the connection]
jerius has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
chandankumar has quit [Ping timeout: 256 seconds]
ekampf has quit [Quit: ekampf]
forlin has quit [Remote host closed the connection]
tk_ has quit [Quit: ばいばい]
lushious has quit [Ping timeout: 252 seconds]
altivec has quit [Quit: Textual IRC Client: www.textualapp.com]
pioz has quit [Quit: This computer has gone to sleep]
pi3r has quit [Quit: Leaving]
fantazo has joined #ruby
vlad_starkov has joined #ruby
toekutr has joined #ruby
Macaveli has quit [Ping timeout: 256 seconds]
<tjbiddle> fryguy: "Note that on bundle install, bundler downloads and evaluates all gems, in order to create a single canonical list of all of the required gems and their dependencies." - Makes sense, but I'm not entirely sure why that would hinder the ability to not install or download a certain group.
arya_ has joined #ruby
<tjbiddle> More curious now - Everything is worked out. Just built from master and uploaded to our local repo, works fine and dandy. Appreciate the info guys.
<goblin42> rubyONruby
Artheist has joined #ruby
<MrZYX> goblin42: what?
sambio_ has joined #ruby
<goblin42> ruby goes into RUBy
<MrZYX> you mean rubinius?
<goblin42> no
<MrZYX> then?
<goblin42> URanus
<MrZYX> I'm sorry?
<goblin42> uranus
atno has quit [Ping timeout: 260 seconds]
<MrZYX> what's up with uranus?
<goblin42> its uranus on mars
<MrZYX> that doesn't make any sense
<goblin42> same with rubyONrails.
<MrZYX> I'm not getting your point here. Try writing full sentences
<shevy> MrZYX PENIS!!!
yojimbo__ has quit [Ping timeout: 260 seconds]
<MrZYX> shevy: VAGINA!!!
<shevy> goblin42 you have a strange nick man
vlad_starkov has quit [Ping timeout: 264 seconds]
ferdev has joined #ruby
<MrZYX> he has a bad endurance for a troll
kristo_ has joined #ruby
sambio has quit [Ping timeout: 252 seconds]
<goblin42> no.
sambao21 has quit [Quit: Computer has gone to sleep.]
<MrZYX> yes
zph has quit []
<shevy> x = "TTCGC" # => "TTCGC"; x[-6,6] = ''
<shevy> IndexError: index -6 out of string
tomsthumb has quit [Quit: Leaving.]
<shevy> hmm how to properly check whether an index is out of the string or not?
sambio_ has quit [Ping timeout: 252 seconds]
<shevy> should I use x.size ?
sambio has joined #ruby
<yxhuvud> tjbiddle: it is possible to tell it to only install certain environments given that you have a lockfile that properly defines the dependencies.
<tjbiddle> yxhuvud: Install, yes - But it downloads everything from what I understand
<tjbiddle> The issue I was running into was having a :git => reference inside my Gemfile, and production machines do not have Git installed on them - Making the deployment fail, even though I was saying to bundle install without the test or development groups.
LS\MFT has joined #ruby
<MrZYX> did you try --deployment?
chipotle_ has joined #ruby
nephfl has joined #ruby
megha has quit [Quit: WeeChat 0.4.0]
enebo has quit [Quit: enebo]
<nephfl> I just updated my ruby install to 1.9.3 but when I try to use gem to install a package it says it needs >1.9.2, how do I update gem so that it will install properly?
kristo_ has quit [Ping timeout: 276 seconds]
nwertman has joined #ruby
<tjbiddle> MrZYX: I did not - I'll read up on that - but from what the manpage (And fryguy) says - Bundler downloads all gems in the Gemfile, but only installs the ones you tell it to - So I would expect that to do the same thing.
baba has joined #ruby
axl_ has quit [Quit: axl_]
kleinerdrache has joined #ruby
arubin has joined #ruby
<MrZYX> nephfl: maybe it's still using 1.8? do you have a gem-19 or something like that? check ruby -v and gem env
baba has quit [Client Quit]
c0rn has quit [Quit: Computer has gone to sleep.]
<nephfl> ruby -v says 1.9.3 ruby gems shows incorect ruby version
LongLiveBacon has joined #ruby
yojimbo__ has joined #ruby
<nephfl> it has the wrong path to ruby
<nephfl> where do I set that? it is rubygems v 1.5.0
<tjbiddle> nephfl: `which ruby && which gem`
<tjbiddle> Also, system ruby - or RVM/RBEnv?
<tjbiddle> And OS please :)
vikhyat has quit [Read error: Connection reset by peer]
vikhyat_ has joined #ruby
<nephfl> I dont have rvm or RBE
progbyperm has quit [Ping timeout: 256 seconds]
motto has joined #ruby
<tjbiddle> nephfl: Did you just compile yourself, or install from a package manager?
atno has joined #ruby
<nephfl> which doesn't match the gem info
<nephfl> yes
<nephfl> compiled it myself
<nephfl> os is suse 11.4
m8 has quit [Ping timeout: 246 seconds]
<tjbiddle> nephfl: Would you be willing to try out a virtual env or want to stick with trying to fix this? I
<tjbiddle> 'v
<tjbiddle> I
<tjbiddle> 'v
<tjbiddle> Can't type, jeez, lol.
<nephfl> I dont know anything about it
<tjbiddle> I've found that virtual envs generally solve a lot of problems.
wmoxam has joined #ruby
<nephfl> i just want to install a web app for asterisk
moted has quit [Quit: moted]
moted has joined #ruby
axl_ has joined #ruby
<MrZYX> so I guess your ruby is in /usr/local/bin and your gem is in /usr/bin ?
Zai00 has quit [Quit: Zai00]
chandankumar has joined #ruby
<goblin42> mrzyx i am a not a atroll
yxhuvud2 has joined #ruby
<MrZYX> then why are you trolling?
freezway has joined #ruby
hmarr has quit [Ping timeout: 240 seconds]
shock_one has joined #ruby
dr_bob has joined #ruby
<nephfl> yes
thams has quit [Quit: thams]
yxhuvud has quit [Ping timeout: 264 seconds]
rickmasta has joined #ruby
mneorr has quit [Remote host closed the connection]
thams has joined #ruby
<MrZYX> does find /usr/local -name gem return anything?
pioz has joined #ruby
<nephfl> yes
razibog1 has quit [Ping timeout: 264 seconds]
<MrZYX> what?
vikhyat_ has quit [Ping timeout: 258 seconds]
<nephfl> yes that is the gem that is in my path
<MrZYX> I'm confused now, I thought your ruby is /usr/local/bin/ruby and your gem is /usr/bin/gem ?
tesuki has joined #ruby
gyre007 has quit [Ping timeout: 252 seconds]
ariedler has joined #ruby
danman has quit [Quit: danman]
johnnyfuchs has joined #ruby
wallerdev has quit [Quit: wallerdev]
vikhyat has joined #ruby
generalissimo has quit [Remote host closed the connection]
dr_bob has quit [Ping timeout: 245 seconds]
<tjbiddle> nephfl: cat /usr/bin/gem | head (Or w/e your gem is pointing at) - Also, ls -la /usr/bin | grep gem (Or w/e your gem is pointing at) to check if it's a symlink or what's going on there.
<tjbiddle> Do the same for where your ruby binary is as well.
yashshah has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
a_a_g has joined #ruby
johnnyfuchs1 has quit [Ping timeout: 245 seconds]
nephfl has quit [Ping timeout: 245 seconds]
m_3 has quit [Read error: Connection reset by peer]
troessner has quit [Quit: Leaving]
hamakn has joined #ruby
yashshah has joined #ruby
_maes_ has joined #ruby
unstable has joined #ruby
nephfl has joined #ruby
vikhyat_ has joined #ruby
vikhyat has quit [Read error: Connection reset by peer]
<nephfl> yeah, my ruby 1.9 is at /usr/local/bin and my gem is at /usr/local/bin ruby 1.8 is at /usr/bin/ruby
<MrZYX> so which gem yields which one?
marcdel has quit []
vikhyat has joined #ruby
tesuki has quit [Remote host closed the connection]
marcdel has joined #ruby
cableray has joined #ruby
vikhyat_ has quit [Read error: Connection reset by peer]
unstable has quit [Ping timeout: 276 seconds]
chussenot has joined #ruby
chussenot has quit [Client Quit]
akashj87__ has quit [Quit: Leaving]
okinomo has quit [Quit: okinomo]
Morkel_ has joined #ruby
etcetera has quit []
stoic_squirrel has quit [Quit: Textual IRC Client: www.textualapp.com]
Morkel has quit [Ping timeout: 240 seconds]
Morkel_ is now known as Morkel
akashj87 has joined #ruby
reset has joined #ruby
<nephfl> there is only one gem
wyhaines has quit [Ping timeout: 276 seconds]
malkomalko has joined #ruby
<MrZYX> what's the shebang in it?
<MrZYX> head -n1 $(which gem)
markalanevans has quit [Quit: markalanevans]
<jeebster> who the hell named it the 'shebang'
<jeebster> lol
<jeebster> so silly
<MrZYX> iirc I read article once stating: nobody knows :D
<nephfl> #!/usr/local/bin/ruby
Rym has quit [Read error: Connection reset by peer]
wyhaines has joined #ruby
<nephfl> shebang?
<MrZYX> that line you posted
m_3 has joined #ruby
Rym has joined #ruby
<MrZYX> and /usr/local/bin/ruby -v reports the 1.9.3?
<tjbiddle> nephfl: Shebang is the line at the top of a file starting with #!
unstable has joined #ruby
<tjbiddle> Basically makes it so when you execute the file, it knows what to run it with.
<nephfl> ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
<MrZYX> okay, that's weird
CalebMingle has quit [Quit: CalebMingle]
Nisstyre-laptop has joined #ruby
andikr has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 258 seconds]
<MrZYX> so I second that you should just use RVM, Rbenv or chruby
kf8a has quit [Quit: Computer has gone to sleep.]
unstable has quit [Ping timeout: 246 seconds]
freezey has quit [Remote host closed the connection]
a_a_g has quit [Quit: This computer has gone to sleep]
bytemuse has joined #ruby
generalissimo has joined #ruby
Mattix has quit [Ping timeout: 252 seconds]
pioz has quit [Quit: This computer has gone to sleep]
jhn has joined #ruby
niklasb has quit [Ping timeout: 248 seconds]
<nephfl> when i try to install rvm with autopackages it says it doesnt recognize my environment
adamjleonard has joined #ruby
<tjbiddle> autopackages?
arya_ has quit [Ping timeout: 248 seconds]
<tjbiddle> nephfl: Just use the bash script that's on their site
<nephfl> autolibs I mean
<nephfl> that is what I was using
<nephfl> RVM was not able to detect your system type and does not know how to load extra library paths for your system (if it's needed), read:
slainer68 has joined #ruby
rickmasta has quit [Quit: Leaving...]
arya_ has joined #ruby
wedgex has quit [Remote host closed the connection]
tvw has joined #ruby
<nephfl> I guess it installed, hmm
<nephfl> how do I use it?
<MrZYX> rvm install 1.9.3
<MrZYX> rvm use 1.9.3
artofraw has joined #ruby
vlad_starkov has joined #ruby
ruby-lang521 has joined #ruby
wolcanus has quit [Remote host closed the connection]
GOMADWarrior has joined #ruby
ruby-lang521 has quit [Client Quit]
enriclluelles has quit [Remote host closed the connection]
reset has quit [Quit: Leaving...]
lkba has joined #ruby
goblin42 has quit [Quit: Konversation terminated!]
wedgex has joined #ruby
classix has quit [Ping timeout: 248 seconds]
fuark has quit [Ping timeout: 248 seconds]
classix has joined #ruby
bytemuse has quit [Quit: bytemuse]
vlad_starkov has quit [Ping timeout: 256 seconds]
tomsthumb has joined #ruby
tomsthumb has quit [Max SendQ exceeded]
davetherat has quit [Remote host closed the connection]
tomsthumb has joined #ruby
davetherat has joined #ruby
tomsthumb has quit [Max SendQ exceeded]
tomsthumb has joined #ruby
dr_bob has joined #ruby
BSaboia has joined #ruby
lushious has joined #ruby
shock_one has quit [Read error: Operation timed out]
wolcanus has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
divout has quit [Quit: Leaving.]
unstable has joined #ruby
_nitti has quit [Remote host closed the connection]
niceguy1234 has joined #ruby
altamic has joined #ruby
sambao21 has joined #ruby
_nitti has joined #ruby
markalanevans has joined #ruby
sayan has joined #ruby
nomenkun has joined #ruby
classix has quit [Ping timeout: 256 seconds]
<bhaarat> whats a way to generate negative numbers for a specific range?
mikepack has joined #ruby
iamvery has quit [Remote host closed the connection]
<bhaarat> for example randoms between -100..100
<MrZYX> 0..100-200
classix has joined #ruby
<MrZYX> >> rand(100)-200
<eval-in> MrZYX => -198 (http://eval.in/16929)
<MrZYX> >> rand(100)-200
<eval-in> MrZYX => -165 (http://eval.in/16930)
timonv has joined #ruby
anildigitl has joined #ruby
<MrZYX> eh, wait, it was the other way around
<bhaarat> but -198 shouldn't come. -100..100 would be numbers like -99 -65 -45 not -198 -165
chandankumar has quit [Quit: Leaving]
<MrZYX> >> rand(200)-100
<eval-in> MrZYX => 45 (http://eval.in/16932)
stoic_squirrel has joined #ruby
<bhaarat> ahh
<bhaarat> dope
<bhaarat> thanks
browndawg has quit [Quit: Leaving.]
rakl has quit [Quit: sleeping]
yxhuvud has joined #ruby
classix has quit [Ping timeout: 252 seconds]
ioNull has quit [Quit: Computer has gone to sleep.]
end_guy has quit [Ping timeout: 276 seconds]
nephfl has quit [Ping timeout: 245 seconds]
dmiller has quit [Remote host closed the connection]
dmiller has joined #ruby
rickmasta has joined #ruby
ebobby has joined #ruby
classix has joined #ruby
yxhuvud2 has quit [Ping timeout: 276 seconds]
pkrnj has joined #ruby
Regis__ has joined #ruby
El_Diablo has quit [Remote host closed the connection]
markalanevans has quit [Quit: markalanevans]
nbjahan has joined #ruby
Mattix has joined #ruby
joshcheek has joined #ruby
classix has quit [Ping timeout: 276 seconds]
wallerdev has joined #ruby
GOMADWarrior has quit [Ping timeout: 264 seconds]
classix has joined #ruby
etcetera has joined #ruby
enebo has joined #ruby
RagingDave has joined #ruby
jeffreylevesque has quit [Ping timeout: 258 seconds]
mahmoudimus has joined #ruby
jeffreylevesque has joined #ruby
mayankkohaley has joined #ruby
_nitti_ has joined #ruby
wsterling has quit [Remote host closed the connection]
tesuki has joined #ruby
akashj87 has quit [Quit: leaving]
_nitti has quit [Ping timeout: 245 seconds]
kpshek has quit []
theRoUS has quit [Read error: Operation timed out]
sayan has quit [Ping timeout: 258 seconds]
kpshek has joined #ruby
tesuki has quit [Remote host closed the connection]
johnnyfuchs has quit [Remote host closed the connection]
unstable has quit [Ping timeout: 260 seconds]
wsterling has joined #ruby
brennanMKE has joined #ruby
dphase has joined #ruby
ph^ has joined #ruby
jeffreylevesque has quit [Ping timeout: 258 seconds]
brum has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
pasties has quit [Ping timeout: 240 seconds]
jeffreylevesque has joined #ruby
LS\MFT has quit [Quit: Leaving]
mahmoudimus has quit [Ping timeout: 260 seconds]
nbjahan has quit [Quit: nbjahan]
dphase has left #ruby [#ruby]
freezway has quit [Read error: No route to host]
bradhe has joined #ruby
johnnyfuchs has joined #ruby
altamic has quit [Quit: altamic]
felipe has quit [Ping timeout: 248 seconds]
niceguy1234 has quit [Read error: Operation timed out]
johnnyfuchs has quit [Remote host closed the connection]
droppedonmyhead has joined #ruby
toekutr has quit [Ping timeout: 256 seconds]
braoru has joined #ruby
<droppedonmyhead> hey everyone
<droppedonmyhead> how do i make default values so that my function can take either 1 or 2 arguments?
<MrZYX> def a foo, bar="default"
malkomalko has quit [Remote host closed the connection]
<droppedonmyhead> MrZYX: easy tx
workmad3 has joined #ruby
mark_locklear has joined #ruby
vikhyat has quit [Remote host closed the connection]
f0ster has joined #ruby
yfeldblum has joined #ruby
wsterling has quit [Remote host closed the connection]
marr has joined #ruby
sayan has joined #ruby
Animawish has joined #ruby
classix has quit [Ping timeout: 252 seconds]
etcetera has quit []
reset has joined #ruby
classix has joined #ruby
timonv has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
snooc has quit []
sayan has quit [Ping timeout: 258 seconds]
brum has joined #ruby
mercwithamouth has quit [Ping timeout: 258 seconds]
brum has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
<peta_> is there a trick I can call myArr.map with the 'do |a,b| … end' syntax and getting an array as return value instead of an enumerator ? (when I use the ' {|a,b| … }' syntax it works)
worstadmin has quit [Ping timeout: 246 seconds]
<tylersmith> peta_: they should be equivalent. can you gist the code?
perun0 has quit [Ping timeout: 256 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
wsterling has joined #ruby
joshcheek_ has joined #ruby
joshcheek has quit [Read error: Connection reset by peer]
joshcheek_ is now known as joshcheek
rton has left #ruby [#ruby]
jonahR_ has joined #ruby
epochwolf is now known as epochcoyote
reset_ has joined #ruby
GOMADWarrior has joined #ruby
epochcoyote is now known as epochdingo
epochdingo is now known as epochwolf
jonahR has quit [Ping timeout: 258 seconds]
jonahR_ is now known as jonahR
sambao21 has joined #ruby
epochwolf is now known as epochdingo
classix has quit [Ping timeout: 252 seconds]
epochdingo is now known as epochwolf
classix has joined #ruby
iamvery has joined #ruby
bytemuse has joined #ruby
reset has quit [Read error: Operation timed out]
KazW_ is now known as KazW
epochwolf is now known as epochafricanwild
jonahR has quit [Client Quit]
epochafricanwild is now known as epochwolf
Regis__ has quit [Ping timeout: 276 seconds]
<peta_> I know that I can turn an iterator into an array by e.g. .to_a .. but i was surprised that that it doesn't work like the curly brace syntax
<MrZYX> peta_: the difference is precedence, the first version is puts(arr.map) do ...., the second is puts(arr.map {... })
<Hanmac> peta_ do ... and and {} have different Precedence
Gabri has joined #ruby
reset has joined #ruby
reset_ has quit [Ping timeout: 258 seconds]
worstadmin has joined #ruby
reset has quit [Remote host closed the connection]
<peta_> aaaah
<peta_> right .. that makes sense
huoxito has quit [Quit: Leaving]
yojimbo__ has quit [Ping timeout: 252 seconds]
<peta_> okay
<peta_> any way to change precedence? (braces around 'do … end' doesnt work)
classix has quit [Ping timeout: 260 seconds]
k610 has quit [Ping timeout: 260 seconds]
Regis__ has joined #ruby
<Spooner> peta_, Easiest is to do result = arr.map do end; result
yxhuvud2 has joined #ruby
yxhuvud2 has quit [Client Quit]
RagingDave has quit [Read error: Connection reset by peer]
<MrZYX> in your specific example? do puts arr.map(&:downcase) :P
RagingDave has joined #ruby
johnnyfuchs has joined #ruby
rakl has joined #ruby
BizarreCake has quit [Quit: Leaving]
ToApolytoXaos has quit [Quit: Leaving]
<peta_> don't get me wrong … I didn't try to solve my particular problem … I just wanted to know if Ruby has some syntactical sugar to work around this
<peta_> i am a ruby noob as some of you might know
rton has joined #ruby
yxhuvud has quit [Ping timeout: 264 seconds]
wedgex has quit [Remote host closed the connection]
<peta_> I am just trying to learn all the subtle differences the ruby language has to offer
sepp2k has joined #ruby
GOMADWarrior has quit [Ping timeout: 252 seconds]
GOMADWarrior has joined #ruby
perun0 has joined #ruby
yojimbo__ has joined #ruby
vanstee has quit [Quit: Computer has gone to sleep.]
Regis__ has quit [Ping timeout: 255 seconds]
angusiguess has joined #ruby
c0rn has joined #ruby
<MrZYX> most people prefer {} anyway for blocks when the return value matters, but you could do puts begin; arr.map do |e|\n e.downcase\n end\n end
<MrZYX> but temporary variable is really the best option as Spooner already said
artofraw has quit [Remote host closed the connection]
toekutr has joined #ruby
enebo has quit [Ping timeout: 258 seconds]
enebo has joined #ruby
axl_ has quit [Quit: axl_]
rippa has quit [Ping timeout: 240 seconds]
wreckimnaked has joined #ruby
<Eiam> Want to thank everyone here for being so helpful & responsive. It's really helped me enjoy using Ruby to solve problem & just increase my general experience with programming. So, thanks everyone for being nice & helpful people =)
<Eiam> (and I've been writing code for ~15 years)
snooc has joined #ruby
ebobby has quit [Ping timeout: 256 seconds]
trautwein has quit [Quit: Leaving...]
daniel_hinojosa has joined #ruby
jtharris has quit [Quit: WeeChat 0.4.0]
nomenkun has quit [Remote host closed the connection]
dbruns has joined #ruby
mrsolo has joined #ruby
j^2 has quit [Quit: for i in `/names` ; do adios $i; done]
bhaarat has quit [Quit: bhaarat]
j^2 has joined #ruby
wsterling has quit [Read error: Connection reset by peer]
cloke_ has joined #ruby
wsterling has joined #ruby
joshcheek has quit [Quit: joshcheek]
Animawish has quit [Quit: Animawish]
kleinerdrache has quit [Quit: Ex-Chat]
mikepack has quit [Remote host closed the connection]
cloke has quit [Ping timeout: 256 seconds]
cloke_ is now known as cloke
end_guy has joined #ruby
alexwh has joined #ruby
luckyruby has joined #ruby
luckyruby has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 256 seconds]
luckyruby has joined #ruby
AxonetBE has joined #ruby
chrishough has quit [Quit: chrishough]
workmad3 has joined #ruby
classix has joined #ruby
RagingDave_ has joined #ruby
mikepack has joined #ruby
ebobby has joined #ruby
vanstee has joined #ruby
RagingDave has quit [Ping timeout: 252 seconds]
bhaarat has joined #ruby
vanstee has quit [Client Quit]
stoic_squirrel has quit [Quit: Textual IRC Client: www.textualapp.com]
Hobogrammer has joined #ruby
<lectrick> I have a "fork" question. If I have a variable defined before the fork (as an empty array), and each fork adds to that array with << ... Won't the value of that variable change for ALL forks?
<bricker> Is it possible to find out where a module is declared? SomeModule.source_location obviously doesn't work, but something like that
<lectrick> bricker: search the source code?
<bricker> lectrick: well that's the thing... I don't know where this module is coming from
Astral_ has joined #ruby
<bricker> I have a class AssetHost::Asset::Fallback, but a module AssetHost::Fallback is also defined, but I don't know where
<tjbiddle> bricker: I think there's something that will print where a module/class is loaded from - but can't remember it off the top of my head. For now I'd just say grep through your gems folder.
<MrZYX> lectrick: fork creates a new process, that's usually copy-on-write on linux
toekutr has quit [Ping timeout: 260 seconds]
V8Energy has joined #ruby
AxonetBE has quit [Quit: Leaving.]
<lectrick> MrZYX: So it makes a copy of the entire process and all variables? (I'm on OS X which may follow the same model)
chrishough has joined #ruby
Guest62355 has quit [Changing host]
Guest62355 has joined #ruby
Guest62355 has joined #ruby
<MrZYX> yup (actually didn't specifically look into it for ruby, but for C that's the case)
AxonetBE has joined #ruby
Guest62355 is now known as Boohbah
Astralum has quit [Ping timeout: 256 seconds]
<MrZYX> and ruby just calls fork(2) iirc
iamjarvo has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 264 seconds]
<lectrick> MrZYX: So the only way to communicate values between the processes is by pipes and such?
<MrZYX> yup
<MrZYX> files, sockets, pipes, any method of IPC
csaunders has joined #ruby
<lectrick> MrZYX: Basically, I want to fire off 3 child processes from a "master" process, collect their STDOUT/STDERRs and exit statii, and then report from the "master" process
csaunders has quit [Client Quit]
wolcanus has quit [Remote host closed the connection]
AlSquire has quit [Read error: Connection reset by peer]
<s2013> how would you convert a hex into base64?
<lectrick> I think... but I'm not certain... that IO popen3 might help
sailias has quit [Ping timeout: 245 seconds]
brennanMKE has quit [Remote host closed the connection]
<MrZYX> that's not forking though, so it has to reload your env
AlSquire has joined #ruby
pac1 has joined #ruby
AxonetBE has quit [Ping timeout: 258 seconds]
<lectrick> s2013: that seems wasteful
<lectrick> s2013: since the hex character set is basically a subset of base64
<s2013> i dont know much about it. im just looking at some basic crypto challenges so i can learn this better by doing
<lectrick> s2013: well you could do something like this, but this converts the hex to decimal first, takes that string and then base64's that: require 'base64'; Base64.encode64('abcd1234'.to_i(16).to_s)
brennanMKE has joined #ruby
<s2013> is that standard library in ruby?
<lectrick> yep
<s2013> what does to_i(16) ocnvert it to?
<s2013> hex?
<lectrick> that interprets the string as base whatever
<s2013> oh ok
<lectrick> before converting it to a decimal int or whatever
tjbiddle_ has joined #ruby
<lectrick> in that example, abcd1234 is the hex number
kpshek has quit []
<s2013> oh ok
<lectrick> s2013: also, note that you can use 0xabcd1234 directly in ruby
<lectrick> I could have just done that
<lectrick> it will interpret it as hex and give you back a decimal number
<MrZYX> lectrick: try creating a new IO#pipe in the master and assign it to $stdout in the master
<s2013> well im tyring to learn how it really works not the solution if that makes sense
chipotle_ has quit [Quit: cya]
<lectrick> s2013: that's fine. go nuts googling. i mean, that library i just found by googling "ruby base64" ;)
jarin has joined #ruby
<s2013> what are normal strings in?
<s2013> what is that called
generalissimo has quit [Remote host closed the connection]
<lectrick> s2013: ascii?
<MrZYX> quotes? :P
<lectrick> or UTF-8
<s2013> oh ok
tjbiddle has quit [Ping timeout: 248 seconds]
tjbiddle_ is now known as tjbiddle
<lectrick> s2013: take your time. it's not rocket science, but it takes time to understand the fundamentals of things like encoding, how characters and numbers are represented (and how that can vary), etc.
balishag has quit [Ping timeout: 264 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
<lectrick> s2013: the crazy thing is it all comes down to 1's and 0's
unstable has joined #ruby
<s2013> yeah i know that.
kelabot has quit [Remote host closed the connection]
<s2013> 10 = 2
<lectrick> which I thought was incredibly beautiful once. way back when I was grokking this stuff :)
vlad_starkov has joined #ruby
<lectrick> (without the benefit of the internet)
<s2013> 1010 = 10 or whatever
sambao21 has joined #ruby
<lectrick> yep. There are only 10 kinds of people in the world, those who get binary and those who don't...
failshell has joined #ruby
<s2013> yeah heh
<Hanmac> >> 0b10
<eval-in> Hanmac => 2 (http://eval.in/16938)
rickmasta has quit [Ping timeout: 256 seconds]
<s2013> >> 0b10001010101010101
<eval-in> s2013 => 70997 (http://eval.in/16939)
<s2013> okay from now on that will be my pin #
<lectrick> s2013: yep what hanmac said. you can also do 200.to_s(2) #=> "11001000"
<s2013> so to_s(2) the 2 = binary?
<lectrick> yep
<lectrick> that's the base
<s2013> is that considered base2
<lectrick> yes
<s2013> cool. is that related to logs?
<lectrick> trivia: there is a base1
<Hanmac> >> Integer("0b10")
<eval-in> Hanmac => 2 (http://eval.in/16940)
<Hanmac> Integer("10",2)
<lectrick> this is 10 in base1: 1111111111
<s2013> >> 100.to_s(1)
<eval-in> s2013 => /tmp/execpad-11711a75c61a/source-11711a75c61a:2:in `to_s': invalid radix 1 (ArgumentError) ... (http://eval.in/16941)
nomenkun has joined #ruby
<lectrick> lol, ruby doesn't do base 1
<Hanmac> >> Integer("10",2)
<s2013> o
<eval-in> Hanmac => 2 (http://eval.in/16942)
<lectrick> "1"*num #=> the base1 haha
hamakn has quit [Remote host closed the connection]
<lectrick> >>"1"*10
<eval-in> lectrick => "1111111111" (http://eval.in/16943)
vlad_starkov has quit [Ping timeout: 255 seconds]
<lectrick> it's useless except as a teaching aid
kpshek has joined #ruby
<lectrick> the to_s(num) thing only recognizes certain nums
<lectrick> i mean bases
<lectrick> >> 200.to_s(36)
<eval-in> lectrick => "5k" (http://eval.in/16946)
wreckimnaked has quit [Ping timeout: 256 seconds]
<lectrick> base 36 are the 26 lowercase letters + the numbers
<s2013> are alphabets in base26?
<s2013> english alphabet anyways
<s2013> so what is base64 ?
<lectrick> s2013: yes
brum has joined #ruby
<s2013> >> "abasdfasdf".to_s(64)
<lectrick> s2013: base64 is lowercase, capitals, numbers... and the rest I forget lol
<eval-in> s2013 => /tmp/execpad-4a7a6145ee26/source-4a7a6145ee26:2:in `to_s': wrong number of arguments (1 for 0) (ArgumentError) ... (http://eval.in/16949)
<s2013> is hex base6?
ZephiroMX has joined #ruby
<lectrick> s2013: you have to to_s a number :)
<s2013> oh
sambao21 has quit [Quit: Computer has gone to sleep.]
<lectrick> hex is base16
<s2013> oh
axl_ has joined #ruby
<lectrick> 0-9 and a-f
<s2013> oh right its hexadecimal
<lectrick> yep
jtharris has joined #ruby
<s2013> any reason why it stops at 16? sorry might sounds tupid
<lectrick> because it's a power of 2 which makes it convenient to represent binary numbers compactly
<lectrick> such as those stored in memory
<s2013> o ok
<s2013> is base 32 used?
<lectrick> heh, good question
<lectrick> apparently, ruby understands it
<lectrick> >> 200.to_s(32)
<eval-in> lectrick => "68" (http://eval.in/16950)
<s2013> >> 49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d.to_s(16)
<eval-in> s2013 => /tmp/execpad-e1ca2a82be6e/source-e1ca2a82be6e:2: syntax error, unexpected tIDENTIFIER, expecting keyword_end ... (http://eval.in/16951)
Morkel has quit [Quit: Morkel]
wolcanus has joined #ruby
<lectrick> I haven't seen it used, but that doesn't mean it's not possible to use it, all you need is people to agree on a character set to represent it as
<s2013> >> 23423432432.to_s(16)
<eval-in> s2013 => "5742536f0" (http://eval.in/16952)
tjbiddle has quit [Remote host closed the connection]
<s2013> gotcha
tjbiddle has joined #ruby
<lectrick> s2013: that would have worked if you did 0x49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d.to_s(16)
classix has quit [Ping timeout: 264 seconds]
<lectrick> but it would have returned the same thing
<s2013> >> 0x49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d.to_s(16)
<eval-in> s2013 => "49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d" (http://eval.in/16953)
<s2013> >> 0x49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d.to_s(64)
<eval-in> s2013 => /tmp/execpad-88225640320e/source-88225640320e:2:in `to_s': invalid radix 64 (ArgumentError) ... (http://eval.in/16954)
<lectrick> yep the base is the "radix"
<s2013> oh it needs the base64 library right
sambao21 has joined #ruby
<lectrick> the to_s function doesn't understand base64 for whatever reason, which is why you need the library
<s2013> got it.
<lectrick> anyone else know why that is? is base64 maybe not "standard" enough?
classix has joined #ruby
mattpolito has quit [Remote host closed the connection]
<lectrick> s2013: you're asking the right questions and trying the right things tho :)
<s2013> thanks
niklasb has joined #ruby
nomenkun has quit [Ping timeout: 246 seconds]
linusoleander has joined #ruby
<lectrick> s2013: ok I think I found out why: http://en.wikipedia.org/wiki/Base64
<lectrick> "Design: The particular choice of character set selected for the 64 characters required for the base varies between implementations."
<s2013> so there is no standard?
unstable has quit [Ping timeout: 245 seconds]
<lectrick> Apparently no rigid one.
<linusoleander> Anyone know a "you may also like" gem like Apriori but faster in ruby?
<s2013> so when they say 128 bit encryption what does that mean?
aedornm has joined #ruby
shadoi has quit [Read error: Connection reset by peer]
<lectrick> s2013: You can see some variations in the "Variants summary table" section
k610 has joined #ruby
kpshek has quit []
MisterPostIT has quit []
<lectrick> s2013: google "what is 128 bit encryption"... seriously, google tells you directly lol
Mattix has quit [Ping timeout: 252 seconds]
pasties has joined #ruby
toekutr has joined #ruby
toekutr has quit [Remote host closed the connection]
wedgex has joined #ruby
<lectrick> and then just follow the links to anything you don't understand. Note: This is how I end up spending hours in Wikipedia, but I love it
Regis__ has joined #ruby
<s2013> i mean is it related to the base64 or something
<s2013> yeah i know i do the same
<lectrick> not really
classix has quit [Remote host closed the connection]
<lectrick> 128 bit encryption just means it uses a key size of 128 bits
<lectrick> says nothing about how the information is encoded
<s2013> so 128 characters?
<lectrick> nope
<lectrick> each character is 8 bits
<s2013> oh right
<lectrick> (well, mosty)
<s2013> its 1 byte
<MrZYX> a number between 0-2^128
classix has joined #ruby
nkr has quit [Quit: Linkinus - http://linkinus.com]
<lectrick> ASCII, each character = 1 byte = 8 bits. In UTF-8... it can vary
RagingDave_ has quit [Ping timeout: 256 seconds]
<lectrick> but you'd have to google those separately. i find all this stuff interesting, but i'm a programmer haha
GOMADWarrior has quit [Ping timeout: 264 seconds]
<spider-mario> even though a byte is usually an octet (8 bits), it is not necessarily so
<spider-mario> and ASCII characters only use 7 bits
<spider-mario> (that’s what made it possible for UTF-8 to be ASCII-compatible)
wmoxam has quit [Ping timeout: 245 seconds]
kpshek has joined #ruby
<lectrick> spider-mario: ah crap. true.
postmodern has joined #ruby
<spider-mario> (regarding the size of bytes, I’m nitpicking, really)
ntzrmtthihu777 has joined #ruby
<lectrick> technically correct is best correct
<lectrick> ;)
<spider-mario> :)
<lectrick> especially when it comes to computers
classix has quit [Ping timeout: 248 seconds]
evenix has quit [Remote host closed the connection]
<ntzrmtthihu777> because computers are stupid ;)
classix has joined #ruby
<lectrick> s2013: there's a whole history of encoding, btw. ASCII came after other standards like, http://en.wikipedia.org/wiki/EBCDIC . In case you ever delve into why things are the way they are and how they got there. :)
<s2013> thanks
<s2013> numbers are considered base10 right
<lectrick> yep
<lectrick> well, "common" numbers :)
<lectrick> they're all numbers, per se
<lectrick> 0xffff is a number
<s2013> what is that again?
<dr_bob> it's a representation of a number
<lectrick> s2013: type it in irb
<lectrick> >> 0xffff
<eval-in> lectrick => 65535 (http://eval.in/16955)
<ntzrmtthihu777> which equals 65--- forget the rest, lol
mityaz has quit [Quit: See ya!]
CalebMingle has joined #ruby
<s2013> oh ok
<lectrick> dr_bob: all numbers are representations of numbers haha
<s2013> >> 0x1234
<eval-in> s2013 => 4660 (http://eval.in/16956)
<s2013> >> 0x0000
<eval-in> s2013 => 0 (http://eval.in/16957)
<s2013> >> 0xford
<dr_bob> lectrick: no, 0xffff and 65535 are representations of the same number in different formats.
<eval-in> s2013 => /tmp/execpad-7380dd6ad33e/source-7380dd6ad33e:2: syntax error, unexpected tIDENTIFIER, expecting keyword_end (http://eval.in/16958)
<lectrick> lol
niklasb has quit [Ping timeout: 264 seconds]
<lectrick> 0xfade
<lectrick> >> 0xfade
<eval-in> lectrick => 64222 (http://eval.in/16959)
<lectrick> >> "lectrick".to_i(26)
<eval-in> lectrick => 14572 (http://eval.in/16960)
reset has joined #ruby
<lectrick> >> 14572.to_s(26)
<eval-in> lectrick => "lec" (http://eval.in/16961)
<lectrick> lol, interesting
<otters> is it possible to make string literals default to latin-1?
<lectrick> anyone know why that is cut off?
<otters> I ask this because # encoding: iso-8859-1 appears to do nothing
<MrZYX> lectrick: to_i ignores what it can't parse
<dr_bob> otters: that's for the source. I think you want Encoding::default_internal
ZephiroMX has quit [Quit: Linkinus - http://linkinus.com]
niklasb has joined #ruby
<lectrick> MrZYX: but base 26 are all the lowercase letters, no?
<MrZYX> apparently not
<spider-mario> don’t you need 36 for that?
samir has left #ruby [#ruby]
<spider-mario> because you still have 0-9
elux has quit [Quit: Leaving...]
wedgex has left #ruby [#ruby]
<spider-mario> >> "lectrick".to_i(36)
<eval-in> spider-mario => 1676897985188 (http://eval.in/16962)
<spider-mario> >> 1676897985188.to_s(36)
<eval-in> spider-mario => "lectrick" (http://eval.in/16963)
<lectrick> yeah but my input didn't have any numbers
unstable has joined #ruby
<otters> dr_bob: https://gist.github.com/joelteon/f68ad32d2ea7d65e6e91 outputs [195, 169]
Morkel has joined #ruby
<canton7> lectrick, ruby's interpretation of 'base 26' is constant across all inputs, not just yours ;)
malibu_ has joined #ruby
<dr_bob> otters: yeah, I think my advice was rubbish
spider-mario has quit [Remote host closed the connection]
Gabri has quit [Remote host closed the connection]
<Hanmac> otters & dr_bob each_byte is (mostly) encoding indipent ...
<lectrick> oh. so base 26 in ruby is NOT just lowercase. It's 0-9 and then the first 16 letters of the alphabet...
<otters> is it?
<lectrick> canton7: ^
<otters> hm
shadoi has joined #ruby
<lectrick> yeah, just tried in irb
<lectrick> >> 'a'.to_i(26)
<eval-in> lectrick => 10 (http://eval.in/16964)
<canton7> I'd assume it starts with 0-9, then adds letters
<Hanmac> otters there is each_codepoint wich is different
<lectrick> >> 't'.to_i(26)
<eval-in> lectrick => 0 (http://eval.in/16965)
<canton7> then uppercase letters once it runs after that? guessing here
<droppedonmyhead> hey i want to make a while loop include an or statement and i'm finding that it only evaluates the first condition. am i using my || correctly? while (!vowels.include?(string[i]) || (string[i] == "u" && string[i-1] == "q")
malibu_ has quit [Client Quit]
linusoleander has quit [Ping timeout: 276 seconds]
<lectrick> you're correct canton7
<lectrick> i think
<otters> Hanmac: how do I figure out the actual bytes? each_char returns an array of length 2
<Hanmac> otters: each_char, each_byte, each_codepoint, each of them return differnt stuff
<failshell> how can i get the last 2 characters of a string?
niklasb has quit [Ping timeout: 264 seconds]
<otters> right
<otters> so...
hamakn has joined #ruby
<spike|spiegel> failshell: umm [-2:-1] ?
<Hanmac> otters: i think you are looking for .bytesize ?
<canton7> "string"[-2..-1]
<otters> Hanmac: that returns 2
niceguy1234 has joined #ruby
<canton7> spike|spiegel, that's python
<otters> for an iso-8859-1 encoded e with acute
<otters> shouldn't it be 1?
<spike|spiegel> wrong channe :P
<canton7> hehe
frem has joined #ruby
jerius has quit []
<droppedonmyhead> can anyone help me with my double pipes? i'm finding string[i] always returns hex instead of a character. how can i avoid that?
tommyvyo has quit [Quit:]
<failshell> thanks canton7
<droppedonmyhead> "quantum"[1] == "u" returns false
<MrZYX> are you still on 1.8?
<Hanmac> droppedonmyhead: what is your ruby version?
Morkel has quit [Quit: Morkel]
<droppedonmyhead> Hanmac: 1.8.7
<MrZYX> you should update then
<spike|spiegel> droppedonmyhead: use the hack [1..1] :D
<spike|spiegel> this time ruby!
<Hanmac> droppedonmyhead: and thats exactly the problem ...
<dr_bob> otters: James Edward Gray has some articles about i18n on his blog but I can't seem to reach his website.
<droppedonmyhead> nice. alright tx!
<MrZYX> spike|spiegel: pssst! ;P
<Hanmac> droppedonmyhead: your ruby version will be stopped supporting this sommer
nomenkun has joined #ruby
<canton7> droppedonmyhead, also, #chr
<droppedonmyhead> Hanmac: better update that then
<Hanmac> yeah
wargasm has joined #ruby
m8 has joined #ruby
<ntzrmtthihu777> heh, how you think i feel about folk using ubuntu precise? support stopped this month, lol
alex__c2022 has quit [Quit: alex__c2022]
wmoxam has joined #ruby
motto has quit [Ping timeout: 252 seconds]
<Hanmac> hm there will be an new ubuntu released this month, but i dont think it has ruby2.0 yet ... (otherwise it would be suprising)
<ntzrmtthihu777> ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
mmitchel_ has joined #ruby
mmitchel_ has quit [Remote host closed the connection]
mmitchell has quit [Read error: Connection reset by peer]
mmitchell has joined #ruby
nomenkun has quit [Ping timeout: 256 seconds]
hamakn has quit [Ping timeout: 252 seconds]
wagster has quit [Quit: Textual IRC Client: www.textualapp.com]
ehaliewicz has joined #ruby
<ntzrmtthihu777> but the repos only has 1.9.3, I think
subsume has joined #ruby
bradleyprice has quit [Remote host closed the connection]
<subsume> so a gem i need appears under sudo gem list but not gem list
<shevy> subsume you probably use an evil linux distribution
<subsume> ubuntu
<shevy> :D
<ntzrmtthihu777> subsume: what gem?
<subsume> knife-linode
<ntzrmtthihu777> and what do you mean sudo list/non-sudo list?
<Hanmac> oO i used ubuntu too and i dont have such a problem ...
<subsume> sudo gem list / gem list
<Hanmac> subsume did you use rvm or something like that?
<shevy> Hanmac because you are clever
<subsume> no
hackeron has quit [Ping timeout: 245 seconds]
niklasb has joined #ruby
bhaarat has quit [Quit: bhaarat]
<ntzrmtthihu777> rvm is a pita =_=
pac1 has quit [Remote host closed the connection]
<subsume> i wish i didn't have to run shit at root
<subsume> i only have one user on this box
<ntzrmtthihu777> subsume: actually you have quite a few. yourself, root, and a few others
LennyLinux has quit [Remote host closed the connection]
billycravens has quit [Quit: billycravens]
<subsume> oh
hadees has quit [Quit: hadees]
<subsume> non system users i mean
dr_bob has quit [Ping timeout: 245 seconds]
<ntzrmtthihu777> its like that in windows too, it just does not ask for a password
<subsume> i dunno.
<subsume> i'm just a dude who can't use a gem
<ntzrmtthihu777> just a "you sure? y/n" query
interactionjaxsn has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
tds has joined #ruby
shadoi has quit [Read error: No route to host]
<spike|spiegel> rubygems is malware .. there I said it.
<subsume> heh
shadoi has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
<spike|spiegel> a shitty one at it
<subsume> opinion relay chat
f0ster has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
<subsume> i wish the i stood for information
<subsume> it rarely does
<spike|spiegel> and bundler is his retarded cousin.
Guedes0 has joined #ruby
wreckimnaked has joined #ruby
<subsume> k so
<subsume> any idea why i can't get my local user command to read this gem?
<subsume> sudo knife seems to work fine
wedgex_ has joined #ruby
<ntzrmtthihu777> subsume: you mean you can't install it with sudo?
<spike|spiegel> subsume: 1. get rid of any shit you installed into the system. 2. Install as user.. (a user who can't sudo). 3. profit
<ntzrmtthihu777> subsume: ignore that.
wedgex_ has left #ruby [#ruby]
<subsume> You don't have write permissions into the /opt/vagrant_ruby/lib/ruby/gems/1.8 directory.
<subsume> i already did =P
<subsume> here's something totally freaky, i swear i removed 1.8
<spike|spiegel> sudo gem uninstall much??
tommyvyo has joined #ruby
<ntzrmtthihu777> subsume: sudo update-alternatives --configure ruby
<subsume> That's what I did.
<subsume> check paste
Guedes0 has quit [Client Quit]
<subsume> o wait
<subsume> update-alternatives: unknown option `--configure'
interactionjaxsn has quit [Ping timeout: 256 seconds]
<ntzrmtthihu777> Derp. config, not configure
<subsume> okie
<subsume> please look at my paste =)
<subsume> i swears i did this
<ntzrmtthihu777> I did.
Mattix has joined #ruby
<subsume> There is only one alternative in link group ruby: /usr/bin/ruby1.9.1 ... There is only one alternative in link group ruby: /usr/bin/ruby1.9.1
mercwithamouth has quit [Ping timeout: 252 seconds]
<ntzrmtthihu777> subsume: sudo update-alternatives --config gem
<subsume> same thing =)
<subsume> There is only one alternative in link group gem: /usr/bin/gem1.9.1
<ntzrmtthihu777> sudo gem install whatever, lol.
<subsume> i did that but then my gem doesn't work as my local user
<subsume> it doesn't show up in gem list
<ntzrmtthihu777> hmm
<subsume> is it fucked up to just chown that directory to include me? =P
<ntzrmtthihu777> likely XD
<subsume> yeah, i dunno how i got it into this state.
<ntzrmtthihu777> pwd
<unstable> I just helped a friend on a mac setup their ruby environment. They were confused by shell PATH and that stuff. So I install rbenv with the plugin from github into .rbenv, got ruby 2.0.0p0, and installed all the gems they wanted (rails). I noticed that mac had /usr/bin/ruby as a bash file saying to 'gem install rails';
<Hanmac> subsume: what does "which gem" as local user says?
<aedornm> subsume: which gem && sudo which gem .
linusoleander has joined #ruby
<subsume> both are /usr/bin/gem =)
<linusoleander> Any one know if it's possible to run part of a rails app in jRuby?
<linusoleander> I want to run some rake tasks in jRuby
<Hanmac> subsume: does "gem env" as both users and pastie that for us
niceguy1234 has quit [Ping timeout: 252 seconds]
staafl has quit [Quit: Leaving]
iamvery has quit [Remote host closed the connection]
<unstable> I setup $PATH order precedence.. so it executes all the stuff in ~/.rbenv; Everything works.. what is the correct way to remove the operating system ruby links though?
<aedornm> different Ruby versions
asym has quit [Quit: Lost terminal]
<Hanmac> subsume: there is an second ruby installed that blocks you ...
<unstable> Basically what is the correct way to remove /usr/bin/ruby, and /usr/bin/gem, etc.
GOMADWarrior has joined #ruby
brennanMKE has quit [Remote host closed the connection]
kofno has quit [Remote host closed the connection]
invisime has quit [Quit: Leaving.]
vanstee has joined #ruby
<subsume> Hanmac ugh
<aedornm> unstable: unfortunately there's no 'correct' way as Ruby didn't include a make uninstall. So just delete the links to ruby and gem binaries, and remove the /usr/lib/ruby1.x directory
newUser1234 has quit [Remote host closed the connection]
Regis__ has quit [Ping timeout: 252 seconds]
<subsume> I'm not really sure how its there
forrest has quit [Quit: Leaving]
<subsume> maybe i should just logout login
<Hanmac> subsume: there is an ruby in /opt/vagrant_ruby and this ruby has higher priority in your PATH
iamjarvo has joined #ruby
wedgex has joined #ruby
<subsume> oooh
<Hanmac> so maybe you do not need it, or look why its in your path
<subsume> okay dude
<subsume> logout login worked
cpruitt has quit [Ping timeout: 264 seconds]
<subsume> booyah
<subsume> knife is working now too
<subsume> thanks a lot for helping me
dr_bob has joined #ruby
sailias has joined #ruby
yashshah has quit [Ping timeout: 246 seconds]
mercwithamouth has joined #ruby
<Hanmac> hah beat that Time&Space: "ruby 2.1.0dev (2013-04-20 trunk 40391) [x86_64-linux]"
bwlang has left #ruby [#ruby]
<Hanmac> because my clock says 2013-04-19
<aedornm> I love timestamps in the future
wedgex has left #ruby [#ruby]
kpshek has quit []
pioz has joined #ruby
tommyvyo has quit [Quit:]
yashshah has joined #ruby
tommyvyo has joined #ruby
alanp has quit [Read error: Connection reset by peer]
unstable has quit [Remote host closed the connection]
alanp has joined #ruby
blacktul_ has quit [Remote host closed the connection]
mmitchell has quit [Ping timeout: 276 seconds]
markalanevans has joined #ruby
mikepack has quit [Remote host closed the connection]
solidoodlesuppor has quit [Remote host closed the connection]
centipedefarmer has quit [Remote host closed the connection]
centipedefarmer has joined #ruby
fantazo has quit [Remote host closed the connection]
centipedefarmer has quit [Remote host closed the connection]
k610 has quit [Ping timeout: 256 seconds]
jlast has quit [Ping timeout: 256 seconds]
MrZYX is now known as MrZYX|off
iamvery has joined #ruby
felipe has joined #ruby
dr_bob has quit [Quit: Leaving.]
yojimbo__ has quit [Ping timeout: 264 seconds]
cmarques has quit [Ping timeout: 245 seconds]
droppedonmyhead has quit [Quit: droppedonmyhead]
iamjarvo has quit [Quit: Leaving.]
shinobi_one has joined #ruby
shinobi_one has quit [Changing host]
shinobi_one has joined #ruby
sailias has quit [Quit: Leaving.]
SDr_ has joined #ruby
anonymuse has quit [Ping timeout: 272 seconds]
sailias has joined #ruby
yojimbo has joined #ruby
madhatter has quit [Read error: Operation timed out]
rburton- has joined #ruby
unstable has joined #ruby
sailias has quit [Client Quit]
itman has quit [Read error: Operation timed out]
SDr has quit [Ping timeout: 256 seconds]
rickmasta has joined #ruby
madhatter has joined #ruby
bean has quit [Quit: Computer has gone to sleep.]
itman has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
_nitti_ has quit [Remote host closed the connection]
beneggett has joined #ruby
akhet has quit [Remote host closed the connection]
splittingred has quit [Quit: splittingred]
johnnyfuchs has quit [Ping timeout: 252 seconds]
shadoi1 has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
shadoi has quit [Read error: Connection reset by peer]
jtharris has quit [Quit: WeeChat 0.4.0]
jgarvey has quit [Quit: Leaving]
wreckimnaked has quit [Ping timeout: 256 seconds]
newUser1234 has joined #ruby
unstable has quit [Ping timeout: 245 seconds]
pioz has quit [Quit: This computer has gone to sleep]
sambao21 has joined #ruby
yojimbo has quit [Ping timeout: 246 seconds]
wolcanus has quit [Remote host closed the connection]
classix has quit [Ping timeout: 258 seconds]
Mon_Ouie has quit [Ping timeout: 240 seconds]
sambao21 has quit [Client Quit]
nveselinov has joined #ruby
casey has joined #ruby
kemist has quit []
aedornm has quit [Remote host closed the connection]
c0rn has quit [Quit: Computer has gone to sleep.]
ndngvr has quit [Ping timeout: 256 seconds]
casey has left #ruby [#ruby]
yojimbo has joined #ruby
tommyvyo has quit [Quit:]
wreckimnaked has joined #ruby
artofraw has joined #ruby
shadoi1 is now known as shadoi
jdunck has quit [Ping timeout: 276 seconds]
snooc has quit []
frem has quit [Quit: I depart!]
workmad3 has joined #ruby
codecop has quit [Remote host closed the connection]
jdunck has joined #ruby
Davey has joined #ruby
kelabot has joined #ruby
rton has left #ruby [#ruby]
c0rn has joined #ruby
yinkei has joined #ruby
Artheist has quit [Remote host closed the connection]
yinkei has quit [Remote host closed the connection]
unstable has joined #ruby
yinkei has joined #ruby
shadoi has quit [Ping timeout: 245 seconds]
angusiguess has quit [Ping timeout: 256 seconds]
johnnyfuchs has joined #ruby
ndngvr has joined #ruby
yinkei has left #ruby [#ruby]
Astral_ has quit [Ping timeout: 252 seconds]
SCommette has quit [Quit: SCommette]
ariedler has quit [Remote host closed the connection]
jeremywrowe has joined #ruby
jeremywrowe has quit [Changing host]
jeremywrowe has joined #ruby
carloslopes has quit [Remote host closed the connection]
brum has quit [Remote host closed the connection]
davedo has joined #ruby
Mon_Ouie has joined #ruby
generalissimo has joined #ruby
robottinosino has joined #ruby
Hanmac1 has joined #ruby
avalarion has quit [Remote host closed the connection]
jlast has joined #ruby
axl_ has quit [Quit: axl_]
awarner has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 245 seconds]
Astralum has joined #ruby
Astralum has quit [Read error: Connection reset by peer]
mark_locklear has quit [Ping timeout: 240 seconds]
emmanuel__ has joined #ruby
Astralum has joined #ruby
bytemuse has quit [Quit: bytemuse]
danbeck has quit [Quit: danbeck]
emmanuelux has quit [Ping timeout: 252 seconds]
xardas has quit [Ping timeout: 258 seconds]
jeekl has quit [Ping timeout: 256 seconds]
kirun has quit [Quit: Client exiting]
chussenot has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
chussenot has quit [Client Quit]
Nahra has quit [Ping timeout: 260 seconds]
SexyTattoos96 has joined #ruby
wreckimnaked has quit [Ping timeout: 240 seconds]
SexyTattoos96 has quit [Max SendQ exceeded]
r0bgleeson has quit [Read error: Connection reset by peer]
brum has joined #ruby
adamjleonard has quit [Quit: Leaving...]
oh2lre has quit [Ping timeout: 245 seconds]
m8 has quit [Quit: Sto andando via]
SexyTattoos96 has joined #ruby
SexyTattoos96 has quit [Max SendQ exceeded]
linusoleander has quit [Quit: linusoleander]
r0bgleeson has joined #ruby
SexyTattoos96 has joined #ruby
mengu has quit [Quit: Leaving]
vlad_starkov has joined #ruby
Nahra has joined #ruby
jeekl has joined #ruby
arya_ has joined #ruby
johnkary has joined #ruby
<SexyTattoos96> im looking for someone to help me with my website
SexyTattoos96 has quit [Killed (idoru (Spam is off topic on freenode.))]
billycravens has joined #ruby
huoxito has joined #ruby
SexyTattoos96 has joined #ruby
adamjleonard has joined #ruby
arya_ has quit [Client Quit]
vlad_starkov has quit [Ping timeout: 264 seconds]
huoxito has quit [Max SendQ exceeded]
huoxito has joined #ruby
huoxito has quit [Max SendQ exceeded]
TheFuzzball has quit [Quit: Computer has gone to sleep.]
allanm has quit [Read error: Connection reset by peer]
huoxito has joined #ruby
allanm has joined #ruby
huoxito has quit [Max SendQ exceeded]
luckyruby has quit [Remote host closed the connection]
huoxito has joined #ruby
nomenkun has joined #ruby
bytemuse has joined #ruby
luckyruby has joined #ruby
sambao21 has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
brennanMKE has joined #ruby
kofno has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
neku has quit [Quit: Leaving...]
mmitchell has joined #ruby
k610 has joined #ruby
sambao21 has quit [Client Quit]
alainus[-_-] is now known as alainus
angusiguess has joined #ruby
subsume has quit [Ping timeout: 245 seconds]
huoxito has quit [Ping timeout: 240 seconds]
nomenkun has quit [Ping timeout: 256 seconds]
alainus has left #ruby ["Leaving"]
artofraw has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 258 seconds]
brennanMKE has quit [Ping timeout: 258 seconds]
pskosinski has quit [Ping timeout: 245 seconds]
staafl has joined #ruby
ph^ has quit [Remote host closed the connection]
niklasb has quit [Quit: WeeChat 0.4.0]
staafl has left #ruby [#ruby]
mmitchell has quit [Ping timeout: 255 seconds]
staafl has joined #ruby
hadees has joined #ruby
nezumi has quit [Ping timeout: 252 seconds]
ebobby has quit [Quit: Lost terminal]
johnkary has quit [Quit: @johnkary]
nathanieldavid has joined #ruby
huoxito has joined #ruby
tealmage has joined #ruby
BSaboia has quit [Read error: Connection reset by peer]
kofno has joined #ruby
unstable has quit [Ping timeout: 256 seconds]
angusiguess has quit [Ping timeout: 252 seconds]
wyhaines has quit [Remote host closed the connection]
_nitti has joined #ruby
yfeldblum has joined #ruby
akhet has joined #ruby
akhet has joined #ruby
akhet has quit [Changing host]
wsterling has quit [Remote host closed the connection]
Hanmac has joined #ruby
jamie_ca_ has quit [Quit: Computer has gone to sleep.]
Hanmac1 has quit [Ping timeout: 248 seconds]
jlast has quit [Remote host closed the connection]
xcv has quit [Remote host closed the connection]
_nitti has quit [Ping timeout: 258 seconds]
v0n has quit [Ping timeout: 245 seconds]
akhet has quit [Ping timeout: 260 seconds]
robscomputer has joined #ruby
huoxito has quit [Ping timeout: 258 seconds]
zastern has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
hamakn has joined #ruby
angusiguess has joined #ruby
lukeholder has joined #ruby
zastern has joined #ruby
huoxito has joined #ruby
yojimbo has quit [Ping timeout: 240 seconds]
JayT has joined #ruby
<JayT> I have this html/css/javascript that is not generated by rails. Though I want to add an ajax request from it.. to a rails controller. Is there a good example of how to do this in documentation? or a tutorial online? I'm not sure where to start.
nveselinov has quit [Ping timeout: 245 seconds]
SCommette has joined #ruby
ssms has joined #ruby
tommyvyo has joined #ruby
hamakn has quit [Ping timeout: 255 seconds]
Mon_Ouie has quit [Ping timeout: 255 seconds]
chrishough has joined #ruby
SCommette has quit [Client Quit]
SexyTattoos96 has quit []
ariedler has joined #ruby
JayT has quit [Quit: Lost terminal]
billycravens has quit [Quit: billycravens]
yojimbo has joined #ruby
MistuhKurtz has joined #ruby
Yarou has joined #ruby
veinofstars has quit [Ping timeout: 272 seconds]
nadirvardar has quit [Quit: Computer has gone to sleep.]
jhn has quit [Ping timeout: 260 seconds]
enebo has quit [Quit: enebo]
vanstee has quit [Quit: Computer has gone to sleep.]
zastern has quit [Remote host closed the connection]
`brendan has joined #ruby
baphled has quit [Ping timeout: 240 seconds]
nadirvardar has joined #ruby
nadirvardar has quit [Client Quit]
huoxito has quit [Quit: Leaving]
k610 has quit [Ping timeout: 252 seconds]
SCommette has joined #ruby
baphled has joined #ruby
fixl has joined #ruby
zastern has joined #ruby
predator217 has joined #ruby
subbyyy has joined #ruby
rupee has quit [Quit: Leaving]
SCommette has quit [Client Quit]
predator117 has quit [Ping timeout: 256 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
unstable has joined #ruby
yojimbo has quit [Ping timeout: 252 seconds]