timonv has quit [Remote host closed the connection]
ChampS666 has quit [Ping timeout: 255 seconds]
<lejonet>
gbchaosmaster: one thing I haven't understod with that one, what inparameter can you expect? I always seem to fail when I try to grab a existing method and use it with map
nat2610 has quit [Quit: Leaving.]
<lejonet>
always ends up with me resorting to .map {|in| func in}
timonv has joined #ruby
ninp0 has quit [Remote host closed the connection]
<gbchaosmaster>
lejonet: Functions don't work, it has to be a method of each object in the collection.
jgarvey has quit [Quit: Leaving]
nat2610 has joined #ruby
<lejonet>
gbchaosmaster: That explains it :P
chessguy has quit [Ping timeout: 260 seconds]
<lejonet>
and makes a lot of sense, seeing as map is kindof "just" like a implicit .each
tombar has quit [Remote host closed the connection]
<gbchaosmaster>
It's good on anything, code included.
<lejonet>
gbchaosmaster: ah yeah, that is the one I think .map was, seeing as how it's used in C
<lejonet>
cuz there you chuck in the function and array you want to map it on
mathie has joined #ruby
<lejonet>
but that is probably a workaround due to lack of objects :P
tombar has joined #ruby
<banisterfiend>
gbchaosmaster, lejonet you can do it with 'functions' it just looks stuipd
<lejonet>
banisterfiend: oh?
<banisterfiend>
(1..10).each(&method(:puts))
<lejonet>
ah yeah, that does look stupid
emmanuelux has quit [Remote host closed the connection]
<gbchaosmaster>
lejonet: Mhm. Python is also that way with its map() IIRC.
<lejonet>
gbchaosmaster: Maybe
<pdtpatrick>
Question - say I have a command separated string (about 7 commas). I want to split based on the 7 command, How can i do this?
timonv has quit [Ping timeout: 248 seconds]
<gbchaosmaster>
Haven't done much Python since I got into Ruby ;)
<lejonet>
Haven't looked at it that much in python
eroc has joined #ruby
<gbchaosmaster>
pdtpatrick: String#split
blaxter has quit [Client Quit]
<lejonet>
pdtpatrick: you mean a comma separated string?
<lejonet>
.split ','
<lejonet>
oh well, bedtime for me
_solomon has quit [Quit: _solomon]
* gbchaosmaster
tucks lejonet in
SCommette has quit [Quit: SCommette]
<pdtpatrick>
no .. that'll split each surround string into an array. I want it to split on the 7th command so that way all leading commas except the last will be in its own slice if that makes sense
tombar has quit [Remote host closed the connection]
<gbchaosmaster>
pdtpatrick: Example input and output?
malte_ has quit [Quit: malte_]
<pdtpatrick>
gbchaosmaster: yeah let me get that
mmitchell has quit [Ping timeout: 260 seconds]
bradhe has quit [Remote host closed the connection]
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
klj613 has quit [Quit: Leaving]
postmodern has joined #ruby
<pdtpatrick>
gbchaosmaster: hmm i thought about the regex way, I didn't think about the second method u had. Thanks! will test now and see which would be fastest on >100 lines :)
ksaw123 has quit [Quit: irc2go]
<gbchaosmaster>
pdtpatrick: I'd put my money on regex for performance.
<gbchaosmaster>
pdtpatrick: Oniguruma is impressively fast.
i_s has joined #ruby
doritostains has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
niklasb has quit [Ping timeout: 255 seconds]
SCommette has joined #ruby
<pdtpatrick>
gbchaosmaster: are we talking quarters or bills? :)
<pdtpatrick>
just yanking your coat btw :)
tommyvyo_ has joined #ruby
SCommette has quit [Client Quit]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
bradhe has joined #ruby
Dreamer3 has joined #ruby
fyolnish has quit [Remote host closed the connection]
zf has quit [Quit: leaving]
tomsthumb has quit [Quit: Leaving.]
<pdtpatrick>
gbchaosmaster: String#rpartition .. unhead of. I guess i should have scanned deeper.
<gbchaosmaster>
pdtpatrick: ...wow.
<gbchaosmaster>
Shows me not to assume that Ruby couldn't possibly have an inbuilt way to do that.
davidcelis has quit [Quit: K-Lined.]
<pdtpatrick>
only came to mind because someone in #python mentioned rsplit :) so it's to their credit realy
<pdtpatrick>
really*
thone_ has joined #ruby
guns has joined #ruby
<gbchaosmaster>
The regex was slower, by the way. =P ~0.12s vs ~0.07s for a 10k line file.
<gbchaosmaster>
And rpartition times in at ~0.03, as expected, way faster than any.
slash_nick has quit [Ping timeout: 264 seconds]
thone has quit [Ping timeout: 245 seconds]
Juul has joined #ruby
buscapepe has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
buscapepe has quit [Remote host closed the connection]
pkircher has left #ruby [#ruby]
buscapepe has joined #ruby
<pdtpatrick>
ahhh the things u learn each day right? :)
mikepack has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
u89 has quit [Remote host closed the connection]
tombar has quit [Remote host closed the connection]
vasile has joined #ruby
tombar has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
tombar has quit [Remote host closed the connection]
radic has quit [Ping timeout: 252 seconds]
dmerrick has quit [Quit: dmerrick]
Markvilla has joined #ruby
generalissimo has quit [Remote host closed the connection]
wedtm is now known as wedtm|away
h4mz1d has joined #ruby
machty has joined #ruby
havenn has quit [Remote host closed the connection]
havenn has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
freeayu has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
yewton has quit [Excess Flood]
i_s has quit [Quit: i_s]
yewton has joined #ruby
Juul has quit [Read error: Operation timed out]
wedtm|away is now known as wedtm
malkomalko has joined #ruby
ephemerian has quit [Quit: Leaving.]
havenn has quit [Ping timeout: 244 seconds]
c0rn has quit [Quit: Computer has gone to sleep.]
Markvilla has quit [Quit: Computer has gone to sleep.]
radic has joined #ruby
c0rn has joined #ruby
mathie has joined #ruby
pothibo has quit [Quit: pothibo]
malkomalko has quit [Ping timeout: 240 seconds]
tomsthumb has joined #ruby
daniel_- has joined #ruby
joeycarmello has quit [Remote host closed the connection]
heftig has quit [Ping timeout: 245 seconds]
fyolnish has joined #ruby
jonahR has joined #ruby
marr has quit [Ping timeout: 252 seconds]
yshh has joined #ruby
buscapepe has quit [Ping timeout: 252 seconds]
heftig has joined #ruby
mathie has quit [Ping timeout: 264 seconds]
leonardorb has joined #ruby
mmitchell has joined #ruby
pyr0commie has joined #ruby
h4mz1d has quit [Ping timeout: 240 seconds]
dekz has joined #ruby
joshman_ has quit [Quit: Computer has gone to sleep.]
fmcgeough has quit [Quit: fmcgeough]
pyr0commie has quit [Remote host closed the connection]
epwhorl has joined #ruby
leonardorb has quit [Ping timeout: 244 seconds]
tombar has joined #ruby
slainer68 has quit [Remote host closed the connection]
v0n has joined #ruby
brianpWins has quit [Quit: brianpWins]
jrajav has quit [Quit: I tend to be neutral about apples]
axl__ has quit [Quit: axl__]
blazes816 has quit [Quit: blazes816]
<voodoofish430>
maybe it's me, but I find blocks or at least the examples that are shown for blocks to be annoying.
osvico has quit [Ping timeout: 256 seconds]
Juul has joined #ruby
pyr0commie has joined #ruby
pyr0commie has quit [Remote host closed the connection]
ctwiz has joined #ruby
googya has joined #ruby
epwhorl has quit [Quit: Leaving]
osvico has joined #ruby
ctwiz has quit [Client Quit]
ebobby has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
eka has quit [Remote host closed the connection]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Juul has quit [Ping timeout: 252 seconds]
xyzodiac has quit [Ping timeout: 252 seconds]
jlast has joined #ruby
nga4 has quit [Ping timeout: 252 seconds]
tombar has quit [Remote host closed the connection]
xyzodiac has joined #ruby
the_jeebster has quit [Quit: Leaving.]
Juul has joined #ruby
tombar has joined #ruby
ikaros has quit [Quit: Ex-Chat]
jlast has quit [Ping timeout: 240 seconds]
johnmilton has quit [Remote host closed the connection]
r4um has quit [Ping timeout: 256 seconds]
<hakunin>
Does ruby garbage collect an object assigned to a local variable if method ends and object isn't referenced elsewhere?
r4um has joined #ruby
<Spaceghostc2c>
hakunin: Can you try that sort of thing?
banjara has quit [Quit: Leaving.]
jarred_ has joined #ruby
x82_nicole has joined #ruby
Mnkras-Laptop has joined #ruby
<Mnkras-Laptop>
anyone available for some unicorn troubleshooting? (probably something stupid simple)
banjara has joined #ruby
<Spaceghostc2c>
Just ask.
<Mnkras-Laptop>
Im running centos5, i can get unicorn to run as root, I have an init.d script that tries to run it as a user on the server, but unicorn just dies,
<Mnkras-Laptop>
and there is nothing in the unicorn error log
<Spaceghostc2c>
Mnkras-Laptop: You don't need to run it as root by the way. Also, consider monit or God or something.
freakazoid0223 has quit [Quit: Leaving]
<Mnkras-Laptop>
Spaceghostc2c: my main problem is it runs no issues on ubuntu server
<Mnkras-Laptop>
and I'm trying to figure out where its failing
<Spaceghostc2c>
Mnkras-Laptop: I personally avoid rpm distros even more fervently than I avoid STI's
<Spaceghostc2c>
Not the database kind either.
<Mnkras-Laptop>
yea, not my choice
ryanlecompte has quit [Remote host closed the connection]
banisterfiend has quit [Ping timeout: 255 seconds]
ebobby has joined #ruby
ebobby is now known as Guest12066
slainer68 has quit [Ping timeout: 256 seconds]
_solomon has joined #ruby
nari has joined #ruby
mahmoudimus has joined #ruby
Mnkras-Laptop has quit [Quit: Mnkras-Laptop]
xclite has quit [Ping timeout: 246 seconds]
tombar_ has joined #ruby
three18ti has joined #ruby
<three18ti>
hello, I found this snippet of code to scrape google. I'm attempting to modify it to find malicious sites on my network, but I'm having trouble finding relevant docs to assist in my understanding of the code. can someone point me in the right direction please? THe code I'm working with is: http://paste.scsys.co.uk/216770
<three18ti>
basically, I'm trying to understand what methods are available for the agent and page objects
bigmcq77 has quit [Quit: Computer has gone to sleep.]
cyong has joined #ruby
cableray has quit [Quit: cableray]
doritostains has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
<shevy>
three18ti what kind of perl tricks?
<shevy>
cursing into a microphone and thus creating valid perl scripts? :>
<three18ti>
lol.
osvico has quit [Ping timeout: 265 seconds]
<three18ti>
I've been fighting with these malicious websites for too long... much needed moment of humor. thanks.
postmodern has joined #ruby
<three18ti>
shevy, :P
RickSchmitty has quit [Ping timeout: 244 seconds]
pac1 has joined #ruby
voodoofish430 has quit [Quit: Leaving.]
postmodern has quit [Ping timeout: 244 seconds]
KLinedd has joined #ruby
<KLinedd>
hi
<KLinedd>
do you know any good holocaust recipes?
adeponte has quit [Remote host closed the connection]
<KLinedd>
need to use some
<KLinedd>
on some jews
joeycarmello has joined #ruby
<KLinedd>
why niggers smell so bad
<KLinedd>
dont they use water?
<KLinedd>
how to repeat holocaust fast?
jenrzzz has joined #ruby
stnly has quit [Remote host closed the connection]
KLinedd was kicked from #ruby by seanstickle [KLinedd]
joeycarmello has quit [Remote host closed the connection]
cyong has quit [Quit: Leaving.]
joeycarmello has joined #ruby
v0n has quit [Ping timeout: 244 seconds]
cyong has joined #ruby
love_color_text has quit [Remote host closed the connection]
ibash has quit [Quit: ibash]
tombar_ has quit [Read error: Connection reset by peer]
Kudos has quit [Ping timeout: 264 seconds]
tombar has joined #ruby
joeycarmello has quit [Ping timeout: 246 seconds]
breadtk has joined #ruby
slainer68 has joined #ruby
<breadtk>
Hi all! I'm completely new to web programming with Ruby. I made a quick hello world script but the web server is serving it as plaintext. Am I missing something here?
<three18ti>
yea, or you could use rack middle ware, then nginx just becomes a reverse proxy for your ruby app.
gabrielrotbart has joined #ruby
evelyette has quit [Ping timeout: 245 seconds]
xyzodiac has joined #ruby
postmodern has quit [Ping timeout: 255 seconds]
doritostains has joined #ruby
bigmcq77 has joined #ruby
<foucist>
cgi ftw
lolcathost has joined #ruby
<foucist>
cgi wise, it should be possible to do something like #!/usr/bin/env ruby at the top
<foucist>
and output html
<foucist>
and name the extension to .cgi or whatever the server wants i guess?
areil has joined #ruby
xyzodiac has quit [Ping timeout: 252 seconds]
pipopopo has quit [Ping timeout: 244 seconds]
Ruler_Of_Heaven_ has joined #ruby
ctwiz has joined #ruby
leonardorb has joined #ruby
ctwiz is now known as dpg
mathie has joined #ruby
mikepack has joined #ruby
iamjarvo1 has joined #ruby
iamjarvo has quit [Ping timeout: 252 seconds]
<Paradox>
>legreentext
xyzodiac has joined #ruby
_nitti has joined #ruby
pcarrier has quit []
rakl has joined #ruby
mathie has quit [Ping timeout: 252 seconds]
Juul has quit [Quit: Leaving]
Juul has joined #ruby
awarner has joined #ruby
_nitti has quit [Ping timeout: 240 seconds]
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
nat2610 has quit [Quit: Leaving.]
statarb3 has quit [Quit: Leaving]
mascool has quit [Read error: Operation timed out]
jlwestsr has quit [Quit: Ex-Chat]
osvico has joined #ruby
Goles has joined #ruby
ddd has quit [Quit: Leaving.]
leonardorb has quit [Remote host closed the connection]
davidcelis has joined #ruby
cableray has joined #ruby
keyvan has joined #ruby
wedtm is now known as wedtm|away
IceDragon has quit [Quit: Space~~~]
havenn has joined #ruby
eka has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Mnkras-Laptop has joined #ruby
Mnkras-Laptop has quit [Changing host]
Mnkras-Laptop has joined #ruby
mjolk has joined #ruby
michaelmartinez has joined #ruby
adeponte has joined #ruby
xpen has joined #ruby
malkomalko has quit [Remote host closed the connection]
medik has quit [Quit: medik has no reason]
eka has quit [Ping timeout: 248 seconds]
Aiur has joined #ruby
drago757 has quit [Quit: drago757]
Goles has quit [Remote host closed the connection]
stkowski has quit [Quit: stkowski]
r0bby has quit [Ping timeout: 260 seconds]
browndawg has joined #ruby
guns has quit [Quit: guns]
<shevy>
breadtk I use apache + ruby .cgi scripts since a long time, was too lazy to switch to rails or rack or anything
banisterfiend has quit [Ping timeout: 244 seconds]
ibash has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
ibash has quit [Client Quit]
aharris6 has joined #ruby
rakl has quit [Quit: sleeping]
g-ram has joined #ruby
v0n has joined #ruby
havenn has quit [Remote host closed the connection]
drago757 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
joeycarmello has joined #ruby
zelo has joined #ruby
<zelo>
what does "<<" and "|" means in that code "[(bytes[6].ord << 8) | bytes[7].ord]" ? I was trying to google it but google escapes non letter characters
tombar has quit [Remote host closed the connection]
pavilionXP__ has joined #ruby
pavilionXP has quit [Read error: Connection reset by peer]
yacks has quit [Ping timeout: 248 seconds]
adurity has joined #ruby
L1 has quit [Read error: Connection reset by peer]
jackdanger has quit [Quit: Leaving.]
proxie has joined #ruby
mmitchell has quit [Remote host closed the connection]
artm has joined #ruby
peneconleche has joined #ruby
tjbiddle has quit [Ping timeout: 244 seconds]
cyong has quit [Quit: Leaving.]
ewag has quit [Ping timeout: 244 seconds]
<rking>
Is it only me or do you guys expect a default rake task to run the tests?
peneconleche|awa has quit [Ping timeout: 264 seconds]
mathie has quit [Ping timeout: 255 seconds]
rakl has joined #ruby
gabrielrotbart has quit [Remote host closed the connection]
jenrzzz has joined #ruby
cj3kim has joined #ruby
_nitti has joined #ruby
jackdanger has joined #ruby
jackdanger has quit [Client Quit]
muloka_ has joined #ruby
<Gate>
rking: that is normal and expected, IMO
<Gate>
I do that on all my projects and expect it when I pull a gem (and grit my teeth when it isn't)
<Spaceghostc2c>
rking: I always do a plain rake to run tests in every project, if it isn't present, I add a snarky commit. :D
<rking>
Cool.
michaelmartinez has joined #ruby
_nitti has quit [Ping timeout: 244 seconds]
jackdanger has joined #ruby
<Gate>
snarky commit is probably safer for your teeth
<ryanf>
it's not a convention that I really noticed for a long time
<ryanf>
because I always just went straight to running rake test or whatever
<ryanf>
but I always at least set it up now
rhys has joined #ruby
dagnachew has quit [Quit: Leaving]
tommyvyo has quit [Quit: Computer has gone to sleep.]
prettymuchbryce has quit [Quit: prettymuchbryce]
<rking>
Thanks all. I'm championing that as a standard vs showing the output of 'rake -T'
browndawg has quit [Quit: Leaving.]
daniel_hinojosa has quit [Ping timeout: 264 seconds]
aharris6 has quit [Remote host closed the connection]
zelo has quit [Ping timeout: 244 seconds]
muloka_ has quit [Remote host closed the connection]
Shrink has joined #ruby
Shrink has quit [Changing host]
Shrink has joined #ruby
Shrink has quit [Read error: Connection reset by peer]
burgestrand has quit [Quit: Leaving.]
BoomCow has joined #ruby
swarley-freenode has joined #ruby
eroc has quit [Quit: eroc]
kil0byte_ has joined #ruby
mikepack has quit [Remote host closed the connection]
dmiller has quit [Remote host closed the connection]
rohit has quit [Ping timeout: 244 seconds]
dmiller has joined #ruby
kil0byte has quit [Ping timeout: 264 seconds]
browndawg has joined #ruby
mrsolo has joined #ruby
mrsolo has quit [Client Quit]
banjara has left #ruby [#ruby]
yacks has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
ner0x has quit [Quit: Leaving]
scruple has joined #ruby
Takehiro has joined #ruby
rohit has joined #ruby
nga4 has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
daniel_hinojosa has joined #ruby
swex has joined #ruby
ananthakumaran has joined #ruby
andrew_ has joined #ruby
andrew_ is now known as andrewhl
margle has joined #ruby
xpen has quit [Ping timeout: 264 seconds]
<andrewhl>
Is there a better way to write: @registrations = params[:reg_id].map { |reg| Registration.find(reg.to_i) }; where the params returns ["1", "2"]
<andrewhl>
this might be more appropriately a Rails question, not sure.
bairui_ is now known as bairui
slainer68 has joined #ruby
ryanlecompte has joined #ruby
xpen has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
haxrbyte has joined #ruby
mjolk has quit [Quit: returning some videotapes]
headius has quit [Quit: headius]
haxrbyte_ has joined #ruby
generalissimo has joined #ruby
moted has quit [Ping timeout: 248 seconds]
v0n has quit [Remote host closed the connection]
odyssey4me has joined #ruby
nignaztic has quit [Ping timeout: 260 seconds]
slainer68 has quit [Ping timeout: 244 seconds]
haxrbyte has quit [Ping timeout: 250 seconds]
aaronmacy has quit [Quit: Leaving.]
mathie has joined #ruby
Mnkras-Laptop has quit [Quit: Mnkras-Laptop]
rippa has joined #ruby
jwang has quit [Quit: Leaving]
mattp_ has quit [Ping timeout: 250 seconds]
<waxjar>
andrewhl, most ORMs can do something like Registration.find(:id => Array).
<waxjar>
I'm not familiar with ActiveRecord, but I'm sure you can do something like Registration.find :id => params[:reg_id].map(&:to_i)
mattp_ has joined #ruby
mathie has quit [Ping timeout: 245 seconds]
wedtm|away is now known as wedtm
<andrewhl>
waxjar: I just tested it out. Registration.find(["1", "2"]) works perfectly
hemanth has quit [Read error: Connection reset by peer]
_alejandro has quit [Read error: Connection reset by peer]
_alejandro has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
Beoran__ has joined #ruby
rdark has joined #ruby
nari has quit [Ping timeout: 245 seconds]
Takehiro has quit [Remote host closed the connection]
kil0byte_ has joined #ruby
Takehiro has joined #ruby
tonini has joined #ruby
xpen has joined #ruby
hemanth has joined #ruby
roadt__ has quit [Read error: Connection reset by peer]
jrist-afk has quit [Ping timeout: 248 seconds]
Beoran_ has quit [Ping timeout: 245 seconds]
kil0byte has quit [Ping timeout: 252 seconds]
mathie has joined #ruby
jrist-afk has joined #ruby
arturaz has joined #ruby
rezzack has quit [Quit: Leaving.]
Takehiro has quit [Ping timeout: 260 seconds]
foohey has joined #ruby
arturaz has quit [Read error: Connection reset by peer]
Freaxmind has joined #ruby
Freaxmind has quit [Client Quit]
dmiller_ has quit [Remote host closed the connection]
Takehiro has joined #ruby
pyx has quit [Quit: WeeChat 0.3.9.2]
Markvilla has joined #ruby
Morkel has joined #ruby
Elhu has joined #ruby
arturaz has joined #ruby
Markvilla has quit [Client Quit]
fyolnish has quit [Remote host closed the connection]
odyssey4me has quit [Read error: Connection reset by peer]
odyssey4me has joined #ruby
odyssey4me has quit [Client Quit]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
cardoni has joined #ruby
oxyn_ has joined #ruby
mahmoudimus has joined #ruby
tomsthumb has quit [Quit: Leaving.]
tomsthumb has joined #ruby
lolcathost has quit [Ping timeout: 255 seconds]
morf has joined #ruby
oxyn has quit [Ping timeout: 240 seconds]
tomsthumb has quit [Client Quit]
hotovson has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
BiHi has joined #ruby
blaxter has joined #ruby
robbyoconnor has joined #ruby
robotmay has joined #ruby
jimeh has joined #ruby
lolcathost has joined #ruby
<witchdoc>
hi all
<jsilver>
welcome to the Temple of Ruby
dpg has left #ruby [#ruby]
Virunga has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
jackdanger has quit [Quit: Leaving.]
vlad_starkov has joined #ruby
oxyn_ has quit [Ping timeout: 248 seconds]
Azure has quit [Ping timeout: 245 seconds]
Slivka has joined #ruby
Slivka has quit [Read error: Connection reset by peer]
oxyn has joined #ruby
L1 has quit [Quit: Quitter]
_nitti has joined #ruby
doritostains has joined #ruby
arturas_ has joined #ruby
Azure has joined #ruby
arturaz has quit [Read error: Connection reset by peer]
hyperboreean has quit [Read error: Operation timed out]
tobinharris has joined #ruby
hyperboreean has joined #ruby
oxyn_ has joined #ruby
_nitti has quit [Ping timeout: 244 seconds]
cascalheira has joined #ruby
cascalheira has quit [Client Quit]
rakunHo has quit [Remote host closed the connection]
oxyn has quit [Ping timeout: 264 seconds]
pen has quit [Remote host closed the connection]
marr has joined #ruby
xmj has joined #ruby
<xmj>
Hi.
<xmj>
I'm trying to install the glib2-gem on FreeBSD, usinv rvm/ruby1.9.2
pen has joined #ruby
jds has quit [Remote host closed the connection]
<xmj>
It miserably fails, not finding the includes in /usr/local/include/ nor the libs in /usr/local/lib/. After I fix the Makefile in gems/glib2-1.1.6/ext/glib2, it works (=make compiles fine)
<xmj>
How can I repack the gem and install it?
<xmj>
Also, why's there no gemspec coming with it?
banisterfiend has joined #ruby
nomenkun has joined #ruby
xpen has quit [Ping timeout: 244 seconds]
nomenkun has quit [Remote host closed the connection]
nomenkun has joined #ruby
lolcathost has quit [Ping timeout: 252 seconds]
* artm
is confused
<artm>
I'm using capybara and i needed to make it wait for something
timonv has quit [Remote host closed the connection]
<artm>
I used "wait_until()" method following some snipped I found on the web
<artm>
then I decided to understand what am i doing
<artm>
and I can't find whose method is wait_until
<artm>
I can't find it in capybara api docs
grzywacz has joined #ruby
cdt_ has joined #ruby
<artm>
oh
<artm>
just found it
Zai00 has joined #ruby
<artm>
i was reading wrong docs :)
yacks has quit [Ping timeout: 244 seconds]
browndawg has quit [Ping timeout: 244 seconds]
slainer68 has joined #ruby
LouisGB has joined #ruby
kil0byte has joined #ruby
timonv has joined #ruby
<xmj>
how can I repack a gem that failed to install (fixed bug) that has no gemfile ?
eka has joined #ruby
kil0byte_ has quit [Ping timeout: 248 seconds]
foohey has quit [Quit: Quitte]
polymar has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
jenrzzz has joined #ruby
foohey has joined #ruby
codecaster has joined #ruby
Synthead has quit [Quit: p33 ba115]
perun_ has quit [Read error: Operation timed out]
sepp2k has quit [Remote host closed the connection]
workmad3 has joined #ruby
chussenot has joined #ruby
elaptics`away is now known as elaptics
timmow has joined #ruby
yakko has joined #ruby
lkba has quit [Quit: Bye]
browndawg has joined #ruby
KevinSjoberg has joined #ruby
matrixise has joined #ruby
u89 has joined #ruby
u89 has quit [Remote host closed the connection]
polymar_ has joined #ruby
polymar has quit [Read error: Connection reset by peer]
berserkr has joined #ruby
u89 has joined #ruby
F1skr has joined #ruby
tk__ has joined #ruby
perun_ has joined #ruby
browndawg has left #ruby [#ruby]
regedarek has quit [Ping timeout: 264 seconds]
u89 has quit [Remote host closed the connection]
matrixise has quit [Ping timeout: 244 seconds]
polymar_ has quit [Remote host closed the connection]
codecaster has quit [Quit: Leaving.]
matrixise has joined #ruby
Gajanan has joined #ruby
oxyn_ has quit [Ping timeout: 264 seconds]
regedarek has joined #ruby
oxyn has joined #ruby
Xeago has joined #ruby
Vainoharhainen has joined #ruby
polymar has joined #ruby
kil0byte_ has joined #ruby
Proshot has quit [Ping timeout: 265 seconds]
lolcathost has joined #ruby
kil0byte has quit [Ping timeout: 260 seconds]
bhavesh_a_p has quit [Ping timeout: 248 seconds]
KevinSjoberg has quit [Ping timeout: 252 seconds]
pavilionXP__ has quit [Ping timeout: 244 seconds]
<JonnieCache>
xmj: its the gemspec you need to install it, not the gemfile
<JonnieCache>
maybe you meant that?
<xmj>
yes
<xmj>
doesn\t help if it's not there.
<xmj>
hm.
polymar has quit [Remote host closed the connection]
niklasb has joined #ruby
krz has quit [Quit: krz]
niklasb has quit [Client Quit]
Markvilla has joined #ruby
altious has joined #ruby
niklasb has joined #ruby
hoelzro is now known as hoelzro|away
_nitti has joined #ruby
browndawg has joined #ruby
hoelzro|away is now known as hoelzro
Markvilla has quit [Ping timeout: 260 seconds]
_nitti has quit [Ping timeout: 244 seconds]
polymar has joined #ruby
tonini has quit [Remote host closed the connection]
pen has quit [Read error: Connection reset by peer]
<apeiros_>
kandinski: did you check the 'Issues' section on the github project?
Iszak has joined #ruby
kil0byte_ has quit [Ping timeout: 255 seconds]
<kandinski>
apeiros_: embarraslingly, no
<apeiros_>
if not, I'd add it there (after verifying that you indeed followed the instructions by the letter… I noticed people tend to skip steps and then wonder)
<kandinski>
apeiros_: thanks, good idea.
jds__ has quit [Ping timeout: 252 seconds]
maasha has joined #ruby
chussenot has quit [Quit: chussenot]
<kandinski>
hm, for a newbie, RVM or rbenv?
<maasha>
guys I need some help with organizing my code. I get unwanted method name collision. Here is my layout: http://pastie.org/5483165 - what should I do instead?
gyre007 has joined #ruby
cassianoleal has joined #ruby
cassianoleal has left #ruby [#ruby]
pavilionXP has joined #ruby
adeponte has quit [Remote host closed the connection]
RickSchmitty has joined #ruby
pavilionXP has quit [Max SendQ exceeded]
topek has joined #ruby
pavilionXP has joined #ruby
pavilionXP has quit [Max SendQ exceeded]
nemesit has quit [Quit: Leaving...]
altious has quit [Read error: Connection reset by peer]
pavilionXP has joined #ruby
altious has joined #ruby
grzywacz has quit [Ping timeout: 260 seconds]
pavilionXP has quit [Max SendQ exceeded]
pavilionXP has joined #ruby
pavilionXP has quit [Max SendQ exceeded]
pavilionXP has joined #ruby
pavilionXP has quit [Max SendQ exceeded]
tvw has joined #ruby
heftig has quit [Quit: leaving]
altious has quit [Ping timeout: 255 seconds]
elkclone has quit [Quit: It's never too late to unplug and run.]
schaary has quit [Quit: Leaving.]
preller has quit [Ping timeout: 245 seconds]
cdt_ has quit [Quit: Ex-Chat]
manizzle has quit [Ping timeout: 264 seconds]
<maasha>
.oO(where is everyone?)
cdt has joined #ruby
<JonnieCache>
lol the windows console cant display unicode
<JonnieCache>
presumably powershell does it though and powershell shits on the unix shell so we shouldnt be so smug
KevinSjoberg has quit [Ping timeout: 248 seconds]
<JonnieCache>
kandinski: rbenv
<JonnieCache>
imo
<kandinski>
ta
tobinharris has quit [Quit: tobinharris]
u89 has joined #ruby
hamed_r has quit [Quit: Leaving]
altious has joined #ruby
hoelzro|away is now known as hoelzro
Zai00 has quit [Quit: Zai00]
bluOxigen has quit [Ping timeout: 255 seconds]
polymar has quit [Remote host closed the connection]
tombar has joined #ruby
s1n4 has joined #ruby
polymar has joined #ruby
polymar_ has joined #ruby
samphippen has joined #ruby
JohnBat26 has joined #ruby
malkomalko has joined #ruby
hola123 is now known as arkiver
polymar has quit [Ping timeout: 255 seconds]
daniel_- has joined #ruby
_nitti has joined #ruby
kil0byte has quit [Remote host closed the connection]
<kandinski>
I have installed rbenv and ruby-build according to sstephenson's instructions on the respective github projects, but 'rbenv install' still yields a 'no such command' error. I did edit my ~/bash_profile and restart the shell with 'exec $SHELL'
cascalheira has joined #ruby
buibex has joined #ruby
_nitti has quit [Ping timeout: 244 seconds]
kil0byte has joined #ruby
dankest has quit [Quit: Leaving...]
pen has quit [Read error: Connection reset by peer]
<Xeago>
kandinski: what does which rbenv tell you?
pcarrier has joined #ruby
pen has joined #ruby
<kandinski>
rbenv installed in ~/.rbenv from github, with ruby-build installed in ~/.rbenv/plugins/ruby-build also from github, tells me exactly 'rbenv: no such command 'install'
<Xeago>
kandinski: what does 'which rbenv' tell you?
<kandinski>
Xeago, you are right. It says /usr/bin/rbenv
<kandinski>
grumble, thanks
<Xeago>
is /usr/bin in your path?
<Xeago>
if you are under OSX it is recommended to install via homebrew
<kandinski>
I am under Ubuntu 12.04
tobinharris has joined #ruby
<maasha>
macport is nice
zigomir has quit [Quit: zigomir]
<Xeago>
maasha: yuck
<Xeago>
dependency hell there
Solnse has quit [Ping timeout: 260 seconds]
buibex has quit [Remote host closed the connection]
ikaros has joined #ruby
<Xeago>
dependencies are way too strict there
<maasha>
Xeago: I'm a sucker for apt-get - but I also came from Debian ...
<Xeago>
ended up with 4 gig of compilers
<Xeago>
which is totally unnecessary
<maasha>
and I luve really old packages. vintage packages, uuuuhmm :o)
<Xeago>
nowadays if I need stuff from ports, and I can't get it anywhere else, I use the portsfile to port myself
eka has quit [Remote host closed the connection]
Virunga has quit [Remote host closed the connection]
tobinharris has quit [Quit: tobinharris]
oxyn_ has joined #ruby
tobinharris has joined #ruby
sandman has joined #ruby
oxyn_ has quit [Client Quit]
nkts has joined #ruby
buibex has joined #ruby
nkts has quit [Remote host closed the connection]
oxyn has quit [Ping timeout: 244 seconds]
bkzl has joined #ruby
nomenkun_ has joined #ruby
nomenkun has quit [Read error: Operation timed out]
stnly has joined #ruby
aruntomar has joined #ruby
bkzl has quit [Client Quit]
arkiver has quit [Quit: Leaving]
grzywacz has joined #ruby
bkzl has joined #ruby
Naeblis has joined #ruby
kennyvb has quit [Remote host closed the connection]
nemesit has joined #ruby
lolcathost has quit [Ping timeout: 248 seconds]
answer_42 has joined #ruby
KevinSjoberg has joined #ruby
kil0byte has quit [Ping timeout: 255 seconds]
timonv has quit [Remote host closed the connection]
oxyn has joined #ruby
kil0byte has joined #ruby
Zai00 has joined #ruby
daniel_- has quit [Ping timeout: 244 seconds]
nyrb has quit [Read error: Connection reset by peer]
nyrb has joined #ruby
heftig has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
banisterfiend has quit [Read error: Connection reset by peer]
Rix has quit [Ping timeout: 250 seconds]
kil0byte_ has joined #ruby
hamed_r has joined #ruby
jprovazn has quit [Quit: Leaving]
kil0byte has quit [Ping timeout: 260 seconds]
bier has quit [Ping timeout: 248 seconds]
byennen has joined #ruby
wedtm|away is now known as wedtm
bier_ has quit [Ping timeout: 260 seconds]
blaxter has quit [Quit: foo]
emma has joined #ruby
doritostains has quit [Ping timeout: 244 seconds]
slainer68 has quit [Remote host closed the connection]
emma has quit [Client Quit]
emma has joined #ruby
u89 has quit [Remote host closed the connection]
byennen has quit [Remote host closed the connection]
ttt has quit [Remote host closed the connection]
byennen has joined #ruby
oxyn has quit [Ping timeout: 244 seconds]
wallerdev has quit [Quit: wallerdev]
byennen has quit [Read error: Connection reset by peer]
byennen has joined #ruby
wermel has joined #ruby
Averna has quit [Quit: Leaving.]
zz_chrismcg is now known as chrismcg
blaxter has joined #ruby
_nitti has joined #ruby
mguy has quit [Ping timeout: 244 seconds]
bier_ has joined #ruby
bier has joined #ruby
Arafangion has joined #ruby
oxyn has joined #ruby
<Arafangion>
Maaan, why is win32 so darn complicated. :(
timonv has joined #ruby
Nisstyre-laptop has quit [Ping timeout: 260 seconds]
oxyn has quit [Client Quit]
chussenot has joined #ruby
<Arafangion>
Also, why might I need to put my .dll's in the same directory as *ruby.exe* rather than my script when calling them via COM?
robbyoconnor has quit [Ping timeout: 255 seconds]
_nitti has quit [Ping timeout: 244 seconds]
<Arafangion>
(I suspect that the .dll loads fine, it's the dependencies of THAT .dll, that need to be next to ruby.exe)
KevinSjoberg has quit [Ping timeout: 255 seconds]
<Xeago>
because the ruby executable interprets source code. It doesn't load source code as executable
<Xeago>
the path of the process is the path to ruby.exe, and it needs to be adjacent to that
<Arafangion>
Xeago: So it's normal to put any .dll's into C:/Ruby192/bin?
<Xeago>
wouldn't say it is normal :)
<Arafangion>
Xeago: abnormal, then? :)
<Xeago>
I personally wouldn't do ruby under windows, but I'd say it works(tm)
<Arafangion>
Xeago: Some of us don't have that option, alas.
<Xeago>
don't have the option of virtualizing a linux box?
<Xeago>
vagrant is cool
<Arafangion>
Xeago: The mroe I learn about win32, the more insane it just seems.
<Arafangion>
Xeago: Well, I actually need to use a .dll, that just happens to be .NET 4 and just happens to be designed for use as a side-by-side assembly.
<Xeago>
Arafangion: it only seems sane for visual inserthere# languages
<Arafangion>
Xeago: Which is my next challenge... I want to figure out hwo to get it working as a side-by-side assembly.
mathie has quit [Quit: Sleeping...]
spike|spiegel has quit [Quit: WeeChat 0.3.9.2]
<Arafangion>
Xeago: If you look deep enough, it's a bit insane for visual# frameworks, too, but it's a nice facade.
mguy has joined #ruby
<Xeago>
uhu, yea :)
<Arafangion>
I was tempted to try IronRuby, actually, but the rest of the code is Ruby 1.9.2
<Arafangion>
So, I'm /hoping/ that COM is the path of least resistance.
<Xeago>
I think you can run all your 1.9.2 code in IR right?
<Xeago>
COM is old
<Xeago>
like, really old
<Xeago>
and it leaks, 99% of the time
<Arafangion>
Sadly, COM is also new. Really new.
<Xeago>
:O
Markvilla has joined #ruby
<Arafangion>
It's pretty much the only way to interact with the .NET languages.
<Arafangion>
(From outwide of the .NET ecosystem)
<Arafangion>
*outside
gbchaosmaster has quit [Ping timeout: 252 seconds]
<Arafangion>
I've done lots of COM in python, actually. COM is actually pretty good if you're in sensible stuff.
<Arafangion>
But haven't done side-by-side before.
wermel has quit [Remote host closed the connection]
hotovson has quit [Remote host closed the connection]
bkzl has quit [Quit: Computer has gone to sleep.]
margle has quit [Ping timeout: 244 seconds]
<Arafangion>
Xeago: It's ironic, but in this day and age, I _still_ feel that C, and maybe C++, are the true portable languages.
<Arafangion>
A C library is trivial to hook into regardless of the host language/framework.
jenrzzz has quit [Ping timeout: 255 seconds]
<Xeago>
Arafangion: c more so than c++ tho
CamonZ has joined #ruby
<Arafangion>
More stable ABI, indeed.
bluOxigen has joined #ruby
<Arafangion>
(And they tend to be far simpler)
daniel_- has joined #ruby
bkzl has joined #ruby
Takehiro has quit [Remote host closed the connection]
<Arafangion>
It's a bit crazy that it's frequently easier to embed a scripting language, than to call into .NET
uris has joined #ruby
KevinSjoberg has joined #ruby
<Xeago>
there's stuff like Script.NET
<Xeago>
and some similair projects
<Xeago>
that allow you to write in any of clr languages, in a scripting manner
<Xeago>
which can be hotloaded
<Arafangion>
You can do that with .net itself, no issues there.
<Xeago>
yes but have you tried facilitating it yourself?
<Arafangion>
Maybe I should forget COm and make a helper application, and use pipes.
<Arafangion>
ANd yes, I have.
<Xeago>
yuck, was it safely implemented, think of threadsafety and compiling errors, typing errors?
slainer68 has joined #ruby
<Arafangion>
Well, it wasn't sandboxed, if that's what you meant.
machty has joined #ruby
<Arafangion>
I could've considered putting it into it's own app domain, but meh.
hotovson has joined #ruby
Asher has quit [Quit: Leaving.]
browndawg has quit [Quit: Leaving.]
tombar has quit [Remote host closed the connection]
verto|off is now known as verto
Asher has joined #ruby
tombar has joined #ruby
mmitchell has joined #ruby
kennyvb has joined #ruby
lolcathost has joined #ruby
tombar has quit [Remote host closed the connection]
clocKwize has quit [Read error: Connection reset by peer]
Virunga has joined #ruby
aetcore1 has quit [Ping timeout: 244 seconds]
pac1 has quit [Remote host closed the connection]
slainer68 has quit [Ping timeout: 264 seconds]
KevinSjoberg has quit [Ping timeout: 265 seconds]
cmarques has joined #ruby
Jasko has quit [Ping timeout: 250 seconds]
banister_ has joined #ruby
Morkel has quit [Quit: Morkel]
pcarrier has quit []
rhizo has joined #ruby
byennen has quit [Remote host closed the connection]
<falkenbt>
the loop is a simple for loop like "servers = @properties[:servers] \ for server in servers field :#{server}, :alias => "User CPU for #{server}", :data => "machines.*.#{server}.cpu.user" \end"
mmitchell has joined #ruby
<falkenbt>
this gives me an error: SyntaxError - (eval):30: syntax error, unexpected $end, expecting keyword_end
<falkenbt>
I would like to know where to start to enable the usage of loop in the DSL / files
Uranio has quit [Quit: WeeChat 0.3.8]
samphippen has quit [Quit: Computer has gone to sleep.]
bkzl has quit [Client Quit]
Uranio has joined #ruby
vasile has joined #ruby
pereira_alex has joined #ruby
<pereira_alex>
hi
<_axx>
hey guys, i have a small stats tool for some of our servers and i want to wrap it in some kind of container, so i can easily copy it on a server and run it. would it be possible to wrap a ruby app inside a java container (or something like that) and run that with jruby?
<shevy>
hmmm
mmitchel_ has joined #ruby
<Xeago>
_axx: pack it as a gem
<Xeago>
and gem install it?
<shevy>
perhaps the guys on #jruby know more, but it should be easy when you can work in jruby
Rix has joined #ruby
<pereira_alex>
is it possible to code on ruby and develop something like on ruby on rails , but use some dotnet dll's ?
<shevy>
all objects are available for you in jruby or?
Nick|laptop has joined #ruby
mmitchell has quit [Ping timeout: 244 seconds]
<_axx>
yes, i have a ruby app that uses jruby for threading etc.
<falkenbt>
any idea how "self.instance_eval(File.read(@file))" treats things like loops in the @file?
jeffreybaird_ has joined #ruby
jeffreybaird has quit [Read error: Connection reset by peer]
<ner0x>
In your opinion (#ruby that is) do you feel codeschool.com and railscasts.com are worth purchasing?
<Xeago>
I think railscasts.com is worth it, even if it is sometimes nestled within rails more often than not it is about something you can use in rails as well as outside of rails
pen has quit [Remote host closed the connection]
<Xeago>
and when it is in rails, it is often very good to see the design behind it
<Xeago>
I've never done rails
<Xeago>
but I am subscribed to railscasts
pen has joined #ruby
<m4rtijn>
so am i
<eka>
ner0x: I liked codeschool very much... I just used it 2 months and did most of the tutorials
Coolhand|laptop has joined #ruby
<ner0x>
Those books, web-tutorials, and two websites should give me enough to do for a while.
<eka>
ner0x: and for the price I think is reasonable... and also they have screencasts you can download a la peepcode
buibex has quit [Remote host closed the connection]
<ner0x>
peepcode? lol
<eka>
ner0x: peepcode.com
<eka>
ner0x: you don't know it?
tk__ has quit [Quit: ばいばい]
jeffreybaird has joined #ruby
byennen has joined #ruby
jeffreybaird_ has quit [Read error: Operation timed out]
nerd has joined #ruby
havenn has joined #ruby
sepp2k has joined #ruby
schaary has joined #ruby
<ner0x>
eka: Never heard of it.
byennen has quit [Ping timeout: 240 seconds]
tombar_ has joined #ruby
mathie has quit [Quit: Sleeping...]
[Neurotic] has quit [Remote host closed the connection]
Goles has quit [Remote host closed the connection]
fyolnish has joined #ruby
tombar has quit [Ping timeout: 252 seconds]
Goles has joined #ruby
<ner0x>
eka: Holy shit peepcode is awesome.
kil0byte_ has joined #ruby
samphippen has joined #ruby
iamjarvo has quit [Quit: Leaving.]
joofsh has joined #ruby
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
slainer6_ has joined #ruby
kil0byte has quit [Ping timeout: 264 seconds]
sailias has quit [Quit: Leaving.]
buibex has joined #ruby
sailias has joined #ruby
_alejandro has quit [Remote host closed the connection]
jlast has joined #ruby
zommi has quit [Quit: Leaving.]
stopbit has joined #ruby
slainer68 has quit [Ping timeout: 244 seconds]
zelo has joined #ruby
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
jackbrownhf has quit [Read error: Connection reset by peer]
_solomon has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
kil0byte has joined #ruby
kil0byte_ has quit [Ping timeout: 255 seconds]
nari has quit [Ping timeout: 244 seconds]
g0bl1n has joined #ruby
Proshot is now known as Proshot-Sinterkl
Proshot-Sinterkl is now known as Proshot-Sint
whowantstolivefo has quit [Remote host closed the connection]
maesbn has quit [Remote host closed the connection]
eldariof has quit [Ping timeout: 265 seconds]
Takehiro has joined #ruby
ddd has joined #ruby
<ner0x>
opts = { something: 'value' } automatically makes opts[:something] not opts['something']. Interesting
niklasb has quit [Quit: WeeChat 0.3.9.2]
<waxjar>
it's syntactic sugar in 1.9 for { :something => 'value' }
blaxter has quit [Ping timeout: 246 seconds]
<atmosx>
I think you can also do { something: :value}
<waxjar>
correct
devdazed has quit [Ping timeout: 245 seconds]
pencilcheck has joined #ruby
andrewhl has joined #ruby
bbttxu has quit [Quit: bbttxu]
Takehiro has quit [Ping timeout: 240 seconds]
Virunga has quit [Remote host closed the connection]
devdazed has joined #ruby
u89 has quit [Remote host closed the connection]
BoomCow has joined #ruby
mikepack has joined #ruby
pen has quit [Ping timeout: 260 seconds]
Rix has quit [Ping timeout: 244 seconds]
BoomCow has quit [Client Quit]
mmitchel_ has quit [Remote host closed the connection]
jackbrownhf has joined #ruby
tjbiddle_ has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
daniel_- has quit [Ping timeout: 252 seconds]
mmitchell has joined #ruby
Nick|laptop has joined #ruby
bigmac has quit [Remote host closed the connection]
xyzodiac has joined #ruby
generalissimo has joined #ruby
tjbiddle has quit [Ping timeout: 244 seconds]
tjbiddle_ is now known as tjbiddle
paolooo has quit [Quit: Page closed]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
Nick|laptop has quit [Remote host closed the connection]
u89 has joined #ruby
matrixise has quit [Ping timeout: 252 seconds]
jdv79 has left #ruby [#ruby]
tombar_ has quit [Remote host closed the connection]
_nitti has quit [Remote host closed the connection]
u89 has quit [Remote host closed the connection]
philips_ has quit [Excess Flood]
_nitti has joined #ruby
u89 has joined #ruby
sandman has quit [Ping timeout: 245 seconds]
Rix has joined #ruby
gmci has joined #ruby
gmci has quit [Client Quit]
xclite has joined #ruby
philips_ has joined #ruby
morf has quit [Quit: eof]
u89 has quit [Remote host closed the connection]
weeb1e_ has quit [Read error: Connection reset by peer]
centipedefarmer has joined #ruby
weeb1e has joined #ruby
Zolrath has quit []
nateberkopec has joined #ruby
<maxmanders>
Anybody familiar with the aws sdk?
gmci has joined #ruby
gmci is now known as Guest65243
jekotia has joined #ruby
pereira_alex has quit [Quit: Konversation terminated!]
aganov has quit [Remote host closed the connection]
bier has quit [Quit: Ex-Chat]
<ner0x>
maxmanders: Command line or ruby?
<ner0x>
maxmanders: I figure ruby but I've used the aws-ec2 command line quite a bit.
k611 has quit [Ping timeout: 255 seconds]
<ner0x>
Also, anyone know how you can reorder the elements in an array?
andrewhl has quit [Remote host closed the connection]
u89 has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
u89 has quit [Remote host closed the connection]
Guest65243 has quit [Ping timeout: 248 seconds]
xyzodiac has quit [Quit: Computer has gone to sleep.]
<maxmanders>
ner0x: ruby - used the command line too.
<maxmanders>
ner0x: Having trouble getting the autoscale module to work with eu-west-1; seems to default to us-east-1 and can't figure out what hash value to pass in.
hoelzro is now known as hoelzro|away
<maxmanders>
Tried constructing asc = AWS::AutoScaling::Client.new(:ec2_endpoint => 'ec2.eu-west-1.amazonaws.com') but appears to have no effect.
samphippen has quit [Quit: Computer has gone to sleep.]
jackdanger has joined #ruby
gmci has joined #ruby
Ronnie has joined #ruby
gmci is now known as Guest66847
schaary has quit [Quit: Leaving.]
fmcgeough has joined #ruby
bier has joined #ruby
soyapi has joined #ruby
Ronnie has left #ruby [#ruby]
g-ram has quit [Quit: Computer has gone to sleep.]
bradhe has joined #ruby
bier_ has quit [Quit: Ex-Chat]
Nick|laptop has joined #ruby
daniel_hinojosa has joined #ruby
lastk has quit [Quit: Leaving]
philcrissman has joined #ruby
u89 has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 244 seconds]
nemesit has joined #ruby
lampe2 has joined #ruby
adac has quit [Quit: Leaving]
u89 has joined #ruby
peneconleche|awa has quit [Quit: Leaving...]
juri_over9000 has joined #ruby
guns has joined #ruby
lampe21 has quit [Ping timeout: 240 seconds]
dankest has joined #ruby
xyzodiac has joined #ruby
rasbonics has joined #ruby
arya has quit [Ping timeout: 244 seconds]
mahmoudimus has joined #ruby
johnmilton has joined #ruby
rakl has quit [Quit: sleeping]
xyzodiac has quit [Max SendQ exceeded]
GitNick has joined #ruby
leonardorb has joined #ruby
xyzodiac has joined #ruby
xyzodiac has quit [Max SendQ exceeded]
dmiller has quit [Ping timeout: 246 seconds]
geekbri has joined #ruby
xyzodiac has joined #ruby
hoelzro|away is now known as hoelzro
rakuN has joined #ruby
dr_bob has joined #ruby
xyzodiac has quit [Max SendQ exceeded]
xyzodiac has joined #ruby
jharris has quit [Quit: WeeChat 0.3.8]
arietis has joined #ruby
<ner0x>
Is there no var++ equivalent?
stkowski has joined #ruby
havenn has joined #ruby
dmiller has joined #ruby
<hoelzro>
ner0x: nope
<hoelzro>
just var += 1
chimkan has quit [Quit: chimkan]
<ner0x>
Interesting.
jeffreybaird has quit [Quit: jeffreybaird]
davidcelis has joined #ruby
daniel_- has joined #ruby
huoxito has joined #ruby
alanp has quit [Remote host closed the connection]
chimkan has joined #ruby
samphippen has joined #ruby
browndawg1 has joined #ruby
joshman_ has joined #ruby
browndawg has quit [Quit: Leaving.]
vlad_starkov has joined #ruby
baroquebobcat has joined #ruby
nwertman has joined #ruby
browndawg1 has quit [Client Quit]
browndawg has joined #ruby
jrajav has joined #ruby
alanp has joined #ruby
aldodelgado has joined #ruby
ryanlecompte has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
sailias has quit [Quit: Leaving.]
ryanlecompte has joined #ruby
JohnBat26 has quit [Ping timeout: 252 seconds]
buibex has quit [Remote host closed the connection]
joeycarmello has joined #ruby
arya has joined #ruby
arya has quit [Client Quit]
bradhe has joined #ruby
u89 has quit [Remote host closed the connection]
Nisstyre-laptop has joined #ruby
chussenot_ has joined #ruby
arya has joined #ruby
andrewhl has joined #ruby
ryannielson has left #ruby [#ruby]
chussenot has quit [Ping timeout: 246 seconds]
chussenot_ is now known as chussenot
workmad3 has quit [Ping timeout: 255 seconds]
alexim has joined #ruby
freakazoid0223 has joined #ruby
froy has joined #ruby
alx- has joined #ruby
soyapi has quit [Quit: Ex-Chat]
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
altious2 has quit [Ping timeout: 255 seconds]
Nick|laptop has quit [Ping timeout: 240 seconds]
alvaro_o has joined #ruby
xyzodiac has quit [Ping timeout: 256 seconds]
Neomex has joined #ruby
moshee has quit [Ping timeout: 240 seconds]
Neomex has quit [Client Quit]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
BoomCow has joined #ruby
chimkan has quit [Quit: chimkan]
iamjarvo has quit [Quit: Leaving.]
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
m4rtijn has quit [Quit: Verlassend]
nik_-_ has joined #ruby
Takehiro has joined #ruby
alx- has quit [Quit: alx-]
slainer6_ has quit [Remote host closed the connection]
g-ram has joined #ruby
chimkan has joined #ruby
carlyle has quit [Remote host closed the connection]
jackdanger has quit [Quit: Leaving.]
BiHi has quit [Quit: Computer has gone to sleep]
Mnkras-Laptop has quit [Quit: Mnkras-Laptop]
slash_nick has joined #ruby
Aiur has joined #ruby
slash_ni1k has joined #ruby
browndawg has quit [Quit: Leaving.]
xyzodiac has joined #ruby
<slash_nick>
Does anyone know of a gem that wraps some API (provides methods to reach endpoints) AND logs those request/response pairs in a database?
<slash_nick>
I don't want to use it, I just want to see how it's been done before... if it's been done publically
aldodelgado has quit [Quit: aldodelgado]
carlyle has joined #ruby
ExxKA has quit [Ping timeout: 244 seconds]
nat2610 has joined #ruby
zigomir has joined #ruby
slash_ni1k has quit [Client Quit]
baroquebobcat has quit [Quit: baroquebobcat]
zigomir has quit [Client Quit]
chussenot has quit [Quit: chussenot]
cdt has quit [Ping timeout: 252 seconds]
pu22l3r has quit [Remote host closed the connection]
roger_padactor has joined #ruby
iamjarvo has joined #ruby
haxrbyte_ has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby
jrajav has quit [Quit: I tend to be neutral about apples]
carlyle has quit [Remote host closed the connection]
<roger_padactor>
hello, new to ruby. I'm trying to require a gem but it fails to load it. so then i was reading about it not working and i tried ruby -rubygems -e 'require "sproutvideo-rb"' still get the error gem_original_require': no such file to load
nik_-_ has quit [Quit: nik_-_]
sepp2k has quit [Remote host closed the connection]
g0bl1n has quit [Ping timeout: 244 seconds]
wallerdev has quit [Ping timeout: 260 seconds]
<slash_nick>
roger_padactor: what is the file path + name you want to require?
<roger_padactor>
i installed the sproutvideo-rb gem.
jharris has joined #ruby
<slash_nick>
either the gem isn't installed, or the file you need to require is named something else
timonv has quit [Remote host closed the connection]
<roger_padactor>
i did a gem list and it showed up
<slash_nick>
ok, so go to $GEM_HOME, find that gem, and see if if there's a file called "sproutvideo-rb.rb" in...probably lib
Paradox has quit [Read error: Operation timed out]
kil0byte_ has joined #ruby
allyraza has joined #ruby
joeycarmello has quit [Remote host closed the connection]
kil0byte_ has quit [Remote host closed the connection]
Takehiro has quit [Ping timeout: 265 seconds]
<flip_digits>
I'm trying to read the docs can someone explain what this parameter list means? fetch( key [,default])
<slash_nick>
roger_padactor: is it working now? the gem is called repo is named sproutvideo-rb but the file that requires all its classes & dependencies is called named differently
ltsstar has quit [Quit: ltsstar]
<roger_padactor>
i tried require 'sproutvideo' too.. Im looking for the gem location on mountain lion.
<waxjar>
dankest, may i ask what are you're trying to do?
Nick|laptop has joined #ruby
khimera has joined #ruby
dmiller has quit [Remote host closed the connection]
<slash_nick>
dankest: you'd wanna pass the instance in to ObjectB.new(clone_from: ObjectA.new).... define what to do with a clone_from object in the classes initialize method
elaptics is now known as elaptics`away
<slash_nick>
babonk: make it set an instance variable instead... @page ?
LucidDreamZzZ has joined #ruby
joeycarmello has joined #ruby
<slash_nick>
man i'm full of typos today... they just opened a "World of Beer" in town, and sheesh...
lampe2 has quit [Ping timeout: 246 seconds]
Xeago_ has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
joeycarmello has quit [Remote host closed the connection]
alex__c2022 has joined #ruby
mikepack has quit [Remote host closed the connection]
twopoint718 has joined #ruby
twopoint718 has quit [Changing host]
twopoint718 has joined #ruby
peneconleche is now known as peneconleche|awa
samphippen has joined #ruby
chimkan__ has joined #ruby
chimkan__ has quit [Remote host closed the connection]
chimkan___ has joined #ruby
cardoni has joined #ruby
lampe2 has joined #ruby
moos3 has quit [Remote host closed the connection]
cakehero has quit [Quit: Computer has gone to sleep.]
bricker has joined #ruby
<roger_padactor>
so I'm using an api that returns a hash and I tried bla["total"] didn't work then i tried bla[:total] and it worked. what is the difference?
jeffreybaird has joined #ruby
banjara has joined #ruby
_mdp_ has joined #ruby
dmiller has joined #ruby
Zai00 has quit [Quit: Zai00]
freakazoid0223 has joined #ruby
seich is now known as Seich
Xeago_ has quit [Ping timeout: 246 seconds]
GowGuy47 has quit [Remote host closed the connection]
mneorr has quit [Remote host closed the connection]
mikepack has joined #ruby
pcarrier has joined #ruby
slainer68 has quit [Remote host closed the connection]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
iamjarvo1 has quit [Quit: Leaving.]
timonv has joined #ruby
xyzodiac has joined #ruby
babonk_ has joined #ruby
jackbrownhf has joined #ruby
jackbrownhf has quit [Changing host]
jackbrownhf has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
babonk has quit [Ping timeout: 260 seconds]
babonk_ is now known as babonk
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
nomenkun has joined #ruby
mneorr has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
ikaros_ has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
ikaros has quit [Ping timeout: 260 seconds]
cirwin has joined #ruby
ikaros has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
jlast has quit [Remote host closed the connection]
rakm has quit [Max SendQ exceeded]
jds_ has joined #ruby
philcrissman has quit [Remote host closed the connection]
rakm has joined #ruby
ikaros has quit [Read error: Connection reset by peer]
rakm has quit [Max SendQ exceeded]
ikaros has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
Uranio has quit [Quit: WeeChat 0.3.8]
ikaros_ has quit [Ping timeout: 260 seconds]
freakazoid0223 has quit [Quit: Leaving]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
horrror has quit [Quit: horrror]
Nick|laptop has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
jlast has joined #ruby
theRoUS has quit [Ping timeout: 260 seconds]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
havenn has quit [Read error: Connection reset by peer]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
danneu has quit [Quit: WeeChat 0.3.8]
buibex has joined #ruby
havenn has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
kil0byte has quit [Ping timeout: 255 seconds]
gbchaosmaster has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
snearch has quit [Quit: Verlassend]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
dmiller has quit [Remote host closed the connection]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
originale has quit [Ping timeout: 246 seconds]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
chussenot has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
chussenot has quit [Client Quit]
tvw has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
jrist-afk is now known as jrist
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
lampe2 has quit [Quit: Leaving.]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
aetcore has quit [Quit: aetcore]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
zz_chrismcg is now known as chrismcg
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
jackbrownhf has quit [Quit: Sto andando via]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
lampe2 has joined #ruby
joeycarmello has quit [Remote host closed the connection]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
jeffreybaird has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
eldariof has quit []
aetcore has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
manizzle has joined #ruby
joeycarmello has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
Paradox has quit [Ping timeout: 252 seconds]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
iamvery has quit [Remote host closed the connection]
F1skr has quit [Quit: WeeChat 0.3.9.2]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
BadLarry has quit [Ping timeout: 264 seconds]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
BadLarry has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
dmiller has joined #ruby
peneconleche|awa has quit [Quit: Leaving...]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
aruntomar has quit [Ping timeout: 252 seconds]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
braoru has quit [Remote host closed the connection]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
haxrbyte has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
iamvery has joined #ruby
tyfighter has joined #ruby
haxrbyte has quit [Remote host closed the connection]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
haxrbyte has joined #ruby
iamvery has quit [Remote host closed the connection]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
ffranz1 has joined #ruby
rakm has joined #ruby
methoddk is now known as coasterd
rakm has quit [Max SendQ exceeded]
coasterd is now known as coaster
coaster is now known as coasterd
coasterd is now known as coasterD
rakm has joined #ruby
ffranz has quit [Ping timeout: 250 seconds]
cirwin has quit [Ping timeout: 264 seconds]
pu22l3r_ has joined #ruby
SCommette has quit [Read error: Connection reset by peer]
SCommette_ has joined #ruby
SCommette_ has quit [Client Quit]
iamvery has joined #ruby
xyzodiac has quit [Quit: Computer has gone to sleep.]
ffranz has joined #ruby
jonathanwallace has quit [Ping timeout: 246 seconds]
jonathanwallace has joined #ruby
jds_ has quit [Remote host closed the connection]
BrokenCog has joined #ruby
ffranz1 has quit [Ping timeout: 264 seconds]
<BrokenCog>
hello. I'm a bit confused by documentation on String.scan. given: str = "aoeu!ththt!89798!" I would like to str.scan("!") { |token| puts token } and have three passes through the loop with aoeu then snth then 9798 ... what should I use other than scan??
ryannielson has left #ruby [#ruby]
<BrokenCog>
*aoeu then thth then 9798 ... but hopefully you get the idea.
<BrokenCog>
when I run str.scan("!"), I get an array => ["!", "!", "!", "!"]
timonv has quit [Remote host closed the connection]
burgestrand has joined #ruby
<BrokenCog>
which I don't even see how that is remotely helpful. If I use regex: then str.scan(/.*!/) gives: => ["nmap!-F!-O!192.168.2.254!"]
<BrokenCog>
which isn't really much more help as that is the string I gave it ...
SCommette has joined #ruby
iamjarvo has joined #ruby
<BrokenCog>
anyway, if anyone can point me to a link which shows an example of tokenizing in ruby, I'd like to read it ...
iamvery has quit [Remote host closed the connection]
<BrokenCog>
Split. Okay. I see said the blind carpenter when he picked up his hammer and saw.
Virunga has joined #ruby
<ged>
BrokenCog: You can use String#split to split the string up on '!', or if you want to consume them incrementally instead of building a big array:
<ged>
> "aoeu!ththt!89798!".scan( /(.*?)!/ )
<ged>
=> [["aoeu"], ["ththt"], ["89798"]]
Paradox has joined #ruby
krawchyk_ has quit [Remote host closed the connection]
IrishGringo has joined #ruby
<BrokenCog>
ged: thanks, that's what was getting me crazy - I tried /(.*)!/ I'll try with the ?.
timonv has joined #ruby
foohey has quit [Quit: Quitte]
<BrokenCog>
ged: so, why exactly is the ? needed? I don't quite see what role it has.
<ged>
BrokenCog: That's a non-greedy match. :)
<BrokenCog>
how are the results from .split("!") any different from .scan(/(.*?)!/) are they intended to be the same?
cakehero has joined #ruby
zommi has quit [Quit: Leaving.]
Tref has quit [Quit: Tref]
<ged>
BrokenCog: It's an array of strings instead of an array of arrays of strings, but other than that, String#scan is useful if you want to scan incrementally.
<ged>
E.g., if you're reading it in from a socket or something.
<BrokenCog>
ah. right. wasn't looking at that. thanks.
bricker has joined #ruby
<ged>
Or if you have a more complex pattern.
<BrokenCog>
right.
marr has joined #ruby
<BrokenCog>
i'm only doing one level of matching, so split is the ticket here.
<ged>
Yeah, seems like. :)
kirun has joined #ruby
<BrokenCog>
once I have the items between the delimiter, I'm using them as patterns to match in a seperate string. Perhaps I don't even need to tokenize the first string... I'd like to do ...
<ged>
To elaborate on non-greedy: '*' by default consumes as much as it can; adding a '?' makes it consume as little as it can and still be a match.
<BrokenCog>
I see.
aetcore has quit [Ping timeout: 260 seconds]
ebouchut has quit [Quit: This computer has gone to sleep]
mathie has joined #ruby
beiter has quit [Quit: beiter]
<BrokenCog>
I'm trnig to match parts of strings and ignore interm characters ... "criteria1 blab blah foo criteria2".matches("criteria1 criteria2") ... only way I see it is to break up the compare string and check each token in the original string to see if it is present.
mikepack has quit [Ping timeout: 246 seconds]
<BrokenCog>
I'm using a compare string of "criteria1!criteria2" as a way of embedding wild cards.
<ged>
Yeah, seems like you're on the right track, then.
dpg has quit [Quit: dpg]
joeycarmello has quit [Remote host closed the connection]
<ged>
By wildcard you mean 'criteria*!somethingelse' would match both criteria1 and criteria2?
jlwestsr has joined #ruby
LucidDreamZzZ has quit [Remote host closed the connection]
<BrokenCog>
yes, I'm just keeping the data entry a bit simpler by not explicitly needing the *
<BrokenCog>
and assuming it.
Xeago has joined #ruby
<BrokenCog>
the pattern is the data entry portion, the strings are auto generated.
<ged>
Ah, gotcha.
<BrokenCog>
so trying to manually create a pattern, then find data which matechs.
<BrokenCog>
seems like re-inventing a wheel...
LucidDreamZzZ has joined #ruby
mengu has joined #ruby
arya has quit [Read error: Connection reset by peer]
arya has joined #ruby
benlieb has quit [Quit: benlieb]
haxrbyte has quit [Ping timeout: 246 seconds]
benlieb has joined #ruby
slainer68 has joined #ruby
<BrokenCog>
ged: one other question, how do I negate =~ ?? is it !~ ??
mikepack has joined #ruby
rjmt___ has joined #ruby
<gbchaosmaster>
BrokenCog: Yep, it's !~
slainer68 has quit [Ping timeout: 240 seconds]
Goles_ has joined #ruby
<BrokenCog>
thanks.
cirwin has joined #ruby
iamvery has joined #ruby
Virunga has quit [Remote host closed the connection]
xyzodiac has joined #ruby
Goles has quit [Ping timeout: 244 seconds]
bricker has quit [Quit: Lost terminal]
jonathanwallace1 has joined #ruby
emergion has joined #ruby
jonathanwallace has quit [Ping timeout: 264 seconds]
tenmilestereo has quit [Quit: Leaving]
zigomir has joined #ruby
<BrokenCog>
bbl. thanks again for the help.
BrokenCog has quit [Quit: leaving]
Dreamer3 has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
arya has quit [Ping timeout: 244 seconds]
emergion has quit [Client Quit]
adambeynon has quit [Quit: Computer has gone to sleep.]
tommyvyo has joined #ruby
<kandinski>
I'm posting issues to a ruby project but I'm not sure of the notation. Is it ok to refer to a class::method?
answer_42 has quit [Ping timeout: 248 seconds]
<kandinski>
or should I use class.method?
<banisterfiend>
kandinski: is it an instance method or a class method?
<kandinski>
ah, good question
<banisterfiend>
if it's an instance method using: Class#method
seanstickle has joined #ruby
<banisterfiend>
use*
<banisterfiend>
if it's a class method use: Class.method
<kandinski>
hmm, what is the difference in definition and invocation? it's defined with a regular 'def parse_metadata(xml)' and invoked with 'parse_metadata(xml)'
emergion has joined #ruby
bradhe has quit [Remote host closed the connection]
<banisterfiend>
kandinski: Yeah
* kandinski
googles for ruby cheatsheets
<banisterfiend>
kandinski: what language do you come from?
<kandinski>
python
andrewhl has quit [Remote host closed the connection]
<banisterfiend>
well that aspect is pretty much the same as python
<kandinski>
well, normally in Python classmethods are decorated with a @classmethod, which makes sure the function is bound to the class object, not to the instance object
doritostains has quit [Read error: Connection reset by peer]
dcope is now known as MeTD
viktor has joined #ruby
mneorr has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 252 seconds]
viktor is now known as Guest38266
mikepack has joined #ruby
slainer68 has joined #ruby
mneorr has joined #ruby
preller has joined #ruby
grzywacz has joined #ruby
grzywacz has quit [Changing host]
grzywacz has joined #ruby
MeTD is now known as dcope
h4mz1d has quit [Ping timeout: 260 seconds]
joeycarmello has joined #ruby
arya has joined #ruby
h4mz1d has joined #ruby
willob has quit [Ping timeout: 260 seconds]
joeycarmello has quit [Ping timeout: 246 seconds]
pyreal has joined #ruby
yaymukund has joined #ruby
xastion has joined #ruby
<yaymukund>
dumb question. I've got a script in /usr/local/bin that's getting big. I'd like to split it up into multiple files that require one another. Where should those files live?
seanstickle has quit [Quit: seanstickle]
_nitti has quit [Remote host closed the connection]
brandon|work has joined #ruby
<yaymukund>
am I just describing a gem with a CLI?
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
benlieb has quit [Ping timeout: 260 seconds]
brianpWins has joined #ruby
emergion has quit [Ping timeout: 250 seconds]
brianpWins has quit [Client Quit]
tommyvyo_ has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
brianpWins has joined #ruby
chrismcg is now known as zz_chrismcg
medik has joined #ruby
apeiros_ has joined #ruby
medik has quit [Excess Flood]
medik has joined #ruby
ikaros has quit [Quit: Ex-Chat]
juri_over90001 has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
stopbit has quit [Quit: Leaving]
alanp_ has joined #ruby
elico has joined #ruby
juri_over9000 has quit [Ping timeout: 252 seconds]
macabre has quit [Remote host closed the connection]
jonathanwallace1 has quit [Read error: Connection reset by peer]
lkba has joined #ruby
jonathanwallace1 has joined #ruby
aaronmacy has joined #ruby
timonv has quit [Remote host closed the connection]
alex__c2022 has quit [Quit: alex__c2022]
nari has joined #ruby
wookiehangover has quit [Ping timeout: 264 seconds]
jrist is now known as jrist-afk
<kandinski>
how does bundler pick up the ruby I have selected with rbenv? I have a gem problem that I think comes from `bundle install` installing gems on the system instead of in the project
alanp has quit [Ping timeout: 264 seconds]
generalissimo has quit [Remote host closed the connection]
samphippen has quit [Quit: Computer has gone to sleep.]
elico has quit [Client Quit]
dobbymoo` has quit [Read error: Connection reset by peer]
<kandinski>
rbenv shims shows shims for erb, gem, irb, rake, rdoc, ri, ruby and testrb, but not for bundler
wookiehangover has joined #ruby
Zolrath has joined #ruby
uxp_ has quit [Read error: Connection reset by peer]
uxp has joined #ruby
dobbymoo` has joined #ruby
<havenn>
kandinski: You could use a gem like rbenv-bundler or switch to a Ruby version manager like chruby that is smarter than shims :P https://github.com/postmodern/chruby
g-ram has quit [Quit: Computer has gone to sleep.]
<kandinski>
havenn: I'm using Ubuntu 12.04, and it seems to me that rbenv doesn't quite manage to pre-empt system paths, or something like that
<kandinski>
indeed, something's not taking
<havenn>
kandinski: You can point chruby at your existing rbenv-installed Rubies. Otherwise, not sure.
<atmosx>
ubuntu!!!!
<kandinski>
havenn: thanks. Will look at rbenv-bundler and chruby
igro has joined #ruby
Tearan has joined #ruby
P4P4jUL137 has joined #ruby
Virunga has joined #ruby
reset has quit [Read error: Connection reset by peer]
dmiller has quit [Remote host closed the connection]
P4P4jUL137 has quit [Client Quit]
P4P4jUL137 has joined #ruby
P4P4jUL137 has quit [Client Quit]
_alejandro has quit [Remote host closed the connection]
xcvd`` has quit [Quit: Leaving]
emmanuelux has quit [Quit: emmanuelux]
arya has quit [Ping timeout: 255 seconds]
slash_nick has quit [Quit: Lost terminal]
buibex has quit [Ping timeout: 246 seconds]
Axsuul has joined #ruby
Guest___ has joined #ruby
Nisstyre-laptop has joined #ruby
jjang has joined #ruby
monkegjinni has quit [Remote host closed the connection]
banisterfiend has quit [Ping timeout: 240 seconds]
samphippen has joined #ruby
philcrissman has quit [Remote host closed the connection]
arya has joined #ruby
jonahR has quit [Quit: jonahR]
jlast has quit [Remote host closed the connection]
iamvery has quit [Remote host closed the connection]
jlast has joined #ruby
buibex has joined #ruby
nerd is now known as fire_wall
Daman has joined #ruby
king313 has quit [Quit: Saliendo]
Solnse has quit [Ping timeout: 252 seconds]
g-ram has joined #ruby
lenovodroid has joined #ruby
Slivka has joined #ruby
Shadow_S has joined #ruby
ner0x has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
andrewhl has joined #ruby
joeycarmello has joined #ruby
elico has joined #ruby
Axsuul has quit [Ping timeout: 256 seconds]
elico has quit [Client Quit]
hsbt_away is now known as hsbt
DrShoggoth has quit [Quit: Leaving]
_nitti has joined #ruby
manizzle is now known as WeLoveCP
WeLoveCP is now known as manizzle_
jlwestsr has quit [Ping timeout: 246 seconds]
tommyvyo_ has joined #ruby
ner0x has quit [Quit: Leaving]
mathie has joined #ruby
theRoUS has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
hiroyuki has quit [Remote host closed the connection]
hiroyuki has joined #ruby
_nitti has quit [Ping timeout: 240 seconds]
kirun has quit [Quit: Client exiting]
tommyvyo has quit [Quit: Computer has gone to sleep.]
tommyvyo_ is now known as tommyvyo
BoomCow has left #ruby ["Leaving"]
brianpWins has quit [Quit: brianpWins]
apeiros_ has quit [Remote host closed the connection]
jimeh has quit [Quit: Computer has gone to sleep.]
mmitchell has joined #ruby
lenovodroid has quit [Ping timeout: 252 seconds]
undersc0re97 has quit [Quit: Leaving]
<kandinski>
would you mind taking a look at: http://paste.lisp.org/display/134080? an error on the console says "asciidoc not found", but then the sinatra exception says that asciidoc is running in the right location, only getting a nil object where it shouldn't