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
lewix_ has joined #ruby
cyberarm has quit [Remote host closed the connection]
br4ndon has quit [Quit: Lorem ipsum dolor sit amet]
jacobbednarz has joined #ruby
lewix has quit [Ping timeout: 245 seconds]
wyhaines has quit [Remote host closed the connection]
<jacobbednarz> hey, i am having an issue installing rails. i run it via 'gem install rails' and it outputs the following. https://gist.github.com/jacobbednarz/0a7f1b0e9d5f4df10f73 but when i try to create a new application, it fails. (as shown at the bottom of that gist)
musl has quit [Quit: WeeChat 0.4.0]
moos3 has joined #ruby
newUser1234 has joined #ruby
<jacobbednarz> thoughts on how to fix it/
<markenranosa> Rails::Offline
<markenranosa> T_T
<markenranosa> can anyone help a total noob
<markenranosa> errrrr
Davey has quit [Ping timeout: 260 seconds]
akhet has quit [Remote host closed the connection]
mockra has quit [Remote host closed the connection]
banister`sleep has joined #ruby
banister_ has quit [Read error: Connection reset by peer]
jdolitsky1 has joined #ruby
45PAABO5W has quit [Remote host closed the connection]
<markenranosa> fuuuuuuuck!!
d34th4ck3r has quit [Quit: Konversation terminated!]
musl has joined #ruby
Davey has joined #ruby
<tomsthumb> jacobbednarz: is it possible that you're using a different gem with sudo than you are without it?
mpfundstein has quit [Ping timeout: 246 seconds]
<jacobbednarz> don't think so. i have tried it with both.
freerobby has joined #ruby
<apeiros_> jacobbednarz: sudo which rails
<jacobbednarz> /usr/bin/rails
<jacobbednarz> hmm, why is it there?
<apeiros_> because sudo?
<apeiros_> interesting though that non-sudo `rails` doesn't find it there
Michael__ has joined #ruby
<apeiros_> also, `sudo gem env` vs `gem env`
<apeiros_> oh, maybe you've a mess from previous ruby/rails installs?
reactormonk has joined #ruby
<apeiros_> cat /usr/bin/rails
jlast has joined #ruby
mahmoudimus has joined #ruby
<jacobbednarz> cat'ing the file shows a shell script that outputs that message.
niklasb has quit [Ping timeout: 260 seconds]
<apeiros_> care to paste /usr/bin/rails ?
banjara has quit [Quit: Leaving.]
<apeiros_> I'm pretty sure you can just `rm /usr/bin/rails`
<apeiros_> because looking at your setup, that's not where it should end up. also afaik rbenv advocates non-sudo gem installs too.
<apeiros_> funny file. just delete it.
shadoi has quit [Quit: Leaving.]
nfk has joined #ruby
<jacobbednarz> ok, i removed it.
Michael__ has quit [Ping timeout: 240 seconds]
shadoi has joined #ruby
<jacobbednarz> oh ok. so rbenv does't require sudo?
mockra has joined #ruby
shadoi has left #ruby [#ruby]
<jacobbednarz> arrrgghh. still doesn't work.
Petru has quit [Quit: Leaving]
butblack has joined #ruby
<apeiros_> EXECUTABLE DIRECTORY: /Users/jacob/.rbenv/versions/1.9.3-p327/bin
<apeiros_> you want to make sure that one is actually in your PATH
<apeiros_> I'd expect rbenv to take care of that
<apeiros_> but I don't use rbenv, so maybe ask in #rbenv?
<jacobbednarz> ah cool. let me see.
hiyakashi has joined #ruby
pasties has quit [Remote host closed the connection]
<waxjar> you have to put a line in your .bash_profile (or equivalent) when using rbenv
<waxjar> also, when installing gems that come with an executable you have to run rbenv rehash before you can use it
sduckett has joined #ruby
<postmodern> jacobbednarz, or just use chruby and avoid rehashing all together
mockra has quit [Remote host closed the connection]
jnoob22 has joined #ruby
freeayu has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<jacobbednarz> what is wrong with rbenv though?
tomsthumb has quit [Quit: Leaving.]
newUser1234 has quit [Remote host closed the connection]
sepp2k has quit [Remote host closed the connection]
<postmodern> jacobbednarz, it installs bin-stubs for all executables, and requires you run `rbenv rehash`
<jacobbednarz> seems as though the rbenv init - didn't run initially. appears to be working now. thanks apeiros_ for your help.
miroatme has quit [Disconnected by services]
newUser1234 has joined #ruby
<postmodern> jacobbednarz, chruby doesn't require any of that, just manipulates PATH
predator217 has joined #ruby
JMcAfreak has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 264 seconds]
etcetera has joined #ruby
<jacobbednarz> hmm, i cannot see the advantages of it over rbenv. it was probably user error for the first init didn't run.
sambio has joined #ruby
generalissimo has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
dhruvasagar has joined #ruby
etcetera has quit [Client Quit]
bakingbread has quit [Excess Flood]
newUser1234 has quit [Remote host closed the connection]
predator117 has quit [Ping timeout: 255 seconds]
pac1 has joined #ruby
newUser1234 has joined #ruby
<Raydiation> are symbols global?
icedp has joined #ruby
tomsthumb has joined #ruby
emocakes has quit [Quit: emocakes]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
<markenranosa> anyone using rack?
<markenranosa> T_T
<markenranosa> help
newUser1234 has quit [Remote host closed the connection]
freeayu__ has joined #ruby
dmiller1 has joined #ruby
nfisher has quit [Quit: I need a bouncer...]
ZachBeta has quit [Quit: Computer has gone to sleep.]
<e-dard> Hi, I'm getting a little confused with rspec and how the expect method, which takes a block, returns a Proc.
etcetera has joined #ruby
freeayu has quit [Ping timeout: 252 seconds]
<e-dard> I'm finding things like expect { my_cls.my_meth_that_returns_string }.to eq("a string") doesn't work because it's comparing the expected string to a Proc object
<e-dard> rather than the string returned by the method I'm testing.
<e-dard> How does expect work?
chrishough has quit [Quit: chrishough]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
pcarrier_ has joined #ruby
quazimodo has quit [Ping timeout: 246 seconds]
dmiller1 has quit [Ping timeout: 252 seconds]
emocakes has joined #ruby
tspike has quit [Ping timeout: 240 seconds]
quazimodo has joined #ruby
bigoldrock has quit [Ping timeout: 245 seconds]
adamjleonard has quit [Quit: Leaving...]
etcetera has quit []
pcarrier_ has quit [Client Quit]
tommyvyo has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
mercwithamouth has quit [Ping timeout: 240 seconds]
lkba has quit [Ping timeout: 260 seconds]
butblack has quit [Quit: butblack]
pcarrier_ has joined #ruby
newUser1234 has joined #ruby
Ontolog_ has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
emmanuelux has joined #ruby
TorpedoSkyline has joined #ruby
slainer68 has quit [Remote host closed the connection]
newUser1234 has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
SCommette has joined #ruby
joofsh has quit [Remote host closed the connection]
Inside has quit [Ping timeout: 240 seconds]
pcarrier_ has quit [Quit: Computer has gone to sleep.]
jblack has quit [Ping timeout: 245 seconds]
TorpedoSkyline has quit [Client Quit]
emmanuelux has quit [Read error: Connection reset by peer]
jim_r0x_ has joined #ruby
casheew has joined #ruby
SCommette has quit [Client Quit]
butblack has joined #ruby
casheew has quit [Read error: Connection reset by peer]
tewlz has joined #ruby
etcetera has joined #ruby
Raydiation has left #ruby [#ruby]
lewix_ has quit [Remote host closed the connection]
casheew has joined #ruby
awestroke has quit [Remote host closed the connection]
twoism_ has quit [Remote host closed the connection]
jp__ has quit [Remote host closed the connection]
sduckett has quit [Ping timeout: 255 seconds]
pcarrier_ has joined #ruby
apeiros_ has quit [Remote host closed the connection]
brian_000_ has quit [Ping timeout: 260 seconds]
mercwithamouth has joined #ruby
casheew has quit [Read error: Connection reset by peer]
pcarrier_ has quit [Client Quit]
hiyakashi has quit [Quit: お前は知りすぎた]
casheew has joined #ruby
dmiller1 has joined #ruby
pkrnj has joined #ruby
brianpWins has joined #ruby
tcopp has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
dmiller1 has quit [Ping timeout: 240 seconds]
a_a_g has joined #ruby
butblack has quit [Quit: butblack]
<markenranosa> has anyone tried https://devcenter.heroku.com/articles/static-sites-ruby? how did you make manifest.appcache work? sorry total rack/ruby noob
<markenranosa> has anyone tried https://devcenter.heroku.com/articles/static-sites-ruby? how did you make manifest.appcache work? sorry total rack/ruby noob
<markenranosa> has anyone tried https://devcenter.heroku.com/articles/static-sites-ruby? how did you make manifest.appcache work? sorry total rack/ruby noob
kristofers has quit []
c0rn has quit [Quit: Computer has gone to sleep.]
<v2px> total irc noob too?
apok has quit [Quit: apok]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
a_ has quit [Ping timeout: 240 seconds]
casheew has quit [Read error: Connection reset by peer]
pioz has quit [Quit: This computer has gone to sleep]
casheew has joined #ruby
idkazuma has quit [Remote host closed the connection]
subbyyy has joined #ruby
Xeago has joined #ruby
ukd1 has joined #ruby
slainer68 has joined #ruby
casheew has quit [Read error: Connection reset by peer]
tomsthumb has quit [Quit: Leaving.]
wargasm1 has joined #ruby
casheew has joined #ruby
jurassic_ has quit [Quit: jurassic_]
amh345 has quit [Quit: amh345]
jdolitsky2 has joined #ruby
twoism has joined #ruby
casheew has quit [Read error: Connection reset by peer]
Liothen has joined #ruby
Liothen has quit [Changing host]
Liothen has joined #ruby
skattyadz has quit [Quit: skattyadz]
thorncp has left #ruby [#ruby]
Xeago_ has joined #ruby
miso1337 has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
jdunck has quit [Quit: Computer has gone to sleep.]
casheew has joined #ruby
jdolitsky1 has quit [Ping timeout: 264 seconds]
twoism has quit [Read error: Connection reset by peer]
twoism_ has joined #ruby
Xeago has quit [Ping timeout: 245 seconds]
slainer68 has quit [Ping timeout: 245 seconds]
digital-ghost has quit [Ping timeout: 245 seconds]
wpaulson has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
danneu has quit [Ping timeout: 245 seconds]
robscomputer has quit [Remote host closed the connection]
tcopp has quit [Ping timeout: 264 seconds]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
dmiller1 has joined #ruby
nathancahill has joined #ruby
miso1337 has quit [Quit: unplugging]
Amfy has joined #ruby
Amfy has left #ruby ["["Textual IRC Client: www.textualapp.com"]"]
dmiller1 has quit [Ping timeout: 240 seconds]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
twoism_ has quit [Remote host closed the connection]
generalissimo has joined #ruby
sambio has quit []
sambio has joined #ruby
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
backjlack has quit [Remote host closed the connection]
LennyLinux has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
danneu has joined #ruby
superninkendo has joined #ruby
classix has joined #ruby
freeayu__ has quit [Read error: Connection reset by peer]
casheew has joined #ruby
freerobby has quit [Quit: Leaving.]
casheew has quit [Read error: Connection reset by peer]
danneu has quit [Ping timeout: 255 seconds]
angusiguess has quit [Ping timeout: 255 seconds]
casheew has joined #ruby
choobie has quit [Quit: Leaving]
icole has quit [Remote host closed the connection]
toekutr has quit [Read error: Connection reset by peer]
brianpWins has quit [Quit: brianpWins]
casheew has quit [Read error: Connection reset by peer]
freeayu__ has joined #ruby
cutaway has quit [Ping timeout: 255 seconds]
jacobbednarz has quit [Quit: Laters.]
casheew has joined #ruby
hogeo has joined #ruby
altivec has quit [Ping timeout: 245 seconds]
stevechiagozie has joined #ruby
casheew has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
jgrevich has quit [Ping timeout: 264 seconds]
rads has quit []
ZachBeta has joined #ruby
ZachBeta has quit [Client Quit]
jgrevich has joined #ruby
casheew has joined #ruby
shevy2 has joined #ruby
banister`sleep has quit [Read error: Connection reset by peer]
banister_ has joined #ruby
markenranosa has quit [Read error: Connection reset by peer]
shevy has quit [Read error: Operation timed out]
markenranosa has joined #ruby
nari has joined #ruby
ckrailo has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
dmiller1 has joined #ruby
chrishough has joined #ruby
casheew has quit [Read error: Connection reset by peer]
dallasm has quit [Remote host closed the connection]
crazed_ has joined #ruby
dmiller1 has quit [Ping timeout: 245 seconds]
casheew has joined #ruby
tylersmith has quit [Quit: tylersmith]
pac1 has quit [Quit: I got it one line of code at a time]
sebastianb has quit [Ping timeout: 246 seconds]
sebastianb has joined #ruby
pac1 has joined #ruby
crazed has quit [Ping timeout: 246 seconds]
apeiros_ has joined #ruby
postmodern has quit [Quit: Leaving]
casheew has quit [Read error: Connection reset by peer]
postmodern has joined #ruby
mattbl has joined #ruby
jdolitsky2 has quit [Ping timeout: 246 seconds]
generalissimo is now known as MidnightCommande
MidnightCommande is now known as MidnightCdr
apeiros_ has quit [Read error: Operation timed out]
`p has quit [Remote host closed the connection]
shevy2 has quit [Read error: Operation timed out]
angusiguess has joined #ruby
casheew has joined #ruby
etcetera has quit []
yacks has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
freerobby has quit [Quit: Leaving.]
casheew has quit [Read error: Connection reset by peer]
jurassic_ has joined #ruby
jurassic_ has quit [Client Quit]
dhruvasagar has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
Xeago_ has quit [Remote host closed the connection]
nezumi has joined #ruby
casheew has joined #ruby
lewix has joined #ruby
Michae___ has joined #ruby
pioz has joined #ruby
jurassic_ has joined #ruby
emocakes has quit [Quit: emocakes]
jdunck has joined #ruby
ryanf has quit [Quit: leaving]
casheew has quit [Read error: Connection reset by peer]
markenranosa has quit [Ping timeout: 248 seconds]
ryanf has joined #ruby
ryanf has quit [Client Quit]
ryanf has joined #ruby
angusiguess has quit [Ping timeout: 260 seconds]
casheew has joined #ruby
jonahR has joined #ruby
markenranosa has joined #ruby
banister`sleep has joined #ruby
banister_ has quit [Read error: Connection reset by peer]
kofno has joined #ruby
casheew has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
Es0teric has quit [Ping timeout: 260 seconds]
tomsthumb has joined #ruby
casheew has joined #ruby
jp__ has joined #ruby
dhruvasagar has joined #ruby
shevy2 has joined #ruby
casheew has quit [Read error: Connection reset by peer]
ndch has joined #ruby
a_a_g1 has joined #ruby
elemongw has quit [Quit: Leaving]
pioz_ has joined #ruby
Heero` has joined #ruby
jetblack_ has joined #ruby
akashj87__ has joined #ruby
klaas- has joined #ruby
Yakko_ has joined #ruby
casheew has joined #ruby
fivethre1o has joined #ruby
Midnight_ has joined #ruby
a_a_g has quit [Ping timeout: 256 seconds]
alanp has joined #ruby
jgrevich_ has joined #ruby
dmiller1 has joined #ruby
jp__ has quit [Remote host closed the connection]
Hanmac has joined #ruby
etcetera has joined #ruby
IRLConor_ has joined #ruby
mercwith1mouth has joined #ruby
casheew has quit [Read error: Connection reset by peer]
rmc3_ has joined #ruby
sixtenei1hty has joined #ruby
ericmath1son has joined #ruby
rotor` has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
marcdel_ has joined #ruby
emocakes has joined #ruby
casheew has joined #ruby
brhelwig has joined #ruby
dmiller1 has quit [Ping timeout: 240 seconds]
vince1 has joined #ruby
<vince1> Hi
etcetera has quit [Client Quit]
<vince1> How's it going all
ChronocityLC has joined #ruby
freerobby has quit [Quit: Leaving.]
kornnflake_ has joined #ruby
nitrix has joined #ruby
nitrix has left #ruby ["WeeChat 0.4.0"]
brianherman has joined #ruby
casheew has quit [Read error: Connection reset by peer]
pioz has quit [*.net *.split]
sebastianb has quit [*.net *.split]
mercwithamouth has quit [*.net *.split]
jgrevich has quit [*.net *.split]
MidnightCdr has quit [*.net *.split]
alanp_ has quit [*.net *.split]
zavier has quit [*.net *.split]
akashj87_ has quit [*.net *.split]
osvico has quit [*.net *.split]
_bart has quit [*.net *.split]
marcdel has quit [*.net *.split]
klaas has quit [*.net *.split]
Yakko has quit [*.net *.split]
ericmathison has quit [*.net *.split]
sam113101 has quit [*.net *.split]
arturaz has quit [*.net *.split]
adam12 has quit [*.net *.split]
Heero has quit [*.net *.split]
_br_ has quit [*.net *.split]
kornnflake has quit [*.net *.split]
IRLConor has quit [*.net *.split]
sixteneighty has quit [*.net *.split]
rmc3 has quit [*.net *.split]
t4c0c4t_ has quit [*.net *.split]
daemoen has quit [*.net *.split]
ShellFu has quit [*.net *.split]
jetblack has quit [*.net *.split]
fivethreeo has quit [*.net *.split]
DrShoggoth has quit [*.net *.split]
rotor has quit [*.net *.split]
rotor` is now known as rotor
d_roge has quit [*.net *.split]
jgrevich_ is now known as jgrevich
marcdel_ is now known as marcdel
ndch has quit [Remote host closed the connection]
sailias has quit [Quit: Leaving.]
t4c0c4t has joined #ruby
lewix has quit [Remote host closed the connection]
casheew has joined #ruby
lewix has joined #ruby
ninjers has quit [Read error: Connection reset by peer]
ericmath1son has quit [Quit: leaving]
shevy2 is now known as shevy
ericmathison has joined #ruby
_br_- has joined #ruby
lewix has quit [Remote host closed the connection]
adkron has joined #ruby
casheew has quit [Read error: Connection reset by peer]
MetaCosm_ has joined #ruby
jurassic_ has quit [Quit: jurassic_]
techlife has quit [Ping timeout: 264 seconds]
sebastianb has joined #ruby
adam12 has joined #ruby
_bart has joined #ruby
d_roge has joined #ruby
stevechiagozie has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Ping timeout: 252 seconds]
tomsthumb has quit [Quit: Leaving.]
millerti has quit [Quit: millerti]
MetaCosm_ is now known as MetaCosm
arturaz has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
zavier has joined #ruby
casheew has joined #ruby
sam113101 has joined #ruby
joofsh has joined #ruby
DrShoggoth has joined #ruby
daemoen has joined #ruby
techlife has joined #ruby
ShellFu has joined #ruby
bricker has quit [Ping timeout: 252 seconds]
reset has quit [Ping timeout: 240 seconds]
brhelwig has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
jurassic_ has joined #ruby
<shevy> vince1 slow
slyv has joined #ruby
casheew has joined #ruby
casheew has quit [Read error: Connection reset by peer]
a_a_g1 has quit [Quit: Leaving.]
jekotia_ has joined #ruby
jkim has joined #ruby
casheew has joined #ruby
jekotia has quit [Ping timeout: 258 seconds]
icole has joined #ruby
jekotia_ is now known as jekotia
<bnagy> shevy: up late?
mockra has joined #ruby
rburton- has quit [Quit: Leaving...]
ChronocityLC has quit [Ping timeout: 240 seconds]
pkrnj has joined #ruby
casheew has quit [Read error: Connection reset by peer]
mattbl has quit [Quit: This computer has gone to sleep]
DonRichie has quit [Ping timeout: 255 seconds]
rickmasta has joined #ruby
Midnight_ has quit [Remote host closed the connection]
generalissimo has joined #ruby
icole has quit [Ping timeout: 246 seconds]
casheew has joined #ruby
slainer68 has joined #ruby
casheew has quit [Read error: Connection reset by peer]
dmiller1 has joined #ruby
mattbl has joined #ruby
rippa has joined #ruby
osvico has joined #ruby
forced_request has quit [Read error: Connection reset by peer]
casheew has joined #ruby
mockra has quit [Remote host closed the connection]
ndch has joined #ruby
dmiller1 has quit [Ping timeout: 264 seconds]
slainer68 has quit [Ping timeout: 264 seconds]
feedbackloop_ has quit [Ping timeout: 264 seconds]
Fezzler has joined #ruby
pioz_ has quit [Quit: This computer has gone to sleep]
Fezzler has quit [Client Quit]
ZachBeta has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
angusiguess has joined #ruby
casheew has quit [Read error: Connection reset by peer]
dallasm has joined #ruby
ocnam has joined #ruby
bigmac has joined #ruby
akashj87__ has quit [Ping timeout: 245 seconds]
megha has joined #ruby
casheew has joined #ruby
`p has joined #ruby
baba has quit [Ping timeout: 240 seconds]
angusiguess has quit [Ping timeout: 255 seconds]
dhruvasagar has joined #ruby
casheew has quit [Read error: Connection reset by peer]
txdv_ is now known as txdv
kofno has quit [Remote host closed the connection]
ZachBeta has quit [Quit: Computer has gone to sleep.]
ukd1 has quit [Remote host closed the connection]
casheew has joined #ruby
pierre1 has joined #ruby
lewix has joined #ruby
kofno has joined #ruby
rburton- has joined #ruby
havenwood has quit [Remote host closed the connection]
pierre1 has quit [Client Quit]
marwinism has quit [Ping timeout: 255 seconds]
marwinism has joined #ruby
lewix has quit [Ping timeout: 245 seconds]
joofsh has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 260 seconds]
dmiller1 has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
casheew has quit [Read error: Connection reset by peer]
banister`sleep has quit [Read error: Connection reset by peer]
banister`sleep has joined #ruby
bradleyprice has quit [Remote host closed the connection]
tomsthumb has joined #ruby
rburton- has quit [Ping timeout: 252 seconds]
bradleyprice has joined #ruby
dmiller1 has quit [Ping timeout: 264 seconds]
casheew has joined #ruby
akashj87 has joined #ruby
luckyruby has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
brianherman has quit [Read error: Connection reset by peer]
Beoran__ has joined #ruby
casheew has quit [Read error: Connection reset by peer]
Beoran_ has quit [Ping timeout: 248 seconds]
altivec has joined #ruby
kofno has quit [Remote host closed the connection]
casheew has joined #ruby
matayam has joined #ruby
monomyth has joined #ruby
cantonic has quit [Quit: cantonic]
v0n has joined #ruby
znode has joined #ruby
<Skofo> I don't understand what the purpose of mruby is
znode has quit [Remote host closed the connection]
JRizzle has joined #ruby
<JRizzle> hello
<Skofo> Hello
<JRizzle> Hows the afternoon, ive searching for some relevant development channels
<Skofo> "Yukihiro Matz announced mruby in 2011 as Ruby implementation that is easily embeddable into other application and has a low memory footprint." ah, i see now
casheew has quit [Read error: Connection reset by peer]
<Skofo> My afternoon is okay
statarb3 has quit [Ping timeout: 245 seconds]
casheew has joined #ruby
idkazuma has joined #ruby
dmerrick has joined #ruby
<JRizzle> I know several languages but am new to Ruby
<Skofo> Ah
casheew has quit [Read error: Connection reset by peer]
<Skofo> This should be perfect for you then http://www.ruby-doc.org/docs/ProgrammingRuby/
<JRizzle> are most people here employed developing?
<JRizzle> startup or corp
<JRizzle> ?
havenwood has joined #ruby
wallclockbuilder has joined #ruby
<vince1> Can anyone suggest a ruby ide for a newbie
casheew has joined #ruby
<vince1> I'd like something with a debugger also.
wallcloc_ has joined #ruby
tcopp has joined #ruby
chrishough has quit [Quit: chrishough]
chrishough has joined #ruby
ezkl has joined #ruby
slyv has quit [Quit: Textual IRC Client: www.textualapp.com]
dmiller1 has joined #ruby
casheew has quit [Read error: Connection reset by peer]
AlSquirrel has joined #ruby
wallclockbuilder has quit [Read error: Connection reset by peer]
a_a_g has joined #ruby
pskosinski has quit [Quit: Red Eclipse, game of racist admins/devs: http://pawelk.pl/racist-red-eclipse-quin-zeroknight-gingerbear/]
tomsthumb has quit [Quit: Leaving.]
casheew has joined #ruby
wallcloc_ has quit [Read error: Connection reset by peer]
wallclockbuilder has joined #ruby
ananthakumaran has joined #ruby
AlSquire has quit [Ping timeout: 258 seconds]
wallcloc_ has joined #ruby
jackjackdrpr has quit [Quit: Leaving.]
dmiller1 has quit [Ping timeout: 255 seconds]
marwinism has quit [Ping timeout: 252 seconds]
marwinism has joined #ruby
Yakko_ has quit [Remote host closed the connection]
tommyvyo has quit [Quit:]
casheew has quit [Read error: Connection reset by peer]
uris has quit [Quit: Leaving]
wallclockbuilder has quit [Ping timeout: 264 seconds]
casheew has joined #ruby
marwinism has quit [Ping timeout: 264 seconds]
casheew has quit [Read error: Connection reset by peer]
marwinism has joined #ruby
angusiguess has joined #ruby
casheew has joined #ruby
kornnflake_ has quit [Ping timeout: 240 seconds]
thorncp has joined #ruby
araujo has quit [Quit: Leaving]
kornnflake has joined #ruby
marwinism has quit [Ping timeout: 257 seconds]
zeade has joined #ruby
drumond19 has joined #ruby
Nisstyre-laptop has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
<JRizzle> can anyone suggest where to look for remote contract jobs?
sonots has joined #ruby
radic has joined #ruby
yashshah has joined #ruby
casheew has quit [Read error: Connection reset by peer]
marwinism has joined #ruby
dmiller1 has joined #ruby
xpen has joined #ruby
radic_ has quit [Ping timeout: 260 seconds]
casheew has joined #ruby
marwinism has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby
marwinism has joined #ruby
<jokke> hi guys
dmiller1 has quit [Ping timeout: 252 seconds]
Kruppe has quit [Remote host closed the connection]
<jokke> i wrote a gem for a window manager called subtle. I need it to be able to acess a gem from that window manager. The problem is, the wm is installed in vendor ruby. I can't access the classes from there.. i use rbenv, that might be a problem too
kornnflake has quit [Ping timeout: 252 seconds]
<postmodern> jokke, add the path to $LOAD_PATH?
yashshah has quit [Ping timeout: 256 seconds]
jacobbednarz has joined #ruby
<postmodern> jokke, or run your gem under vendor ruby
<jokke> postmodern: i thought of installing the gem to vendor ruby
<jokke> how would i do that?
<jokke> or even better add some option to the gemspec that it would automatically do so
<postmodern> jokke, switch out of rbenv and run sudo gem install foo
marwinism has quit [Ping timeout: 260 seconds]
kornnflake has joined #ruby
lewix has joined #ruby
<jokke> stupid question, but how do i swich out of rbenv. :/
heliumsocket has joined #ruby
marwinism has joined #ruby
divout has joined #ruby
<jokke> rbenv global system?
<postmodern> jokke, ah yes that would do it
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
nfk has quit [Quit: yawn]
<jokke> ok
<jokke> i think i need to pass --no-user-install too
<jokke> now it put the files into /usr/lib/ruby/gems/2.0.0/gems/
casheew has quit [Read error: Connection reset by peer]
JRizzle has quit [Quit: Leaving]
DrCode has joined #ruby
<jokke> well that's better though
<jokke> now i get private method `spawn' called for Subtlext::Client:Class (NoMethodError)
<jokke> which is a problem i need to solve with the dev of the wm i think
<jokke> it used to be public
tcopp has quit [Ping timeout: 256 seconds]
sandGorgon has joined #ruby
tjbiddle_ has joined #ruby
toekutr has joined #ruby
casheew has joined #ruby
marwinism has quit [Ping timeout: 252 seconds]
finishingmove has joined #ruby
jnoob22 has quit [Remote host closed the connection]
sayan has joined #ruby
etcetera has joined #ruby
tjbiddle has quit [Ping timeout: 245 seconds]
tjbiddle_ has quit [Ping timeout: 255 seconds]
jlast has quit [Remote host closed the connection]
matayam has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
kornnflake has quit [Ping timeout: 256 seconds]
casheew has joined #ruby
jlast has joined #ruby
robustus has quit [Ping timeout: 276 seconds]
casheew has quit [Read error: Connection reset by peer]
marwinism has joined #ruby
robustus|Off has joined #ruby
ritek has quit [Ping timeout: 245 seconds]
jdunck has quit [Quit: Computer has gone to sleep.]
kornnflake has joined #ruby
etcetera has quit []
ritek has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
casheew has joined #ruby
brandon|_ has joined #ruby
casheew has quit [Read error: Connection reset by peer]
marwinism has quit [Ping timeout: 255 seconds]
bean has joined #ruby
ritek has quit [Ping timeout: 245 seconds]
brandon|work has quit [Ping timeout: 248 seconds]
<shevy> bnagy yeah was up late, fell asleep right after I typed that, literally hehe, woke up 5 minutes ago, but am still tired
julian-delphiki has quit [Ping timeout: 248 seconds]
dayepa1 has quit [Quit: dayepa1]
ritek has joined #ruby
casheew has joined #ruby
dayepa has joined #ruby
rezzack has quit [Quit: Leaving.]
robscomputer has joined #ruby
Retistic has joined #ruby
casheew has quit [Read error: Connection reset by peer]
marwinism has joined #ruby
casheew has joined #ruby
davetherat has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
davetherat has joined #ruby
yashshah has joined #ruby
emocakes has quit [Quit: emocakes]
marwinism has quit [Ping timeout: 240 seconds]
casheew has joined #ruby
stkowski has quit [Quit: stkowski]
marwinism has joined #ruby
casheew has quit [Read error: Connection reset by peer]
breakingthings has quit []
tjbiddle has joined #ruby
tjbiddle has quit [Read error: Connection reset by peer]
tjbiddle has joined #ruby
marwinism has quit [Ping timeout: 246 seconds]
newUser1_ has joined #ruby
generalissimo has quit [Remote host closed the connection]
marwinism has joined #ruby
v0n has quit [Ping timeout: 245 seconds]
kornnflake has quit [Ping timeout: 255 seconds]
jurassic_ has quit [Quit: jurassic_]
jacobbednarz has quit [Quit: Computer has gone to sleep.]
jlast has joined #ruby
kornnflake has joined #ruby
casheew has joined #ruby
tomzx_mac has quit [Ping timeout: 258 seconds]
marwinism has quit [Ping timeout: 252 seconds]
casheew has quit [Read error: Connection reset by peer]
marwinism has joined #ruby
casheew has joined #ruby
dmiller1 has joined #ruby
idkazuma has quit [Remote host closed the connection]
browndawg has joined #ruby
closure000 has joined #ruby
casheew has quit [Read error: Connection reset by peer]
ritek has quit [Ping timeout: 245 seconds]
jlast has quit [Ping timeout: 255 seconds]
shock_one has joined #ruby
cha1tanya has joined #ruby
casheew has joined #ruby
dmiller1 has quit [Ping timeout: 256 seconds]
yashshah has quit [Ping timeout: 256 seconds]
Michae___ has quit [Remote host closed the connection]
marwinism has quit [Ping timeout: 255 seconds]
Vert has quit [Ping timeout: 252 seconds]
casheew has quit [Read error: Connection reset by peer]
mansgrf has joined #ruby
mansgrf has quit [K-Lined]
casheew has joined #ruby
cableray has quit [Quit: cableray]
casheew has quit [Read error: Connection reset by peer]
subbyyy has quit [Ping timeout: 252 seconds]
casheew has joined #ruby
havenwood has quit [Ping timeout: 260 seconds]
robscomputer_ has joined #ruby
ritek has joined #ruby
jacobbednarz has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
robscomputer has quit [Ping timeout: 255 seconds]
luckyruby has joined #ruby
closure000 has quit [Quit: closure000]
kofno has joined #ruby
marwinism has joined #ruby
sayan has quit [Ping timeout: 245 seconds]
lewix has quit [Read error: Connection reset by peer]
zeade has quit [Quit: Leaving.]
lewix has joined #ruby
browndawg has quit [Ping timeout: 245 seconds]
kofno has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby
brianpWins has joined #ruby
heliumsocket has quit [Quit: heliumsocket]
chrishough has quit [Quit: chrishough]
shock_one has quit [Ping timeout: 246 seconds]
marwinism has quit [Ping timeout: 264 seconds]
marwinism has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
matayam has joined #ruby
jurassic_ has joined #ruby
wargasm1 has quit [Read error: Connection reset by peer]
wargasm has joined #ruby
<shevy> stupid adverts
marwinism has quit [Ping timeout: 252 seconds]
marwinism has joined #ruby
havenwood has quit [Ping timeout: 246 seconds]
ndngvr` has joined #ruby
matayam has quit [Ping timeout: 255 seconds]
ndngvr has quit [Ping timeout: 255 seconds]
wargasm has quit [Read error: Connection reset by peer]
sayan has joined #ruby
wargasm has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
<the-anome> hi, is it only me or rubygems.org is not working quite well? I am not able to search for gems or install them. Connecting from EU. Anyone?
havenwood has joined #ruby
marwinism has quit [Ping timeout: 264 seconds]
jacobbednarz has quit [Quit: Laters.]
Morkel has joined #ruby
lkba has joined #ruby
daed has quit [Ping timeout: 260 seconds]
daed has joined #ruby
Targen has quit [Remote host closed the connection]
jekotia has quit [Quit: sleeeeeeeeeeeeeeep]
jpfuentes2 has joined #ruby
sonots has quit [Quit: Leaving...]
chandankumar has joined #ruby
xpen_ has joined #ruby
voodoofish has quit [Ping timeout: 256 seconds]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
hakunin has quit [Remote host closed the connection]
newUser1_ has quit [Remote host closed the connection]
mercwith1mouth has quit [Ping timeout: 245 seconds]
xpen has quit [Ping timeout: 245 seconds]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
marwinism has joined #ruby
browndawg has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
ritek has quit [Ping timeout: 240 seconds]
havenwood has quit [Read error: Connection timed out]
jlast has joined #ruby
casheew has quit [Read error: Connection reset by peer]
sandGorgon has quit [Ping timeout: 260 seconds]
marwinism has quit [Ping timeout: 264 seconds]
sandGorgon has joined #ruby
browndawg has quit [Ping timeout: 246 seconds]
casheew has joined #ruby
marwinism has joined #ruby
voodoofish has joined #ruby
ritek has joined #ruby
luckyruby has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 252 seconds]
marwinism has quit [Ping timeout: 240 seconds]
vince1 has quit [Quit: Leaving.]
marwinism has joined #ruby
sonots has joined #ruby
<TTilus> the-anome: works for me
* TTilus is finnish
whowantstolivefo has quit [Ping timeout: 272 seconds]
<Hanmac> the-anome: maybe your rubygems version is broken
lewix has quit [Remote host closed the connection]
pygmael has joined #ruby
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
browndawg has joined #ruby
jacobbednarz has joined #ruby
agarie has quit [Ping timeout: 245 seconds]
ocnam has quit [Quit: Quit: Textual IRC Client: http://www.textualapp.com/]
chandankumar has quit [Ping timeout: 252 seconds]
<the-anome> :) was having breakfast
newUser1234 has joined #ruby
<the-anome> I am trying both JR 1.7.3 and MRI 1.9.3 (Ubuntu) and it shows me "too many resets"
DonRichie has joined #ruby
wallcloc_ has quit [Remote host closed the connection]
peteyg has joined #ruby
tommyvyo has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
sonots has quit [Quit: Leaving...]
chaluopa has joined #ruby
browndawg has quit [Ping timeout: 256 seconds]
<the-anome> thanks anyway TTilus :)
browndawg has joined #ruby
icole has joined #ruby
ananthakumaran has quit [Read error: No route to host]
hamed_r has joined #ruby
browndawg has quit [Ping timeout: 256 seconds]
ananthakumaran has joined #ruby
aedornm has quit [Ping timeout: 248 seconds]
<the-anome> and Hanmac: 1.8.11 and 1.8.24 (the one than comes with JRuby)
<Hanmac> hm then i dont know ...
peteyg has quit [Ping timeout: 256 seconds]
browndawg has joined #ruby
idkazuma has joined #ruby
aedornm has joined #ruby
yashshah has joined #ruby
angusiguess has quit [Ping timeout: 240 seconds]
Loaft has joined #ruby
nga4 has joined #ruby
wargasm has quit [Ping timeout: 246 seconds]
sambio has quit [Excess Flood]
sambio has joined #ruby
toekutr has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
nga4 has quit [Client Quit]
cha1tanya has quit [Excess Flood]
wargasm has joined #ruby
nimred has joined #ruby
nimred has quit [Changing host]
nimred has joined #ruby
bw_ has joined #ruby
cha1tanya has joined #ruby
ritek has quit [Ping timeout: 240 seconds]
tokhi has joined #ruby
Nahra has joined #ruby
ritek has joined #ruby
techlife has quit [Ping timeout: 245 seconds]
arietis has joined #ruby
techlife has joined #ruby
millerti has joined #ruby
cha1tanya has quit [Ping timeout: 240 seconds]
Morkel_ has joined #ruby
Morkel has quit [Ping timeout: 245 seconds]
Morkel_ is now known as Morkel
Retistic has quit [Quit: Retistic]
arturaz has quit [Ping timeout: 255 seconds]
osvico has quit [Ping timeout: 255 seconds]
cha1tanya has joined #ruby
chandankumar has joined #ruby
jlast has joined #ruby
jim_r0x_ has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
_veer has quit [Ping timeout: 258 seconds]
_veer has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
mattbl has quit [Quit: This computer has gone to sleep]
ndch has quit [Quit: Leaving...]
marwinism has quit [Ping timeout: 260 seconds]
eliasp has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
<shevy> PENIS
wargasm has quit [Ping timeout: 260 seconds]
timonv has joined #ruby
sayan has quit [Read error: Connection reset by peer]
wargasm has joined #ruby
marwinism has joined #ruby
shirokuro11 has joined #ruby
dallasm has quit [Remote host closed the connection]
bradleyprice has quit [Remote host closed the connection]
_veer has quit [Ping timeout: 245 seconds]
mengu has joined #ruby
crimezone20xx has quit [Ping timeout: 255 seconds]
millerti has quit [Quit: millerti]
statarb3 has joined #ruby
crimezone20xx has joined #ruby
dhruvasagar has joined #ruby
marwinism has quit [Ping timeout: 240 seconds]
Matt has joined #ruby
Matt is now known as Guest46004
marwinism has joined #ruby
statarb3 has quit [Ping timeout: 252 seconds]
wargasm has quit [Ping timeout: 264 seconds]
<shevy> oh well
<shevy> time to continue on the boring colour stuff...
chandankumar has quit [Quit: Leaving]
wargasm has joined #ruby
marwinism has quit [Ping timeout: 240 seconds]
haxrbyte has joined #ruby
the-anome has quit [Quit: the-anome]
haxrbyte_ has joined #ruby
newUser1234 has quit [Remote host closed the connection]
cha1tanya has quit [Ping timeout: 252 seconds]
mikurubeam has quit [Ping timeout: 255 seconds]
timonv has quit [Remote host closed the connection]
yashshah has quit [Ping timeout: 246 seconds]
apeiros_ has joined #ruby
haxrbyte has quit [Ping timeout: 245 seconds]
angusiguess has joined #ruby
jdolitsky2 has joined #ruby
wargasm has quit [Ping timeout: 245 seconds]
marwinism has joined #ruby
Morkel has quit [Quit: Morkel]
finishingmove has left #ruby [#ruby]
ndboost has joined #ruby
zipace has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
ckrailo has quit [Quit: Computer has gone to sleep.]
wargasm has joined #ruby
icole has quit [Remote host closed the connection]
statarb3 has joined #ruby
marwinism has quit [Ping timeout: 255 seconds]
razibog has joined #ruby
marwinism has joined #ruby
mikurubeam has joined #ruby
jdolitsky2 has quit [Quit: Leaving]
wargasm has quit [Ping timeout: 256 seconds]
r0bby has joined #ruby
wargasm has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
r0bby is now known as robbyoconnor
tommyvyo has quit [Quit:]
wargasm has quit [Read error: Connection reset by peer]
marwinism has quit [Ping timeout: 245 seconds]
wargasm has joined #ruby
dkannan has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
dkannan has quit [Read error: No route to host]
crimezone20xx has quit [Ping timeout: 245 seconds]
dkannan has joined #ruby
thufir_ has joined #ruby
jacobbednarz has quit [Quit: Computer has gone to sleep.]
shirokuro11 has quit [Remote host closed the connection]
wargasm has quit [Ping timeout: 252 seconds]
mikurubeam has quit [Quit: +1 (Yes). -1 (No). i (What I have been trying to tell you all along).]
mikurubeam has joined #ruby
mikurubeam has quit [Client Quit]
jlast has joined #ruby
mikurubeam has joined #ruby
BizarreCake has joined #ruby
brianpWins has quit [Quit: brianpWins]
arturaz has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
marwinism has joined #ruby
arietis has joined #ruby
jlast has quit [Ping timeout: 246 seconds]
chaluopa has quit [Remote host closed the connection]
statarb3 has quit [Quit: Leaving]
statarb3 has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
nathancahill has quit [Quit: nathancahill]
havenwood has joined #ruby
klaas- is now known as klaas
marwinism has quit [Ping timeout: 255 seconds]
answer_42 has joined #ruby
yacks has quit [Ping timeout: 252 seconds]
sayan has joined #ruby
HecAtic has joined #ruby
freerobby has joined #ruby
marwinism has joined #ruby
timonv has joined #ruby
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby
marwinism has quit [Ping timeout: 245 seconds]
io_syl has quit [Quit: Computer has gone to sleep.]
marwinism has joined #ruby
tokhi has quit [Ping timeout: 245 seconds]
hogeo has quit [Ping timeout: 260 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
Jeff_D has joined #ruby
marwinism has quit [Ping timeout: 264 seconds]
himsin has joined #ruby
browndawg has quit [Ping timeout: 245 seconds]
freerobby has quit [Quit: Leaving.]
<Jeff_D> In a Rake task, I use a lot of 'system' calls, such as 'system "bundle exec teabag -q -f tap_y > script_coverage.tap"'. How can I more properly do that within Rake?
Davey has quit [Quit: Computer has gone to sleep.]
Fuzai has joined #ruby
markenranosa has quit [Ping timeout: 248 seconds]
marwinism has joined #ruby
statarb3 has quit [Ping timeout: 245 seconds]
markenranosa has joined #ruby
ziprar has joined #ruby
ziprar has joined #ruby
ziprar has quit [Changing host]
angusiguess has joined #ruby
markenranosa_ has joined #ruby
markenranosa has quit [Read error: Connection reset by peer]
markenranosa_ is now known as markenranosa
tokhi has joined #ruby
<Jeff_D> will 'sh' run in the bundled environment, or in a clean shell? That's the trick, I think?
zipace has quit [Ping timeout: 252 seconds]
Fuzai has quit [Ping timeout: 245 seconds]
statarb3 has joined #ruby
marwinism has quit [Ping timeout: 264 seconds]
marwinism has joined #ruby
icedp is now known as bakingbread
<Jeff_D> yxhuvud: thanks :)
Jeff_D has quit [Quit: JMP $]
browndawg has joined #ruby
yacks has joined #ruby
marwinism has quit [Ping timeout: 240 seconds]
icole has joined #ruby
cha1tanya has joined #ruby
dormousy- has joined #ruby
marwinism has joined #ruby
yacks has quit [Max SendQ exceeded]
hamed_r has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
icole has quit [Ping timeout: 255 seconds]
lkba has quit [Ping timeout: 256 seconds]
lkba has joined #ruby
akashj87_ has joined #ruby
marwinism has quit [Ping timeout: 256 seconds]
browndawg has quit [Ping timeout: 245 seconds]
akashj87 has quit [Ping timeout: 245 seconds]
ananthakumaran has quit [Quit: Leaving.]
lkba has quit [Ping timeout: 245 seconds]
markenranosa has quit [Ping timeout: 248 seconds]
markenranosa_ has joined #ruby
_nyuszika7h_ has joined #ruby
angusiguess has quit [Ping timeout: 264 seconds]
marwinism has joined #ruby
freeayu__ has quit [Read error: Connection reset by peer]
_nyuszika7h_ has left #ruby [#ruby]
jlast has joined #ruby
akashj87_ has quit [Quit: leaving]
akashj87 has joined #ruby
ndboost has quit [Remote host closed the connection]
emmanuelux has joined #ruby
browndawg has joined #ruby
<e-dard> In rspec what's the difference between expect taking a block and taking a single argument?
jlast has quit [Ping timeout: 240 seconds]
<e-dard> i.e., expect { my_ob.my_method } vs expect(my_ob.my_method) ?
eka has joined #ruby
awestroke has joined #ruby
emocakes has joined #ruby
a_a_g has quit [Quit: Leaving.]
r0bby has joined #ruby
robbyoconnor has quit [Ping timeout: 264 seconds]
mercwithamouth has joined #ruby
dkannan has quit [Quit: dkannan]
araujo has joined #ruby
muster has joined #ruby
<muster> Does anyone else have issues with installing rake?
<muster> Gem::RemoteFetcher::FetchError: Errno::ECONNREFUSED: Connection refused - connect(2) (https://rubygems.org/gems/rake-10.0.3.gem)
browndawg has quit [Read error: Connection reset by peer]
yashshah has joined #ruby
sepp2k has joined #ruby
r0bby_ has joined #ruby
lkba has joined #ruby
freeayu has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
jgrevich has quit [Remote host closed the connection]
HecAtic has quit [Quit: Àá¼ö]
r0bby has quit [Ping timeout: 255 seconds]
timonv has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
idkazuma has quit [Remote host closed the connection]
sandGorgon has quit [Ping timeout: 245 seconds]
r0bby_ has quit [Ping timeout: 246 seconds]
mercwithamouth has quit [Ping timeout: 246 seconds]
timonv has joined #ruby
r0bby_ has joined #ruby
SkintimateChick has joined #ruby
SkintimateChick has left #ruby [#ruby]
browndawg has joined #ruby
millerti has joined #ruby
angusiguess has joined #ruby
browndawg has quit [Ping timeout: 245 seconds]
sambio has quit []
spider-mario has joined #ruby
ananthakumaran has joined #ruby
Invac has joined #ruby
davetherat has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 260 seconds]
davetherat has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
awestroke has quit [Remote host closed the connection]
jimeh has joined #ruby
slarty has joined #ruby
slainer68 has joined #ruby
<slarty> Hi, I'm wanting to compile Open Studio from source. ruby and ruby-dev are listed as dependencies and I have installed ruby according to the ruby site - it shows as not installed by "apt-cache policy ruby". How do I satisfy Open Studio?
<slarty> ps - on xubuntu 11.10
thebastl has joined #ruby
muster has left #ruby [#ruby]
slainer68 has quit [Ping timeout: 255 seconds]
Mattx has joined #ruby
jlast has joined #ruby
<Hanmac1> slarty why not update your OS?
Hanmac1 is now known as Hanmac
Guest46004 has quit [Quit: This computer has gone to sleep]
DonRichie has quit [Quit: Verlassend]
Matip has quit [Ping timeout: 245 seconds]
slainer68 has joined #ruby
browndawg has joined #ruby
sayan has quit [Ping timeout: 245 seconds]
sepp2k has quit [Ping timeout: 245 seconds]
pskosinski has joined #ruby
davetherat1 has joined #ruby
<mnemon> slarty: if you're installing it from sources, what do the installed packages have to do with anything? O_o
madb055 has joined #ruby
davetherat has quit [Ping timeout: 246 seconds]
techlife has quit [Ping timeout: 246 seconds]
jlast has quit [Ping timeout: 240 seconds]
jaimef has quit [Excess Flood]
shock_one has joined #ruby
techlife has joined #ruby
hamakn has quit [Remote host closed the connection]
madb055 has quit [Ping timeout: 246 seconds]
atno has quit [Read error: No route to host]
Xeago has joined #ruby
jaimef has joined #ruby
atno has joined #ruby
mikurubeam has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby
senayar has joined #ruby
marcdel has quit []
cha1tanya has quit [Ping timeout: 245 seconds]
thone_ has joined #ruby
timonv has quit [Remote host closed the connection]
mikurubeam has joined #ruby
lushious has quit [Remote host closed the connection]
jnoob22 has joined #ruby
thone has quit [Ping timeout: 258 seconds]
DonRichie has joined #ruby
niklasb has joined #ruby
skattyadz has joined #ruby
<slarty> sorry mnemon was afkb
<slarty> I assumed it uses my installed dev's to compile from. Won't this cause issues if it can't see them?
Guest46004 has joined #ruby
<slarty> ...and I'll be updating to 13.04 -- issues with internet access have meant I'm behind the times
jonathanwallace has quit [Quit: WeeChat 0.3.9.2]
security has joined #ruby
megha has quit [Ping timeout: 240 seconds]
tokhi has quit [Ping timeout: 255 seconds]
madb055 has joined #ruby
Skofo has quit [Remote host closed the connection]
<mnemon> slarty: it will cause problems if it can't see them yes, i just didn't quite get the reason for not seeing them ... if they're in the default include paths there shouldn't be any problems with that. And if it doesn't for some reason find them you can always define the locations for the make manually.
<shock_one> Hi. I'm trying to pass this data using mechanize https://dl.dropbox.com/u/608214/scrn/1364643648.png . What am I doing wrong? https://gist.github.com/5276412
banister_ has joined #ruby
Mattx has quit [Ping timeout: 246 seconds]
browndawg has quit [Ping timeout: 245 seconds]
Mattx has joined #ruby
subbyyy has joined #ruby
banister`sleep has quit [Ping timeout: 246 seconds]
madb055 has quit [Ping timeout: 260 seconds]
Xeago has quit [Remote host closed the connection]
codecop has joined #ruby
backjlack has joined #ruby
codecop has quit [Client Quit]
codecop has joined #ruby
dhruvasagar has quit [Ping timeout: 246 seconds]
madb055 has joined #ruby
chandankumar has joined #ruby
Zai00 has joined #ruby
emocakes has quit [Quit: emocakes]
Guest46004 has quit [Quit: This computer has gone to sleep]
sweet_kid has joined #ruby
sandGorgon has joined #ruby
sayan has joined #ruby
browndawg has joined #ruby
obfuscate2 has joined #ruby
sepp2k has quit [Remote host closed the connection]
<shock_one> OK, another question. How to make ruby encode filters like this https://gist.github.com/shockone/3ebe3528bac83153dd57
jlast has joined #ruby
<waxjar> params is a Hash (a structure to store key-value pairs). The keys are the parts before the colon (e.g. start, limit, etc) the values the parts after it.
<waxjar> the keys are written in some short hand format though, key: translates to :key =>, so you can look up values with Symbols as a key
<waxjar> @shock_one
sandGorgon has quit [Ping timeout: 245 seconds]
<shock_one> waxjar, sure, but how to make the Mechanize encode it the proper way. In other words, the first line is what I want and the second one is what I get https://gist.github.com/4578e43c35313f045aae
jlast has quit [Ping timeout: 240 seconds]
<slarty> mnemon - thanks for the answers. I assume they are in the paths but will know if it coughs at compile time!
mpfundstein has joined #ruby
<mnemon> :)
<shock_one> waxjar, it's not a big deal, this one works, but looks a little ugly https://gist.github.com/shockone/78f85e32c48413e9c040
Xeago has joined #ruby
<waxjar> you'll probably want to use an Array instead of another Hash for filters
<slarty> :)
slarty has quit [Quit: Leaving]
<shock_one> waxjar, OK, I can use array for 0, but what to do with string keys?
ananthakumaran has quit [Quit: Leaving.]
mpfundstein_ has joined #ruby
madb055 has quit [Ping timeout: 245 seconds]
<waxjar> shock_one: something like this? https://gist.github.com/britishtea/e2fda16021959c4ea8f2
madb055 has joined #ruby
browndawg has quit [Read error: Connection timed out]
<shock_one> Already tried. I think the problem is, the server side is in PHP, and they have string-keyed arrays.
hamakn has joined #ruby
<waxjar> use Strings as keys? I don't think I understand the problem, really
browndawg has joined #ruby
madb055 has quit [Ping timeout: 260 seconds]
<shock_one> waxjar, basically, I want to have a structure, keys of which would be serialized in this format: filters[0][comparison]
hamakn has quit [Ping timeout: 260 seconds]
<waxjar> it is in the example I linked, except that you'd get at it with params[:filters] instead of filters
eka has quit [Quit: Computer has gone to sleep.]
tokhi has joined #ruby
Zai00 has quit [Quit: Zai00]
eka has joined #ruby
robbyoconnor has joined #ruby
ToApolytoXaos has joined #ruby
emocakes has joined #ruby
tcopp has joined #ruby
r0bby_ has quit [Ping timeout: 255 seconds]
<shock_one> waxjar, it is encoded like this
<shock_one> limit=19&start=0&filters=[{:field=>\"account\",+:comparison=>\"eq\",+:value=>\"username\"}]&dir=desc&sort=last_activity
ananthakumaran has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
ananthakumaran has quit [Client Quit]
slainer68 has quit [Remote host closed the connection]
nobitanobi has joined #ruby
silv3r_m00n has joined #ruby
thufir_ has quit [Quit: Leaving.]
madb055 has joined #ruby
<silv3r_m00n> why does webrick need nodejs ?
swingha has joined #ruby
tokhi has quit [Ping timeout: 245 seconds]
<shock_one> Bingo! active_support has a method to_query.
<waxjar> shock_one, i think you'll have to write a custom serializer or something if what you're using doesn't work like you wanted
browndawg has quit [Ping timeout: 245 seconds]
Layke has quit [Ping timeout: 240 seconds]
BizarreCake has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
havenwood has quit [Ping timeout: 245 seconds]
jpfuentes2 has joined #ruby
tcopp has quit [Ping timeout: 240 seconds]
shock_one has quit [Remote host closed the connection]
sebastianb has quit [Ping timeout: 246 seconds]
eliasp has quit [Ping timeout: 246 seconds]
shock_one has joined #ruby
sweet_kid has quit [Ping timeout: 246 seconds]
shock_one_ has joined #ruby
shock_one_ has quit [Client Quit]
sayan has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby
subbyyy has quit [Ping timeout: 264 seconds]
Al_ has joined #ruby
Morkel has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
silv3r_m00n has left #ruby [#ruby]
thebastl has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
butblack has joined #ruby
dawkirst has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
osvico has joined #ruby
chandankumar has quit [Quit: Leaving]
subbyyy has joined #ruby
Layke has joined #ruby
browndawg has joined #ruby
pangur has joined #ruby
angusiguess has joined #ruby
Hanmac has quit [Read error: Connection reset by peer]
madb055 has quit [Ping timeout: 256 seconds]
newbsduser has joined #ruby
Hanmac has joined #ruby
millerti has quit [Quit: millerti]
<pangur> I know that pwr.sort! { [|a,b| a.disnum <=> b.disnum} gives me a sort on disnum of records. I know that if I do pwr.sort! { |a,b| a.address <=> b.address} that will sort by address. At the moment, I can have either one or the other. How can I combine these, so that it sorts by disnum first and then by address, please?
havenwood has joined #ruby
vlad_sta_ has joined #ruby
yashshah has quit [Ping timeout: 240 seconds]
<Hanmac> pangur use sort_by
dmiller1 has joined #ruby
<Hanmac> pwr.sort_by { [|obj| [obj.disnum,obj.address]}
vlad_starkov has quit [Ping timeout: 246 seconds]
<pangur> ty Hanmac
akashj87 has quit [Read error: Connection reset by peer]
akashj87 has joined #ruby
<apeiros_> pangur: also take a look at the 'sorting' gem (shameless plug, I know)
<pangur> thanks apeiros_
freeayu has quit [Ping timeout: 252 seconds]
<Hanmac> apeiros_: what does it do that i cant do with sort_by ?
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
<apeiros_> it uses sort_by
<apeiros_> it allows to sort ascending, descending, works with nil (sort nils first or last)
<apeiros_> it provides a mechanism for lazy evaluation of a part of the expression
banister_ has quit [Read error: Connection reset by peer]
banister`sleep has joined #ruby
Al_ has quit [Quit: Al_]
techlife has quit [Ping timeout: 245 seconds]
XxBlakeFailxX has quit [Ping timeout: 255 seconds]
kofno_ has joined #ruby
jonahR has quit [Quit: jonahR]
sonda has joined #ruby
swingha has quit [Quit: WeeChat 0.4.0]
subbyyy has quit [Ping timeout: 264 seconds]
jlast has joined #ruby
sonots has joined #ruby
dmiller1 has quit [Ping timeout: 245 seconds]
subbyyy has joined #ruby
<pangur> Do I need rails to use sorted, aperios - or can I use it with ruby alone?
<pangur> apeiros_: even
emocakes has quit [Quit: emocakes]
sonots has quit [Ping timeout: 245 seconds]
techlife has joined #ruby
techlife has quit [Max SendQ exceeded]
atno has quit [Remote host closed the connection]
jetblack_ has quit [Remote host closed the connection]
subbyyy has quit [Ping timeout: 255 seconds]
jlast has quit [Ping timeout: 252 seconds]
<apeiros_> pangur: plain ruby is sufficient
browndawg has quit [Ping timeout: 240 seconds]
burgestrand has joined #ruby
<pangur> thanks
matayam has joined #ruby
slainer68 has joined #ruby
ndboost has joined #ruby
ndboost has quit [Remote host closed the connection]
sailias has joined #ruby
slainer68 has quit [Ping timeout: 245 seconds]
sivoais has joined #ruby
techlife has joined #ruby
BSaboia has joined #ruby
<pangur> Hanmac: Does pwr.sort_by {|a,b| [a.disnum <=> b.disnum, a.address<=>b.address]} look right?
ananthakumaran has joined #ruby
<pangur> I get undefined method `disnum' for nil:NilClass (NoMethodError)
<Hanmac> pangur: sort_by uses only one block arg
justsee has quit [Ping timeout: 256 seconds]
<sivoais> I'm trying to access the RSS feed <http://feeds.feedburner.com/gemcutter-latest>, but it seems broken
<pangur> OK, thanks, Hanmac
atno has joined #ruby
pavilionXP has joined #ruby
nfk has joined #ruby
sweet_kid has joined #ruby
m8 has joined #ruby
dEPy has joined #ruby
sebastianb has joined #ruby
elaptics`away is now known as elaptics
nfisher has joined #ruby
atmosx has joined #ruby
charliesome has joined #ruby
joofsh has joined #ruby
atno has quit [Ping timeout: 246 seconds]
angusiguess has quit [Ping timeout: 256 seconds]
atno has joined #ruby
jpfuentes2 has joined #ruby
travnick has joined #ruby
<travnick> hi, any body knows something about ActionController::Base::Paginator ??
chrisramon has joined #ruby
<travnick> I googled for it, but it looks like there is no such thing in our universe ...
kofno_ has quit [Remote host closed the connection]
<elaptics> travnick: can't say I've heard of it. Why are you looking for it? Easy place to look is the rails source
browndawg has joined #ruby
<travnick> I'm looking for it because it's used in redmine plugin
<travnick> it used to work but not any more
<travnick> it crashes with error: NameError (uninitialized constant ActionController::Base::Paginator):
<travnick> so I tried to find out what happened with ActionController::Base::Paginator
<elaptics> travnick: maybe it was in an old version of rails. Or it was something that redmine added itself. Which would probably be more likely
tommyvyo has joined #ruby
joofsh has quit [Remote host closed the connection]
kofno has joined #ruby
<travnick> maybe but try look in google for "ActionController::Base::Paginator" there are 8 pages without any comment about this class ...
subbyyy has joined #ruby
p2w has joined #ruby
emocakes has joined #ruby
p2w has left #ruby [#ruby]
emocakes_ has joined #ruby
<travnick> but ok, now I'll try to find out how to get pagination work
ZachBeta has joined #ruby
teddyp1cker has joined #ruby
atno has quit [Ping timeout: 245 seconds]
adkron has quit [Ping timeout: 260 seconds]
p2w has joined #ruby
Liothen has quit [Remote host closed the connection]
emocakes has quit [Ping timeout: 245 seconds]
crazymykl has quit [Quit: Konversation terminated!]
p2w has left #ruby [#ruby]
<elaptics> travnick: looking at that, it looks like it only existed in version 1 of rails so it's long gone. I presume that redmine will have been upgraded to work with newer versions of rails so just use appropriate versions
<elaptics> I don't really know anything about redmine
<travnick> redmine runs on rails 3.x
rdx has joined #ruby
emocakes_ is now known as emocakes
chaluopa has joined #ruby
<elaptics> so it's a specific redmine plugin that you're trying to get to work?
<travnick> but that's strange because in redmine 2.1 (rails 3.x too) that plugin used to work ...
<elaptics> if it's relying on that paginator class existing it means it must be well out of date so you need a newer version or something else
<travnick> or maybe that part of code wasn't called at all
<elaptics> don't know, having not used it whatsoever
nari has quit [Ping timeout: 255 seconds]
swingha has joined #ruby
pavilionXP has quit [Read error: Connection reset by peer]
crazymykl has joined #ruby
feedbackloop has joined #ruby
nfisher has quit [Ping timeout: 255 seconds]
postmodern has quit [Quit: Leaving]
nfisher has joined #ruby
anirudh24seven has joined #ruby
lewix has joined #ruby
nfisher has quit [Client Quit]
feedbackloop has quit [Ping timeout: 252 seconds]
k610 has joined #ruby
browndawg has quit [Read error: Connection reset by peer]
jlast has joined #ruby
atno has joined #ruby
dmiller1 has joined #ruby
AndChat| has quit [Ping timeout: 247 seconds]
atmosx has quit [Quit: And so the story goes…]
maxme has joined #ruby
Banistergalaxy has joined #ruby
tommyvyo has quit [Quit:]
dmiller1 has quit [Ping timeout: 240 seconds]
danslo has joined #ruby
sleetdrop has joined #ruby
jlast has quit [Ping timeout: 252 seconds]
a_a_g has joined #ruby
brianherman has joined #ruby
emocakes has quit [Quit: emocakes]
verysoftoiletppr has joined #ruby
chaluopa has quit [Remote host closed the connection]
forced_request has joined #ruby
razibog has quit [Quit: Leaving.]
nateberkopec has joined #ruby
kzrl has quit [Ping timeout: 264 seconds]
ZachBeta has quit [Read error: Connection reset by peer]
greg1 has joined #ruby
ThePicard90033 has quit [Ping timeout: 245 seconds]
kzrl has joined #ruby
browndawg has joined #ruby
ZachBeta has joined #ruby
shock_one has quit [Read error: Operation timed out]
a_a_g has quit [Quit: Leaving.]
browndawg has quit [Ping timeout: 245 seconds]
swingha has quit [Quit: WeeChat 0.4.0]
s00pcan has quit [Quit: Lost terminal]
butblack has quit [Quit: butblack]
bubblehead has joined #ruby
s00pcan has joined #ruby
hashmal has joined #ruby
ThePicard90033 has joined #ruby
maxmanders has joined #ruby
tokhi has joined #ruby
LennyLinux has joined #ruby
maxmande_ has joined #ruby
nathancahill has joined #ruby
maxmanders has quit [Ping timeout: 245 seconds]
kofno has quit [Remote host closed the connection]
blacktulip has joined #ruby
divout has left #ruby ["PART #rails :PART #coffeescript :PART #documentcloud :PART #jquery :PART #jquery-dev :PART #jquerymobile-dev :PART #emberjs :QUIT :Leaving."]
nathancahill has quit [Client Quit]
kofno has joined #ruby
skattyadz has quit [Quit: skattyadz]
nari has joined #ruby
tomzx_mac has joined #ruby
browndawg has joined #ruby
Sicp has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
pioz has joined #ruby
xpen_ has quit [Remote host closed the connection]
Xeago has joined #ruby
timonv has joined #ruby
nari has quit [Ping timeout: 260 seconds]
mercwithamouth has joined #ruby
kil0byte has joined #ruby
greg1 has quit [Quit: WeeChat 0.3.7]
Michael__ has joined #ruby
endzyme has joined #ruby
skattyadz has joined #ruby
r0bby has joined #ruby
endzyme has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 260 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
v0n has joined #ruby
cha1tanya has joined #ruby
v0n has quit [Client Quit]
elaptics is now known as elaptics`away
TorpedoSkyline has joined #ruby
kofno has quit [Remote host closed the connection]
eliasp has joined #ruby
pioz has quit [Quit: This computer has gone to sleep]
pioz has joined #ruby
Michael__ has quit [Remote host closed the connection]
jetblack has joined #ruby
divout has joined #ruby
eliasp has quit [Ping timeout: 246 seconds]
jaygen has quit [Remote host closed the connection]
ZachBeta has quit [Quit: Computer has gone to sleep.]
eliasp has joined #ruby
statarb3 has quit [Read error: Connection reset by peer]
jlast has joined #ruby
predator217 has quit [Ping timeout: 260 seconds]
predator117 has joined #ruby
Xeago has quit [Remote host closed the connection]
_br_- has quit [Ping timeout: 245 seconds]
security is now known as fire
pen has joined #ruby
_br_ has joined #ruby
jrajav has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
pioz has quit [Quit: This computer has gone to sleep]
jaimef has quit [Excess Flood]
jlast has quit [Ping timeout: 245 seconds]
predator117 has quit [Ping timeout: 252 seconds]
Fuzai has joined #ruby
predator117 has joined #ruby
tenmilestereo has joined #ruby
jaimef has joined #ruby
burgestrand has quit [Quit: Leaving.]
banister`sleep has quit [Read error: Connection reset by peer]
banister`sleep has joined #ruby
sayan has joined #ruby
arturaz has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
shock_one has joined #ruby
pigoz has joined #ruby
tokhi has quit [Ping timeout: 240 seconds]
banister`sleep has quit [Read error: Connection reset by peer]
razibog has joined #ruby
banister`sleep has joined #ruby
dallasm has joined #ruby
mercwithamouth has quit [Ping timeout: 246 seconds]
danslo has quit [Quit: danslo]
dallasm has quit [Remote host closed the connection]
artofraw has joined #ruby
moted has quit [Ping timeout: 264 seconds]
browndawg has quit [Ping timeout: 246 seconds]
adelcampo has joined #ruby
adelcampo has quit [Client Quit]
kofno has joined #ruby
adelcampo has joined #ruby
maxme has left #ruby [#ruby]
adelcampo is now known as doritostains
newbsduser has quit [Ping timeout: 252 seconds]
danslo has joined #ruby
akashj87_ has joined #ruby
akashj87_ has quit [Client Quit]
tokhi has joined #ruby
danslo has quit [Client Quit]
danslo has joined #ruby
TomJ has joined #ruby
kofno has quit [Ping timeout: 245 seconds]
akashj87 has quit [Ping timeout: 245 seconds]
yashshah has joined #ruby
Sicp has quit [Ping timeout: 240 seconds]
jackjackdrpr has joined #ruby
pangur has quit [Quit: Leaving]
danslo has quit [Client Quit]
brianherman has quit [Ping timeout: 245 seconds]
danslo has joined #ruby
danslo has quit [Client Quit]
brianherman has joined #ruby
danslo has joined #ruby
Michael__ has joined #ruby
chrisramon has quit [Quit: chrisramon]
angusiguess has joined #ruby
sandGorgon has joined #ruby
browndawg has joined #ruby
akashj87 has joined #ruby
danslo has quit [Read error: Connection reset by peer]
geggam has quit [Quit: stuffs]
danslo has joined #ruby
Hanmac1 has joined #ruby
danslo has quit [Remote host closed the connection]
vlad_sta_ has quit [Ping timeout: 264 seconds]
akashj87 has quit [Read error: Connection reset by peer]
Hanmac has quit [Ping timeout: 256 seconds]
t-mart has joined #ruby
danslo has joined #ruby
cantonic has joined #ruby
r0bby_ has joined #ruby
burgestrand has joined #ruby
swingha has joined #ruby
doritostains has quit [Quit: doritostains]
r0bby has quit [Ping timeout: 252 seconds]
himsin has quit [Ping timeout: 264 seconds]
skattyadz has quit [Quit: skattyadz]
danslo has quit [Client Quit]
sandGorgon has quit [Ping timeout: 255 seconds]
dawkirst has joined #ruby
sayan has quit [Ping timeout: 260 seconds]
mockra has joined #ruby
TomJ has quit [Quit: TomJ]
TomJ has joined #ruby
mercwithamouth has joined #ruby
burgestrand has quit [Ping timeout: 245 seconds]
gchristensen has left #ruby ["WeeChat 0.4.0"]
burgestrand has joined #ruby
nathancahill has joined #ruby
stevechiagozie has joined #ruby
Hanmac1 is now known as Hanmac
nathancahill has quit [Client Quit]
browndawg has left #ruby [#ruby]
<shevy> def foo; puts 'hi'; end; alias bar foo
<shevy> this works for normal methods on a class
<shevy> is there a way to alias a class method?
<shevy> def self.foo; puts 'hi'; end; alias bar foo
<shevy> hmmmm
chaluopa has joined #ruby
<Hanmac> shevy do it in a class << self
danslo has joined #ruby
aytch has joined #ruby
robbyoconnor has joined #ruby
sayan has joined #ruby
akemrir has joined #ruby
tokhi has quit [Ping timeout: 240 seconds]
jlast has joined #ruby
r0bby_ has quit [Ping timeout: 256 seconds]
feedbackloop has joined #ruby
nathancahill has joined #ruby
jdunck has joined #ruby
chandankumar has joined #ruby
AlStanforth has joined #ruby
timonv has quit [Remote host closed the connection]
shock_one has quit [Read error: Connection reset by peer]
shock_one has joined #ruby
markenranosa_ has quit [Read error: Connection reset by peer]
Michael__ has quit [Remote host closed the connection]
nazty has joined #ruby
jlast has quit [Ping timeout: 256 seconds]
<shevy> Hanmac nah, that is ugly and adds one level of indent :(
TomJ has quit [Quit: TomJ]
AlStanforth has quit [Remote host closed the connection]
<Hanmac> there cant be enough level of indent :P
subbyyy has quit [Ping timeout: 264 seconds]
Sicp has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
davetherat1 has quit [Remote host closed the connection]
davetherat has joined #ruby
atmosx has joined #ruby
<shevy> hmmm my current code is also ugly though
<atmosx> hello
<atmosx> how's life shevy ?
jackjackdrpr has quit [Quit: Leaving.]
BSaboia has quit [Ping timeout: 245 seconds]
yacks has joined #ruby
lewix has quit [Remote host closed the connection]
<shevy> atmosx so lala
<shevy> I am trying to solve all colour related problems with ruby in one project
lewix has joined #ruby
breakingthings has joined #ruby
ZachBeta has joined #ruby
kbouwser has joined #ruby
<atmosx> shevy: I see
<atmosx> any ideas about why this sinatra doesn't work? https://gist.github.com/atmosx/5277404
brianherman has quit [Ping timeout: 272 seconds]
<atmosx> s/why/the reason/
vlad_starkov has joined #ruby
robbyoconnor has quit [Ping timeout: 260 seconds]
atmosx has quit [Quit: And so the story goes…]
skattyadz has joined #ruby
robbyoconnor has joined #ruby
jpfuentes2 has joined #ruby
chandankumar has quit [Quit: Leaving]
wallerdev has joined #ruby
jpfuentes2 has quit [Client Quit]
travnick has quit [Ping timeout: 260 seconds]
TomJ has joined #ruby
freakazoid0223 has quit [Quit: Leaving]
chrishough has joined #ruby
maxmande_ has quit [Ping timeout: 245 seconds]
w400z has joined #ruby
sonots has joined #ruby
<shock_one> How to install all the gems, required in the file?
maxmanders has joined #ruby
pitzips has joined #ruby
pioz has joined #ruby
<havenwood> shock_one: Create a Gemfile and list the required gems, then you can `bundle` to install them: http://gembundler.com/v1.3/gemfile.html
cha1tanya has quit [Ping timeout: 260 seconds]
<havenwood> Could write a little Ruby script to auto-create a Gemfile based on required gems, that might be fun.
madb055 has joined #ruby
<shock_one> havenwood, too hard. I thought there is a special gem for it. If there is no such a gem, I will write it.
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
jgrevich has joined #ruby
peteyg has joined #ruby
stevechiagozie has quit [Quit: Computer has gone to sleep.]
connor_goodwolf has joined #ruby
sonots has quit [Remote host closed the connection]
pib1902 has quit [Remote host closed the connection]
fermion has quit [Quit: Computer has gone to sleep.]
<Hanmac> havenwood: problem: the gem name can be different from the require name
<jdunck> i have a list hash whose values are each arrays. i'd like to ensure that each of the lists is the same.
<jdunck> is there an idiomatic way to do that?
<havenwood> Hanmac: Uhg, good point. I think it **shouldn't**, but so true.
fermion has joined #ruby
<jdunck> concretely, h = {a: [1], b:[2], c:[1]}
subbyyy has joined #ruby
peteyg has quit [Ping timeout: 256 seconds]
nathancahill has quit [Quit: nathancahill]
<Hanmac> jdunck: something like: h.each_value.all?{|v| v.is_a?(Array)}
<jdunck> Hanmac sorry, i want to compare each array for equality
<jdunck> h[:a] == h[:b] == h[:c], except i don't know the keys or how many ahead of time
jrajav has quit [Quit: I tend to be neutral about apples]
<Hanmac> why should each value be equal? does this make any sense?
IceDragon has joined #ruby
<jdunck> i want to assert that they are - that's my goal
sonots has joined #ruby
heliumsocket has joined #ruby
<Hanmac> jdunck: maybe: h.each_value.uniq.size == 1
sayan has quit [Ping timeout: 272 seconds]
<jdunck> err, the h i gave there is just an example - the lists likely have different values
<Hanmac> jdunck: faster: h.each_value.each_cons(2).all?{|a,b|a==b}
faoiseamh has quit []
danslo has quit [Quit: danslo]
<jdunck> hmm
jgrevich_ has joined #ruby
madb055 has quit [Read error: Connection reset by peer]
<jdunck> interesting, i hadn't seen each_cons before
Sicp has quit [Quit: Leaving]
jgrevich has quit [Ping timeout: 255 seconds]
jgrevich_ is now known as jgrevich
akemrir has quit [Read error: Connection reset by peer]
danslo has joined #ruby
obfuscate2 has quit [Read error: Connection reset by peer]
jurassic_ has quit [Quit: jurassic_]
obfuscate2 has joined #ruby
mercwithamouth has quit [Ping timeout: 272 seconds]
yashshah has quit [Ping timeout: 272 seconds]
danslo has quit [Client Quit]
jlast has joined #ruby
jurassic_ has joined #ruby
pib1943 has joined #ruby
yashshah has joined #ruby
keymone has joined #ruby
w400z has quit [Quit: Computer has gone to sleep.]
breakingthings has quit []
whowantstolivefo has joined #ruby
w400z has joined #ruby
brianpWins has joined #ruby
yashshah has quit [Ping timeout: 240 seconds]
hmarr has joined #ruby
hmarr has quit [Remote host closed the connection]
kofno has joined #ruby
tokhi has joined #ruby
<havenwood> Create a Gemfile based on 'require': https://gist.github.com/havenwood/5277651
UberCanuck has joined #ruby
aaronmcadam has joined #ruby
<shock_one> havenwood, this thing should install the gems and remove the file afterwards.
kofno has quit [Remote host closed the connection]
w400z has quit [Quit: Computer has gone to sleep.]
yashshah has joined #ruby
peteyg has joined #ruby
<havenwood> shock_one: Ahh. I'd finish it, but housemate says it is time to go to brunch! (I'm a sucker for brunch.)
<shock_one> havenwood, I'll try to add stdlib support.
keymone has quit [Quit: keymone]
<havenwood> shock_one: Might be nice to search for .rb files recursively. Also would be good to handle common gems that don't match require name.
yashshah has quit [Read error: Connection reset by peer]
yashshah_ has joined #ruby
chaluopa_ has joined #ruby
<havenwood> Okay, I'm off to brunch. Dun wanna go in my PJs, so gotta get dressed!
havenwood has quit [Remote host closed the connection]
<shock_one> Searching recursively is pretty easy. Just change Dir['*.rb'] to Dir['**/*.rb']
havenwood has joined #ruby
Squarepy has joined #ruby
w400z has joined #ruby
danman has joined #ruby
chaluopa has quit [Ping timeout: 252 seconds]
pioz has quit [Quit: This computer has gone to sleep]
emmanuelux has quit [Quit: emmanuelux]
Heero` is now known as Heero
Heero has quit [Changing host]
Heero has joined #ruby
mityaz has joined #ruby
Davey has joined #ruby
chaluopa has joined #ruby
io_syl has joined #ruby
jonathanwallace has joined #ruby
chaluopa_ has quit [Ping timeout: 246 seconds]
freakazoid0223 has joined #ruby
havenwood has quit [Ping timeout: 272 seconds]
subbyyy has quit [Ping timeout: 240 seconds]
eliasp has quit [Ping timeout: 264 seconds]
swingha has quit [Ping timeout: 272 seconds]
anirudh24seven has quit [Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307122853]]
crimezone20xx has joined #ruby
mahmoudimus has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
burgestrand has quit [Quit: Leaving.]
k610 has quit [Ping timeout: 246 seconds]
marcdel has joined #ruby
lewix has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
jurassic_ has quit [Quit: jurassic_]
chandankumar has joined #ruby
jurassic_ has joined #ruby
bricker`LA has joined #ruby
mockra has quit [Remote host closed the connection]
aaronmcadam has quit [Read error: Connection reset by peer]
chessguy has joined #ruby
aaronmcadam has joined #ruby
wyhaines has joined #ruby
jurassic_ has quit [Client Quit]
pioz has joined #ruby
eliasp has joined #ruby
vlad_starkov has joined #ruby
bricker`1A has quit [Ping timeout: 255 seconds]
Faris7 has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
niklasb has quit [Ping timeout: 245 seconds]
voodoofish has quit [Read error: Connection reset by peer]
banjara has joined #ruby
havenwood has joined #ruby
danman has quit [Quit: danman]
yashshah_ has quit [Ping timeout: 260 seconds]
havenwood has quit [Ping timeout: 246 seconds]
BadQuanta has quit [Ping timeout: 255 seconds]
Vert has joined #ruby
pyreal has quit [Quit: pyreal]
slyv has joined #ruby
ckrailo has joined #ruby
jolleyjoe has joined #ruby
<jolleyjoe> anyone have experience deploying ruby apps with passenger/fusion/nginx?
<jolleyjoe> trying to find out where the access logs would be, as i'm getting HTTP 5XX errors intermittently
BadQuanta has joined #ruby
ryannielson has joined #ruby
himsin has joined #ruby
jurassic_ has joined #ruby
Skofo has joined #ruby
IceDragon has quit [Ping timeout: 272 seconds]
H4nk has joined #ruby
H4nk has left #ruby [#ruby]
hiyakashi has joined #ruby
voodoofish has joined #ruby
butblack has joined #ruby
mpfundstein has quit [Read error: Connection reset by peer]
himsin has quit [Ping timeout: 272 seconds]
hiyakashi has quit [Client Quit]
banister`sleep has quit [Read error: Connection reset by peer]
banister`sleep has joined #ruby
BadQuanta has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 272 seconds]
DrShoggoth has quit [Quit: Leaving]
platzhirsch has joined #ruby
<platzhirsch> Are there any notable disadvantages when using YAML and Ruby together?
<platzhirsch> it's just that I noticed that configatron (https://github.com/markbates/configatron) does not support YAML anymore
stevechiagozie has joined #ruby
lewix has joined #ruby
aaronmcadam has quit [Read error: Connection reset by peer]
mpfundstein_ has quit [Ping timeout: 245 seconds]
aaronmcadam has joined #ruby
jimeh has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
fire has quit [Ping timeout: 255 seconds]
qwe has joined #ruby
sonda has quit [Remote host closed the connection]
BSaboia has joined #ruby
verysoftoiletppr has quit []
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
mikurubeam has quit [Quit: +1 (Yes). -1 (No). i (What I have been trying to tell you all along).]
io_syl has quit [Ping timeout: 245 seconds]
mikurubeam has joined #ruby
eldariof has joined #ruby
qwe has quit [Client Quit]
chandankumar has quit [Quit: Leaving]
nobitanobi has quit [Ping timeout: 245 seconds]
<banister`sleep> platzhirsch: because ruby is often expressive enough
<platzhirsch> banister`sleep: okay, that's reasonable
<platzhirsch> hey should you be asleep?
<banister`sleep> no
io_syl has joined #ruby
<_br_> platzhirsch: There is nothing really wrong with YAML, JSON etc. but ruby like banister said is pretty clear already. YAML makes sense if you deal with a lot of other platform people
banister`sleep is now known as banisterfiend
havenwood has joined #ruby
<platzhirsch> _br_: good
MetaCosm has quit [Quit: ZNC - http://znc.in]
nicoulaj has joined #ruby
subbyyy has joined #ruby
<Mon_Ouie> Or if you don't want to allow configuration to run arbitrary code
<Mon_Ouie> (e.g. for security reasons)
MetaCosm has joined #ruby
<banisterfiend> Mon_Ouie: 'alutte
<Hanmac> isnt YAML also a security leak?
millerti has joined #ruby
eliasp has quit [Ping timeout: 246 seconds]
<banisterfiend> Mon_Ouie: do you like my clever feminization of 'alut ?
<Mon_Ouie> Haven't heard of that. What does it allow?
kennyvb has quit [Ping timeout: 256 seconds]
stevechiagozie has quit [Quit: Computer has gone to sleep.]
<Mon_Ouie> banisterfiend: 'alut
<Mon_Ouie> banisterfiend: Well, it makes as much sense to me as many of the things you say ;)
robscomputer has joined #ruby
<banisterfiend> potato
<Mon_Ouie> potæto
<Hanmac> the potato makes more sense than you :P
<_br_> Mon_Ouie: In the rails context there was recently a big stirr regarding this. Should be pateched in recent upstream though.
kennyvb has joined #ruby
Proshot has joined #ruby
k610 has joined #ruby
<Hanmac> http://www.ruby-doc.org/core-2.0/doc/security_rdoc.html this page lists YAML as unsecure ;P
<shock_one> havenwood, are you here? I have no idea how to check if it's a stdlib elegantly. Refactoring: https://gist.github.com/5277946
robscomputer_ has quit [Ping timeout: 260 seconds]
etcetera has joined #ruby
fire has joined #ruby
etcetera has quit [Client Quit]
drbawb has joined #ruby
<Hanmac> shock_one , load and include are not for gem checking
<Mon_Ouie> Aha. Well, at least those issues seem to be related only to the YAML parser in stdlib. One could still write a parser that doesn't allow the creation of entirely arbitrary objects.
<_br_> Hanmac: Well obviously it depends how you utlize it.
ZachBeta has joined #ruby
<shock_one> Hanmac, can't I load 'gem'?
etcetera has joined #ruby
butblack has quit [Quit: butblack]
<Hanmac> shock_one: nope
<yxhuvud> Mon_Ouie: are you certain that is possible if one also conforms to the spec?
<shock_one> Hanmac, that's even better! Thank you.
jpfuentes2 has joined #ruby
tokhi has quit [Read error: Connection reset by peer]
reset has joined #ruby
reset has quit [Client Quit]
banister_ has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
<Mon_Ouie> yxhuvud: I'd think so. For example, instead of actually instancing the arbitrary object, you could always instanciate a special class to represent those objects.
ZachBeta has quit [Client Quit]
<Mon_Ouie> This way you can still deserialize them and access their contents, but you can be certain you won't get a surprise by calling methods on them or merely creating them
breakingthings has joined #ruby
pcarrier_ has joined #ruby
ZachBeta has joined #ruby
<yxhuvud> are there any yaml libraries that actually work that way?
jpfuentes2 has quit [Client Quit]
pitzips has quit [Quit: Leaving]
breakingthings has quit [Client Quit]
g0bl1n has joined #ruby
g0bl1n has joined #ruby
g0bl1n has quit [Changing host]
nobitanobi has joined #ruby
pygmael has quit [Quit: pygmael]
<Hanmac> shock_one look at: ["rubylibdir","rubyarchdir"].flat_map {|dir|Dir.foreach(RbConfig::CONFIG[dir]).map{|s|File.basename(s,File.extname(s))}}
<Mon_Ouie> In Ruby, I guess not. That's probably how all libraries work in more static languages though.
pskosinski has quit [Quit: Red Eclipse, game of racist admins/devs: http://pawelk.pl/racist-red-eclipse-quin-zeroknight-gingerbear/]
jpfuentes2 has joined #ruby
swistak35 has quit [Ping timeout: 240 seconds]
BSaboia has quit [Ping timeout: 272 seconds]
icole has joined #ruby
swistak35 has joined #ruby
divout has quit [Remote host closed the connection]
<oxez> Anyone happen to know if ruby 2.0 is officially supported by the ruby-gnome project ?
jpfuentes2 has quit [Ping timeout: 240 seconds]
himsin has joined #ruby
atno has quit [Ping timeout: 256 seconds]
w400z has quit []
icole has quit [Ping timeout: 260 seconds]
IceDragon has joined #ruby
sepp2k has quit [Quit: Leaving.]
eliasp has joined #ruby
pioz has quit [Quit: This computer has gone to sleep]
pioz has joined #ruby
subbyyy has quit [Ping timeout: 272 seconds]
<shock_one> Hanmac, what do you think? https://gist.github.com/shockone/5277946
icole has joined #ruby
millerti has quit [Quit: millerti]
<himsin> hi, eval"A,B="+gets line can scan "5,3". I want to modify it to scan "5 3". can anyone help?
<banister_> himsin: huh? :)
<Hanmac> shock_one: why in the name of Haruhi do you use eval?
jpfuentes2 has joined #ruby
vlad_starkov has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
<shock_one> Hanmac, to check if we can require the gem, obviously. Is there a safer method?
vlad_starkov has joined #ruby
<Hanmac> shock_one: why not: require e
<banister_> shock_one: why not: require e (where ou modify the text of 'e' if u need to first)
<banister_> Hanmac: jinx, personal jinx, physical jinx
<shock_one> OMG, I'm so stupid.
<himsin> eval"A,B="+gets on "5,3" A=5, B=3
<himsin> a,b = gets.split.map(&:to_i)
<himsin> i am looking to scan two space separated numbers in min. possible code
<himsin> i want to minimize it
<himsin> :)
zack has joined #ruby
havenn has joined #ruby
<banister_> himsin: yucky bunny
eliasp has quit [Read error: Operation timed out]
<zack> i have a capistrano task and it's getting run locally, instead of before connection to the server… why?
icole has quit [Ping timeout: 272 seconds]
greg1 has joined #ruby
greg1 has quit [Client Quit]
baba has joined #ruby
fire has quit [Ping timeout: 240 seconds]
hashmal has quit [Quit: Computer has gone to sleep.]
markalanevans has joined #ruby
etcetera has quit []
w400z has joined #ruby
tommyvyo has joined #ruby
mockra has joined #ruby
icole has joined #ruby
mockra has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
crimezone20xx has quit [Ping timeout: 256 seconds]
atno has joined #ruby
icole has quit [Read error: Connection reset by peer]
icole has joined #ruby
swistak35 has quit [Ping timeout: 246 seconds]
banister_ has quit [Ping timeout: 256 seconds]
icole_ has joined #ruby
swistak35 has joined #ruby
icole has quit [Read error: Connection reset by peer]
mpfundstein has joined #ruby
mpfundstein_ has joined #ruby
fantazo has joined #ruby
sonots has quit [Remote host closed the connection]
eliasp has joined #ruby
banisterfiend has joined #ruby
kirun has joined #ruby
TMM has quit [Remote host closed the connection]
<Layke> Just learning ruby. Super basic question.. I see the destructive String.downcase! / String.downcase methods.. I'm just curious as to the internals of such methods? So, methods take arguments by reference to the object passed, so how would the non destructive/destructive version work.... Do non-destructive methods, just call dup on the destructive?
lewix has joined #ruby
<Layke> Just curious, if for example I wanted to implement my own. What is the usual pattern.. create the destructive version... then create a non destrutive method that dups the ! version?
lewix has quit [Remote host closed the connection]
<shock_one> Layke, you can see the source https://dl.dropbox.com/u/608214/scrn/1364673134.png
TMM has joined #ruby
TMM has quit [Changing host]
TMM has joined #ruby
madb055 has joined #ruby
<Hanmac> in ruby code it would look like: str = self.dup; str.meth!; return str
<Layke> Thanks, but I also mean from a more general point, I only mentioned downcase as it was the first that came to my mind.
w400z has quit []
<Hanmac> or short: self.dup.tap &:meth!
<Layke> Yeah Hanmac thanks. :)
lewix has joined #ruby
<Layke> That's what I was curious on. What does the & mean on the :meth symbol? I haven't been able to find that notation in my book yet
<Layke> I've seen it several times, but hasn't been explained online
eliasp has quit [Ping timeout: 272 seconds]
<shock_one> Layke, & means convert to a block. And :meth is a symbol.
bluOxigen has quit []
havenn has quit [Remote host closed the connection]
<shock_one> *to proc.
<Hanmac> in the sample ":meth!" is the symbol ... the ! is part of the symbol name
eliasp has joined #ruby
pioz has quit [Quit: This computer has gone to sleep]
pskosinski has joined #ruby
slainer68 has joined #ruby
tommyvyo has quit [Quit:]
CamonZ has quit [Quit: Linkinus - http://linkinus.com]
rburton- has joined #ruby
swex has quit [Read error: Operation timed out]
angusiguess has quit [Ping timeout: 260 seconds]
lewix has quit [Remote host closed the connection]
chessguy has quit [Remote host closed the connection]
swex has joined #ruby
crimezone20xx has joined #ruby
lewix has joined #ruby
<TTilus> actually the amp tells ruby that param should be treated as the block parameter
<TTilus> in itself it doesnt convert really
<TTilus> def foo(bar, &baz); end
<shock_one> TTilus, it does. It calls to_proc method.
Catbuntu has joined #ruby
lewix has quit [Remote host closed the connection]
<TTilus> shock_one: i ment that it is not an operator or alike
Xeago has joined #ruby
Loaft has quit [Ping timeout: 246 seconds]
<TTilus> then on foo(:bar) you get bar == :bar and baz == nil
sonots has joined #ruby
chrishough has quit [Quit: chrishough]
superninkendo has quit [Quit: Leaving.]
<TTilus> and foo(:bar, &:baz) u get baz == :bar.to_proc and can call it using yield
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
butblack has joined #ruby
casheew has quit [Read error: Connection reset by peer]
eliasp has quit [Ping timeout: 240 seconds]
<TTilus> special block param is autoconverted by calling #to_proc on it, in that sense you can think of & as conversion to prock
Morkel_ has joined #ruby
UberCanuck has quit [Quit: Leaving]
AlHafoudh has joined #ruby
<AlHafoudh> hi all
Morkel has quit [Ping timeout: 260 seconds]
Morkel_ is now known as Morkel
mengu has joined #ruby
casheew has joined #ruby
<AlHafoudh> is it good to coerce values from API response when building ruby client to some API? when I look for example at twitter gem or stripe, they treat everything as String
crimezone20xx has quit [Ping timeout: 252 seconds]
sepp2k has joined #ruby
Layke has quit [Ping timeout: 245 seconds]
eliasp has joined #ruby
crimezone20xx has joined #ruby
<shock_one> AlHafoudh, if you need an int, you have to convert it, good or not. Did I misunderstand you?
brianherman has joined #ruby
mengu has quit [Client Quit]
mengu has joined #ruby
<AlHafoudh> shock_one: yes, thats it
Squarepy has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
kbouwser has quit [Remote host closed the connection]
smp has joined #ruby
<TTilus> AlHafoudh: theres no rule
[rust] has joined #ruby
casheew has joined #ruby
kbouwser has joined #ruby
<smp> hi there. i was wondering if there was a built-in function for generating all possible subsets of a given array
<TTilus> AlHafoudh: just be consistent and do not surprise api users
<shock_one> smp, it's called permutations or combinations.
icole_ has quit [Remote host closed the connection]
RobW has joined #ruby
butblack has quit [Quit: butblack]
<smp> i checked permutations but it generates all the different possibilties of the given array in same length
sonots has quit [Ping timeout: 256 seconds]
pygmael has joined #ruby
<RobW> Question about gsub: I'm using it with a regex that captures part of a string -- how can I make that capture available for manipulation inside the gsub block?
<shock_one> smp, if you need every possible configuration, you have to call permutation on combinations.
<shock_one> RobW, $1, $2
<smp> shock_one, thank you. let me try it
<RobW> shock_one: So $1.to_n etc etc will work? Universal methods available?
banjara has quit [Quit: Leaving.]
butblack has joined #ruby
<TTilus> smp: already checcked Set methods?
hashmal has joined #ruby
<shock_one> RobW, yeah, it's a usual object reference.
<RobW> Thought I tried that. Prob have an error somewhere else in my code…
eliasp has quit [Ping timeout: 240 seconds]
<RobW> shock_one: Thanks a bunch.
<shock_one> RobW, gist it.
pygmael has quit [Client Quit]
pkrnj has joined #ruby
butblack has quit [Client Quit]
butblack has joined #ruby
butblack has quit [Client Quit]
burgestrand has joined #ruby
pasties has joined #ruby
<smp> @TTilus, I checked set methods. I got the desired result using combinations. Thanks
<RobW> shock_one: Working great, thanks for being human docs.
<RobW> shock_one++
F1skr has joined #ruby
<TTilus> RobW: magic variables like $1 are a perlism in ruby, they are just ordinary object refs (as shock_one pointed out) that are bound for you automatically
<shock_one> RobW, you should write shock_one +=1 in Ruby ;)
angusiguess has joined #ruby
<TTilus> smp: good
divout has joined #ruby
<RobW> Ha, I should. Just learning, moving from php to Ruby through Sass/Jekyll/Liquid. Have a good day.
RobW has left #ruby [#ruby]
<TTilus> thats a good path to follow
Layke has joined #ruby
<shock_one> And I'm learning PHP. C'est la vie.
voodoofish has quit [Ping timeout: 240 seconds]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
tomsthumb has joined #ruby
ryannielson has left #ruby [#ruby]
lunarjar has joined #ruby
Proshot has quit [Quit: Leaving]
Catbuntu has quit [Quit: Leaving]
casheew has quit [Read error: Connection reset by peer]
eldariof has quit []
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
linoge has joined #ruby
casheew has joined #ruby
drumond1_ has joined #ruby
drumond19 has quit [Ping timeout: 240 seconds]
mattp__ has left #ruby ["WeeChat 0.3.9.2"]
mengu has quit [Quit: This computer has gone to sleep]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
mikurubeam has quit [Quit: +1 (Yes). -1 (No). i (What I have been trying to tell you all along).]
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
voodoofish has joined #ruby
Matt has joined #ruby
casheew has quit [Read error: Connection reset by peer]
Matt is now known as Guest15754
casheew has joined #ruby
eliasp has joined #ruby
butblack has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
butblack has quit [Client Quit]
sambio has joined #ruby
butblack has joined #ruby
icole has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
divout has quit [Read error: Connection reset by peer]
ananthakumaran has quit [Quit: Leaving.]
mengu has joined #ruby
casheew has quit [Read error: Connection reset by peer]
mengu has quit [Remote host closed the connection]
peteyg has quit [Ping timeout: 255 seconds]
butblack has left #ruby [#ruby]
AlHafoudh has quit [Quit: Textual IRC Client: www.textualapp.com]
ckrailo has joined #ruby
nomenkun has quit [Remote host closed the connection]
casheew has joined #ruby
nomenkun has joined #ruby
eliasp has quit [Ping timeout: 255 seconds]
casheew has quit [Read error: Connection reset by peer]
skattyadz has quit [Quit: skattyadz]
icole has quit [Remote host closed the connection]
AndChat| has joined #ruby
jgrevich has quit [Quit: jgrevich]
mikurubeam has joined #ruby
casheew has joined #ruby
kristofers has joined #ruby
excalq has joined #ruby
Banistergalaxy has quit [Ping timeout: 256 seconds]
skattyadz has joined #ruby
Kruppe has joined #ruby
Astralum has quit [Read error: Connection reset by peer]
stevechiagozie has joined #ruby
Astralum has joined #ruby
tomsthumb has quit [Quit: Leaving.]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
dagnachew has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
eliasp has joined #ruby
sonots has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
smp has left #ruby ["Leaving"]
miroatme has joined #ruby
sambio_ has joined #ruby
eliasp has quit [Ping timeout: 240 seconds]
sonots has quit [Ping timeout: 252 seconds]
sambio has quit [Ping timeout: 260 seconds]
miroatme has quit [Quit: Leaving.]
icole has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
sambio_ is now known as sambio
Sicp has joined #ruby
banisterfiend has joined #ruby
<dagnachew> !topic
Guest15754 has quit [Quit: This computer has gone to sleep]
drale2k has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
otters has quit [Quit: bye]
<dagnachew> hello everyone
<dagnachew> does anyone has a benchmark about the speed of the new ruby 2.0.0 ?
otters has joined #ruby
casheew has quit [Read error: Connection reset by peer]
sailias has quit [Read error: Connection reset by peer]
Morkel has quit [Quit: Morkel]
casheew has joined #ruby
pcarrier_ has quit [Quit: Computer has gone to sleep.]
Guest15754 has joined #ruby
casheew has quit [Read error: Connection reset by peer]
brianpWins has quit [Ping timeout: 252 seconds]
slyv has quit [Quit: Computer has gone to sleep.]
casheew has joined #ruby
icole has quit [Remote host closed the connection]
icole has joined #ruby
dagnachew has quit [Quit: Leaving]
marcdel has quit []
otters has quit [Quit: bye]
Bish_ is now known as Bish
otters has joined #ruby
eliasp has joined #ruby
icole has quit [Ping timeout: 252 seconds]
mahmoudimus has joined #ruby
miroatme_ has joined #ruby
miroatme_ is now known as miroatme
mityaz has quit [Quit: See ya!]
MetaCosm has quit [Excess Flood]
MetaCosm has joined #ruby
Guest15754 has quit [Quit: This computer has gone to sleep]
tommylommykins has quit [Ping timeout: 258 seconds]
trolling has quit [Ping timeout: 258 seconds]
aaronmcadam has quit [Quit: Linkinus - http://linkinus.com]
tommylommykins has joined #ruby
trolling has joined #ruby
elaptics`away is now known as elaptics
MetaCosm has quit [Excess Flood]
choobie has joined #ruby
MetaCosm has joined #ruby
bean__ has joined #ruby
mahmoudimus has quit [Client Quit]
MetaCosm has quit [Excess Flood]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
lewix has joined #ruby
MetaCosm has joined #ruby
MetaCosm has quit [Excess Flood]
linoge has quit [Read error: Connection reset by peer]
MetaCosm has joined #ruby
casheew has quit [Read error: Connection reset by peer]
linoge has joined #ruby
answer_42 has quit [Quit: WeeChat 0.4.0]
MetaCosm has quit [Excess Flood]
Fezzler has joined #ruby
MetaCosm has joined #ruby
Matt has joined #ruby
maxme has joined #ruby
Matt is now known as Guest59969
blacktulip has quit [Remote host closed the connection]
jacobbednarz has joined #ruby
casheew has joined #ruby
crimezone20xx has quit [Ping timeout: 252 seconds]
Guest59969 has quit [Client Quit]
AndChat| has quit [Ping timeout: 272 seconds]
ryanf has quit [Quit: leaving]
ryanf has joined #ruby
zack has quit [Quit: zack]
nicoulaj has quit [Remote host closed the connection]
chessguy has joined #ruby
MetaCosm has quit [Excess Flood]
shock_one has quit [Ping timeout: 252 seconds]
MetaCosm has joined #ruby
MetaCosm has quit [Excess Flood]
MetaCosm has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
tomsthumb has joined #ruby
stevechiagozie has quit [Quit: Computer has gone to sleep.]
MetaCosm has quit [Excess Flood]
kbouwser has quit [Quit: Textual IRC Client: www.textualapp.com]
MetaCosm has joined #ruby
danneu has joined #ruby
MetaCosm has quit [Excess Flood]
MetaCosm has joined #ruby
Layke has quit [Ping timeout: 272 seconds]
marcdel has joined #ruby
Fezzler has quit [Quit: Leaving]
kirun has quit [Quit: Client exiting]
marcdel_ has joined #ruby
marcdel has quit [Ping timeout: 256 seconds]
marcdel_ is now known as marcdel
ZachBeta has joined #ruby
Nisstyre-laptop has quit [Quit: Leaving]
LennyLinux has quit [Remote host closed the connection]
yoyoma77 has joined #ruby
tommyvyo has joined #ruby
<yoyoma77> hi all, is there a method in ruby that can convert formatted number into int ? for example 1,500.00 to be converted to fixnum 1500 ?
eliasp has quit [Ping timeout: 245 seconds]
Layke has joined #ruby
etcetera has joined #ruby
k610 has quit [Ping timeout: 272 seconds]
etcetera has quit [Client Quit]
fantazo has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
excalq has quit [Quit: Leaving.]
angusiguess has quit [Ping timeout: 240 seconds]
maxme has left #ruby [#ruby]
lewix has joined #ruby
lewix has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
himsin has quit [Ping timeout: 272 seconds]
<jacobbednarz> yoyoma77, have you tried to_i
<yoyoma77> jacobbednarz, sure, it returns 1 for 1,500.00
spider-mario has quit [Read error: Connection reset by peer]
<yoyoma77> now before i start replacing commas and doing gsub stuff wanted to know maybe there is something built in or something in activesupport
<jacobbednarz> to_f?
tommyvyo has quit [Quit:]
<Muz> Hm, BigDecimal takes care of the decimal point, as for that pesky comma...
eliasp has joined #ruby
<Muz> I suppose you could just gsub that out.
<yoyoma77> jacobbednarz, why to_f be any different ? it's the comma that makes problem not the dot
<Muz> >> require 'bigdecimal'; i = BigDecimal.new "1,500.00".gsub(/,/,''); i.to_i
<eval-in> Muz => (http://eval.in/13966)
<Muz> >> require 'bigdecimal'; i = BigDecimal.new "1,500.00".gsub(/,/,''); puts i.to_i
<eval-in> Muz => (http://eval.in/13967)
<yoyoma77> was checking if there is non gsub solution, thanks
<Muz> Yeah, fuck you too eval-in.
drumond1_ has quit [Remote host closed the connection]
danman has joined #ruby
yoyoma77 has quit [Quit: Leaving]
eliasp has quit [Ping timeout: 252 seconds]
miroatme has quit [Quit: Leaving.]
eliasp has joined #ruby
kuzushi has quit [Quit: Leaving]
ZachBeta has quit [Quit: Computer has gone to sleep.]
etcetera has joined #ruby
rburton- has quit [Quit: Leaving...]
g0bl1n has quit [Ping timeout: 272 seconds]
wyhaines has quit [Read error: Connection reset by peer]
wyhaines_ has joined #ruby
zeppelin has quit [Ping timeout: 256 seconds]
nobitanobi has quit [Ping timeout: 272 seconds]
linoge has quit [Quit: WeeChat 0.4.0]
nomenkun has quit [Remote host closed the connection]
berto- has joined #ruby
danman has quit [Quit: danman]
<berto-> i'm trying to compile the ruby_2_0_0 branch in git on ubuntu linux and getting linking errors like: remotes/origin/ruby_2_0_0. tried adding the configure option --disable-dtrace, but no go. any ideas?
alanp has quit [Ping timeout: 252 seconds]
nomenkun has joined #ruby
eliasp has quit [Ping timeout: 252 seconds]
huoxito has joined #ruby
nobitanobi has joined #ruby
Mattx has quit [Read error: Connection reset by peer]
emergion has joined #ruby
idkazuma has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
jetblack has quit [Quit: leaving]
danman has joined #ruby
<bakingbread> berto-: what link did you use? I've just downloaded http://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz 2.0.0
jetblack has joined #ruby
emocakes has joined #ruby
<berto-> bakingbread: git cloned ruby/ruby and ran git checkout to switch to ruby_2_0_0
platzhirsch has left #ruby [#ruby]
emergion has quit [Ping timeout: 264 seconds]
nomenkun has quit [Remote host closed the connection]
<berto-> bakingbread: i found this post that says dtrace was added ~Feb 25, so i might just backtrack to before then to avoid the problem for now … http://news.softpedia.com/news/Ruby-2-0-0-Officially-Released-Features-DTrace-Support-332151.shtml
<bakingbread> berto-: snapshot works for me
emergion has joined #ruby
<berto-> bakingbread: cool, i'll check it out, thanks!
<berto-> bakingbread: any special ./configure params?
<bakingbread> berto-: I'm not sure if you need any. I'm using none
<berto-> cool, thanks.
<bakingbread> berto-: still making, but no errors so far
<berto-> bakingbread: compiling went fine, linking blew up.
<bakingbread> m
whowantstolivefo has quit [Ping timeout: 272 seconds]
<bakingbread> I'll try
danman has quit [Quit: danman]
himsin has joined #ruby
nomenkun has joined #ruby
Layke has quit [Ping timeout: 256 seconds]
dEPy has quit []
burgestrand has quit [Quit: Leaving.]
danman has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
codecop has quit [Remote host closed the connection]
<jokke> hey. Is it somehow possible to iterate through all instance variables of a class?
Archweasel has joined #ruby
<berto-> bakingbread: i cleaned up my checkout with `git clean -f -d -x` and now it looks to be working … go figure.
danman has quit [Client Quit]
<bakingbread> berto-: git problem not ruby :-D
<jokke> i basically want to write a config as a class. And in that config class can be other config classes etc so it's nested.
<berto-> bakingbread: pebkac problem not git or ruby! :-P
<jokke> At one point i need to evaluate the config and thus go through all set variables.
postmodern has joined #ruby
mpfundstein has quit [Remote host closed the connection]
<jokke> and this has to happen during runtime, after the variables have been set
Mon_Ouie has quit [Read error: Operation timed out]
<jokke> i know i could use a hash but i think it's more intuitive to use config.val1 = true; config.val2.val3 = false; than config[:val1] = true; config[:val2][:val3] = false
<bakingbread> jokke: yes you can
mpfundstein_ has quit [Ping timeout: 252 seconds]
Layke has joined #ruby
mahmoudimus has joined #ruby
tomsthumb has quit [Quit: Leaving.]
<bakingbread> >> class M; def initialize; x = 42; end; end; m = M.new; p m.instance_variables; p m.instance_variable_get(:@x)
<eval-in> bakingbread => [] ... (http://eval.in/13969)
<bakingbread> hm
<bakingbread> ohhh
bradleyprice has joined #ruby
<bakingbread> >> class M; def initialize; @x = 42; end; end; m = M.new; p m.instance_variables; p m.instance_variable_get(:@x)
<eval-in> bakingbread => [:@x] ... (http://eval.in/13970)
<waxjar> jokke, take a look at Structs (or OpenStructs if you like to be dynamic: http://rubydoc.org/stdlib/ostruct/frames)
tomsthumb has joined #ruby
jpfuentes2 has joined #ruby
<jokke> ah ok
Derpfiend has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
nathancahill has joined #ruby
nomenkun has quit [Remote host closed the connection]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<jokke> thanks guys
<jokke> i think, i'll go with iterating over instance_valriables and then calling instance_variable_get with them
lunarjar has quit [Ping timeout: 240 seconds]
jlast has quit [Remote host closed the connection]
Archweasel has quit [Quit: Leaving.]
Davey has quit [Quit: Computer has gone to sleep.]
jlast has joined #ruby
m8 has quit [Quit: Sto andando via]
pioz has joined #ruby
fixl has joined #ruby
emocakes has quit [Quit: emocakes]
bubblehead has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 240 seconds]
lewix has joined #ruby
osama has joined #ruby
<osama> hey guys
<osama> how to write console ruby on terminal ? i need to write this
nomenkun has joined #ruby
<osama> s = "foobar" >> if s.empty? >> "The string is empty" >> else >> "The string is nonempty" >> end
<osama> how to write more than one line ?!
<jokke> ;
mpfundstein has joined #ruby
mpfundstein_ has joined #ruby