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
<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]
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]
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]
<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.]
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.
<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!
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?
<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."]
<_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
<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?
<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]
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]
<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.]
<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)