apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p327: http://ruby-lang.org (ruby-2.0.0-preview2) || Paste >3 lines of text on http://gist.github.com
mercwithamouth has quit [Ping timeout: 255 seconds]
matip has quit [Quit: Leaving]
yshh has joined #ruby
xaq has quit [Remote host closed the connection]
jamescarr has joined #ruby
jgrevich has quit [Quit: jgrevich]
jamescarr has quit [Client Quit]
xaq has joined #ruby
adeponte has joined #ruby
xaq has quit [Remote host closed the connection]
Takehiro has joined #ruby
jibi has quit [Quit: .]
robbyoconnor has joined #ruby
Takehiro has quit [Ping timeout: 245 seconds]
mmitchell has joined #ruby
atyz has joined #ruby
lepht is now known as lepht_afk
emocakes has quit [Quit: emocakes]
mercwithamouth has joined #ruby
sepp2k1 has quit [Remote host closed the connection]
mmitchell has quit [Ping timeout: 245 seconds]
Nisstyre-laptop has quit [Quit: Leaving]
otters has joined #ruby
atyz has quit [Ping timeout: 260 seconds]
jamescarr has joined #ruby
mockra has joined #ruby
jamescarr has quit [Client Quit]
<n3lthon> Hanmac: its a bug with debian squeeze, wheezy will install on /usr/local/bin
jonahR has joined #ruby
<jonahR> Good evening folks
jonahR has quit [Remote host closed the connection]
Jessykinz has left #ruby [#ruby]
horofox has quit [Quit: horofox]
koshii has joined #ruby
rakl has quit [Quit: sleeping]
the_jeebster has quit [Quit: Leaving.]
generalissimo has joined #ruby
hybris has quit [Remote host closed the connection]
pcarrier has quit []
pen has quit [Remote host closed the connection]
generalissimo has quit [Read error: Connection reset by peer]
generali_ has joined #ruby
yshh has quit [Remote host closed the connection]
Michael has joined #ruby
mrdtt has joined #ruby
Michael is now known as Guest61934
gener1c has joined #ruby
jds has joined #ruby
rakl has joined #ruby
rakl has quit [Remote host closed the connection]
pcarrier has joined #ruby
Guest61934 has quit [Remote host closed the connection]
wmoxam has quit [Quit: leaving]
koshii has quit [Ping timeout: 252 seconds]
wmoxam has joined #ruby
alcuadrado has quit [Quit: This conversation is over]
emmanuel__ has quit [Ping timeout: 255 seconds]
adeponte has quit [Remote host closed the connection]
n3lthon has quit [Quit: Leaving]
jds has quit [Ping timeout: 255 seconds]
jonahR has joined #ruby
adeponte has joined #ruby
Boohbah is now known as Boohbonics
perun_ has quit [Ping timeout: 245 seconds]
jonahR has quit [Ping timeout: 276 seconds]
ltsstar has joined #ruby
samphippen has joined #ruby
Vert has joined #ruby
pcarrier has quit []
itnomad has quit [Quit: Leaving]
freakazoid0223 has quit [Quit: Leaving]
jcrawford has quit [Excess Flood]
notVert has joined #ruby
jcrawford has joined #ruby
baphled has joined #ruby
Vert has quit [Ping timeout: 252 seconds]
hybris has joined #ruby
tommyvyo_ has joined #ruby
pen has joined #ruby
Boohbonics is now known as Boohbah
Vert has joined #ruby
notVert has quit [Ping timeout: 252 seconds]
mmitchell has joined #ruby
tommyvyo_ has quit [Client Quit]
Iszak has joined #ruby
toekutr has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
cableray has joined #ruby
_bry4n has quit [Ping timeout: 244 seconds]
baphled has quit [Ping timeout: 245 seconds]
freeayu has joined #ruby
Vert has quit [Ping timeout: 252 seconds]
Chryson has quit [Quit: Leaving]
Driscoll has quit [Ping timeout: 255 seconds]
Takehiro has joined #ruby
Vert has joined #ruby
quest88 has joined #ruby
tommyvyo_ has joined #ruby
Takehiro has quit [Ping timeout: 245 seconds]
TomRone has quit [Ping timeout: 255 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
kirun has quit [Quit: Client exiting]
koshii has joined #ruby
shevy2 has joined #ruby
horofox has joined #ruby
shevy has quit [Read error: Operation timed out]
havenn has quit [Remote host closed the connection]
havenn has joined #ruby
pskosinski is now known as pk1001100011
pk1001100011 is now known as idkblaze
elico has quit [Ping timeout: 245 seconds]
idkblaze is now known as pskosinski
imami|afk is now known as banseljaj
havenn has quit [Ping timeout: 245 seconds]
punkrawkR has quit [Read error: Connection reset by peer]
yshh has joined #ruby
mmitchell has quit [Read error: Connection reset by peer]
whowantstolivef2 has joined #ruby
havenn has joined #ruby
nyrb has joined #ruby
elico has joined #ruby
horofox has quit [Quit: horofox]
yshh has quit [Ping timeout: 255 seconds]
shevy2 is now known as shevy
elico has quit [Ping timeout: 276 seconds]
adkron has joined #ruby
benlieb has joined #ruby
adeponte has quit [Remote host closed the connection]
elico has joined #ruby
_bry4n has joined #ruby
nyrb has quit [Ping timeout: 252 seconds]
generali_ has quit [Remote host closed the connection]
benlieb has quit [Client Quit]
atyz has joined #ruby
Michael has joined #ruby
Michael is now known as Guest4791
nyrb has joined #ruby
_bry4n has quit [Ping timeout: 244 seconds]
adeponte has joined #ruby
ltsstar has quit [Quit: ltsstar]
whowantstolivef2 has quit [Ping timeout: 245 seconds]
elico has quit [Ping timeout: 276 seconds]
TomRone has joined #ruby
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
elico has joined #ruby
iamjarvo has quit [Quit: Leaving.]
ryanf has quit [Ping timeout: 260 seconds]
jrajav has joined #ruby
bradleyprice has joined #ruby
dsdeiz has joined #ruby
Guest4791 has quit [Remote host closed the connection]
horofox has joined #ruby
theRoUS_ has joined #ruby
kamsky has quit [Quit: leaving]
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
jrajav has quit [Client Quit]
iamjarvo has joined #ruby
Hanmac1 has joined #ruby
elico has quit [Ping timeout: 276 seconds]
elico has joined #ruby
pcarrier has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
adkron has quit [Ping timeout: 255 seconds]
joofsh has quit [Remote host closed the connection]
yshh has joined #ruby
adeponte has quit [Remote host closed the connection]
adeponte has joined #ruby
alexspeller has joined #ruby
yshh has quit [Ping timeout: 256 seconds]
_adeponte has joined #ruby
adeponte has quit [Read error: Connection reset by peer]
horofox has quit [Quit: horofox]
TheEmpty has quit [Quit: No Ping reply in 180 seconds.]
horofox has joined #ruby
alexspeller has quit [Read error: Connection reset by peer]
statarb3 has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
jrajav has joined #ruby
Iszak has quit []
otters has quit [Remote host closed the connection]
TheEmpty has joined #ruby
alexspeller has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
ryanf has joined #ruby
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
phantasm66 has joined #ruby
chriskk has quit [Quit: chriskk]
swex_ has joined #ruby
tommyvyo_ has joined #ruby
pen has quit [Remote host closed the connection]
otters has joined #ruby
TheEmpty has quit [Quit: No Ping reply in 180 seconds.]
pen has joined #ruby
swex has quit [Ping timeout: 260 seconds]
bigmac has joined #ruby
TheEmpty has joined #ruby
<havenn> >> RUBY_VERSION
<eval-in> havenn: Output: "" (http://eval.in/5705)
<havenn> >> "Happy #{true.object_id}#{false.object_id}#{0.object_id}#{1.object_id}"
<eval-in> havenn: Output: "" (http://eval.in/5706)
bradleyprice has quit [Ping timeout: 252 seconds]
<havenn> Well, nevermind... Happy New Year!
horofox has quit [Quit: horofox]
jbw has quit [Ping timeout: 260 seconds]
track7 has joined #ruby
Driscoll has joined #ruby
Takehiro has joined #ruby
havenn has quit [Remote host closed the connection]
havenn has joined #ruby
alanjc has quit [Ping timeout: 255 seconds]
<heftig> havenn: it uses stdout
<heftig> >> puts "boo"
<eval-in> heftig: Output: "boo\n" (http://eval.in/5707)
ortuna has joined #ruby
thufir_ has joined #ruby
xbayrockx has joined #ruby
xbayrockx is now known as wf2f
ortuna has quit [Client Quit]
keppy has joined #ruby
phantasm66 has quit [Quit: *sleeeep….]
TheEmpty has quit [Quit: No Ping reply in 180 seconds.]
bigmac has quit [Remote host closed the connection]
Takehiro has quit [Ping timeout: 264 seconds]
Kuifje has quit [Ping timeout: 264 seconds]
mercwithamouth has quit [Ping timeout: 276 seconds]
havenn has quit [Ping timeout: 255 seconds]
yshh has joined #ruby
TheEmpty has joined #ruby
atyz has quit [Quit: Leaving...]
banisterfiend is now known as banister`sleep
jbw has joined #ruby
<ryanf> >> puts RUBY_VERSION
<eval-in> ryanf: Output: "1.9.3\n" (http://eval.in/5708)
<ryanf> >> puts local_variables
<eval-in> ryanf: Output: "" (http://eval.in/5709)
<ryanf> >> puts local_variables.inspect
<eval-in> ryanf: Output: "[]\n" (http://eval.in/5710)
slainer68 has joined #ruby
TheEmpty has quit [Quit: No Ping reply in 180 seconds.]
<dsdeiz> hi! with this, http://pastebin.com/hzu5fVaf any ideas how i can pass a config through base_uri?
yshh has quit [Ping timeout: 252 seconds]
mmitchell has joined #ruby
The_8473 has joined #ruby
slainer68 has quit [Remote host closed the connection]
<banister`sleep> >> puts __method__
<eval-in> banister`sleep: Output: "\n" (http://eval.in/5711)
TheEmpty has joined #ruby
The_8472 has quit [Ping timeout: 255 seconds]
<banister`sleep> >> yield
<eval-in> banister`sleep: Output: "/tmp/execpad-9bc06dd374bc/source-9bc06dd374bc:1:in `<main>': no block given (yield) (LocalJumpError)\n" (http://eval.in/5712)
oktapodi has joined #ruby
<banister`sleep> >> puts __FILE__
<eval-in> banister`sleep: Output: "/tmp/execpad-561ea21ce437/source-561ea21ce437\n" (http://eval.in/5713)
<banister`sleep> >> puts File.read(__FILE__)
<eval-in> banister`sleep: Output: "puts File.read(__FILE__)\n" (http://eval.in/5714)
<banister`sleep> k
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
phantasm66 has joined #ruby
<davidcelis> that is some ugly formatted output
cbosh has quit [Read error: Operation timed out]
alanjc has joined #ruby
mmitchell has quit [Ping timeout: 245 seconds]
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
<whitequark> >> puts "a" * 200
<eval-in> whitequark: Output: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n" (http://eval.in/5715)
<whitequark> >> puts "a" * 2000
<eval-in> whitequark: Output: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ..." (http://eval.in/5716)
<davidcelis> >> but_what_about_not_using_puts = "?"
<eval-in> davidcelis: Output: "" (http://eval.in/5717)
<davidcelis> lol rle
breakingthings has joined #ruby
<davidcelis> COOL BOT BROS
oktapodi has quit [Ping timeout: 265 seconds]
horofox has joined #ruby
jrajav has quit [Quit: I tend to be neutral about apples]
hybris has quit [Quit: Leaving]
cbosh has joined #ruby
<wmoxam> >> puts "trololololol\n" * 5
<eval-in> wmoxam: Output: "trololololol\ntrololololol\ntrololololol\ntrololololol\ntrololololol\n" (http://eval.in/5718)
<wmoxam> :/
<wmoxam> >> do; puts "trololololol"; while true
<eval-in> wmoxam: Output: "/tmp/execpad-0a69dabbefd4/source-0a69dabbefd4:1: syntax error, unexpected keyword_do_block\ndo; puts \"trololololol\"; while true\n ^\n/tmp/execpad-0a69dabbefd4/source-0a69dabbefd4:1: syntax error, unexpec ..." (http://eval.in/5719)
<wmoxam> >> while(true); puts "trololololol"; end
<wmoxam> lolz
<wmoxam> sry for breaking the bot
<wmoxam> >> puts "bot alive?"
<eval-in> wmoxam: Output: "bot alive?\n" (http://eval.in/5721)
<wmoxam> :/
pencilcheck has joined #ruby
<TheEmpty> don't think we have do/while loops in ruby
pen has quit [Read error: Connection reset by peer]
<TheEmpty> >> Object.respond_to?(:to_s)
<eval-in> TheEmpty: Output: "" (http://eval.in/5722)
<TheEmpty> >> puts Object.respond_to?(:to_s)
<eval-in> TheEmpty: Output: "true\n" (http://eval.in/5723)
<TheEmpty> why doesn't it return _?
rondale_sc has joined #ruby
yshh has joined #ruby
vlad_starkov has joined #ruby
angora_goats has joined #ruby
theRoUS_ has quit [Ping timeout: 276 seconds]
charliesome has joined #ruby
theRoUS has quit [Ping timeout: 276 seconds]
alexspeller has quit [Remote host closed the connection]
oktapodi has joined #ruby
alexspeller has joined #ruby
vlad_starkov has quit [Ping timeout: 244 seconds]
WanderingGlitch has quit [Changing host]
WanderingGlitch has joined #ruby
yshh has quit [Ping timeout: 260 seconds]
BoomCow has joined #ruby
mercwithamouth has joined #ruby
Takehiro has joined #ruby
ania12lat has quit [Ping timeout: 252 seconds]
<dsdeiz> anyone happen to have any ideas? :D http://pastebin.com/hzu5fVaf how do i call base_uri with the @config from the initialize method?
daniel_hinojosa has quit [Quit: Leaving.]
alexspeller has quit [Remote host closed the connection]
tommyvyo_ has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
kiyoura has quit [Ping timeout: 265 seconds]
Targen has joined #ruby
<breakingthings> Making a simple irc bot as my first foray into ruby… wondering if anyone knows a cleaner way to respond to PONGs than doing a regex match
<breakingthings> I know I can do something like message.includes? "PONG"
rondale_sc has quit [Quit: rondale_sc]
Targen_ has quit [Ping timeout: 276 seconds]
phantasm66 has quit [Quit: *sleeeep….]
<breakingthings> but I'm not sure how to get the identifier after that
BoomCow has quit [Quit: This computer has gone to sleep]
<breakingthings> or if regex is just the best way to do that
samphippen has quit [Quit: Computer has gone to sleep.]
<TheEmpty> >> str="this is a PING";print str[str.'index("PING"),4]
<eval-in> TheEmpty: Output: "/tmp/execpad-12be18d33edd/source-12be18d33edd:1: syntax error, unexpected tSTRING_BEG\nstr=\"this is a PING\";print str[str.'index(\"PING\"),4]\n ^\n/tmp/execpad-12be18d33edd/source-12be18d33edd:1: unterminated string meets end of file\n" (http://eval.in/5724)
<ryanf> I used a regex
<ryanf> I think regexes are pretty much just the best way of doing it
<TheEmpty> >> str="this is a PING";print str[str.index("PING"),4]
<eval-in> TheEmpty: Output: "PING" (http://eval.in/5725)
<ryanf> TheEmpty: the actual job is to receive "PING ajk@#kjs" and then reply with "PONG ajk@#kjs"
<TheEmpty> >> str="PING 123@#456"; start=str.index("PING ") + 5; print str[start,str.length-start]
<eval-in> TheEmpty: Output: "123@#456" (http://eval.in/5726)
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
<TheEmpty> >> str="PING 123@#456"; start=str.index("PING ") + 5; print "PONG" + str[start,-1]
<eval-in> TheEmpty: Output: "/tmp/execpad-1ea37f8ee649/source-1ea37f8ee649:1:in `+': can't convert nil into String (TypeError)\n\tfrom /tmp/execpad-1ea37f8ee649/source-1ea37f8ee649:1:in `<main>'\n" (http://eval.in/5727)
<TheEmpty> but yeah, regex probably the best then
atyz has joined #ruby
tommyvyo_ has joined #ruby
horofox has quit [Quit: horofox]
theRoUS_ has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
yshh has joined #ruby
Takehiro has quit [Remote host closed the connection]
atyz has quit [Ping timeout: 252 seconds]
_cheney2 has joined #ruby
fwp2k has joined #ruby
emsilva has quit [Quit: Computer has gone to sleep.]
mockra has quit [Remote host closed the connection]
<fwp2k> hello
<fwp2k> somebody
_cheney has quit [Ping timeout: 245 seconds]
samphippen has joined #ruby
AxonetBE has joined #ruby
elico has quit [Remote host closed the connection]
<fwp2k> say something to me
<jasonh> fwp2k: hi.
<fwp2k> test weechat
yshh has quit [Ping timeout: 252 seconds]
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
fwp2k has quit [Quit: WeeChat 0.3.2]
fwp2k has joined #ruby
_adeponte has quit [Remote host closed the connection]
adeponte has joined #ruby
<breakingthings> Anyone care to help me fire out what's going wrong?
<breakingthings> http://pastie.org/5604503 Lines 11-13 are causing the script to fail
kiyoura has joined #ruby
<breakingthings> I think I'm doing the look right so I can only guess there's something wrong with my join method
_adeponte has joined #ruby
<breakingthings> loop right*
xemu has quit [Ping timeout: 245 seconds]
AxonetBE has quit [Quit: Leaving.]
Michael has joined #ruby
<breakingthings> oh, @channels << channel isn't working.
adeponte has quit [Ping timeout: 276 seconds]
Michael has quit [Remote host closed the connection]
samphippen has quit [Quit: Computer has gone to sleep.]
<breakingthings> not sure why, though...
tommyvyo_ has joined #ruby
adeponte has joined #ruby
_adeponte has quit [Ping timeout: 255 seconds]
<ryanf> breakingthings: rubot is taken
pskosinski has quit [Read error: Connection reset by peer]
<ryanf> that was my first choice too
<breakingthings> ryanf: It's on a different server :)
<ryanf> nah I meant as a project name
<breakingthings> I knew it existed I was just being simple
<breakingthings> yeah i know
<breakingthings> I wasn't planning on publishing this
<ryanf> yeah fair enough
<breakingthings> it's super simple just for playing with ruby
<breakingthings> but I'm trying to figure out why >> isn't working
<breakingthings> any idea?
<ryanf> anyway I think you're probably not waiting long enough before trying to join
<breakingthings> Yeah, but that statement made my script error out…
<ryanf> please be more specific than that
browndawg has joined #ruby
<breakingthings> Well, the only error it gave me was 'Broken pipe' when I interrupted it's execution
<breakingthings> (Errno:EPIPE)
<ryanf> why did you interrupt its execution?
<breakingthings> because it was stalling out
<breakingthings> removing that statement makes the script behave as expected
<ryanf> what's the expected behavior?
<breakingthings> ...connect
<breakingthings> the script did nothing when "@channels << channel" was there
<breakingthings> and I had to interrupt it
<breakingthings> when I remove that line, it connects properly
<blazes816> because you're modifying the array you're looping over
horofox has joined #ruby
horofox has quit [Client Quit]
<ryanf> oh, yeah
<ryanf> it's just going to keep iterating forever
<breakingthings> ah… right.
<breakingthings> Thanks, I can figure out how to solve it with that
jekotia has joined #ruby
jekotia has quit [Client Quit]
<ryanf> >> (a = [1]).each { |i| a << i }
<eval-in> ryanf: Output: "/tmp/execpad-a55d10bc0519/source-a55d10bc0519:1:in `block in <main>': failed to allocate memory (NoMemoryError)\n\tfrom /tmp/execpad-a55d10bc0519/source-a55d10bc0519:1:in `each'\n\tfrom /tmp/execpad-a55d10bc0519/source-a55d10bc0519:1:in `<main>'\n" (http://eval.in/5728)
_adeponte has joined #ruby
adeponte has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
Driscoll has quit [Ping timeout: 244 seconds]
yshh has joined #ruby
mercwithamouth has quit [Ping timeout: 255 seconds]
neurotech has joined #ruby
jamescarr has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
My_Hearing has joined #ruby
My_Hearing has quit [Changing host]
My_Hearing has joined #ruby
Driscoll has joined #ruby
yshh has quit [Ping timeout: 260 seconds]
elico has joined #ruby
_adeponte has quit [Ping timeout: 256 seconds]
pskosinski has joined #ruby
mercwithamouth has joined #ruby
Mon_Ouie has quit [Ping timeout: 244 seconds]
pcarrier has quit []
landho has quit [Ping timeout: 245 seconds]
landho has joined #ruby
lepht_afk is now known as lepht
adkron has joined #ruby
lepht is now known as lepht_afk
browndawg has quit [Ping timeout: 244 seconds]
alexspeller has joined #ruby
fwp2k has quit [Quit: WeeChat 0.3.2]
stan_man_can has joined #ruby
radic has quit [Disconnected by services]
radic_ has joined #ruby
alexspeller has quit [Ping timeout: 252 seconds]
<stan_man_can> Hey all. I wrote a little script to pull some info from an API. It's a large chunk of data and will take quite a while to run. After about 30 seconds or so it's dying with the following error: https://gist.github.com/078b9eeb2addeef0a1c1
atyz has joined #ruby
elico has quit [Ping timeout: 245 seconds]
pen has joined #ruby
eka has joined #ruby
eka has quit [Remote host closed the connection]
pencilcheck has quit [Read error: Connection reset by peer]
stan_man_can has quit [Quit: stan_man_can]
stan_man_can has joined #ruby
atyz has quit [Ping timeout: 245 seconds]
arya has joined #ruby
<TheEmpty> stan_man_can: the sever is closing the connection because it's taking too long. Are you sure you're sending a valid request and it's not waiting for something?
mercwithamouth has quit [Ping timeout: 264 seconds]
<stan_man_can> TheEmpty: Yeah that shouldn't be a problem. The server can run slow sometimes. Is it possible to bump up the timeout period?
<TheEmpty> Are you controlling the server?
<stan_man_can> TheEmpty: No it's a thirdparty
<stan_man_can> I
arya_ has quit [Ping timeout: 244 seconds]
<TheEmpty> Then no you can't
<stan_man_can> Sorry I misread your reply, I thought the script was timing out
cableray has quit [Ping timeout: 265 seconds]
<IceDragon> HAPPY NEW YEAR.
<IceDragon> And now back to code.
Virunga has joined #ruby
elico has joined #ruby
<TheEmpty> IceDragon: HAPPY FISCAL CLIFF!
<wmoxam> lolz
<wmoxam> HAPPY RECCESSION
<IceDragon> har
<IceDragon> :D I KNOW RIGHT?
arya has quit [Ping timeout: 244 seconds]
<stan_man_can> Looks like when I try to hit the URL's directly they're timing out too
<IceDragon> MY DOLLAR SUX
<stan_man_can> This is going to be a pain :P
<wmoxam> ok, now who to blame?
<wmoxam> Repub or Demo?
<wmoxam> BOTH??
yshh has joined #ruby
<TheEmpty> oh shit, switch out the currency!
<TheEmpty> As a freelancer I'm all for cutting taxes and spending
pen has quit [Remote host closed the connection]
<TheEmpty> As someone that's ran a company too
* wmoxam puts on his smug cannuck face
sayan has joined #ruby
elico has quit [Read error: Connection reset by peer]
shammancer has quit [Read error: Connection reset by peer]
<wmoxam> *kidding
<TheEmpty> True, probably should stay away from politics in a lang chan
oktapodi has quit [Remote host closed the connection]
oktapodi has joined #ruby
arya has joined #ruby
<IceDragon> so whats the diff between this channel (600+ users) and #ruby-lang ?
adeponte has joined #ruby
<IceDragon> And everything I've been hearing about it has been scary
<wmoxam> IceDragon: this is more newish rubyists, ruby-lang is more oldtimers (thing pre-rails)
<wmoxam> *think
thufir_ has quit [Read error: Connection reset by peer]
<stan_man_can> TheEmpty: Is there any way to have the script continue running if it times out?
<stan_man_can> instead of dying
<TheEmpty> stan_man_can: begin, rescue, end
elico has joined #ruby
<IceDragon> >: So its oldskool vs newskool all over again
<TheEmpty> Hmm, sounds more strict since it has -lang in it
Takehiro has joined #ruby
<IceDragon> hence the "oldtimers" reference
<stan_man_can> TheEmpty: Don't laugh or hate me, I'm a ruby virgin, but here's what I have https://gist.github.com/b9acbdb438697f8e61c4
<wmoxam> IceDragon: oldtimers are a bit more anti-rails
<IceDragon> I'd only laugh if someone was being cocky.
tlvince has joined #ruby
<wmoxam> not me though
elico has quit [Read error: Connection reset by peer]
tlvince has quit [Client Quit]
karasawa has joined #ruby
<IceDragon> :P I've never touched rails
<wmoxam> IceDragon: cool, yer in the minority
<TheEmpty> stan_man_can: do you code inother langs?
<wmoxam> IceDragon: why did you start using Ruby?
<IceDragon> games.
<stan_man_can> TheEmpty: ...PHP
<TheEmpty> IceDragon: #lua for games man
<wmoxam> IceDragon: oh, cool
<IceDragon> I started using a program called RPG Maker.
<wmoxam> IceDragon: gosu?
<IceDragon> >.> They used ruby in it
<wmoxam> ah, IC
<TheEmpty> Oh
yshh has quit [Ping timeout: 264 seconds]
<IceDragon> And then I branched out and did other things
<wmoxam> Gosu is fun
<IceDragon> You can say that ruby was my first real language
<wmoxam> I've been playin with it for games
<IceDragon> I use StarRuby its a small engine made by some jap folk.
<TheEmpty> What defines a language?
karasawa has quit [Client Quit]
<stan_man_can> Is it possible to skip the rescue part? if there's an error just skip it and continue on?
<TheEmpty> I feel like scripting langs shouldn't count
<TheEmpty> rescue; end
karasawa has joined #ruby
<wmoxam> TheEmpty: wat
<IceDragon> TheEmpty: "mingled in programming, but never seriously done anything with it"
karasawa has quit [Client Quit]
<IceDragon> Anyway, did Ruby, tried C (love it), and then did some other langs
<wmoxam> I started with uby because I wanted something better than Perl
<wmoxam> *Ruby
karasawa has joined #ruby
<TheEmpty> <3 C
jamescarr has quit [Quit: jamescarr]
<wmoxam> I still gotta try written something with Go
<TheEmpty> Been doing a lot of C bindings for library APIs
<wmoxam> *writing
<IceDragon> wmoxam: https://github.com/IceDragon200/starruby # currently my fork of StarRuby
<wmoxam> TheEmpty: yoiu using FFI?
<wmoxam> IceDragon: nice
<wmoxam> IceDragon: you checked ut Gosu?
<TheEmpty> wmoxam: It's in Lua not Ruby (game dev)
<IceDragon> :P I tried it, and got a headache
<wmoxam> TheEmpty: FFI is cross platfrom
elico has joined #ruby
<rking> TheEmpty: 'rescue nil' but use with caution.
<TheEmpty> I compile my own interpurt since it's running on the iPhone I remove the debug things and add my own methods
<wmoxam> I do all CX Ruby bindings with Ruby
<wmoxam> er
<wmoxam> with FFI
<wmoxam> <--- drunk
elico has quit [Read error: Connection reset by peer]
shammancer has joined #ruby
<rking> TheEmpty: If you give it an arg like that, that'll be the return value on exception. x = raise 'hi' rescue 3 # now x == 3
LouisGB has quit [Read error: Connection reset by peer]
n8888 has joined #ruby
<TheEmpty> he's wrapping a statement
shammancer has quit [Client Quit]
<IceDragon> x = 1 / 0 rescue 0
<TheEmpty> not assignment
<IceDragon> >_> please dont really divide by 0.
<TheEmpty> >> x = 1/0 rescue 0; print x
<eval-in> TheEmpty: Output: "0" (http://eval.in/5730)
<wmoxam> IceDragon: this is my stupid game https://github.com/wmoxam/rarkanoid
<wmoxam> I need to make it a real game
cableray has joined #ruby
<TheEmpty> didn't know we had one line rescues cool
<wmoxam> with scores and shit
fwp2k has joined #ruby
<fwp2k> hello
<TheEmpty> hello fwp2k, how are you this fine evening
<wmoxam> I also need to work on my real game that is closed source
<IceDragon> wmoxam: I'll try it
Virunga has quit [Remote host closed the connection]
<TheEmpty> I don't want to work on my real game, found out I did a lot of stuff wrong q.q
<TheEmpty> Week out the window
<wmoxam> it's a sports game and it'll be real cool one day
<wmoxam> I promise
jamescarr has joined #ruby
<wmoxam> I need to learn a physics lib first
* wmoxam looks at chipmunk
<TheEmpty> Chipmunk
<TheEmpty> Actually Box2d is good too
adeponte has quit [Remote host closed the connection]
<wmoxam> hrmm
<IceDragon> wmoxam: game needs mouse support ;-; arrows keys are clunky on my laptop..
<wmoxam> it's arkanoid! Now fucxking mouse!
<wmoxam> *No
<IceDragon> ;_;
elico has joined #ruby
<wmoxam> :D :D
<IceDragon> gib me mouse or I still gib you trouble
<wmoxam> oh noes
<IceDragon> *mean fayse*
<wmoxam> I wanna do some backgrounds
<wmoxam> and some actually levels
<wmoxam> and a highscore thingy
<wmoxam> that would be goooda
<IceDragon> :P
toekutr has joined #ruby
<wmoxam> also need to add lasers
<wmoxam> LASERS
<wmoxam> frickin lasers
<IceDragon> if you needed graphics, I could probably render some blocks for you using my current engine. (once I get off my ass)
<wmoxam> cool cool
<IceDragon> Its lazers
<IceDragon> any color preference?
karasawa has quit [Quit: leaving]
Michael has joined #ruby
Michael is now known as Guest95100
<wmoxam> RED
<IceDragon> I'll just make RGBY
<IceDragon> oh and black and white and probably a transparent one.
* IceDragon shrugs
karasawa has joined #ruby
karasawa has quit [Client Quit]
<wmoxam> lol
weasels has joined #ruby
Takehiro has quit [Remote host closed the connection]
otters has quit [Ping timeout: 245 seconds]
<IceDragon> 9 in total
yshh has joined #ruby
* IceDragon used his default color pallete
Takehiro has joined #ruby
adeponte has joined #ruby
pen has joined #ruby
browndawg has joined #ruby
yshh has quit [Ping timeout: 265 seconds]
stan_man_can has quit [Quit: stan_man_can]
fowlertm has joined #ruby
<fowlertm> Hello.
fowlertm has left #ruby [#ruby]
mercwithamouth has joined #ruby
<IceDragon> "DL is deprecated, please use Fiddle" ;_; But I prefer the piano
arya has quit [Ping timeout: 244 seconds]
arya has joined #ruby
elico has quit [Ping timeout: 260 seconds]
jasonh has left #ruby [#ruby]
elico has joined #ruby
karasawa has joined #ruby
karasawa has quit [Client Quit]
pirat78__ has joined #ruby
emergion has joined #ruby
lolcathost has joined #ruby
uris has quit [Read error: Connection reset by peer]
Elico1 has joined #ruby
karasawa has joined #ruby
karasawa has quit [Remote host closed the connection]
adeponte has quit [Remote host closed the connection]
karasawa has joined #ruby
stan_man_can has joined #ruby
stan_man_can has quit [Client Quit]
elico has quit [Ping timeout: 265 seconds]
mrdtt has quit [Quit: mrdtt]
emergion has quit [Quit: Computer has gone to sleep.]
Targen has quit [Ping timeout: 265 seconds]
IceDragon has left #ruby ["Away!"]
IceDragon has joined #ruby
Driscoll has quit [Ping timeout: 264 seconds]
adkron has quit [Ping timeout: 255 seconds]
Coeus has quit [Read error: Operation timed out]
weasels has quit [Ping timeout: 255 seconds]
shammancer has joined #ruby
adeponte has joined #ruby
Targen has joined #ruby
pirat78__ has quit [Remote host closed the connection]
weasels has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
karasawa has quit [Quit: leaving]
Guest95100 has quit [Remote host closed the connection]
krz has joined #ruby
karasawa has joined #ruby
karasawa has quit [Client Quit]
Driscoll has joined #ruby
Axsuul has quit [Ping timeout: 245 seconds]
<fwp2k> fwp
nanothief has joined #ruby
sayan has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
karasawa has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
ananthakumaran has joined #ruby
karasawa has quit [Client Quit]
karasawa has joined #ruby
ketan1 has quit [Ping timeout: 252 seconds]
Michael has joined #ruby
Michael is now known as Guest5888
theRoUS has quit [Ping timeout: 276 seconds]
theRoUS_ has quit [Ping timeout: 276 seconds]
statarb3 has quit [Ping timeout: 245 seconds]
pen has quit [Remote host closed the connection]
fwp2k has quit [Quit: WeeChat 0.3.2]
mercwithamouth has quit [Ping timeout: 252 seconds]
<wmoxam> IceDragon: nice!
<IceDragon> :P
<IceDragon> each block should be 40x24
ananthakumaran has quit [Quit: Leaving.]
breakingthings has quit []
Driscoll has quit [Ping timeout: 265 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
n8888 has quit [Ping timeout: 276 seconds]
kiyoura has quit [Quit: Leaving]
sayan has joined #ruby
yacks has quit [Remote host closed the connection]
pkrnj has joined #ruby
karasawa has quit [Ping timeout: 276 seconds]
karasawa has joined #ruby
karasawa has quit [Remote host closed the connection]
ewag has joined #ruby
karasawa has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
adeponte has quit [Remote host closed the connection]
jamescarr has quit [Quit: jamescarr]
<IceDragon> goo night
IceDragon has quit [Quit: Space~~~]
browndawg has quit [Ping timeout: 276 seconds]
ewag has quit [Read error: Connection reset by peer]
ananthakumaran has joined #ruby
ewag has joined #ruby
Elico1 has quit [Quit: elico1]
atyz has joined #ruby
samuel02 has joined #ruby
jamescarr has joined #ruby
atyz has quit [Ping timeout: 260 seconds]
arya has quit [Ping timeout: 244 seconds]
arya has joined #ruby
keppy has quit [Quit: Lost terminal]
arya has quit [Ping timeout: 244 seconds]
arya has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
robustus has joined #ruby
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
arya has quit [Ping timeout: 244 seconds]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
karasawa has quit [Ping timeout: 276 seconds]
pyro111 has joined #ruby
browndawg has joined #ruby
xaphod has joined #ruby
arya has joined #ruby
tommyvyo has quit [Quit: http://thomasvendetta.com]
tommyvyo has joined #ruby
Bry8Star has quit [Ping timeout: 276 seconds]
yacks has joined #ruby
Guest5888 has quit [Remote host closed the connection]
crackfu has quit [Remote host closed the connection]
<xaphod> how big is the game development community under gosu and rubygame?
browndawg has quit [Quit: Leaving.]
moshee has quit [Ping timeout: 240 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
weasels is now known as otters
Michael has joined #ruby
Michael is now known as Guest83227
kn330 has joined #ruby
<Paradox> not very
jonahR has joined #ruby
Umren has joined #ruby
* dsdeiz is having a hard time understanding ruby classes xD
mrdtt has joined #ruby
<ner0x> dsdeiz: Ask a question. :)
<dsdeiz> maybe next time. still reading.. things i'm having trouble with primary tho are instance level and class levels stuffs
atyz has joined #ruby
elico has joined #ruby
<ner0x> dsdeiz: What books/websites have you tried so far?
<Hanmac1> dsdeiz: classes are instances, so they could have instance variables too (wich are more cool than class variables)
Hanmac1 is now known as Hanmac
Guest83227 has quit [Remote host closed the connection]
havenn has joined #ruby
<ner0x> dsdeiz: Highly suggest it. If you have an eReader of some sort.
<ner0x> dsdeiz: And if you don't. read.amazon.com seems to work fine.
nomenkun has joined #ruby
atyz has quit [Ping timeout: 244 seconds]
<dsdeiz> will try that out thx
nomenkun has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
sn0wb1rd has quit [Quit: sn0wb1rd]
atyz has joined #ruby
<ner0x> dsdeiz: Are you learning ruby for rails?
<dsdeiz> not rly, i think ror seems to be a big step for me. just plain ruby for now
sn0wb1rd has joined #ruby
havenn has quit [Ping timeout: 260 seconds]
<aedorn> so like.. happy new year and all that jazz
<xaphod> haggly nu yar
forced_request has quit [Ping timeout: 245 seconds]
quest88 has quit [Quit: quest88]
<xaphod> who here uses ruby for primary non-rails applications
<ner0x> dsdeiz: Fair enough. It's a big leap if you haven't used a MVC before, not so huge if you have and are just learning ruby. As long as you are willing to read. :)
<aedorn> majority of what I use it for is not Rails, or even web, related
<xaphod> how does one make a console application which can change without just printing new lines to the screen
<xaphod> real-time (ASCII) graphics
<xaphod> I'm actually planning on making a simple game but don't know how to do this
<xaphod> Like if I wanted to implement Game of Life or a Roguelike in ASCII in Ruby, how can I update the display?
<ner0x> aedorn: Context?
LouisGB has joined #ruby
<aedorn> ner0x: hmm?
<ner0x> aedorn: Oh, you were commenting on the rails comment. Yeah. I was just seeing if that was his primary concern so I could point him in the right direction.
mrdtt has quit [Quit: mrdtt]
jamescarr has quit [Quit: jamescarr]
<aedorn> oh
tommyvyo has quit [Quit: Computer has gone to sleep.]
elico has quit [Quit: elico]
karasawa has joined #ruby
xaphod has quit [Remote host closed the connection]
atyz has quit [Quit: Leaving...]
zach has joined #ruby
zach has quit [Remote host closed the connection]
browndawg has joined #ruby
Michael has joined #ruby
Michael is now known as Guest39098
Jessykinz has joined #ruby
atyz has joined #ruby
atyz has quit [Client Quit]
<aedorn> dbus is so anti-ruby
jaygen_ has joined #ruby
jaygen has quit [Read error: Operation timed out]
postmodern has quit [Quit: Leaving]
superbot is now known as nerd
nerd is now known as superbot
Jessykinz has left #ruby [#ruby]
Guest25886 has joined #ruby
alanjc has quit [Remote host closed the connection]
oktapodi has quit [Remote host closed the connection]
oktapodi has joined #ruby
digifiv5e has joined #ruby
io_syl has quit [Quit: Computer has gone to sleep.]
Beoran__ has joined #ruby
oktapodi_ has joined #ruby
oktapodi has quit [Ping timeout: 264 seconds]
Beoran_ has quit [Ping timeout: 276 seconds]
fwp2k has joined #ruby
lewis1711 has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
banseljaj is now known as imami|afk
arya_ has joined #ruby
joeycarmello has quit [Remote host closed the connection]
cableray has quit [Quit: cableray]
arya has quit [Ping timeout: 244 seconds]
arya_ has quit [Ping timeout: 244 seconds]
toekutr has quit [Remote host closed the connection]
karasawa has quit [Quit: Lost terminal]
karasawa has joined #ruby
cableray has joined #ruby
arya has joined #ruby
emocakes has joined #ruby
lewis1711 has left #ruby [#ruby]
fwp2k has quit [Quit: WeeChat 0.3.2]
Neomex has joined #ruby
krz has quit [Quit: krz]
Neomex has quit [Client Quit]
karasawa has quit [Quit: Lost terminal]
nipar has quit []
kn330 has quit [Ping timeout: 260 seconds]
LouisGB has quit [Ping timeout: 244 seconds]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
kn330 has joined #ruby
moshee has quit [Ping timeout: 240 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
atmosx has joined #ruby
oktapodi_ has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
darthdeus has joined #ruby
joeycarmello has joined #ruby
darthdeu has joined #ruby
darthdeus has quit [Read error: Connection reset by peer]
arya has quit [Ping timeout: 244 seconds]
blacktulip has joined #ruby
yacks has quit [Ping timeout: 276 seconds]
x82_nicole has joined #ruby
arya has joined #ruby
karasawa has joined #ruby
karasawa has quit [Client Quit]
karasawa has joined #ruby
pen has joined #ruby
arya has quit []
atyz has joined #ruby
io_syl has joined #ruby
havenn has joined #ruby
arietis has joined #ruby
io_syl has quit [Client Quit]
atyz has quit [Ping timeout: 260 seconds]
joeycarmello has quit [Ping timeout: 255 seconds]
havenn has quit [Ping timeout: 244 seconds]
vlad_starkov has joined #ruby
Lars__ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
jds has joined #ruby
kirun has joined #ruby
jessta has quit [Ping timeout: 265 seconds]
whowantstolivef2 has joined #ruby
jessta has joined #ruby
marr has joined #ruby
punkrawkR has joined #ruby
fatninja has quit [Read error: Operation timed out]
atyz has joined #ruby
fatninja has joined #ruby
jds has quit [Remote host closed the connection]
Lars__ has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
AxonetBE has joined #ruby
jds has joined #ruby
AxonetBE has quit [Client Quit]
joeycarmello has joined #ruby
moshee has quit [Ping timeout: 276 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
autumn is now known as \r\n
\r\n is now known as autumn
ouzel has joined #ruby
ouzel has left #ruby [#ruby]
elaptics is now known as elaptics`away
<dsdeiz> hi! how do this? foo, bar, baz = { 'foo' => 'random', 'bar' => 'random', 'baz' => 'random' } i.e. for each hash key, create a variable
<Hanmac> dsdeiz you cant
<dsdeiz> ah cool. thx
jds has quit [Remote host closed the connection]
<atmosx> that syntax could be valid though, I mean I understand it and doesn't clash with anything I know (which is not a lot)
Bry8Star has joined #ruby
<Hanmac> dsdeiz the only thnig you could do:
<Hanmac> require "ostruct";o = OpenStruct.new( 'foo' => 'random', 'bar' => 'random', 'baz' => 'random' );o.foo #=> "random"
banister`sleep has quit [Ping timeout: 265 seconds]
<dsdeiz> got it. one last thing :D if i wanted to find the array which contains a specific value do i use .select? e.g. foo.select { |v| v['bar'] == 'baz' }
<ryanf> dsdeiz: you can use .find if you want to just get the first match
woolite64 has quit [Ping timeout: 272 seconds]
otters has quit [Ping timeout: 260 seconds]
Jasko has quit [Read error: Connection reset by peer]
<dsdeiz> ah yeah, that's what i needed. thx!
Jasko has joined #ruby
browndawg has quit [Quit: Leaving.]
banisterfiend has joined #ruby
cirwin has joined #ruby
pcarrier has joined #ruby
superbot has quit [Ping timeout: 265 seconds]
katzekintosh has quit [Quit: This computer has gone to sleep]
DrCode has joined #ruby
<DrCode> hi all
<DrCode> whats up
<Hanmac> everything that is not down :P
oktapodi has joined #ruby
jessta has quit [Ping timeout: 255 seconds]
jessta has joined #ruby
io_syl has joined #ruby
LucidDreamZzZ has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
<ruzu> is simply accessing ARGV safe from most places (lib classes, mixins, etc) or would it make more sense to have a lib ask for it as some method parameter?
<Hanmac> ruzu it should be safe, but using parse libs is more sane
<ruzu> i'm writing a parse lib for kicks :p
<ryanf> ruzu: I think most parse libs will default to just reaching into ARGV
<ryanf> for convenience
<ryanf> but you could also do like parse(args = ARGV)
<ryanf> there's no danger really except that anyone can mutate ARGV, shift elements off of it, et
<ryanf> c
<dsdeiz> ok, i lied. that wasn't my last question. xD is it possible to do this in one line? foo.find { |v| v['foo'] == 'foo' }; foo['bar'];?
<Hanmac> yeah i think using ARGV as parameter is the best way (so users could use others)
<ruzu> ah, default parameter, good call. shoulda thought of it :)
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
<Hanmac> dsdeiz: if you want to be safe: (foo.find { |v| v['foo'] == 'foo' } || {})['bar']
<dsdeiz> by safe you mean in case it finds no result?
<Hanmac> yep
<dsdeiz> got it. thx!
cableray has quit [Quit: cableray]
karasawa has quit [Quit: leaving]
karasawa has joined #ruby
karasawa has quit [Client Quit]
karasawa has joined #ruby
arturaz has joined #ruby
dsdeiz has quit [Ping timeout: 260 seconds]
karasawa has quit [Client Quit]
karasawa has joined #ruby
wermel has joined #ruby
karasawa has quit [Client Quit]
Russell^^ has joined #ruby
karasawa has joined #ruby
eldariof has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
wallerdev has quit [Quit: wallerdev]
karasawa has quit [Quit: leaving]
karasawa has joined #ruby
karasawa has quit [Client Quit]
karasawa has joined #ruby
karasawa has quit [Client Quit]
karasawa has joined #ruby
karasawa has quit [Client Quit]
karasawa has joined #ruby
jds has joined #ruby
slainer68 has joined #ruby
sayan has quit [Ping timeout: 255 seconds]
karasawa has quit [Client Quit]
karasawa has joined #ruby
karasawa has quit [Client Quit]
karasawa has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
superbot has joined #ruby
RagingDave has joined #ruby
jds has quit [Remote host closed the connection]
AxonetBE has joined #ruby
havenn has joined #ruby
marr has quit [Ping timeout: 252 seconds]
havenn has quit [Ping timeout: 245 seconds]
banisterfiend has quit [Ping timeout: 244 seconds]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
mrdtt has joined #ruby
TheEmpty_ has joined #ruby
banisterfiend has joined #ruby
charliesome has joined #ruby
TheEmpty has quit [Ping timeout: 255 seconds]
charliesome has quit [Client Quit]
io_syl has quit [Quit: Computer has gone to sleep.]
banisterfiend has quit [Ping timeout: 265 seconds]
Virunga has joined #ruby
nemesit has joined #ruby
joeycarmello has quit [Ping timeout: 264 seconds]
karasawa has quit [Quit: leaving]
karasawa has joined #ruby
karasawa has quit [Client Quit]
karasawa has joined #ruby
karasawa has quit [Client Quit]
karasawa has joined #ruby
tommyvyo has joined #ruby
xemu has joined #ruby
banisterfiend has joined #ruby
AxonetBE has quit [Quit: Leaving.]
kirun_ has joined #ruby
sepp2k has joined #ruby
kirun has quit [Ping timeout: 252 seconds]
ner0x has quit [Quit: Leaving]
<shevy> hmmmm
<shevy> would technically be
<shevy> array[0] the same as array.[0] ?
emergion has joined #ruby
pngl has joined #ruby
banisterfiend has quit [Ping timeout: 245 seconds]
<Hanmac> shevy yes and the same as array.[](0)
<shevy> aaah
<shevy> wonder how that works in the ruby parser
<Hanmac> hm array.[](0) works but yours "array.[0] " works not :P
karasawa has quit [Ping timeout: 245 seconds]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
karasawa has joined #ruby
adambeynon has joined #ruby
DrCode has quit [Remote host closed the connection]
DrCode has joined #ruby
LKiS has joined #ruby
baphled has joined #ruby
nemesit|osx has joined #ruby
nanothief has quit [Ping timeout: 260 seconds]
<shevy> yeah
<shevy> weird
joeycarmello has joined #ruby
<rking> You know what's annoying? The way http://rubygems.org/ handles gem.description vs gem.summary.
oktapodi_ has joined #ruby
<rking> I've got to figure out who to contact about this. It really discourages proper use of both fields.
cor3ngine has joined #ruby
nemesit has quit [Ping timeout: 245 seconds]
oktapodi has quit [Ping timeout: 252 seconds]
baphled has quit [Ping timeout: 240 seconds]
eka has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
jds has joined #ruby
jds has quit [Ping timeout: 240 seconds]
<shevy> yeah
<shevy> I just copy paste the same into both
ebouchut has joined #ruby
karasawa has quit [Quit: Lost terminal]
karasawa has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
samphippen has joined #ruby
lolcathost has quit [Ping timeout: 264 seconds]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
Squarepy has joined #ruby
Squarepy has quit [Changing host]
Squarepy has joined #ruby
Astral has joined #ruby
Astral is now known as Guest11925
balalalala has joined #ruby
Guest11925 is now known as Astralum
mark_locklear has joined #ruby
<rking> Yeah. =( I do gem.summary = gem.description = "…"
samphippen has quit [Quit: Computer has gone to sleep.]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
pyro111 has quit [Quit: Leaving]
nemesit|osx has quit [Quit: Linkinus - http://linkinus.com]
nemesit has joined #ruby
samphippen has joined #ruby
banisterfiend has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
banisterfiend has quit [Ping timeout: 245 seconds]
samphippen has joined #ruby
krz has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
ananthakumaran has joined #ruby
My_Hearing is now known as Mon_Ouie
samphippen has joined #ruby
lkba has quit [Ping timeout: 244 seconds]
adkron has joined #ruby
cor3ngine has quit [Ping timeout: 245 seconds]
samphippen has quit [Client Quit]
sayan has joined #ruby
havenn has joined #ruby
ewag has quit [Ping timeout: 255 seconds]
joeycarmello has quit [Ping timeout: 240 seconds]
havenn has quit [Ping timeout: 245 seconds]
Asher has joined #ruby
Guest39098 has quit [Ping timeout: 260 seconds]
ebouchut has quit [Quit: This computer has gone to sleep]
Asher has quit [Client Quit]
jds has joined #ruby
LyonJT has joined #ruby
Onii-san has joined #ruby
balalalala has quit [Ping timeout: 240 seconds]
balalalala has joined #ruby
Jake232 has joined #ruby
Xeago has joined #ruby
moshee has quit [Ping timeout: 245 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
awestroke has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
jds has quit [Remote host closed the connection]
Jasko has joined #ruby
Kuifje has joined #ruby
Kuifje has quit [Changing host]
Kuifje has joined #ruby
joeycarmello has joined #ruby
browndawg has joined #ruby
<maetthew> What's the best way to deploy code to a server?
<maetthew> I mean, a production server
atmosx has quit [Quit: Computer has gone to sleep.]
<arturaz> capistrano
<arturaz> (being bold on the best way)
<maetthew> hmm ok arturaz
<maetthew> thanks will check it out
<arturaz> (if you're using git and really need the speed)
ebouchut has joined #ruby
<maetthew> Mina looks nice. Thanks
awestroke has quit [Remote host closed the connection]
balalalala has quit [Ping timeout: 265 seconds]
balalalala has joined #ruby
atyz has quit [Quit: Leaving...]
karasawa has quit [Ping timeout: 276 seconds]
karasawa has joined #ruby
ryez has joined #ruby
emergion has joined #ruby
kirun__ has joined #ruby
kirun__ has quit [Remote host closed the connection]
matchaw has quit [Remote host closed the connection]
kirun_ has quit [Ping timeout: 260 seconds]
jamescarr has joined #ruby
banisterfiend has joined #ruby
solidresolve has quit [Remote host closed the connection]
solidresolve has joined #ruby
Guest9041 has quit [Remote host closed the connection]
Guest9041 has joined #ruby
LouisGB has joined #ruby
tenmilestereo has joined #ruby
cor3ngine has joined #ruby
daniel_- has joined #ruby
dsdeiz has joined #ruby
Xeago has quit [Remote host closed the connection]
ebouchut has quit [Quit: This computer has gone to sleep]
moos3 has joined #ruby
jfl0wers has joined #ruby
Xeago has joined #ruby
atyz has joined #ruby
benlieb has joined #ruby
thone_ has joined #ruby
lateau has quit [Remote host closed the connection]
lateau has joined #ruby
nomenkun has quit [Remote host closed the connection]
thone has quit [Read error: No route to host]
atmosx has joined #ruby
atmosx has quit [Remote host closed the connection]
atmosx has joined #ruby
adkron has quit [Ping timeout: 265 seconds]
jamescarr has quit [Quit: jamescarr]
cor3ngine has quit [Remote host closed the connection]
kaen has quit [Ping timeout: 265 seconds]
Slivka has joined #ruby
freeayu has quit [Remote host closed the connection]
jamescarr has joined #ruby
nignaztic has quit [Quit: plz die k thx]
nazty has quit [Remote host closed the connection]
ltsstar has joined #ruby
DrCode has quit [Quit: ZNC - http://znc.in]
cor3ngine has joined #ruby
tww has joined #ruby
jamescarr has quit [Ping timeout: 245 seconds]
pngl has quit [Read error: Connection reset by peer]
atyz has quit [Quit: Leaving...]
DrCode has joined #ruby
mpfundstein_home has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
kil0byte has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
arturaz has quit [Remote host closed the connection]
mosez has quit [Ping timeout: 260 seconds]
krz has quit [Quit: krz]
benlieb has joined #ruby
mosez has joined #ruby
Astralum has quit [Read error: No route to host]
Astralum has joined #ruby
neurotech has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
joeycarmello has quit [Ping timeout: 244 seconds]
ebouchut has joined #ruby
sayan has quit [Quit: Leaving]
sayan has joined #ruby
jds has joined #ruby
Takehiro has quit [Remote host closed the connection]
JohnBat26 has quit [Read error: Connection reset by peer]
tww has quit [Quit: tww]
jds has quit [Ping timeout: 245 seconds]
Virunga has quit []
Virunga has joined #ruby
Virunga has quit [Client Quit]
evelyette has quit [Ping timeout: 246 seconds]
cor3ngine has quit [Quit: Leaving]
balalalala has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/]
tww has joined #ruby
tww has quit [Client Quit]
moshee has quit [Ping timeout: 255 seconds]
ik_5 has joined #ruby
<ik_5> hello
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
AndChat| has joined #ruby
nazty has joined #ruby
<ik_5> i have threads, each thread get variables from outside it scope that constantly changes. and I can't figure out how mri 1.9.3 will deal with such thing, that is what information will it have, will it have a copy of the content, or will it just safe address of the variable itself and when variable changes, so does inside the thread, etc ...
Banistergalaxy has quit [Ping timeout: 245 seconds]
<cirwin> ik_5: threads don't change scoping rules
<cirwin> so you have have two threads tinkering with one variable at the same time
<cirwin> it won't crash ruby as it is protected by the GVL, but it will give you unpredictable results
<ik_5> cirwin, so if i pass a variable with "1", it will continue to be "1" even if the variable changes by the time the thread uses that information ?
<cirwin> ik_5: if you change the value of a variable all threads will see the new value
joofsh has joined #ruby
tpelletier has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
<cirwin> i = 0; t = Thread.new{ puts i; }; i = 1
<cirwin> usually outputs 1 for me (though it could output 0 sometimes I guess)
Jasko has joined #ruby
<ik_5> cirwin, how can i make it store an "image" of specific value ?
ananthakumaran1 has joined #ruby
<cirwin> store it in a variable you're not going to re-assign
<cirwin> if it's more than a primitive (i.e. a proper object, array or hash) you might want to call .dup on it to prevent modifications being shared
joeycarmello has joined #ruby
ananthakumaran has quit [Ping timeout: 255 seconds]
<ik_5> thanks cirwin, i'll try it, if only I could do it without threads :)
pskosinski has quit [Ping timeout: 245 seconds]
<cirwin> ik_5: threads can be so useful :)
emergion has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby
<ik_5> cirwin, i need to go over 100,000 records a day send each record a set of things, but it takes a lot of time for this set of things, so i need to send it to few servers and threadpool them to the number of servers
jmeeuwen has quit [Quit: Disconnecting from stoned server.]
pskosinski has joined #ruby
jmeeuwen has joined #ruby
havenn has quit [Ping timeout: 260 seconds]
Virunga has joined #ruby
JohnBat26 has joined #ruby
koshii has quit [Ping timeout: 264 seconds]
moos3 has quit [Quit: Computer has gone to sleep.]
JohnBat26 has quit [Client Quit]
DaZ has joined #ruby
nomenkun has joined #ruby
alexspeller has joined #ruby
josh0x0 has joined #ruby
moos3 has joined #ruby
pothibo has joined #ruby
jamescarr has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby
jamescarr has quit [Client Quit]
Takehiro has joined #ruby
nomenkun has quit [Ping timeout: 245 seconds]
lkba has joined #ruby
greenarrow has quit [Ping timeout: 260 seconds]
pac1 has joined #ruby
Takehiro has quit [Ping timeout: 264 seconds]
greenarrow has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
theRoUS_ has joined #ruby
koshii has joined #ruby
atyz has joined #ruby
kzar has joined #ruby
<kzar> Is there a good gem for for pretty HTML indentation?
Jasko has quit [Read error: Connection reset by peer]
JohnBat26 has joined #ruby
Jasko has joined #ruby
quest88 has joined #ruby
<Hanmac> kzar: nokogiri can do it
superbot has quit [Quit: WeeChat 0.3.9.2]
<kzar> Hanmac: If I used something like nokogiri though would it break if it wasn't valid XML? e.g. an unclosed img tag or whatever
megharsh has joined #ruby
atyz has quit [Ping timeout: 260 seconds]
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<ik_5> kzar, if it's xhtml, then it's xml structure, and you have a bug :)
<kzar> ik_5: Yes, if it were and I did it would
benlieb has quit [Quit: benlieb]
<ik_5> kzar, html standard (even html5) is that tags such as img are not closed, that is <img> is valid
<kzar> ik_5: Exactly
jamescarr has joined #ruby
LKiS has quit [Ping timeout: 255 seconds]
<Mon_Ouie> Nokogiri has an HTML and an XML parser, so it should be fine
<kzar> Mon_Ouie: But on googling apparently to use pretty printing you have to parse as XML
<ik_5> kzar, html = Nokogiri::HTML(open('/tmp/file.html')).to_html
daniel_- has quit [Ping timeout: 245 seconds]
akemrir has joined #ruby
<kzar> ik_5: Just gave that a try, it didn't indent it properly
<kzar> (Starting to realise this is actually a harder task than I had originally thought.)
Onii-san has quit [Ping timeout: 264 seconds]
theRoUS has quit [Ping timeout: 252 seconds]
ryez has quit [Ping timeout: 245 seconds]
tommyvyo_ has joined #ruby
<Kovensky> <Mon_Ouie> Nokogiri has an HTML and an XML parser, so it should be fine <-- hopefully separate, and not a disaster like Cocoa's parser...
theRoUS_ has quit [Ping timeout: 276 seconds]
<kzar> ik_5: Yea I saw that, I was hoping to avoid having a binary dependency... after FFI shenanigans on a different project I can't be arsed!
<Kovensky> (Cocoa has a XML parser with an HTML-to-XML filter flag you can use to parse HTML, but said filter doesn't actually work and breaks more often than not)
<kzar> Kovensky: Oh balls!
<kzar> Kovensky: I think it's one of those tasks that seems easy before you try to do it but actually takes a lot of work to do right
<Kovensky> the least bad way of parsing HTML is to actually create a hidden WebView (webkit control), use it to load your HTML and then use DOM methods
<ik_5> i offered to use libtidy :)
<Kovensky> heh
<Kovensky> I wonder if you can use libtidy to feed stuff to cocoa's parser
<kzar> OK pretty HTML is getting dropped from my website I guess
<kzar> for now at least
x82_nicole has joined #ruby
jamescarr has quit [Quit: jamescarr]
johnmilton has joined #ruby
johnmilton has quit [Read error: Connection reset by peer]
johnmilton has joined #ruby
banisterfiend has quit [Ping timeout: 252 seconds]
Morkel has joined #ruby
AxonetBE has joined #ruby
karasawa has quit [Ping timeout: 255 seconds]
karasawa has joined #ruby
dsdeiz has quit [Ping timeout: 244 seconds]
statarb3 has quit [Read error: Connection reset by peer]
Jasko has quit [Read error: Connection reset by peer]
statarb3 has joined #ruby
Jasko has joined #ruby
nricciar_ has quit [Ping timeout: 264 seconds]
jamescarr has joined #ruby
greenarrow has quit [Read error: Operation timed out]
greenarrow has joined #ruby
jamescarr has quit [Client Quit]
ebouchut_ has joined #ruby
joeycarmello has quit [Ping timeout: 255 seconds]
mmitchell has joined #ruby
evelyette has joined #ruby
AxonetBE has quit [Quit: Leaving.]
ebouchut has quit [Ping timeout: 264 seconds]
AxonetBE has joined #ruby
kirun has joined #ruby
mmitchell has quit [Remote host closed the connection]
segora has joined #ruby
samphippen has joined #ruby
emergion has joined #ruby
Coeus has joined #ruby
mmitchell has joined #ruby
iaj has quit [Ping timeout: 260 seconds]
itnomad has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
JohnBat26 has joined #ruby
quest88 has quit [Quit: quest88]
josh0x0 has quit [Quit: josh0x0]
quest88 has joined #ruby
quest88 has quit [Client Quit]
iaj has joined #ruby
ik_5 has quit [Quit: Leaving]
nricciar_ has joined #ruby
AxonetBE has quit [Quit: Leaving.]
Iszak has joined #ruby
darthdeu has quit [Quit: Leaving...]
daniel_- has joined #ruby
alanjc has joined #ruby
atyz has joined #ruby
jaygen has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
joeycarmello has joined #ruby
jaygen_ has quit [Ping timeout: 252 seconds]
tommyvyo_ has joined #ruby
atyz has quit [Ping timeout: 255 seconds]
hotovson has joined #ruby
banisterfiend has joined #ruby
io_syl has joined #ruby
jamescarr has joined #ruby
Chryson has joined #ruby
jamescarr has quit [Client Quit]
daniel_-_ has joined #ruby
mrdtt has quit [Quit: mrdtt]
jds has joined #ruby
daniel_- has quit [Ping timeout: 252 seconds]
pac1 has quit [Quit: I got it one line of code at a time]
cdt has joined #ruby
emmanuelux has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
theRoUS_ has joined #ruby
iamjarvo has quit [Quit: Leaving.]
Morkel has quit [Quit: Morkel]
yacks has joined #ruby
nwertman has joined #ruby
emocakes has quit [Quit: emocakes]
becom33 has joined #ruby
otters has joined #ruby
Advocation has joined #ruby
<becom33> how can I use a common layout erb in sinatra ? like header and footers and content separately
jaygen has quit [Remote host closed the connection]
wargasm has joined #ruby
Xeago has quit [Remote host closed the connection]
cdt has quit [Ping timeout: 245 seconds]
rwilcox has joined #ruby
EyesIsMine has quit [Remote host closed the connection]
<becom33> umm anyone ?
oktapodi has joined #ruby
oktapodi_ has quit [Read error: Connection reset by peer]
havenn has joined #ruby
nomenkun has joined #ruby
jgrevich has joined #ruby
daniel_-_ has quit [Quit: WeeChat 0.3.9.2]
daniel_- has joined #ruby
daniel_- has quit [Changing host]
daniel_- has joined #ruby
havenn has quit [Ping timeout: 255 seconds]
oktapodi has quit [Ping timeout: 245 seconds]
nwertman has quit [Ping timeout: 245 seconds]
sailias has quit [Quit: Leaving.]
<TheEmpty_> becom33: How are you processing requests? Do you have a template engine in there?
matchaw_ has joined #ruby
<becom33> TheEmpty_, I got nothing . I just have a basic html page . which I was thinking to break into headers and footers . looked for some tuts on the net coudnt find any
serhart has joined #ruby
<TheEmpty_> That's not in the capability of HTML. You could do something hacky such as instead of responding by reading that HTML file, reading header.html, {request}, footer.html but that's pretty horriable to configure. Look into a template engine.
<TheEmpty_> Such as HAML or ERB
<becom33> TheEmpty_, thats what Im asking . how to do that with erb
wallerdev has joined #ruby
Lars__ has joined #ruby
elico has joined #ruby
Lars__ has quit [Client Quit]
skcin7 has joined #ruby
onibox has joined #ruby
atyz has joined #ruby
CodeVision has joined #ruby
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby
atyz has quit [Ping timeout: 245 seconds]
segora has quit [Quit: segora]
jgrevich_ has joined #ruby
joeycarmello has quit [Ping timeout: 240 seconds]
kaen has joined #ruby
jfl0wers has quit [Quit: jfl0wers]
jgrevich has quit [Ping timeout: 245 seconds]
jgrevich_ is now known as jgrevich
landho has quit [Ping timeout: 245 seconds]
eldariof has quit []
eldariof has joined #ruby
banisterfiend has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
sayan has quit [Quit: Leaving]
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby
banisterfiend has joined #ruby
sepp2k has quit [Ping timeout: 260 seconds]
ebouchut_ has quit [Quit: This computer has gone to sleep]
ebouchut has joined #ruby
casheew has joined #ruby
wallerdev has quit [Quit: wallerdev]
carlyle has joined #ruby
pothibo has quit [Quit: pothibo]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
carlyle has quit [Read error: Connection reset by peer]
Advocation has quit [Quit: Advocation]
nricciar_ has quit [Ping timeout: 276 seconds]
joeycarmello has joined #ruby
browndawg has left #ruby [#ruby]
sepp2k has joined #ruby
becom33 has quit [Quit: Leaving]
Virunga has quit []
onibox has quit [Quit: leaving]
Virunga has joined #ruby
dr_neek has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
nmeum has quit [Quit: WeeChat 0.3.8]
casheew has quit [Quit: Lost terminal]
statarb3 has quit [Ping timeout: 276 seconds]
wallerdev has joined #ruby
lenovodroid has joined #ruby
Michael has joined #ruby
Michael is now known as Guest57534
ebouchut has quit [Quit: This computer has gone to sleep]
love_color_text has joined #ruby
karasawa has quit [Ping timeout: 265 seconds]
kapowaz_ is now known as kapowaz
lenovodroid has quit [Read error: Connection reset by peer]
lenovodroid has joined #ruby
karasawa has joined #ruby
<kapowaz> I'm trying to track down an odd SystemStackError I'm getting in a Sinatra app, and I now think maybe it's something to do with Mash
<kapowaz> if I try within IRB to create a new Mash then set a key's value, I get: SystemStackError: stack level too deep
Jasko has quit [Read error: Connection reset by peer]
BoomCow has joined #ruby
<kapowaz> anyone able to offer any wisdom as to why?
Goles has quit [Read error: No route to host]
Jasko has joined #ruby
awestroke has joined #ruby
<waxjar> can you show some example code?
lenovodroid has quit [Read error: Connection reset by peer]
atyz has joined #ruby
lenovodroid has joined #ruby
<kapowaz> waxjar: well, if I invoke IRB with -r ./application.rb it's as simple as: `m = Mash.new; m.foo = 'hi'` => exception
havenn has joined #ruby
<kapowaz> if I invoke irb without my app, the issue doesn't present itself, so it's obviously something else causing that… but I have no idea how to find out where.
<ryanf> kapowaz: you could use set_trace_func
generalissimo has joined #ruby
<kapowaz> ryanf: I'm unfamiliar with that — do you just call that in the context of a method?
<kapowaz> aha, you pass it a proc?
<ryanf> m = Mash.new; set_trace_func { |*a| p a }; m.foo = 'hi'
<ryanf> oops yea
<ryanf> m = Mash.new; set_trace_func proc { |*a| p a }; m.foo = 'hi'
<ryanf> *yeah
<kapowaz> cool, I'll try that
<ryanf> get ready to get spammed
<kapowaz> heh
<rking> I'm wanting to do a project that de-spams set_trace_func output
<rking> Like it writes to a sqlite3 file then you use a web browser to navigate it
<rking> The thing that sucks about it is that you end up wanting to see the objects at certain frames, and it would probably get ridiculous if you snapshotted them.
atyz has quit [Ping timeout: 255 seconds]
<rking> But maybe you could implement Object#snapshot to do a shallow version, then per-class/obj override that so you can get more to explore.
<kapowaz> hmm, it appears to lock up the app completely…
<kapowaz> (it's a sinatra app fwiw)
pskosinski has quit [Quit: Learn Life's Little Lessons]
<waxjar> does it do the same thing when you run irb with -r mash (something might clash with sinatra?)
<waxjar> or whatever the name of the gem is
<rking> kapowaz: It probably *appears* to, while it writes 10Gb of data somewhere.
<kapowaz> crap
<rking> That's why I want to write a gem to contain the volume of data.
<kapowaz> waxjar: if I load up irb without any required gems, then manually require it, no it's fine
<kapowaz> you can just do irb -r <gemname> ?
<kapowaz> that's cool
<waxjar> yep :)
jds has quit [Remote host closed the connection]
<ryanf> kapowaz: you really want to minimize the amount of time you're using it (i.e., start it right before the point that breaks)
<kapowaz> either way, it's fine when I load it that way
<ryanf> because it slows everything down a lot
<ryanf> (re: "it appears to lock up the app completely"
<kapowaz> ryanf: can you get it to stop after that point…?
<ryanf> )
<ryanf> yeah, you just call set_trace_func nil
<kapowaz> yeah I have it in the line before the assignment to the new mash
<kapowaz> I'll try that so it's around a single assignment. How long should I wait before I consider it AWOL ?
<kapowaz> I left it about 30 seconds last time…
<ryanf> is it printing into a log or something?
<ryanf> you should just watch the output, because
<ryanf> it's going to be doing some kind of infinite recursion
<ryanf> which is pretty fast to hit the stack limit normally, but with set_trace_func it will take a long time
<ryanf> but if you just watch it and ctrl-c when you see it start repeating
<kapowaz> output… hmm, well given that I'm testing an upload in the browser that might be difficult.
<ryanf> you may be able to figure out what's happening
<kapowaz> maybe pow has logs for this
<ryanf> oh, I don't know where pow's stderr goes
<ryanf> stdout I mean
<kapowaz> it goes to the Console app
<ryanf> why not just do it in irb though?
<kapowaz> so I see it now
<kapowaz> honestly, I'm not sure how I'd reproduce a form post from IRB
<kapowaz> okay, so I have the log here. How do you interpret it?
<ryanf> basically it's a giant list of method calls, method returns, and some other stuff
Guest57534 has quit [Remote host closed the connection]
<ryanf> so if you see a repeating pattern at the end, it should be possible to figure out what's causing the recursion
<kapowaz> aha
<kapowaz> I think I might have a hint here
<kapowaz> I see references to a mash.rb both within a mash gem, and extlib
<kapowaz> could it be that there are two implementations?
<ryanf> interesting
<ryanf> sounds plausible
ananthakumaran1 has quit [Quit: Leaving.]
<kapowaz> I'm not explicitly including extlib
HorizonXP has quit [Quit: leaving]
kirun has quit [Ping timeout: 240 seconds]
<kapowaz> dm-paperclip depend on it though
<kapowaz> so maybe that's the issue; I'm including the mash gem separately. I'll try rebundling without it and see what happens.
kiyoura has joined #ruby
<kapowaz> irb test looks promising!
emsilva has joined #ruby
hotovson has quit [Remote host closed the connection]
<ryanf> wow, I had no idea datamapper loaded extlib. that would make me pretty nervous about using it in a rails project
cirwin1 has joined #ruby
<ryanf> because there's tons of stuff in there that overlaps with activesupport, and they haven't updated it in like three years
<ryanf> I wonder if datamapper 2.0 will still have that dep
benlieb has joined #ruby
cirwin has quit [Ping timeout: 245 seconds]
<kapowaz> yeah, sounds like a bit of a risk.
<kapowaz> I'd have to assume it doesn't but I might mention it in the DM channel
<kapowaz> this is a sinatra app though so I'm less worried myself
lenovodroid has quit [Read error: Connection reset by peer]
pskosinski has joined #ruby
<kapowaz> but indeed, removing the extra mash gem fixed the issue — I now have another issue to fix, but it's definitely getting further :)
<kapowaz> so thanks!
iamjarvo has joined #ruby
emsilva has quit [Ping timeout: 252 seconds]
<ryanf> np
emocakes has joined #ruby
emsilva has joined #ruby
hotovson has joined #ruby
atyz has joined #ruby
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
karasawa has quit [Ping timeout: 255 seconds]
Goles has joined #ruby
hotovson has quit [Ping timeout: 245 seconds]
norm has quit [Read error: Connection reset by peer]
norm has joined #ruby
hotovson has joined #ruby
joofsh has quit [Remote host closed the connection]
joeycarmello has quit [Ping timeout: 265 seconds]
daniel_- has quit [Ping timeout: 252 seconds]
_alejandro has joined #ruby
baphled has joined #ruby
emsilva has quit [Quit: Computer has gone to sleep.]
hotovson has quit [Ping timeout: 245 seconds]
tenmilestereo has quit [Read error: Connection reset by peer]
tenmilestereo has joined #ruby
tenmilestereo has quit [Max SendQ exceeded]
tenmilestereo has joined #ruby
DrCode has quit [Quit: ZNC - http://znc.in]
love_color_text has quit [Remote host closed the connection]
emsilva has joined #ruby
mjolk has joined #ruby
<Hanmac> hey i have an array1 with an unknown size, and i want to turn it into array2 with given size, everything that is tumuch should be cutted, and the gaps should be filled with 0 ... can someone help me?
crackfu has joined #ruby
toekutr has joined #ruby
toekutr has quit [Remote host closed the connection]
daniel_- has joined #ruby
DrCode has joined #ruby
tommyvyo_ has joined #ruby
Michael has joined #ruby
Michael is now known as Guest68050
Guest68050 has quit [Remote host closed the connection]
hybris has joined #ruby
cirwin1 is now known as cirwin
<TheEmpty_> >> [1,2,3,4,5].fill(0, 5..7)
<eval-in> TheEmpty_: Output: "" (http://eval.in/5737)
cirwin has quit [Changing host]
cirwin has joined #ruby
<TheEmpty_> >> print [1,2,3,4,5].fill(0, 5..7)
michaelhf has joined #ruby
<eval-in> TheEmpty_: Output: "[1, 2, 3, 4, 5, 0, 0, 0]" (http://eval.in/5738)
tommyvyo_ has quit [Client Quit]
<TheEmpty_> >> print [1,2,3,4,5].slice(1,3)
<eval-in> TheEmpty_: Output: "[2, 3, 4]" (http://eval.in/5739)
wermel has quit [Remote host closed the connection]
<TheEmpty_> Use those two function in an if case based on input array's length
<TheEmpty_> for fill, start the range at the input length to desired length
michaelhf has quit [Remote host closed the connection]
Morkel has joined #ruby
benlieb has quit [Quit: benlieb]
statarb3 has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
jgrevich has quit [Read error: Connection reset by peer]
Advocation has joined #ruby
Advocation has quit [Client Quit]
jgrevich has joined #ruby
stkowski has joined #ruby
karasawa has joined #ruby
joeycarmello has joined #ruby
nricciar has joined #ruby
<kapowaz> so, I wish to use this patch in a gem: https://github.com/thoughtbot/paperclip/commit/1bcfc14388d0651c5fc70ab9ca3511144c698903 — how would I go about including this in a project? Do I have to create a gem from the patched source then specify a path to this local gem? And if so how does that affect deploying with Heroku?
mengu has joined #ruby
jgrevich_ has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
jgrevich has quit [Read error: Connection reset by peer]
_alejandro has quit [Remote host closed the connection]
cdt has joined #ruby
jds has joined #ruby
jgrevich has joined #ruby
love_color_text has joined #ruby
matchaw_ has quit [Remote host closed the connection]
jgrevich_ has quit [Ping timeout: 255 seconds]
jds has quit [Remote host closed the connection]
xeviox has joined #ruby
<xeviox> any idea why this `which #{tool} 1,2> /dev/null` doesn't work as expected (output is not redirected to /dev/null)?
<shevy> xeviox is this legal syntax?
<shevy> I only saw stream redirects via 2>&1
<xeviox> ah damn
<xeviox> could be the reason ^^
<xeviox> it worked without error on zsh
<shevy> I never get those things right, I find the syntax confusing
<shevy> except for < or >
<shevy> and >>
<shevy> >> append, < get input from, > write into
<eval-in> shevy: Output: "/tmp/execpad-27b2ee5a3fe6/source-27b2ee5a3fe6:1: syntax error, unexpected '<', expecting '='\nappend, < get input from, > write into\n ^\n/tmp/execpad-27b2ee5a3fe6/source-27b2ee5a3fe6:1: syntax error, unexpected '>'\nappend, < get input from, > write into\n ^\n" (http://eval.in/5740)
<shevy> lol
<shevy> eval-in you stupid bot
<xeviox> shevy: thanks!
<shevy> ohhhh
<shevy> must test the bot
<shevy> >> append, < get input from, > write into 2
<eval-in> shevy: Output: "/tmp/execpad-ae8ee3adf410/source-ae8ee3adf410:1: syntax error, unexpected '<', expecting '='\nappend, < get input from, > write into 2\n ^\n/tmp/execpad-ae8ee3adf410/source-ae8ee3adf410:1: syntax error, unexpected '>'\nappend, < get input from, > write into 2\n ^\n" (http://eval.in/5741)
<shevy> hmm
<shevy> how does the bot generate the "27b2ee5a3fe6" and "ae8ee3adf410" part?
<xeviox> shevy: thanks again, works with correct syntax ^^
adallard has quit [Ping timeout: 245 seconds]
<kapowaz> I'm getting a TypeError (can't convert nil into Integer) here, which seems to be originating within dm-paperclip, but the actual line of source it points to doesn't seem to be ever reachable for my app (I'm running under Ruby 1.9.3 and it seems to only get into the block in question if RUBY_VERSION <= "1.8.6"
<kapowaz> code from dm-paperclip here: https://github.com/krobertson/dm-paperclip/blob/master/lib/dm-paperclip/processor.rb (the exception says file: processor.rb location: sprintf line: 46)
<kapowaz> there's a way I can inspect the source within an installed gem, isn't there?
karasawa has quit [Ping timeout: 245 seconds]
<kapowaz> just to verify it is running that actual version
<shevy> xeviox cool
<shevy> xeviox on my personal todo list is "write a colourize for GNU autoconfigure"
<shevy> *colourizer
karasawa has joined #ruby
<shevy> but I have not found out how to do line-by-line fetching, colouring + displaying
adallard has joined #ruby
<xeviox> shevy: you could split the line, couldn't you?
<xeviox> or do mean that you can't wait for autoconfigure to return?
hemanth_ has quit [Read error: Connection reset by peer]
<shevy> xeviox on newline, yes. but how can you display line-by-line without delay? right now I do system('./configure'). if I do: result = `./configure`, I have to wait until the whole configure command has finished :(
Morkel_ has joined #ruby
<xeviox> ah ok
<xeviox> I'm not very experienced in ruby
<shevy> autoconfigure usually works by line-by-line display, instantly, if I use ``, I get the string... but I must wait until it finished return
BeLucid has quit [Read error: Connection reset by peer]
<shevy> I think there is a way with IO
<xeviox> shevy: but imho you can't use system(..) for this
<shevy> yeah I dont like system() that much
<xeviox> as system runs a command and returns after the command finishes
sorbo_ has joined #ruby
<xeviox> shevy: give me a second
BeLucid has joined #ruby
akemrir has quit [Quit: WeeChat 0.3.9.2]
hemanth_ has joined #ruby
lorn has quit [Ping timeout: 248 seconds]
hemanth_ has quit [Read error: Connection reset by peer]
Morkel has quit [Ping timeout: 276 seconds]
Morkel_ is now known as Morkel
w|t has quit [Read error: Connection reset by peer]
w|t_ has joined #ruby
hemanth_ has joined #ruby
samuel02 has quit [Remote host closed the connection]
kalleth has quit [Read error: Connection reset by peer]
kalleth has joined #ruby
dross has quit [Ping timeout: 255 seconds]
lorn has joined #ruby
havenn has quit [Remote host closed the connection]
dross has joined #ruby
inimino has quit [Ping timeout: 248 seconds]
koshii has quit [Ping timeout: 255 seconds]
havenn has joined #ruby
tomku has quit [Ping timeout: 260 seconds]
havenn has quit [Read error: Connection reset by peer]
havenn has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
Jake232 has quit [Quit: Computer has gone to sleep.]
<xeviox> what is the common way for block comments in ruby (to comment a methohd/class)? Using =begin .. =end ?
havenn has quit [Remote host closed the connection]
Jasko has quit [Read error: Connection reset by peer]
kil0byte has joined #ruby
havenn has joined #ruby
Jasko has joined #ruby
_alejandro has joined #ruby
Nisstyre-laptop has joined #ruby
koshii has joined #ruby
<shevy> I think that is the only way xeviox
<shevy> I myself always use # though
<shevy> :\
<TheEmpty_> I don't use blocks just #
<shevy> or, I just use something like
<shevy> if 5 < 4
<TheEmpty_> control/command + / should do it over a select
<shevy> code here
<shevy> end
<xeviox> is =begin .. =end discouraged?
joofsh has joined #ruby
havenn has quit [Read error: No route to host]
iamjarvo has quit [Quit: Leaving.]
havenn has joined #ruby
<xeviox> shevy: will popen help?
IceDragon has joined #ruby
hybris has quit [Quit: Leaving]
Astral has joined #ruby
hybris has joined #ruby
Astral is now known as Guest74337
<sorbo_> I don't think =begin .. =end is discouraged, but I don't see it a lot
<IceDragon> its clunky, and both need to be exactly at the start of a line
havenn has quit [Remote host closed the connection]
<sorbo_> this is true
joeycarmello has quit [Remote host closed the connection]
joeycarmello has joined #ruby
havenn has joined #ruby
<TheEmpty_> I have never used it, 5 or 6 years of Ruby? Wow long time
<sorbo_> yeah
<sorbo_> stick to #
Astralum has quit [Ping timeout: 255 seconds]
<xeviox> ok
<shevy> xeviox hmm
<shevy> my brain must first understand something
<xeviox> there isn't something like rubydoc or similar, right?
<shevy> popen, I just dont have it in my brain yet
<shevy> it seems harder than system() or ``
<xeviox> shevy: it is more complex ^^
<shevy> :(
<xeviox> shevy: wait, I'll try to build a simple example
<shevy> I think every time when I wanted to use popen
<IceDragon> system(); ``; %x()
<shevy> I ended up thinking "hey... I could just use system() ... or `` instead"
s0ber has quit [Read error: Connection reset by peer]
havenn has quit [Ping timeout: 264 seconds]
jamescarr has joined #ruby
<xeviox> shevy: I found something that fits better, example will come
s0ber has joined #ruby
koshii has quit [Ping timeout: 245 seconds]
<xeviox> shevy: this looks good and comes with a small example: http://stackoverflow.com/questions/7117088/ruby-io-popen-stdout-buffering
<xeviox> checkout the answer
mpfundstein_home has quit [Ping timeout: 245 seconds]
h4mz1d has joined #ruby
<shevy> ok but
iaj has quit [Ping timeout: 245 seconds]
<shevy> why cant I use system './configure --prefix=/usr --disable-qt' there instead?
<xeviox> you mean `./configure ... ` (using the backticks)?
hotovson_ has joined #ruby
iaj has joined #ruby
<IceDragon> just use %x[something something] if your mixing stuff up
eldariof has quit []
BoomCow has quit [Quit: This computer has gone to sleep]
elico has quit [Ping timeout: 265 seconds]
Michael has joined #ruby
Michael is now known as Guest56401
mercwithamouth has joined #ruby
nricciar has quit [Ping timeout: 240 seconds]
samuel02 has joined #ruby
robbyoconnor has quit [Ping timeout: 276 seconds]
generalissimo has quit [Remote host closed the connection]
Guest56401 has quit [Remote host closed the connection]
Iszak has quit []
tenmilestereo has quit [Quit: Leaving]
h4mz1d has quit [Ping timeout: 245 seconds]
Markvilla has joined #ruby
koshii has joined #ruby
Goles has quit [Quit: Computer has gone to sleep.]
mybrainis404 has quit [Disconnected by services]
mybrainis404__ has joined #ruby
whowantstolivef1 has joined #ruby
jamescarr has quit [Quit: jamescarr]
<shevy> xeviox I mean
whowantstolivef1 has quit [Read error: Connection reset by peer]
Morkel has quit [Quit: Morkel]
quest88 has joined #ruby
dv_ has quit [Ping timeout: 260 seconds]
whowantstolivef2 has quit [Ping timeout: 255 seconds]
mybrainis404__ has left #ruby [#ruby]
samuel02 has quit [Remote host closed the connection]
swarles is now known as xXswarleyXxX
katzekintosh has joined #ruby
xXswarleyXxX is now known as broken
jds has joined #ruby
<xeviox> shevy: you can't use "system" or the backticks variant as you'll get the stdout output just when the called application finished
joofsh has quit [Remote host closed the connection]
broken is now known as belittledSwarley
quest88 has quit [Quit: quest88]
belittledSwarley is now known as swarley
dv_ has joined #ruby
xeviox is now known as xeviox|awy
jds has quit [Ping timeout: 255 seconds]
koshii has quit [Ping timeout: 255 seconds]
PragCypher has joined #ruby
cdt has quit [Ping timeout: 245 seconds]
<shevy> if filename and os.path.isfile(filename):
<shevy> I find python weird
lenovodroid has joined #ruby
s1n4 has joined #ruby
s1n4 is now known as Guest54564
Umren has quit [Read error: Connection reset by peer]
mark_locklear has quit [Remote host closed the connection]
Squarepy has quit [Quit: Leaving]
mercwithamouth has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby
dross has quit [Ping timeout: 255 seconds]
TheEmpty has joined #ruby
cableray has joined #ruby
nricciar has joined #ruby
<ryanf> shevy: ... as opposed to if filename && File.exist?(filename)
<ryanf> ?
<ryanf> what's the difference?
h4mz1d has joined #ruby
<ryanf> at least theirs isn't grammatically questionable
TheEmpty_ has quit [Ping timeout: 245 seconds]
blacktulip has quit [Remote host closed the connection]
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
Xeago has joined #ruby
Michael has joined #ruby
Michael is now known as Guest48247
dross has joined #ruby
Guest25886 has quit [Quit: Guest25886]
bradleyprice has joined #ruby
mengu has quit [Read error: Connection reset by peer]
mengu has joined #ruby
<shevy> ryanf the python variant seems less readable to me
cheese1756 has joined #ruby
tommyvyo_ has joined #ruby
jamescarr has joined #ruby
yshh has joined #ruby
mercwithamouth has joined #ruby
jamescarr has quit [Client Quit]
rwilcox has quit []
koshii has joined #ruby
hybris has quit [Quit: Leaving]
jessta has quit [Quit: Lost terminal]
joofsh has joined #ruby
alcuadrado has joined #ruby
koshii has quit [Ping timeout: 276 seconds]
<alcuadrado> I'm trying to teach my little brother programming, and think ruby is a great candidate for that as it's the most similar to plain English. I installed Hackety Hack in his pc and is now really motivated about it, just about to finish it. Do you know any other resources for teaching ruby to kids and teenagers?
marr has joined #ruby
flip_digits has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Guest48247 has quit [Remote host closed the connection]
kn330 has quit [Quit: Ex-Chat]
joofsh has quit [Remote host closed the connection]
stkowski has quit [Quit: stkowski]
jaygen has joined #ruby
<shevy> alcuadrado no idea. I think kids can learn ruby, just need to write in simple english
<shevy> the younger they learn the better
<swarley> I learned ruby at age 13-14
<alcuadrado> sure, and he is not THAT young
<alcuadrado> he is 15
<swarley> And i used Beginning Ruby Novice to Professional
<swarley> I'm 16 lol.
<swarley> Also, why's guide is somewhat entertaining
<pskosinski> In Estonia kids will be learning programming from primary school.
<alcuadrado> I tried to to teach him before, but he wasn't proficient in English at that moment
<swarley> I learned C++ in middle school
<swarley> But that was my choice
<swarley> not the school's
<alcuadrado> swarley, your life has been ruined lol
karasawa has quit [Ping timeout: 265 seconds]
<swarley> Yes it has.
<swarley> Ruby has made things better though.
landho has joined #ruby
karasawa has joined #ruby
<kzar> Any ideas how I can make a rake task run sinatra + `jekyll --auto` in a way that they both end together? (Currently I'm doing `sh 'jekyll --auto & bundle exec ruby app.rb'` but when I C-c to exit Jekyll keeps running in the background. (I know why I just can't see how else to do it.)
robbyoconnor has joined #ruby
<alcuadrado> swarley, and did you find that book entertaining?
<swarley> Entertaining, no. But the most definitive guide
<swarley> I still use it as a reference
<swarley> And I'm well beyond beginner
<workmad3> kzar: try using foreman
<alcuadrado> I'm think this could be good for him http://pragprog.com/book/ltp2/learn-to-program
<swarley> Oh, that was a good book as well.
havenn has joined #ruby
tomku has joined #ruby
banisterfiend has quit [Remote host closed the connection]
<alcuadrado> more entertaining, right?
<swarley> I'm not sure about entertaining
<swarley> the only one I would say is entertaining is why's guide
<swarley> But that's actually attempting to be entertaining
jfl0wers has joined #ruby
inimino has joined #ruby
bigmac has joined #ruby
jamescarr has joined #ruby
<alcuadrado> yeah, think about that one too
<alcuadrado> but it's about ruby 1.8 :(
Guest54564 has quit [Quit: leaving]
BoomCow has joined #ruby
baphled has quit [Ping timeout: 255 seconds]
<alcuadrado> oh, someone updated it to 1.9 :D
<alcuadrado> amazing
daniel_- has quit [Ping timeout: 244 seconds]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
lenovodroid has quit [Remote host closed the connection]
<TheEmpty> swarley: I <3 C++
<TheEmpty> whoops r/C++/C
Asher has joined #ruby
<TheEmpty> I forgot I hate how C++ overwristes some C functions with different purposes
mjolk has quit [Quit: returning some videotapes]
<IceDragon> TheEmpty don't scare me like that >:
workmad3 has quit [Read error: Operation timed out]
mjolk has joined #ruby
alanp_ has joined #ruby
<TheEmpty> Been working in Objective-C++ for the past few days, been fun
<swarley> ew..
<TheEmpty> Someone has got to do the bindings!
<sorbo_> it doesn't have to be you!
<sorbo_> save yourself!
<TheEmpty> What language does Ruby bind with? C as well I assume?
<sorbo_> yeh
<TheEmpty> I enjoy binding, it's pretty cool writting really efficent C/++ code or wrapping an API and being able to call it in a dynamic language
<TheEmpty> "Magical"
<sorbo_> I totally agree
<sorbo_> Ruby + C is a magical combination
<sorbo_> I'm just not a fan of ++
Goles has joined #ruby
jamescarr has quit [Quit: jamescarr]
<TheEmpty> I'll have to try to do a card game in C sometime and figure out how to do the classes there
alanp has quit [Ping timeout: 245 seconds]
<TheEmpty> well, lack thereof
xemu has quit [Quit: Nettalk6 - www.ntalk.de]
rondale_sc has joined #ruby
awestroke has quit [Remote host closed the connection]
<IceDragon> make a card struct?
emergion has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
<TheEmpty> Never worked with structs. My biggest C work was a one file tic-tac-toe game that stored data in global vars
rondale_sc has quit [Client Quit]
xemu has joined #ruby
Driscoll has joined #ruby
<BoomCow> struct still felt cumbersome
jonahR has joined #ruby
<sorbo_> a bit, but they're sort of your only option without classes
jamescarr has joined #ruby
assurbanipal has joined #ruby
PerAnnumLex is now known as Quadlex
robbyoconnor has quit [Ping timeout: 252 seconds]
pcarrier has quit []
nemesit has quit [Quit: Leaving...]
Slivka has quit [Read error: Connection reset by peer]
x82_nicole has joined #ruby
robbyoconnor has joined #ruby
Michael has joined #ruby
Michael is now known as Guest83669
Goles has quit [Quit: Out.]
rondale_sc has joined #ruby
banisterfiend has joined #ruby
tpelletier has quit [Ping timeout: 245 seconds]
digifiv5e has quit [Quit: quit]
banisterfiend has quit [Ping timeout: 255 seconds]
jamescarr has quit [Quit: jamescarr]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
Guest83669 has quit [Remote host closed the connection]
jjang has joined #ruby
h4mz1d has quit [Ping timeout: 255 seconds]
assurbanipal has quit [Remote host closed the connection]
LKiS has joined #ruby
atyz has quit [Read error: Connection reset by peer]
assurbanipal has joined #ruby
atyz has joined #ruby
rondale_sc has quit [Quit: rondale_sc]
<kzar> Trying to get whiskey disk working for deployments on my server, I didn't previously have ruby or anything installed on there. Anyway I just installed rvm, ruby and rake but when I do a deploy it fails with this: "bash: rake: command not found". Any ideas? I can't understand it, I've ssh'd there myself and the rake command _is_ found for me!
elkclone has joined #ruby
matchaw_ has joined #ruby
emocakes has quit [Quit: emocakes]
h4mz1d has joined #ruby
BoomCow has quit [Quit: This computer has gone to sleep]
bttf has joined #ruby
benlieb has joined #ruby
Jake232 has joined #ruby
Driscoll has quit [Ping timeout: 255 seconds]
benlieb has quit [Client Quit]
benlieb has joined #ruby
katzekintosh has quit [Quit: Leaving]
megharsh has quit [Ping timeout: 265 seconds]
<cirwin> kzar: is the deploy running your .bashrc?
<cirwin> if you're using rvm, you need to set it up before it will work
<cirwin> it puts those steps into your .bashrc so that shells you start manually run it automatically
eka has joined #ruby
punkrawkR has quit [Read error: Connection reset by peer]
kokainepizza has joined #ruby
itnomad has quit [Quit: Leaving]
jonahR has quit [Quit: jonahR]
Guest74337 is now known as Astralum
h4mz1d has quit [Ping timeout: 265 seconds]
banisterfiend has joined #ruby
Driscoll has joined #ruby
h4mz1d has joined #ruby
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
LKiS has quit [Remote host closed the connection]
mmitchell has quit [Remote host closed the connection]