fflush changed the topic of #ruby to: Ruby 1.9.3-p194: http://ruby-lang.org || Paste > 3 lines of text on pastebin.com
<patrick99e99> shoes... shoes... shoes... oh my god.. shoes.. LET'S GET 'EM
<patrick99e99> (sorry, couldn't resist)
<bperry> le sigh
_nitti has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 264 seconds]
davidcelis has joined #ruby
rubious has quit [Quit: Leaving...]
hsbt_away is now known as hsbt
_nitti has joined #ruby
joofsh has quit [Ping timeout: 260 seconds]
mikepack has quit [Remote host closed the connection]
lggr has joined #ruby
<notbrent> hey guys, question about blocks: https://gist.github.com/3837238
<notbrent> (probably not possible without monkey patching or changing the original source i imagine)
baroquebobcat has joined #ruby
mrsolo has quit [Quit: Leaving]
<tommylommykins> notbrent: no
<notbrent> thought so, thanks
<tommylommykins> hmmmm
deadSnowman has joined #ruby
<notbrent> anyone know if its possible to get the current capybara session instance from a global variable?
fbernier has quit [Quit: ZNC - http://znc.in]
fyolnish has joined #ruby
colinbm has quit [Quit: colinbm]
rubious has joined #ruby
tommyvyo has joined #ruby
Caius has quit [Ping timeout: 252 seconds]
lggr has quit [Ping timeout: 264 seconds]
g-ram has quit [Ping timeout: 252 seconds]
stephh has quit [Ping timeout: 256 seconds]
<notbrent> apparently you can: Capybara.using_session(Capybara.session_name) { # stuff }
rabidpraxis has joined #ruby
cakehero has quit [Quit: Leaving...]
ngoldman has quit [Remote host closed the connection]
lggr has joined #ruby
fyolnish has quit [Remote host closed the connection]
nat2610 has quit [Quit: Leaving.]
baroquebobcat has quit [Quit: baroquebobcat]
stephh has joined #ruby
deadSnowman has quit [Ping timeout: 256 seconds]
Caius has joined #ruby
rabidpraxis has quit [Ping timeout: 246 seconds]
joofsh has joined #ruby
sent-hil has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
iamjarvo has quit [Ping timeout: 240 seconds]
bradleyprice has quit [Remote host closed the connection]
icole has quit [Remote host closed the connection]
stkowski has quit [Quit: stkowski]
tommyvyo has quit [Quit: Computer has gone to sleep.]
pdtpatrick has quit [Quit: pdtpatrick]
g-ram has joined #ruby
lggr has joined #ruby
recycle has joined #ruby
pipopopo has quit [Ping timeout: 246 seconds]
h4mz1d has quit [Ping timeout: 255 seconds]
pipopopo has joined #ruby
SegFaultAX|work has joined #ruby
recycle has quit [Ping timeout: 245 seconds]
bmxpert1 has joined #ruby
cburyta has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 260 seconds]
cburyta has joined #ruby
swarles has joined #ruby
deadSnowman has joined #ruby
lggr has joined #ruby
quazimodo has quit [Ping timeout: 245 seconds]
_nitti has quit [Remote host closed the connection]
mmitchell has joined #ruby
c0rn_ has quit [Quit: Computer has gone to sleep.]
oldB has quit [Quit: oldB]
iamjarvo has joined #ruby
rubious has quit [Quit: Leaving...]
baroquebobcat has joined #ruby
mmitchell has quit [Ping timeout: 260 seconds]
baroquebobcat has quit [Client Quit]
lggr has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
ozette has quit [Ping timeout: 246 seconds]
rubious has joined #ruby
pipopopo has quit [Ping timeout: 246 seconds]
yshh has quit [Remote host closed the connection]
pipopopo has joined #ruby
Foxandxss has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
lggr has quit [Ping timeout: 255 seconds]
hsbt is now known as hsbt_away
samphippen has quit [Quit: Computer has gone to sleep.]
BMF has joined #ruby
manizzle has quit [Ping timeout: 240 seconds]
chussenot has quit [Quit: chussenot]
macmartine has joined #ruby
lggr has joined #ruby
robertotauille has quit [Quit: Linkinus - http://linkinus.com]
ffranz1 has joined #ruby
radpanda has joined #ruby
awojo has joined #ruby
radpanda has left #ruby [#ruby]
cj3kim has quit [Quit: This computer has gone to sleep]
<awojo> Hi. I'm having an issue echoing a $ over SSH using ruby by dropping down to a command line
punkrawkR has quit [Read error: Connection reset by peer]
cardoni has joined #ruby
<awojo> Anyone have any idea?
rowsdower has joined #ruby
iori has joined #ruby
skryking has joined #ruby
hsbt_away is now known as hsbt
yshh has joined #ruby
ffranz has quit [Ping timeout: 256 seconds]
rubious has quit [Quit: Leaving...]
maletor has quit [Quit: Computer has gone to sleep.]
lggr has quit [Ping timeout: 246 seconds]
foog23 has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
skryking has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
maletor has joined #ruby
r1ddl3r1 has joined #ruby
rubious has joined #ruby
lggr has joined #ruby
fyolnish has joined #ruby
chrishunt has quit [Ping timeout: 245 seconds]
foog23 has left #ruby ["seems better =)"]
davidcelis has quit [Quit: K-Lined.]
foog23 has joined #ruby
IrishGringo has joined #ruby
richardjortega has joined #ruby
<foog23> lo' all
bmxpert1 has quit [Quit: bmxpert1]
iori has quit [Remote host closed the connection]
<awojo> No one want to help a newbie out? :(
ffranz1 has quit [Ping timeout: 245 seconds]
levicole has joined #ruby
lggr has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
duracrisis_ has quit [Changing host]
duracrisis_ has joined #ruby
bricker has quit [Ping timeout: 260 seconds]
starship has quit [Killed (barjavel.freenode.net (Nickname regained by services))]
duracrisis_ is now known as starship
Guest95708 has joined #ruby
JonnieCache|work has joined #ruby
lggr has joined #ruby
skryking has joined #ruby
<rowsdower> @awojo - what q?
postmodern has joined #ruby
kenneth has quit [Ping timeout: 260 seconds]
<awojo> I found a solution but.. it's kind of hacky
stan_man_can has quit [Quit: stan_man_can]
Trioke_ has joined #ruby
<rowsdower> @awojo: put this in your terminal: echo $$%$#@%$#@%325dg345345
lggr has quit [Ping timeout: 252 seconds]
<rowsdower> Looks like the problem isn't ruby's fault
Trioke has quit [Ping timeout: 246 seconds]
mengu has quit [Remote host closed the connection]
rakm has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mercwithamouth has quit [Ping timeout: 245 seconds]
rubious has quit [Quit: Leaving...]
<awojo> Understood. Just wasn't sure if there was anything I could do to escape it inside the system call
<rowsdower> Looks like you just got your answer. Check stackoverflow.
lggr has joined #ruby
<awojo> Yep
<awojo> Shellwords is exactly what I was looking for.
noyb has joined #ruby
mercwithamouth has joined #ruby
sarmiena_ has quit [Quit: sarmiena_]
gmci has quit [Ping timeout: 244 seconds]
iori has joined #ruby
Juv1228 has joined #ruby
<Juv1228> hello, im not very familiar with ruby/rails/bundles, but im trying to setup multiple instances of an application running on rails
<Juv1228> am i correct in thinking with a bundle it would be possible to have one code base to run multiple instances with different configurations?
khakimov has joined #ruby
kenneth has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
noyb has quit [Ping timeout: 260 seconds]
nari has joined #ruby
dekroning has joined #ruby
lggr has joined #ruby
t0rc has quit [Quit: WeeChat 0.3.9]
berserkr has quit [Quit: Leaving.]
steakknife has quit [Read error: Connection reset by peer]
_nitti has joined #ruby
dekroning has quit [Ping timeout: 240 seconds]
vitoravelino is now known as vitoravelino`afk
F1skr has quit [Quit: WeeChat 0.3.9]
_nitti has quit [Ping timeout: 240 seconds]
lggr has quit [Ping timeout: 260 seconds]
starship has quit [Quit: Leaving]
vitor-br has joined #ruby
gmci_ has joined #ruby
patrick99e99 has quit [Quit: Lost terminal]
lggr has joined #ruby
quazimodo has joined #ruby
gmci_ has quit [Ping timeout: 246 seconds]
jimeh2 has joined #ruby
katherinem13 has quit [Quit: katherinem13]
jroes has joined #ruby
Alantas has joined #ruby
cburyta has quit [Remote host closed the connection]
Alantas has quit [Client Quit]
<jroes> I feel like this is a silly question, but is there a shorthand / hash literal syntax to set a hash key as the value of a variable? for example, key = 'color'; { key: 'blue' } ; # => { color: blue } if that makes sense
<jroes> essentially to avoid doing something like hash = {}; hash[:color] = 'blue'
katherinem13 has joined #ruby
SegFaultAX|work has quit [Ping timeout: 255 seconds]
tommyvyo has joined #ruby
gmci_ has joined #ruby
katherinem13 has quit [Client Quit]
lggr has quit [Ping timeout: 255 seconds]
katherinem13 has joined #ruby
jimeh2 has quit [Ping timeout: 252 seconds]
wingy has joined #ruby
lggr has joined #ruby
bradyl0ve has joined #ruby
JonnieCache|work has quit [Ping timeout: 256 seconds]
roadt has joined #ruby
<bperry> jroes: hash = { :color => 'blue' }
c0rn_ has joined #ruby
<bperry> : is faster than '' just fyi
<bperry> I recommend using a symbol while using dictionaries over strings
<jroes> er, I guess I'm not explaining quite right
<bperry> oh
<jroes> the key is dynamic
<bperry> yeah I misread
<jroes> np
<bperry> yeah
<bperry> :"#{variable_name}"
<jroes> ahhh
<jroes> nice
<jroes> thanks !! :)
<bperry> np
Araxia has quit [Quit: Araxia]
IrishGringo has quit [Ping timeout: 240 seconds]
Hanmac1 has joined #ruby
daslicious_ has joined #ruby
bradyl0ve has quit [Quit: Leaving...]
lggr has quit [Ping timeout: 260 seconds]
Hanmac has quit [Ping timeout: 260 seconds]
Areckx has joined #ruby
<swarles> how do i force an update of rvm source?
<Areckx> is ruby used to write Japanese kanji with furigana?
cardoni has quit [Quit: cardoni]
<swarles> like
<swarles> my rvm's repo for rubinius is old
<swarles> it moved
stkowski has joined #ruby
pipopopo has quit [Read error: Operation timed out]
lggr has joined #ruby
SDr has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
duracrisis_ has joined #ruby
ttt has joined #ruby
pipopopo has joined #ruby
Trioke_ has quit [Quit: leaving]
duracrisis_ has quit [Changing host]
duracrisis_ has joined #ruby
duracrisis_ is now known as starship
bradyl0ve has joined #ruby
ncr100 has quit [Ping timeout: 240 seconds]
freeayu has joined #ruby
sent-hil has quit [Remote host closed the connection]
tommyvyo has quit [Quit: Computer has gone to sleep.]
lggr has quit [Ping timeout: 248 seconds]
pipopopo has quit [Ping timeout: 260 seconds]
CodeFriar has joined #ruby
skryking has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
pipopopo has joined #ruby
lggr has joined #ruby
tommyvyo has joined #ruby
jenrzzz has joined #ruby
roadt has quit [Ping timeout: 264 seconds]
daniel_-_ has quit [Ping timeout: 245 seconds]
chendo_ is now known as chendo
lggr has quit [Ping timeout: 248 seconds]
swarles has quit [Quit: Leaving]
swarles has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
lggr has joined #ruby
apok_ has joined #ruby
rabidpraxis has joined #ruby
ledao1 has joined #ruby
voodoofish430 has quit [Quit: Leaving.]
apok has quit [Ping timeout: 248 seconds]
swarles has quit [Read error: Connection reset by peer]
swarley has joined #ruby
ledao has quit [Ping timeout: 245 seconds]
apok_ has quit [Ping timeout: 256 seconds]
pskosinski has quit [Quit: A few unofficial Red Eclipse 1.3.1 (r4131) servers: http://altred.tk/toggle.rb (and no more global banning for saying that main dev is not very smart, what is truth anyway)]
maletor has quit [Quit: Computer has gone to sleep.]
lggr has quit [Ping timeout: 240 seconds]
bmxpert1 has joined #ruby
advorak has quit [Quit: Leaving]
pskosinski has joined #ruby
bmxpert1 has quit [Client Quit]
joofsh has quit [Remote host closed the connection]
bmxpert1 has joined #ruby
cardoni has joined #ruby
lggr has joined #ruby
Kuhni has quit [Quit: ?????]
justinmcp has quit [Remote host closed the connection]
bmxpert1 has quit [Remote host closed the connection]
bmxpert1 has joined #ruby
r1ddl3r1 has quit [Quit: Leaving.]
bradyl0ve has quit [Quit: Leaving...]
pskosinski has quit [Remote host closed the connection]
radic has quit [Disconnected by services]
radic_ has joined #ruby
iamjarvo has quit [Ping timeout: 240 seconds]
pskosinski has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
v0n has joined #ruby
ebragaparah has quit [Remote host closed the connection]
Nisstyre has quit [Ping timeout: 240 seconds]
lggr has joined #ruby
cardoni has quit [Ping timeout: 256 seconds]
dakine has joined #ruby
wingy has left #ruby [#ruby]
<roychri> I find out how to get local methods (the ones directly defined in my class and not in Object class) by doing public_instance_methods - Object.instance_methods
<roychri> How do I get local class methods?
<roychri> Do I need class << self ?
ttt has quit [Remote host closed the connection]
ebragaparah has joined #ruby
_nitti has joined #ruby
cburyta has joined #ruby
<rowsdower> roychri: class A; def x; print self.class.methods end end
lggr has quit [Ping timeout: 244 seconds]
<rowsdower> A.new.x => [...many methods...]
iamjarvo has joined #ruby
<rowsdower> This also gives you a list of every other class method. Yay metaprogramming!
<roychri> rowsdower: Thanks. How about outside a method? class A; def foo; end; puts methods; end This will output more methods than just foo.
<roychri> rowsdower: I just want the oens defined in my class.
kenneth has quit [Quit: kenneth]
_nitti has quit [Ping timeout: 245 seconds]
Tohuw has joined #ruby
Tohuw has left #ruby [#ruby]
lggr has joined #ruby
bradyl0ve has joined #ruby
poindontcare has joined #ruby
cburyta has quit [Ping timeout: 240 seconds]
<rowsdower> "A.methods - A.superclass.methods" - but this seems like a hack
naz has quit [Read error: Connection reset by peer]
<rowsdower> Or just A.new.public_methods(false)
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
bmxpert1 has quit [Remote host closed the connection]
hadees has joined #ruby
<roychri> rowsdower: Thanks!
Nisstyre has joined #ruby
rowsdower has quit [Quit: Konversation terminated!]
xuser has quit [Changing host]
xuser has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
spathi_ has joined #ruby
Spaceghostc2c_ has joined #ruby
naz has joined #ruby
ttt has joined #ruby
Juul has quit [Quit: Leaving]
Juul has joined #ruby
wedtm is now known as wedtm|away
lggr has joined #ruby
Tearan has joined #ruby
Juul has quit [Remote host closed the connection]
alienven1m has joined #ruby
Tearan has quit [Client Quit]
naz is now known as nazty
karstensrage has quit [*.net *.split]
drPoggs has quit [*.net *.split]
joast has quit [*.net *.split]
mr-rich has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
alienvenom has quit [*.net *.split]
spathi has quit [*.net *.split]
Spaceghostc2c has quit [*.net *.split]
Guest41156 has quit [*.net *.split]
xiphiasx_ has quit [*.net *.split]
Adran has quit [*.net *.split]
pavelz has quit [*.net *.split]
X-Jester_ has quit [*.net *.split]
kaleido has quit [*.net *.split]
al-ol has quit [*.net *.split]
joni has quit [*.net *.split]
_jesse_ has quit [*.net *.split]
TTilus has quit [*.net *.split]
PhilK has quit [*.net *.split]
_axx has quit [*.net *.split]
Muz has quit [*.net *.split]
Cork has quit [*.net *.split]
wang has quit [*.net *.split]
Shamgar has quit [*.net *.split]
marienz has quit [*.net *.split]
flori has quit [*.net *.split]
SecretAgent has quit [*.net *.split]
Nowaker has quit [*.net *.split]
lurksia has quit [*.net *.split]
chiel has quit [*.net *.split]
RailWolf has quit [*.net *.split]
tos9 has quit [*.net *.split]
danheberden has quit [*.net *.split]
LiquidInsect has quit [*.net *.split]
drizz has quit [*.net *.split]
zz_chrismcg has quit [*.net *.split]
yugui_zzz has quit [*.net *.split]
lobak has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
Spaceghostc2c_ is now known as Spaceghostc2c
mahmoudimus has quit [Quit: Computer has gone to sleep.]
scx has quit [Ping timeout: 246 seconds]
<BinaryMaster> Question: how do get match get all matches and not stop at the first one?
Adran has joined #ruby
cardoni has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
tos9 has joined #ruby
joni has joined #ruby
X-Jester_ has joined #ruby
al-ol has joined #ruby
pavelz has joined #ruby
TTilus has joined #ruby
kaleido has joined #ruby
PhilK has joined #ruby
_jesse_ has joined #ruby
Muz has joined #ruby
_axx has joined #ruby
Cork has joined #ruby
Shamgar has joined #ruby
wang has joined #ruby
danheberden has joined #ruby
elaptics`away has joined #ruby
SecretAgent has joined #ruby
drizz has joined #ruby
flori has joined #ruby
Nowaker has joined #ruby
RailWolf has joined #ruby
LiquidInsect has joined #ruby
chiel has joined #ruby
zz_chrismcg has joined #ruby
marienz has joined #ruby
yugui_zzz has joined #ruby
lobak has joined #ruby
lurksia has joined #ruby
elico has quit [Remote host closed the connection]
scx has joined #ruby
josh^ has quit [Excess Flood]
timrom_ has quit [Excess Flood]
[Neurotic] has quit [Excess Flood]
aef has quit [Excess Flood]
aef has joined #ruby
SecretAgent has quit [Max SendQ exceeded]
elico has joined #ruby
c0rn_ has quit [Ping timeout: 240 seconds]
SecretAgent has joined #ruby
Beoran_ has quit [Ping timeout: 248 seconds]
tommyvyo has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
wedtm|away is now known as wedtm
josh^ has joined #ruby
timrom has joined #ruby
kenneth has joined #ruby
[Neurotic] has joined #ruby
lggr has joined #ruby
c0rn_ has joined #ruby
xnm has joined #ruby
CodeFriar has quit [Quit: Leaving...]
krz has joined #ruby
skaczor has quit [Ping timeout: 248 seconds]
bigmcq77 has quit [Read error: Connection reset by peer]
fredjean has joined #ruby
c0rn_ has quit [Ping timeout: 244 seconds]
recycle has joined #ruby
justinmcp has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
duracrisis_ has joined #ruby
mikepack has joined #ruby
stephh has quit [Ping timeout: 252 seconds]
cardoni has quit [Ping timeout: 240 seconds]
starship has quit [Read error: Connection reset by peer]
marienz has quit [Ping timeout: 615 seconds]
lggr has joined #ruby
dekroning has joined #ruby
marienz has joined #ruby
Beoran_ has joined #ruby
josh^ has quit [Ping timeout: 245 seconds]
recycle has quit [Remote host closed the connection]
fredjean has quit [Quit: Computer has gone to sleep.]
CodeFriar has joined #ruby
nazty has quit [Ping timeout: 252 seconds]
dekroning has quit [Ping timeout: 248 seconds]
rabidpraxis has quit [Remote host closed the connection]
JonnieCache has quit [Ping timeout: 240 seconds]
josh^ has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
lggr has joined #ruby
Araxia has joined #ruby
iamjarvo has quit [Ping timeout: 240 seconds]
pskosinski has quit [Quit: A few unofficial Red Eclipse 1.3.1 (r4131) servers: http://altred.tk/toggle.rb (and no more global banning for saying that main dev is not very smart, what is truth anyway)]
iamjarvo has joined #ruby
eldariof has quit [Ping timeout: 246 seconds]
reuf has quit [Quit: Leaving]
sqlbyme has quit [Quit: Leaving.]
lggr has quit [Ping timeout: 256 seconds]
naz has joined #ruby
lggr has joined #ruby
naz is now known as nazty
nazty has quit [Quit: Leaving]
Bosma has joined #ruby
elsifaka has quit [Read error: Connection reset by peer]
nazty has joined #ruby
elsifaka has joined #ruby
_nitti has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
mercwithamouth has quit [Ping timeout: 260 seconds]
rippa has joined #ruby
c0rn_ has joined #ruby
IrishGringo has joined #ruby
lggr has joined #ruby
mercwithamouth has joined #ruby
_nitti has quit [Ping timeout: 240 seconds]
awarner has quit [Remote host closed the connection]
sunaku has joined #ruby
xyzodiac has quit [Quit: Textual IRC Client: www.textualapp.com]
<sunaku> hellou
lggr has quit [Ping timeout: 256 seconds]
v0n has quit [Quit: Leaving]
BMF has quit [Remote host closed the connection]
macmartine has joined #ruby
wting has quit [Ping timeout: 260 seconds]
lggr has joined #ruby
nwertman has quit [Quit: nwertman]
hgf has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
wting has joined #ruby
poindontcare has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 256 seconds]
macmartine has quit [Read error: Connection reset by peer]
quest88_ has joined #ruby
lggr has joined #ruby
IrishGringo has quit [Quit: ChatZilla 0.9.89 [Firefox 15.0.1/20120905151427]]
NiteRain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
IrishGringo has joined #ruby
jrist is now known as jrist-afk
irleif has joined #ruby
JonnieCache|work has joined #ruby
macmartine has joined #ruby
sunaku has left #ruby ["WeeChat 0.3.9"]
vitor-br has quit [Quit: Saindo]
pskosinski has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
chendo has quit [Ping timeout: 256 seconds]
chendo_ has joined #ruby
lggr has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
chimkan has joined #ruby
AlbireoX has quit [Read error: Connection reset by peer]
AlbireoX has joined #ruby
JonnieCache|work has quit [Ping timeout: 264 seconds]
chendo_ has quit [Ping timeout: 264 seconds]
syamajala has joined #ruby
cardoni has joined #ruby
syamajala has quit [Remote host closed the connection]
syamajala has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
chendo_ has joined #ruby
mahmoudimus has joined #ruby
manizzle has joined #ruby
ebragaparah has quit [Remote host closed the connection]
seich- has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
karstensrage has joined #ruby
Spooner has quit [Ping timeout: 240 seconds]
karstensrage is now known as Guest11435
AlbireoX`Laptop has joined #ruby
Guest11435 is now known as karstenrage
seich- has joined #ruby
ttt has quit [Remote host closed the connection]
cakehero has joined #ruby
AlbireoX has quit [Ping timeout: 245 seconds]
AlbireoX has joined #ruby
AlbireoX`Laptop has quit [Read error: Connection reset by peer]
lggr has quit [Ping timeout: 256 seconds]
cardoni has quit [Ping timeout: 240 seconds]
lggr has joined #ruby
duracrisis_ has quit [Ping timeout: 240 seconds]
hgf has quit [Quit: hgf]
parzorep has quit [Quit: parzorep]
kyb3r has quit []
thanpolas has quit [Ping timeout: 264 seconds]
fredjean has joined #ruby
thanpolas has joined #ruby
IrishGringo has quit [Quit: ChatZilla 0.9.89 [Firefox 15.0.1/20120905151427]]
fredjean has quit [Client Quit]
mxweas has quit [Quit: Computer has gone to sleep.]
SJr has quit [Read error: Connection reset by peer]
sent-hil has joined #ruby
timrom has quit [Ping timeout: 252 seconds]
lggr has quit [Ping timeout: 244 seconds]
williamcotton has joined #ruby
ropz has quit [Ping timeout: 260 seconds]
Jellyg00se has joined #ruby
davidcelis has joined #ruby
lggr has joined #ruby
SJr has joined #ruby
ltsstar has joined #ruby
uris has quit [Quit: Lost terminal]
moted has quit [Ping timeout: 245 seconds]
ndboost has joined #ruby
mxweas has joined #ruby
ndboost has quit [Remote host closed the connection]
moted has joined #ruby
mxweas has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 245 seconds]
mxweas has joined #ruby
lggr has joined #ruby
syamajala has quit [Remote host closed the connection]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
ryanlecompte has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
cardoni has joined #ruby
blazes816 has quit [Quit: blazes816]
ttt has joined #ruby
chendo_ has quit [Ping timeout: 240 seconds]
bradyl0ve has quit [Quit: Leaving...]
Takehiro has joined #ruby
lggr has joined #ruby
bradyl0ve has joined #ruby
chendo_ has joined #ruby
dpk has quit [Quit: Asleep at the keyboard.]
quest88_ has quit [Quit: quest88_]
gmci_ has quit [Ping timeout: 256 seconds]
dekroning has joined #ruby
cableray has quit [Quit: cableray]
bradyl0ve has quit [Client Quit]
stnly has joined #ruby
mahmoudimus has joined #ruby
mikepack has quit [Remote host closed the connection]
guns has joined #ruby
ananthakumaran has joined #ruby
dekroning has quit [Ping timeout: 240 seconds]
c0rn_ has quit [Quit: Computer has gone to sleep.]
lggr has quit [Ping timeout: 255 seconds]
cardoni has quit [Ping timeout: 240 seconds]
gmci has joined #ruby
lggr has joined #ruby
freeayu__ has joined #ruby
awestroke has joined #ruby
freeayu has quit [Ping timeout: 246 seconds]
havenn has joined #ruby
maletor has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
chimkan___ has joined #ruby
lggr has joined #ruby
JonnieCache has joined #ruby
chimkan has quit [Ping timeout: 240 seconds]
chimkan___ has quit [Ping timeout: 245 seconds]
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
lggr has quit [Ping timeout: 252 seconds]
williamcotton has quit [Quit: williamcotton]
ltsstar has quit [Quit: ltsstar]
williamcotton has joined #ruby
lggr has joined #ruby
williamcotton has quit [Client Quit]
ananthakumaran has quit [Quit: Leaving.]
parzorep has joined #ruby
mahmoudimus has quit [Ping timeout: 246 seconds]
Hanmac1 has quit [Remote host closed the connection]
fredjean has joined #ruby
lggr has quit [Ping timeout: 244 seconds]
a_a_g has joined #ruby
Hanmac has joined #ruby
cardoni has joined #ruby
lggr has joined #ruby
answer_42 has joined #ruby
tagrudev has joined #ruby
AlbireoX has quit [Remote host closed the connection]
_nitti has joined #ruby
BinaryMaster has quit [Quit: This computer has gone to sleep]
AlbireoX has joined #ruby
iamjarvo has quit [Ping timeout: 240 seconds]
lggr has quit [Ping timeout: 264 seconds]
ABK has joined #ruby
cburyta has joined #ruby
lggr has joined #ruby
cardoni has quit [Ping timeout: 255 seconds]
AlbireoX has quit [Ping timeout: 246 seconds]
_nitti has quit [Ping timeout: 260 seconds]
abionic has joined #ruby
cburyta has quit [Ping timeout: 260 seconds]
ZubKonst_ has quit [Read error: Connection reset by peer]
ZubKonst has joined #ruby
ABK has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 248 seconds]
ananthakumaran has joined #ruby
Bosma has quit [Ping timeout: 240 seconds]
ronaldo9 has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
lggr has joined #ruby
fredjean has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
havenn has quit [Remote host closed the connection]
samuel02 has joined #ruby
burgestrand has quit [Quit: Leaving.]
reset has quit [Ping timeout: 252 seconds]
Areckx has quit [Ping timeout: 244 seconds]
Areckx has joined #ruby
zykes- has joined #ruby
mxweas has quit [Quit: Computer has gone to sleep.]
<zykes-> addr:(?<addr>\S+$) < shouldn't this work in ruby 1.8.x ?
lggr has quit [Ping timeout: 255 seconds]
awestroke has quit [Remote host closed the connection]
<Mon_Ouie> No, Ruby 1.8's regexp engines doesn't have named groups
samuel02 has quit [Remote host closed the connection]
prtksxna has joined #ruby
<zykes-> gah
<zykes-> :(
<zykes-> that kinda sucks :p
robustus has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
wedtm is now known as wedtm|away
sarmiena_ has joined #ruby
<Hanmac> zykes- its just another reason why 1.8 suck :P
TomJ has quit [Quit: TomJ]
<zykes-> pfft :p
lggr has quit [Ping timeout: 255 seconds]
monkegjinni has joined #ruby
cardoni has joined #ruby
ronaldo9 has left #ruby [#ruby]
<Hanmac> zykes-: /(?<name>[[:alpha:]]+)/ =~ "123abc456";name #=> try to guess what the local variable name is
raul782 has joined #ruby
jimeh2 has joined #ruby
mafs has quit [Read error: Connection reset by peer]
lggr has joined #ruby
sent-hil has quit [Remote host closed the connection]
mohit has joined #ruby
_mak has joined #ruby
jimeh2 has quit [Ping timeout: 245 seconds]
framling has quit [Quit: Lost terminal]
framling has joined #ruby
Hanmac has quit [Remote host closed the connection]
aganov has joined #ruby
djdb has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
Elhu has joined #ruby
awestroke has joined #ruby
cardoni has quit [Ping timeout: 255 seconds]
answer_42 has quit [Ping timeout: 276 seconds]
lggr has joined #ruby
raul782 has quit [Remote host closed the connection]
Hanmac has joined #ruby
dekroning has joined #ruby
_marvin_ has joined #ruby
<zykes-> http://paste.ubuntu.com/1261378/ < what am I doing wrong in that kernel module ?
<zykes-> ehm, in that ruby get_modules functiobn
awestroke has quit [Remote host closed the connection]
swarley has quit [Ping timeout: 264 seconds]
fantazo has quit [Remote host closed the connection]
havenn has joined #ruby
dekroning has quit [Ping timeout: 260 seconds]
DarthGandalf has quit [Ping timeout: 272 seconds]
lggr has quit [Ping timeout: 255 seconds]
sagax has joined #ruby
mahmoudimus has joined #ruby
Morkel has joined #ruby
DarthGandalf has joined #ruby
manizzle has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
<RubyPanther> zykes-: You're not checking any return values, how do you know if the file even opened?
JonnieCache|work has joined #ruby
dekroning has joined #ruby
havenn has quit [Ping timeout: 245 seconds]
jer1ko has quit [Remote host closed the connection]
ryanf has joined #ruby
lolmaus has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
dekroning has quit [Ping timeout: 246 seconds]
rippa has quit [Ping timeout: 255 seconds]
lggr has joined #ruby
und3f has joined #ruby
JonnieCache|work has quit [Ping timeout: 246 seconds]
maesbn has joined #ruby
cburyta has joined #ruby
daniel_hinojosa has quit [Ping timeout: 246 seconds]
guns has quit [Quit: guns]
<zykes-> http://paste.ubuntu.com/1261396/ < RubyPanther betteR?
stkowski has quit [Quit: stkowski]
burgestrand has joined #ruby
lusory has joined #ruby
ozette has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
cburyta has quit [Ping timeout: 260 seconds]
brianpWins has joined #ruby
manizzle has joined #ruby
<Hanmac> zykes- what do you think about this: File.readlines("/proc/modules").each_with_object(Hash.new(0)){|l,h|h[l[/\w+\b/]]+=1 }
huy has quit [Read error: Connection reset by peer]
huy has joined #ruby
cardoni has joined #ruby
<zykes-> NoMethodError: undefined method `each_with_object' for #<Array:0x7fe43992dc70> < Hanmac ;)
<zykes-> ruby 1.8.x
lggr has joined #ruby
<Hanmac> in my opion ruby1.8 should be destroyed (and if you want i could translate it to you into latin)
<Hanmac> File.readlines("/proc/modules").inject(Hash.new(0)){|h,l|h[l[/\w+\b/]]+=1;h }
<RubyPanther> zykes-: not much better, no. One if with no else doesn't count as having done sanity checks
<zykes-> RubyPanther: I'm totally new to ruby, coming from a js / python world
<RubyPanther> sanity checks are a best practice in any language, it has nothing to do with Ruby
cardoni has quit [Quit: Linkinus - http://linkinus.com]
<Hanmac> RubyPanther does File.readlines count as sanity check?
<zykes-> RubyPanther: sanity checks as i didn't care for it before I got my core functionality enabled
lggr has quit [Ping timeout: 256 seconds]
<RubyPanther> Hanmac: for the open call you can assume it is covered, but in most cases you'd still need to ask, okay, did I get the data I wanted?
huy has quit [Ping timeout: 240 seconds]
<RubyPanther> zykes-: cutting corners you'll need later isn't shortcuts, it is the "scenic route"
lggr has joined #ruby
<Hanmac> RubyPanther i dont know i maybe miss your "the data i wanted" part ...
<RubyPanther> If you don't know what data you wanted, that is a whole different problem
maesbn has quit [Remote host closed the connection]
mxweas has joined #ruby
zigomir has joined #ruby
hakunin has quit [Remote host closed the connection]
charliesome has joined #ruby
zigomir has quit [Client Quit]
hakunin has joined #ruby
senny has joined #ruby
havenn has joined #ruby
<Hanmac> i only make zykes- code better, i dont know what he wants ... (i think an array result is better than an hash result for this function ...)
baphled has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
<zykes-> ;)
<zykes-> Hanmac: I basically want to be able to check if a value is in the current loaded modules on a server
<zykes-> I don't know enough ruby to know if it's pleasable via array or hash
hakunin has quit [Ping timeout: 240 seconds]
sspiff has joined #ruby
sspiff has joined #ruby
margle has joined #ruby
havenn has quit [Ping timeout: 244 seconds]
chussenot has joined #ruby
maesbn has joined #ruby
<zykes-> I see now it has .include which I think is more optimal for me
foog23 has quit [Quit: Lost terminal]
lggr has joined #ruby
<Hanmac> hm you could use Set too: (its an array without duplicates)
<Hanmac> require "set";File.readlines("/proc/modules").inject(Set.new){|h,l|h << l[/\w+\b/] }
<zykes-> Hanmac: what's the {|h,l|h << l[/\w+\b/] } ?
<zykes-> Hanmac: modules won't have duplicates
<Hanmac> hm this may better{|s,l|s << l[/\w+\b/] }, it means: parse String-line l with the Regex /\w+\b/ and add it to the Set s
zigomir has joined #ruby
dekroning has joined #ruby
samphippen has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
gmci has quit [Quit: Computer has gone to sleep.]
ledao1 has quit [Ping timeout: 245 seconds]
monkegjinni has quit [Read error: No route to host]
monkegjinni has joined #ruby
piotr_ has joined #ruby
lggr has joined #ruby
piotr__ has quit [Ping timeout: 245 seconds]
Shamgar has quit [Ping timeout: 246 seconds]
margle has quit [Quit: Computer has gone to sleep.]
arturaz has joined #ruby
und3f has quit [Ping timeout: 260 seconds]
futilegames has joined #ruby
wallerdev has quit [Quit: wallerdev]
ledao has joined #ruby
elico has quit [Quit: elico]
khakimov has quit [Quit: Computer has gone to sleep.]
lggr has quit [Ping timeout: 264 seconds]
baphled has quit [Ping timeout: 246 seconds]
colinbm has joined #ruby
morozovm has joined #ruby
jenrzzz has joined #ruby
lggr has joined #ruby
zommi has joined #ruby
monkegjinni has quit [Read error: No route to host]
monkegjinni has joined #ruby
ephemerian has joined #ruby
dekronin1 has joined #ruby
colinbm has quit [Quit: colinbm]
morozovm_ has joined #ruby
morozovm has quit [Read error: Connection reset by peer]
morozovm_ is now known as morozovm
lggr has quit [Ping timeout: 240 seconds]
dekroning has quit [Ping timeout: 248 seconds]
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby
lggr has joined #ruby
eldariof has joined #ruby
Elhu has quit [Read error: Connection reset by peer]
imami|afk is now known as banseljaj
jenrzzz has quit [Ping timeout: 248 seconds]
dekronin1 has quit [Ping timeout: 246 seconds]
wisconsin has joined #ruby
rubious has joined #ruby
und3f has joined #ruby
moshee has quit [Ping timeout: 256 seconds]
moshee has joined #ruby
D4T has joined #ruby
aflynn has quit [Quit: Ex-Chat]
samuel02 has joined #ruby
Virunga has joined #ruby
chussenot has quit [Quit: chussenot]
Elhu has joined #ruby
<wisconsin> hi, gem install fails with ENOTDIR. it creates "ext" directory from gemfile data.tar.gz as a file, then fails on subdirectories of "ext".
lggr has quit [Ping timeout: 245 seconds]
cburyta has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
samphippen has quit [Quit: Computer has gone to sleep.]
ttt has quit [Ping timeout: 260 seconds]
lggr has joined #ruby
ttt has joined #ruby
ryanf has quit [Quit: broken pipes |||]
jimeh2 has joined #ruby
cburyta has quit [Ping timeout: 245 seconds]
<zykes-> can't I do a join on a Set() ?
mucker has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
sepp2k has joined #ruby
ozette has quit [Ping timeout: 240 seconds]
margle has joined #ruby
dross_ has joined #ruby
lggr has joined #ruby
dross_ has quit [Client Quit]
dr_bob has joined #ruby
dross_ has joined #ruby
dross has quit [Disconnected by services]
dross_ has quit [Client Quit]
dross has joined #ruby
dross_ has joined #ruby
dross has quit [Client Quit]
dross has joined #ruby
monkegjinni has quit [Ping timeout: 248 seconds]
saedelaere has joined #ruby
samphippen has joined #ruby
elaptics`away is now known as elaptics
lggr has quit [Ping timeout: 256 seconds]
colinbm has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
lggr has joined #ruby
booyakah has quit [Ping timeout: 245 seconds]
havenn has joined #ruby
fram has joined #ruby
Jork1 has joined #ruby
maletor has joined #ruby
mxweas has quit [Quit: Computer has gone to sleep.]
ryanlecompte has quit [Remote host closed the connection]
mxweas has joined #ruby
havenn has quit [Ping timeout: 255 seconds]
lggr has quit [Ping timeout: 240 seconds]
haxrbyte has joined #ruby
skogis has joined #ruby
lggr has joined #ruby
Areckx has quit [Ping timeout: 264 seconds]
slainer68 has joined #ruby
fyolnish has quit [Remote host closed the connection]
dross_ has quit [Remote host closed the connection]
Jork1 has quit [Quit: Jork1]
nigelb has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 244 seconds]
workmad3 has joined #ruby
Jork1 has joined #ruby
baphled has joined #ruby
Zai_ has joined #ruby
futilegames has quit [Read error: Connection reset by peer]
margle has quit [Quit: Computer has gone to sleep.]
futilegames has joined #ruby
<postmodern> zykes-, you'd need to do set.to_a.join(' ')
Vainoharhainen has joined #ruby
lggr has joined #ruby
Hamed-R has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<zykes-> yeah, I saw that postmodern, thanks though!
monkegjinni has joined #ruby
dhruvasagar has joined #ruby
Hamed-R has quit [Client Quit]
chussenot has joined #ruby
Xeago has joined #ruby
Mon_Ouie has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 260 seconds]
sspiff has quit [Remote host closed the connection]
jgrevich has quit [Quit: jgrevich]
lggr has joined #ruby
futilegames has quit [Quit: futilegames]
mucker has quit [Ping timeout: 246 seconds]
futilegames has joined #ruby
dangerousdave has joined #ruby
strk has joined #ruby
<strk> does ruby have an interactive console for testing syntax?
daniel_-_ has joined #ruby
<Hanmac> strk irb or pry
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
LouisGB has joined #ruby
justsee has joined #ruby
Iszak has joined #ruby
lggr has joined #ruby
ozette has joined #ruby
wchun has quit [Quit: Leaving]
cburyta has joined #ruby
eldariof has quit [Ping timeout: 260 seconds]
lggr has quit [Ping timeout: 246 seconds]
cburyta has quit [Ping timeout: 256 seconds]
<strk> how can I source/import/include a script from within irb ? I've a module method in there that I'd like to unit-test (manually)
<strk> it's module/module/module/def (maybe I need the whole module..)
eldariof has joined #ruby
darthdeus has joined #ruby
Jork1 has quit [Quit: Jork1]
lggr has joined #ruby
DrShoggoth has quit [Ping timeout: 245 seconds]
JonnieCache|work has joined #ruby
vlad_starkov has joined #ruby
<stnly> q
mxweas has quit [Quit: Leaving...]
daniel_-_ has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 240 seconds]
mxweas has joined #ruby
lggr has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
Vainoharhainen has quit [Read error: Connection reset by peer]
monsieurp has joined #ruby
<monsieurp> morning gentlemen
havenn has joined #ruby
gokul has joined #ruby
futilegames has quit [Ping timeout: 272 seconds]
sspiff has joined #ruby
flype has joined #ruby
justinmcp has quit [Remote host closed the connection]
gregorg_taf has joined #ruby
<monsieurp> I have the following folder structure in a Ruby project: http://pastebin.com/QkL7kw9h
gregorg has quit [Read error: Connection reset by peer]
<monsieurp> how do I load, say, a Rectangle class from App.rb ? I can't figure out.
lggr has quit [Ping timeout: 256 seconds]
bluOxigen has joined #ruby
arietis has joined #ruby
<monsieurp> ?
havenn has quit [Ping timeout: 256 seconds]
lggr has joined #ruby
sgupta has joined #ruby
hoelzro|away is now known as hoelzro
slainer6_ has joined #ruby
Hanmac has quit [Remote host closed the connection]
morozovm_ has joined #ruby
morozovm has quit [Read error: Connection reset by peer]
morozovm_ is now known as morozovm
strk has left #ruby [#ruby]
knirhs has quit [Read error: Operation timed out]
slainer68 has quit [Ping timeout: 260 seconds]
Hanmac has joined #ruby
justsee has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 244 seconds]
JonnieCache has quit [Ping timeout: 255 seconds]
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
ananthakumaran has quit [Quit: Leaving.]
banseljaj is now known as imami|afk
ananthakumaran has joined #ruby
lggr has joined #ruby
<Iszak> monsieurp require 'classes/Rectangle.rb' ?
<robustus> monsieurp: which ruby version?
<monsieurp> 19
djdb has joined #ruby
<robustus> require_relative 'classes/Rectangle.rb'
<Iszak> robustus++
lggr has quit [Ping timeout: 256 seconds]
Gal3rielol has joined #ruby
jcoglan has joined #ruby
krz has quit [Quit: krz]
<Iszak> Is there any way in unicorn to limit prevent CPU usage?
lggr has joined #ruby
Gal3rielol has quit [Ping timeout: 252 seconds]
lggr has quit [Ping timeout: 240 seconds]
Larrius has joined #ruby
darthdeus has quit [Read error: Connection reset by peer]
darthdeus has joined #ruby
awestroke has joined #ruby
lggr has joined #ruby
kisoku has joined #ruby
<kisoku> is there any way to provide a curried block to an enumerator ?
elaptics is now known as elaptics`away
<shevy> Is there any way I could get a kiss?
Takehiro has quit [Remote host closed the connection]
<kisoku> sorry I don't kiss on the first date
roadt has joined #ruby
elaptics`away is now known as elaptics
<Larrius> Speaking of enumerators...
<Larrius> Nevermind, I was having my own issue.
lggr has quit [Ping timeout: 240 seconds]
margle has joined #ruby
nari has quit [Ping timeout: 245 seconds]
Guiixandy has joined #ruby
<Guiixandy> where I find codes for study?
lggr has joined #ruby
sagar_junnu has joined #ruby
Takehiro has joined #ruby
<margle> Guiixandy: er?
rubious has quit [Quit: Leaving...]
samphippen has quit [Quit: Computer has gone to sleep.]
hsbt is now known as hsbt_away
<Larrius> Geeze, what am I doing wrong? This is c#, but... int Whole = 2000; int Half = Whole / 2;
<Larrius> "Whole" at Whole / 2 is telling me that "A field initializer cannot reference the non-static ~"
<postmodern> Guiixandy, http://github.com/search
<postmodern> Larrius, ask in #csharp? :P
<shevy> what
<shevy> what you are doing wrong
<shevy> - You are using C#
lggr has quit [Ping timeout: 260 seconds]
<shevy> the whole mental masturbation model of having to declare variables stinks
<shevy> int my_ass;
<Larrius> equip(unzipper)
<shevy> hmm ok... I would actually never use such a variable. I try to give meaningful names, ideally descriptive ones, all the time.
<hoelzro> unless you needed to describe the size of your ass in a program.
<hoelzro> ;)
<shevy> and if possible, rather short names, than long names. but always a bit longer names for important, re-used variables... no global n,j,k,l,m names
<postmodern> kisoku, currying returns a new Proc object, so just &the_proc
wisconsin has quit [Remote host closed the connection]
<postmodern> hoelzro, size_t your_ass ?
margle has quit [Quit: Computer has gone to sleep.]
<shevy> hoelzro I have yet to find the program where my ass could fit in!
<hoelzro> postmodern: I suppose that makes sense; it would probably be unsigned =)
<shevy> I am a Homer Simpson programmer.
Takehiro has quit [Remote host closed the connection]
lggr has joined #ruby
<shevy> And hoelzro is a Monty Burns programmer.
* hoelzro tries to figure out what that even means
<postmodern> eeexcellent
sarmiena_ has quit [Quit: sarmiena_]
deadghost has quit [Ping timeout: 244 seconds]
<shevy> hoelzro you are an evil programmer
<shevy> :)
<hoelzro> I am? Why?
<shevy> it's in your nature!
lggr has quit [Ping timeout: 240 seconds]
<shevy> I am sure you wrote something evil in your life
<hoelzro> I guess I should ask what makes me an evil programmer...
<shevy> let's see ...
<shevy> did you write something in ...
<shevy> PHP?
havenn has joined #ruby
<hoelzro> no
<shevy> hmmmmm
<shevy> what else could it be ...
* shevy ponders.
morozovm has quit [Ping timeout: 248 seconds]
<shevy> ah well you are off the hook for now, but surely you will write something evil one day!
morozovm has joined #ruby
lggr has joined #ruby
samphippen has joined #ruby
AndrzejK1zywda is now known as AndrzejKrzywda
nignaztic has joined #ruby
havenn has quit [Ping timeout: 245 seconds]
Guiixandy has quit []
bodik has left #ruby [#ruby]
Agis__ has joined #ruby
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
scx has quit [Read error: Operation timed out]
lggr has quit [Ping timeout: 246 seconds]
<Agis__> guys, Hash#merge is a very common method in gems, right?
Larrius has quit [Quit: Page closed]
lggr has joined #ruby
<hemanth> so what's you say hackers? Rails to node.js 20X time faster!
<hemanth> saved 27 servers
<hemanth> for linkedin
<bnagy> troll on #rubyonrails, we don't care
Jork1 has joined #ruby
margle has joined #ruby
D4T has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
D4T has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
lggr has joined #ruby
margle has quit [Client Quit]
gokul has quit [Quit: Leaving]
<Agis__> haha, owned
gokul has joined #ruby
<Agis__> hey guys, what's the most common use of Hash#merge ?
gokul has quit [Client Quit]
<postmodern> Agis__, adding defaults to options Hashes
<postmodern> Agis__, options.merge(:foo => :override)
<Agis__> hm
wobr has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
postmodern has quit [Quit: Leaving]
lggr has joined #ruby
mucker has joined #ruby
_nitti has joined #ruby
monkegjinni has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 260 seconds]
moted has quit [Ping timeout: 260 seconds]
wchun has joined #ruby
monkegjinni has joined #ruby
Agis__ has quit [Quit: Agis__]
cburyta has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
_nitti has quit [Ping timeout: 260 seconds]
lggr has joined #ruby
ottbot has joined #ruby
monkegjinni has quit [Ping timeout: 240 seconds]
mengu has joined #ruby
Mon_Ouie has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby
cburyta has quit [Ping timeout: 240 seconds]
lggr has quit [Ping timeout: 262 seconds]
Takehiro has joined #ruby
lggr has joined #ruby
JonnieCache|work has quit [Quit: leaving]
nilg has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
wobr has quit [Quit: Leaving.]
heisenmink has joined #ruby
awestroke has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 246 seconds]
ianblenke1 has joined #ruby
sgupta is now known as Shrink
Shrink has quit [Changing host]
Shrink has joined #ruby
vlad_starkov has joined #ruby
piotr__ has joined #ruby
rubious has joined #ruby
piotr_ has quit [Ping timeout: 260 seconds]
kitofr has joined #ruby
lggr has joined #ruby
havenn has joined #ruby
Mon_Ouie has quit [Read error: Connection reset by peer]
justinmcp has joined #ruby
nilg has quit [Ping timeout: 240 seconds]
flype has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
havenn has quit [Ping timeout: 240 seconds]
futilegames_ has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
lggr has quit [Ping timeout: 248 seconds]
dhruvasagar has quit [Ping timeout: 248 seconds]
wedtm|away is now known as wedtm
<A124> Anyone knows of a gem to draw in console / terminal?
ianblenke1 has left #ruby [#ruby]
telling has quit [Quit: leaving]
dhruvasagar has joined #ruby
lggr has joined #ruby
BinaryMaster has joined #ruby
seb_ has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
lggr has joined #ruby
samphippen has joined #ruby
LouisGB has quit [Ping timeout: 246 seconds]
mohit has quit [Read error: Connection reset by peer]
g-ram has quit [Quit: Computer has gone to sleep.]
wedtm is now known as wedtm|away
samphippen has quit [Client Quit]
answer_42 has joined #ruby
daniel_-_ has joined #ruby
yshh has quit [Remote host closed the connection]
LouisGB has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
colinbm has quit [Quit: colinbm]
Forevernade has joined #ruby
<heisenmink> how would I unpack messages recieved into data structures in ruby? Imagine 1 byte opcode, 1 byte argument, 2 bytes argument, followed by 4 byte data rows. different data class depending on opcode. how would I treat a string recieved from tcpsocket as bytes in that sense?
lggr has joined #ruby
rubious has quit [Quit: Leaving...]
Zai_ has quit [Quit: Zai_]
cousine has joined #ruby
<workmad3> A124: ncurses is probably the best you'll find
justinmcp has quit [Remote host closed the connection]
<hoelzro> heisenmink: String#unpack could probably be of use to you
My_Hearing has joined #ruby
My_Hearing has quit [Changing host]
My_Hearing has joined #ruby
cousine has quit [Remote host closed the connection]
<A124> workmad3: Thank you, will take a look at that. I also found progress bars, spinners and tables.
samphippen has joined #ruby
<workmad3> heisenmink: I'd probably consider creating a set of classes that encapsulates each opcode and how it should be treated, coupled with a factory method that will examine the first byte and create an appropiate Operation instance for you
<heisenmink> hoelzro: thanks! just what I was looking for
colinbm has joined #ruby
<heisenmink> workmad3: yeah I figured that. I am thinking of making each package type class' constructor take the values in the constructor, and just use the opcode to match to the correct data class
Mon_Ouie has quit [Ping timeout: 260 seconds]
Criztian has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
g-ram has joined #ruby
_nitti has joined #ruby
skaczor has joined #ruby
Zai_ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
lggr has joined #ruby
sixteneighty has quit [Ping timeout: 245 seconds]
josh^ has quit [Ping timeout: 245 seconds]
_nitti has quit [Ping timeout: 260 seconds]
vitoravelino`afk is now known as vitoravelino
cburyta has joined #ruby
ttt has quit [Remote host closed the connection]
My_Hearing has quit [Ping timeout: 260 seconds]
josh^ has joined #ruby
cburyta has quit [Ping timeout: 248 seconds]
lggr has quit [Ping timeout: 245 seconds]
jeffreybaird has joined #ruby
F1skr has joined #ruby
lggr has joined #ruby
rakunHo has joined #ruby
rakunHo has quit [Read error: Connection reset by peer]
telling has joined #ruby
telling has quit [Changing host]
telling has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
A124 has quit [Quit: Leaving.]
lggr has quit [Ping timeout: 240 seconds]
A124 has joined #ruby
elico has joined #ruby
answer_42 has quit [Ping timeout: 276 seconds]
RudyValencia has joined #ruby
lggr has joined #ruby
Forevernade is now known as ForevernadeAFK
mark_locklear has joined #ruby
kjellski has joined #ruby
havenn has joined #ruby
timonv has joined #ruby
saedelaere has quit [Ping timeout: 244 seconds]
lggr has quit [Ping timeout: 264 seconds]
saedelaere has joined #ruby
havenn has quit [Ping timeout: 244 seconds]
hgf has joined #ruby
geekbri has joined #ruby
lggr has joined #ruby
duracrisis has joined #ruby
duracrisis has joined #ruby
duracrisis has quit [Changing host]
saedelaere has quit [Client Quit]
_nitti has joined #ruby
binaryplease has joined #ruby
<thanpolas> i can't find 'convert' command of image magic in RMagick… anyone? or just shell it
Forevernade has joined #ruby
sagax has quit [Quit: Ухожу я от вас]
gmci has joined #ruby
larissa has joined #ruby
<Xeago> I'm looking for a merge application that shows a preview of the resultant merge
ForevernadeAFK has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
krawchyk has joined #ruby
fbernier has joined #ruby
alek_b has quit [Remote host closed the connection]
futilegames_ has quit [Ping timeout: 256 seconds]
lggr has joined #ruby
futilegames has joined #ruby
manizzle has quit [Ping timeout: 246 seconds]
hgf has quit [Quit: hgf]
knirhs has joined #ruby
aisy has joined #ruby
_nitti has quit [Remote host closed the connection]
mmitchell has joined #ruby
Shrink has quit [Ping timeout: 264 seconds]
duracrisis has quit [Ping timeout: 244 seconds]
hatoishi has joined #ruby
<kisoku> xdiff3 ?
sgupta has joined #ruby
D4T has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
carloslopes has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
hatoishi has quit [Client Quit]
mohit has joined #ruby
icooba has quit [Quit: Computer has gone to sleep.]
D4T has joined #ruby
darthdeus has quit [Read error: Connection reset by peer]
uris has joined #ruby
knirhs has quit [Ping timeout: 246 seconds]
mucker has quit [Quit: leaving]
lggr has joined #ruby
gmci has quit [Ping timeout: 252 seconds]
cburyta has joined #ruby
Tearan has joined #ruby
Virunga has quit [Remote host closed the connection]
clocKwize has joined #ruby
manizzle has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
Hanmac has quit [Read error: Connection reset by peer]
gmci has joined #ruby
Virunga has joined #ruby
margle has joined #ruby
JonnieCache has joined #ruby
brotspinne has joined #ruby
_nitti has joined #ruby
cburyta has quit [Ping timeout: 245 seconds]
nanderoo has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
<brotspinne> hello. I have problems with accessing constants in the eigenclass (?) context. here is the code: http://ideone.com/jZQmD I have found a solution with self::FOO but is this the proper way of doing it?
samphippen has quit [Quit: Computer has gone to sleep.]
Hanmac has joined #ruby
<brotspinne> when I remove the inheritance everthing works finde
<brotspinne> fine*
<shevy> you always scope via ::
<brotspinne> shevy: so self::FOO is legit?
lggr has joined #ruby
<shevy> brotspinne, this works http://pastie.org/4914589
<brotspinne> shevy: okay but why not with self << class?
eldariof has quit [Read error: Connection reset by peer]
<shevy> why do you want to use self << class?
sgupta has quit [Read error: Connection reset by peer]
<brotspinne> shevy: I want to follow the rails code guide lines
eldariof has joined #ruby
<shevy> ok then you should ask them :)
<brotspinne> word
<shevy> the less rails code leaks out of rails the better for mankind
cburyta has joined #ruby
<shevy> for what you seem to want to solve, self.foo seems to work fine or?
Shrink has joined #ruby
Shrink has joined #ruby
Shrink has quit [Changing host]
Axsuul has quit [Ping timeout: 245 seconds]
<shevy> I have never seen self::SOME_CONSTANT in code before btw
<shevy> I do see ::SOME_CONSTANT sometimes though
<brotspinne> me too. that's why I'm asking :D
knirhs has joined #ruby
<shevy> I have not investigated, but I think self:: seems kinda superfluous
[Neurotic] has quit [Remote host closed the connection]
<shevy> it always tries to lookup for the constant first in the namespace it was defined or? (in this example, within class B)
<Xeago> self is not a namespace
carlyle has joined #ruby
chussenot has quit [Quit: chussenot]
<Xeago> well, technically it is but it is not what you think it is
samphippen has joined #ruby
larissa has quit [Read error: Connection reset by peer]
heisenmink has quit [Remote host closed the connection]
<brotspinne> self.FOO doesn't work, too
larissa has joined #ruby
<Xeago> shevy: why so anti rails if I may ask?
<brotspinne> Xeago: `self` in this case is the eigenclass, right?
prtksxna has quit [Remote host closed the connection]
<Xeago> never heard of eigenclass
Shrink has quit [Ping timeout: 240 seconds]
lggr has quit [Ping timeout: 255 seconds]
tommyvyo has joined #ruby
<brotspinne> ok then you are the wrong guy :P
<brotspinne> (I've heard about it first today)
Spooner has joined #ruby
<Xeago> heard about it before, but never bothered
Jay_Levitt has quit [Quit: Jay_Levitt]
<Xeago> tbh, if you're having issue's with it, you're doing stuff on the wrong level
mmitchell has quit [Remote host closed the connection]
allanm has quit [Read error: Connection reset by peer]
<brotspinne> Xeago: maybe you're right but thats just the use case. I have a superclass with a constant and I want to access it from a childclass inside a class method while defining the class method with self << class
<brotspinne> thats all
lggr has joined #ruby
knirhs has quit [Read error: Connection reset by peer]
_nitti has quit [Remote host closed the connection]
<brotspinne> ok I should workaround with def self.foo
Shrink has joined #ruby
Shrink has quit [Changing host]
Shrink has joined #ruby
vlad_starkov has joined #ruby
<Spooner> brotspinne : You shouldn't need to wrap it as a method. self::FOO should work if you can't access a constant for some reason (or self.class::FOO from an instance method).
<brotspinne> Spooner: well there is some more logic in the method
samphippen has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<Spooner> Yeah, sorry, I just arrived so maybe I didn't get the full picture.
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<brotspinne> no problem. so you saying that self::FOO is ok?
<Spooner> It should be, I only need to use that when I want to access a child's constant from the parent's method, not the other way around.
wchun has quit [Quit: Leaving]
<Spooner> brotspinne : Did you paste any code? I'm still not sure why you have a problem.
roadt has quit [Ping timeout: 240 seconds]
mengu has quit [Remote host closed the connection]
roadt has joined #ruby
_nitti has joined #ruby
mohit has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 255 seconds]
mr-rich has joined #ruby
<Spooner> Or if, as Xeago suggested, you aren't doing something fundamentally messy ;)
Shrink has quit [Read error: Connection reset by peer]
Shrink has joined #ruby
nwertman has joined #ruby
lggr has joined #ruby
aisy has quit []
jrist-afk is now known as jrist
_nitti has quit [Ping timeout: 260 seconds]
GoGoGarrett has joined #ruby
Guedes_out is now known as Guedes
mmitchell has joined #ruby
cdzombak has joined #ruby
drbawb has joined #ruby
seb_ has quit [Quit: Page closed]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
awarner has joined #ruby
havenn has joined #ruby
<shevy> Xeago rails has become extremely big and influential
<shevy> it overshadows the rest of ruby
<shevy> all the things seem to be so tightly coupled to the rails worldview... all those Active* projects
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
dmiller_ has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 245 seconds]
kjellski has quit [Quit: This computer has gone to sleep]
havenn has quit [Ping timeout: 245 seconds]
allanm has joined #ruby
iamjarvo has joined #ruby
Shrink has quit [Read error: Connection reset by peer]
lggr has joined #ruby
Shrink has joined #ruby
ffranz has joined #ruby
elsifaka has quit [Quit: Veloma e!]
vitoravelino is now known as vitoravelino`afk
Igneous has joined #ruby
knirhs has joined #ruby
hsbt_away is now known as hsbt
cakehero has joined #ruby
<brotspinne> Spooner: http://ideone.com/jZQmD
<Igneous> Admitting defeat and asking irc on this one.. Sorry to bug you guys, but I've been looking for a way to generate a complete set of ri documentation for ruby core. Right now I have a little bit, but it's missing quite a few methods and classes entirely (like Array, for instance).
Shrink has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 255 seconds]
daniel_-_ has quit [Ping timeout: 245 seconds]
hsbt has quit [Ping timeout: 248 seconds]
Morkel has quit [Quit: Morkel]
hsbt has joined #ruby
joofsh has joined #ruby
lggr has joined #ruby
My_Hearing has joined #ruby
maesbn has quit [Remote host closed the connection]
nwest has joined #ruby
bwlang has joined #ruby
bwlang has quit [Excess Flood]
bwlang has joined #ruby
justinmcp has joined #ruby
bwlang has quit [Client Quit]
bwlang has joined #ruby
futilegames has quit [Quit: futilegames]
brotspinne has quit [Quit: brotspinne]
<clocKwize> how do I take a hash and return only certain keys/values? I have {a: 1, b: 2, c: 3}, I want to do hash.only(:a, :c) and get {a: 1, c:3} back
My_Hearing is now known as Mon_Ouie
Coolhand has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
margle has quit [Quit: Computer has gone to sleep.]
swarley has joined #ruby
lggr has joined #ruby
<Spooner> Igneous : Just use pry and pry-doc gems and you have it all (including C source), though admittedly not in ri.
Targen has quit [Ping timeout: 260 seconds]
busybox42 has quit [Read error: Connection reset by peer]
hsbt has quit [Ping timeout: 244 seconds]
busybox42 has joined #ruby
wchun has joined #ruby
<Spooner> clocKwize Or #select, if you don't want to alter the existing Hash.
<Spooner> Igneous : Though I find having access to docs inside my REPL more useful than outside.
<Igneous> yeah, this is more for inside of vim, when I do shift-k
<Igneous> pretty sure I got it though.. 'rdoc --all --ri-system'
<Igneous> from the ruby lib directory
mercwithamouth has joined #ruby
hsbt has joined #ruby
hsbt is now known as hsbt_away
craigp has joined #ruby
lggr has quit [Ping timeout: 264 seconds]
hsbt_away is now known as hsbt
craigp has quit [Quit: craigp]
mmitchell has quit [Remote host closed the connection]
craigp has joined #ruby
<abionic> clocKwize: class Hash
<abionic> def only(key_array)
<abionic> end
<abionic> self.select{|key| key_array.include? key.to_s }
<abionic> end
bluOxigen has quit [Ping timeout: 256 seconds]
<abionic> would let you do hash.only(['a', 'c'])
lggr has joined #ruby
frogprince_mac has joined #ruby
r1ddl3r has joined #ruby
bluOxigen has joined #ruby
hsbt has quit [Ping timeout: 240 seconds]
chrisja has joined #ruby
asuka has quit [Ping timeout: 240 seconds]
iori has quit [Remote host closed the connection]
dr_bob has quit [Read error: Connection reset by peer]
hsbt_away has joined #ruby
hsbt_away is now known as hsbt
asuka has joined #ruby
Jay_Levitt has joined #ruby
mmitchell has joined #ruby
fantazo has joined #ruby
lggr has quit [Ping timeout: 264 seconds]
justinmcp has quit [Remote host closed the connection]
lkba has joined #ruby
awarner has quit [Remote host closed the connection]
a_a_g has quit [Quit: Leaving.]
Jay_Levitt has quit [Client Quit]
lggr has joined #ruby
bradleyprice has joined #ruby
Guest95708 has quit [Changing host]
Guest95708 has joined #ruby
Guest95708 is now known as starship
seoaqua has joined #ruby
rowsdower has joined #ruby
axl_ has joined #ruby
robertotauille has joined #ruby
dr_bob has joined #ruby
samphippen has joined #ruby
ndboost has joined #ruby
paolooo has joined #ruby
daniel_hinojosa has joined #ruby
otters has quit [Quit: WeeChat 0.3.8]
r1ddl3r has quit [Quit: Leaving.]
lggr has quit [Ping timeout: 240 seconds]
abionic has quit [Ping timeout: 240 seconds]
mgates has joined #ruby
irleif has joined #ruby
rabidpraxis has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
mikepack has joined #ruby
bradleyprice has quit [Remote host closed the connection]
monkegjinni has joined #ruby
ndboost has left #ruby [#ruby]
lggr has joined #ruby
bradleyprice has joined #ruby
theRoUS has quit [Ping timeout: 246 seconds]
chrishunt has joined #ruby
r1ddl3r has joined #ruby
bbttxu has joined #ruby
steakknife has joined #ruby
sailias has joined #ruby
manizzle has quit [Ping timeout: 264 seconds]
brotspinne has joined #ruby
flype has joined #ruby
brotspinne has left #ruby [#ruby]
brotspinne has joined #ruby
<brotspinne> hello again
lggr has quit [Ping timeout: 252 seconds]
vitoravelino`afk is now known as vitoravelino
havenn has joined #ruby
daniel_-_ has joined #ruby
devdazed_ has quit [Quit: Bye]
<brotspinne> Spooner: did you saw the code?
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
stopbit has joined #ruby
lggr has joined #ruby
yshh has joined #ruby
ryanlabouve has joined #ruby
havenn has quit [Ping timeout: 245 seconds]
otters has joined #ruby
<Spooner> brotspinne : Yeah, but you'd left.
<brotspinne> Spooner: sorry I had a disconnect. did you wrote something?
<Spooner> The reason it doesn't work is because it is looking for the constant on its class (That is, the class of an instance of MyClass is an MyClass, but an instance of a class of MyClass is Class).
cburyta has quit [Remote host closed the connection]
hsbt is now known as hsbt_away
<Spooner> brotspinne : Actually, that is gibberish. I mean that an instance's class contains its constants, but the constants when referred on that class are looked up on _its_ class, that is Class. self.BLEH looks on it on MyClass.
roadt has quit [Ping timeout: 255 seconds]
daniel_-_ has quit [Ping timeout: 240 seconds]
lggr has quit [Ping timeout: 246 seconds]
awarner has joined #ruby
TomJ has joined #ruby
TomJ has joined #ruby
TomJ has quit [Changing host]
cburyta has joined #ruby
ryanlabouve has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
fmcgeough has joined #ruby
devdazed has joined #ruby
lggr has joined #ruby
drPoggs has joined #ruby
josh^ has quit [Remote host closed the connection]
no_worries has joined #ruby
_nitti has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
Kovensky has quit [Quit: ZNC - http://znc.in]
v0n has joined #ruby
Kovensky has joined #ruby
<v0n> hi
philips_ has quit [Excess Flood]
philips_ has joined #ruby
Ankhers has joined #ruby
DarkFoxDK has joined #ruby
Guest41156 has joined #ruby
awestroke has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
thunderstrike has joined #ruby
xiphiasx_ has joined #ruby
joshman_ has joined #ruby
lggr has joined #ruby
Spooner has quit [Ping timeout: 245 seconds]
dpk has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
cburyta has quit [Remote host closed the connection]
tagrudev has quit [Remote host closed the connection]
irleif has joined #ruby
knirhs has quit [Read error: Connection reset by peer]
knirhs has joined #ruby
colinbm has quit [Quit: colinbm]
sspiff has quit [Remote host closed the connection]
internet_user has joined #ruby
ledao has quit [Read error: Connection timed out]
dpk has quit [Quit: Ceci n'est pas une broken pipe.]
lggr has quit [Ping timeout: 240 seconds]
MikeyV27 has joined #ruby
sgupta has joined #ruby
chimay has joined #ruby
elux has joined #ruby
answer_42 has joined #ruby
knirhs has quit [Ping timeout: 255 seconds]
lggr has joined #ruby
_nitti has quit [Remote host closed the connection]
jenrzzz has joined #ruby
dpk has joined #ruby
quest88_ has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
asuka has quit [Ping timeout: 246 seconds]
nateberkopec has joined #ruby
philcrissman has joined #ruby
dr_bob has quit [Quit: Leaving.]
dr_bob has joined #ruby
asuka has joined #ruby
cburyta has joined #ruby
blazes816 has joined #ruby
quest88_ has quit [Client Quit]
irleif has joined #ruby
asteve has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
lggr has joined #ruby
irleif has quit [Client Quit]
asuka has quit [Ping timeout: 252 seconds]
r1ddl3r has quit [Quit: Leaving.]
headius has joined #ruby
asuka has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
freeayu__ has quit [Ping timeout: 248 seconds]
rehat has joined #ruby
ltsstar has joined #ruby
Araxia has quit [Quit: Araxia]
DebianUT has joined #ruby
ffranz has quit [Quit: Leaving]
freeayu__ has joined #ruby
asuka has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
D4T has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
asuka has joined #ruby
ffranz has joined #ruby
cburyta has quit [Remote host closed the connection]
hsbt_away is now known as hsbt
colinbm has joined #ruby
lggr has joined #ruby
cburyta has joined #ruby
asuka has quit [Remote host closed the connection]
craigp has quit [Quit: craigp]
theRoUS has quit [Read error: Operation timed out]
<rehat> what is the vitical bars called in a statement like something.each do |x|
Emmanuel_Chanel has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
ichilton has quit [Quit: Lost terminal]
<hoelzro> rehat: those specify the block's parameters
<DebianUT> like 5.times {|x| puts x}
<DebianUT> it will output 01,2,3,4
<rehat> ok so block parameters
<rehat> just wondering what its terminology was
<rehat> thanks
samphippen has joined #ruby
Bosma has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
baphled has quit [Ping timeout: 245 seconds]
leoncamel has joined #ruby
lolmaus has quit []
havenn has joined #ruby
und3f has quit [Quit: Leaving.]
lggr has joined #ruby
philcrissman has quit [Remote host closed the connection]
asuka has joined #ruby
macmartine has joined #ruby
alek_b has joined #ruby
<rking> Is there a standard way of doing this?: class Hash; def find_by_value looking_for; find { |k,v| v == looking_for end.first } end end
asuka has quit [Remote host closed the connection]
asuka has joined #ruby
davidcelis has quit [Quit: K-Lined.]
havenn has quit [Ping timeout: 245 seconds]
jgrevich has joined #ruby
mark_locklear has quit [Quit: Leaving]
irleif has joined #ruby
<hoelzro> rking: what do you need that for?
ltsstar has quit [Ping timeout: 244 seconds]
<hoelzro> the advantage of a hash is that you get fast lookups for the keys; it seems like you're getting away from that
F1skr has quit [Quit: WeeChat 0.3.9]
Tearan has quit [Quit: Sleepy Badger....]
brotspinne has quit [Quit: brotspinne]
<Hanmac> rking ri Hash.key
futilegames has joined #ruby
<DebianUT> a = {:key1 => "Value1"}
<DebianUT> puts a[:key1]
lggr has quit [Ping timeout: 240 seconds]
F1skr has joined #ruby
<rking> hoelzro: Just that I have a small case where I need to go backwards.
<rking> DebianUT: So from there, if you have b = a[:key1], now taking only b how can you get back to :key1 ?
<rking> Well, only b and a, but not :key1 itself I mean. =)
<Hanmac> rking a.key("Value1")
asuka has quit [Remote host closed the connection]
asuka has joined #ruby
wwalker has joined #ruby
<A124> bnagy: Holy sh*t! ... The speed of diff-lcs is insane! Slow as hell.
ZubKonst has quit [Read error: Connection reset by peer]
<rking> Hanmac: Yeah, thanks. I was just looking that up now like you said. But I was puzzled by "Hash.key" vs. "Hash#key".
<rking> Hanmac: If there's a nuclear holocaust that destroys all Ruby docs, we'll be calling on you to recreate them, kk?
lggr has joined #ruby
ZubKonst has joined #ruby
<wwalker> anyone know of existing code that would turn [1,2,3,8,9,11,12,13,14,15,23] into [1..3,8..9,11..15,23] ? I can of course write it but if it's already written....
<Hanmac> :P yeah
<rking> Hanmac: Actually man, I need you on pry-docmore
<rking> Bad
<hoelzro> wwalker: I bet you could do something crazy with inject
<bperry> wwalker: is there actually a difference between the two?
<rking> Hanmac: These are all empty, mostly: https://github.com/rking/pry-docmore/wiki
<bperry> I would bet they would be equal under the hood of ruby
maletor has joined #ruby
<rking> Here's an example of what I'm going for: https://github.com/rking/pry-docmore/wiki/Ruby%20Keyword%3A%20alias
Virunga has quit [Remote host closed the connection]
<rking> (But once they're ready, it'll be something that you can do in pry. Like how you can already say "? Hash#key", you'll be able to "? alias" or "? if")
binaryplease has quit [Quit: WeeChat 0.3.8]
Synthead has joined #ruby
<wwalker> bperry, really I just want a string rather than an array as output. I want a human friendly rollup of the holes in a ping series....
hoelzro is now known as hoelzro|away
<wwalker> hoelzro|away: I'll go that route...
hsbt is now known as hsbt_away
booyakah has joined #ruby
booyakah has joined #ruby
booyakah has quit [Changing host]
punkrawkR has joined #ruby
icooba has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
mahmoudimus has joined #ruby
<Hanmac> wwalker can it be 1.9er code or does it need to be work on 1.8 too?
irleif has quit [Quit: Computer has gone to sleep.]
aganov has quit [Quit: aganov]
F1skr has quit [Quit: WeeChat 0.3.9]
ananthakumaran has joined #ruby
<wwalker> Hanmac: 1.9 would be fine
lggr has quit [Ping timeout: 256 seconds]
_nitti has joined #ruby
cardoni has joined #ruby
jasond has quit [Remote host closed the connection]
SegFaultAX|work has joined #ruby
hakunin has joined #ruby
freeayu__ has quit [Remote host closed the connection]
skryking has joined #ruby
philcrissman has joined #ruby
nohonor has joined #ruby
tommyvyo has quit [Remote host closed the connection]
tommyvyo has joined #ruby
jasond has joined #ruby
lggr has joined #ruby
aibo has joined #ruby
aibo has quit [Client Quit]
<Hanmac> wwalker: d=[1,2,3,8,9,11,12,13,14,15,23]; ([d[0]] + d.each_cons(2).partition {|x,y|y==x.next }[1].flatten).each_slice(2).map {|x,y| y.nil? ? x : x..y}#=> [1..3, 8..9, 11..15, 23]
wrapids has joined #ruby
apok has joined #ruby
<arturaz> damn. rbenv is so much saner than rvm...
rowsdower has quit [Quit: Konversation terminated!]
<wrapids> When using rexml x = xmldoc.root puts x, should it be dislpaying the entire xml file?
g-ram has quit [Quit: Computer has gone to sleep.]
lggr has quit [Ping timeout: 256 seconds]
BinaryMaster has quit [Quit: Leaving]
caveat- has quit [Ping timeout: 252 seconds]
chrishunt has quit [Ping timeout: 260 seconds]
dr_bob has quit [Quit: Leaving.]
<workmad3> wrapids: sounds reasonable
<A124> rubygem diff-lcs should be wiped of the surface of the Earth. 30 minutes, two small files and still no output.
mahmoudimus has quit [Ping timeout: 248 seconds]
<booyakah> Hanmac, thanks for the help yesterday. I figured out what was wrong this morning while I was in the shower. When fiddling with it I remembered I changed the SQL Query and got this though "hmm, did I change it back?"
<booyakah> I didn't
caveat- has joined #ruby
<booyakah> (if you remember)
<workmad3> wrapids: XML can only have 1 root element, and I'd expect printing out a node to print out the XML for the node and its children (and so on)
Hanmac has quit [Ping timeout: 255 seconds]
<workmad3> wrapids: now, the question is, does it? :)
leoncame` has joined #ruby
<wrapids> workmad3: I'm afraid I am not quite following that statement
seoaqua has quit [Ping timeout: 256 seconds]
F1skr has joined #ruby
<workmad3> wrapids: did you ask 'should it print out the entire document' because you expected it to, or because you didn't expect it to?
<wrapids> Because I didn't expect it to
lggr has joined #ruby
Hanmac has joined #ruby
<wwalker> Hanmac gave me one to think about....
leoncamel has quit [Ping timeout: 246 seconds]
irleif has joined #ruby
_mak has quit [Quit: Ex-Chat]
<booyakah> Hanmac, thanks for the help yesterday. I figured out what was wrong this morning while I was in the shower. When fiddling with it I remembered I changed the SQL Query and got this though "hmm, did I change it back?"
<booyakah> If you remember about result[0][0] > 0
elsifaka has joined #ruby
SegFaultAX|work has quit [Quit: leaving]
<Hanmac> yeah
<booyakah> such a stupid mistake to miss
<booyakah> instead of SELECT COUNT(0) FROM
<booyakah> it was SELECT nickname FROM
<booyakah> still i think its weird that "puts result" didn't output anything
leoncame` has quit [Client Quit]
<wrapids> workmad3: I'm simply trying to add an element as a child of a particular element on an existing document, I'm either getting "cannot create multiple root" or it just runs, does nothing. I've poured over the documentation but I so far haven't gotten it to work
<workmad3> wrapids: well you've requested the root element of an XML document
<workmad3> wrapids: there can only be one root element
sagar_junnu has quit [Quit: Leaving]
<wrapids> Well that makes sense, but I dont want to add a new root element. I'm trying to add a child element to an entirely different element
<workmad3> wrapids: so when you then 'puts' it, the 'puts' gets a string representation of the root element, which includes oll of that elements children
<workmad3> wrapids: I'm just explaining the code you showed ;)
<wrapids> I was just curious about it printing the entire document
Morkel has joined #ruby
<wrapids> Mostly what the documentaiton and examples I've seen show to use is xmldoc.add_element("some_element"), but these give me the multiple root exception.
lggr has quit [Ping timeout: 246 seconds]
<wrapids> which firstly doesn't specify the element I'd like to add to
Ankhers has quit [Remote host closed the connection]
locriani has joined #ruby
fantazo has quit [Remote host closed the connection]
<wrapids> workmad3: Oh! I should be looking at inserts rather than add_element...
elico has quit [Ping timeout: 256 seconds]
<workmad3> wrapids: heh :) it's been a long time since I've touched rexml... I prefer nokogiri
lggr has joined #ruby
<workmad3> better documentation, cleaner interface, and it's built on top of libxml... what could be better? :)
Morkel has quit [Client Quit]
justinmcp has joined #ruby
<wrapids> Does it support SAX and DOM type parsing?
brianpWins has quit [Quit: brianpWins]
philcrissman has quit [Remote host closed the connection]
joast has joined #ruby
Morkel has joined #ruby
zenformatics1 has joined #ruby
spaceships has joined #ruby
justinmcp has quit [Ping timeout: 256 seconds]
nwest has quit [Quit: Computer has gone to sleep.]
jgrevich_ has joined #ruby
mucker has joined #ruby
carloslopes has quit [Quit: Leaving.]
jgrevich has quit [Ping timeout: 240 seconds]
jgrevich_ is now known as jgrevich
lggr has quit [Ping timeout: 255 seconds]
Zai_ has quit [Quit: Zai_]
samphippen has quit [Quit: Computer has gone to sleep.]
colinbm has quit [Quit: colinbm]
elico has joined #ruby
lggr has joined #ruby
larissa has quit [Quit: Leaving]
headius has quit [Quit: headius]
mahmoudimus has joined #ruby
havenn has joined #ruby
g-ram has joined #ruby
shadoi has quit [Quit: Leaving.]
v0n has quit [Ping timeout: 246 seconds]
khakimov has joined #ruby
leehambley has joined #ruby
monkegjinni has quit [Remote host closed the connection]
irleif has quit [Quit: Computer has gone to sleep.]
lggr has quit [Ping timeout: 244 seconds]
Attic[0] has joined #ruby
flype has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Attic[0] has left #ruby [#ruby]
awestroke has quit [Remote host closed the connection]
samphippen has joined #ruby
morozovm_ has joined #ruby
ryanlecompte has joined #ruby
lggr has joined #ruby
wallerdev has joined #ruby
morozovm has quit [Ping timeout: 255 seconds]
morozovm_ is now known as morozovm
burgestrand has quit [Quit: Leaving.]
SegFaultAX|work has joined #ruby
headius has joined #ruby
tk__ has joined #ruby
Ankhers has joined #ruby
charliesome has quit [Ping timeout: 240 seconds]
daniel_-_ has joined #ruby
cbuxton has joined #ruby
lggr has quit [Ping timeout: 244 seconds]
davidcelis has joined #ruby
davidcelis has quit [Read error: Connection reset by peer]
davidcelis has joined #ruby
Targen_ has joined #ruby
lggr has joined #ruby
tylerjones has joined #ruby
[diecast] has quit [Excess Flood]
<tylerjones> what channel would be good for questions with ruby?
ngoldman has joined #ruby
brianpWins has joined #ruby
ozette has quit [Ping timeout: 260 seconds]
[diecast] has joined #ruby
Eplemosen has joined #ruby
jakk has joined #ruby
daniel_-_ has quit [Ping timeout: 246 seconds]
tylerjones is now known as ghalsk
ghalsk has left #ruby [#ruby]
AlbireoX has joined #ruby
jgwong has joined #ruby
irleif has joined #ruby
senny has quit [Remote host closed the connection]
apok has quit [Ping timeout: 240 seconds]
<blazes816> tylerjones: this one
<Muz> Not that he stuck about to hear that.
maletor has quit [Quit: Computer has gone to sleep.]
lggr has quit [Ping timeout: 246 seconds]
Virunga has joined #ruby
philcrissman has joined #ruby
elico has quit [Ping timeout: 246 seconds]
seanwash has joined #ruby
DrShoggoth has joined #ruby
lggr has joined #ruby
slainer6_ has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 248 seconds]
mercwithamouth has joined #ruby
thunders_ has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
alfism has joined #ruby
thunderstrike has quit [Ping timeout: 256 seconds]
krawchyk has quit [Remote host closed the connection]
chrisja has quit [Quit: leaving]
oldB has joined #ruby
lggr has quit [Ping timeout: 264 seconds]
irleif has quit [Quit: Computer has gone to sleep.]
cantonic_ has joined #ruby
carlyle has quit [Remote host closed the connection]
oldB has quit [Client Quit]
mengu has joined #ruby
lggr has joined #ruby
cantonic has quit [Ping timeout: 246 seconds]
cantonic_ is now known as cantonic
<wrapids> Could someone point me in the direction of a decent resource (the docs aren't cutting it) for adding an element to an existing xml document using nokogiri?
moted has joined #ruby
cj3kim has joined #ruby
irleif has joined #ruby
Keyboom has joined #ruby
_nitti has quit [Remote host closed the connection]
ken_barber has quit [Remote host closed the connection]
cj3kim has quit [Client Quit]
samphippen has quit [Quit: Computer has gone to sleep.]
<workmad3> wrapids: http://nokogiri.org/Nokogiri/XML/Node.html <-- check the 'add_child' method there
<workmad3> wrapids: coupled with the query capabilities to find the node you want
cousine has joined #ruby
_nitti has joined #ruby
ffranz has quit [Quit: Leaving]
g-ram has quit [Quit: Computer has gone to sleep.]
cousine has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
ffranz has joined #ruby
chrishunt has joined #ruby
Xeago has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
sent-hil has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
Jork1 has quit [Quit: Jork1]
leehambley has quit [Quit: leehambley]
Takehiro has quit [Remote host closed the connection]
Araxia has joined #ruby
lggr has joined #ruby
cj3kim has joined #ruby
elsifaka has quit [Quit: Veloma e!]
jhight has joined #ruby
<jhight> hey guys -- what's the approach to debug ruby?
<Xeago> ruby itself?
<Xeago> gdb works
<jhight> yep
<jhight> ugh
<jhight> seriously -- gdb?
<Xeago> ruby is bare c
eldariof has quit []
abionic has joined #ruby
oldB has joined #ruby
ZenGuy has joined #ruby
zigomir has quit [Quit: Leaving]
lggr has quit [Ping timeout: 244 seconds]
zenformatics1 has quit [Quit: Leaving.]
philcrissman has quit [Remote host closed the connection]
cardoni has quit [Quit: cardoni]
oldB has quit [Client Quit]
<ZenGuy> i'm running linux mint xfce and i'm trying to install xdcc-fetch with : sudo gem install XDCC-Fetch with dependency sudo apt-get install libfox
deadghost has joined #ruby
dbck has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
dbck has quit [Client Quit]
_nitti has quit [Remote host closed the connection]
notVert has joined #ruby
cardoni has joined #ruby
lggr has joined #ruby
<ZenGuy> when i try to run it it shows http://pastebin.com/hicAuGpN
baphled has joined #ruby
stevekinney has joined #ruby
dbck has joined #ruby
shadoi has joined #ruby
Hanmac has quit [Remote host closed the connection]
shadoi has quit [Read error: Connection reset by peer]
shadoi has joined #ruby
<ZenGuy> what can i do to fix it?
Elhu has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ken_barber has joined #ruby
ananthakumaran has joined #ruby
alvaro_o has joined #ruby
Araxia has quit [Read error: Connection reset by peer]
stephh has joined #ruby
ddd has quit [Ping timeout: 245 seconds]
yoklov has joined #ruby
Iszak has quit [Quit: User has gone to sleep.]
lggr has quit [Ping timeout: 256 seconds]
zenformatics1 has joined #ruby
c0rn_ has joined #ruby
ddd has joined #ruby
futilegames has quit [Quit: futilegames]
snearch has joined #ruby
Hanmac has joined #ruby
shevy has quit [Read error: Operation timed out]
<havenn> Is pastebin down again? We should switch recommendation to gist.github.com...
<ZenGuy> you can't see my paste?
tommyvyo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
lggr has joined #ruby
<havenn> ZenGuy: Pastebin isn't loading for me at all. :( Could you post a gist?
<havenn> ZenGuy: Paste Bin - Heavy Load Failure
<havenn> What I get for your paste is picture of a cat... with: Pastebin.com is under heavy load right now :'(
<havenn> ZenGuy: That works. :(
<havenn> :) **
<ZenGuy> what am i missing?
ncr100 has joined #ruby
dbck has quit [Quit: Be back later]
jcoglan has quit [Ping timeout: 260 seconds]
jmampost has joined #ruby
dpk has quit [Quit: Asleep at the keyboard.]
macmartine has quit [Quit: Computer has gone to sleep.]
<havenn> ZenGuy: If change the 'require_gem' to just 'gem' it would prolly work, hrmm. Have you done a?: sudo gem update
<ZenGuy> will do the update now .. don't know where to change that if the updaqte doesn't work
lggr has quit [Ping timeout: 240 seconds]
<ZenGuy> nothing to update
ottbot has quit [Ping timeout: 240 seconds]
scx has joined #ruby
<havenn> ZenGuy: What is your: ruby -v
bricker has joined #ruby
<ZenGuy> ruby 1.8.7 patch level 352
khakimov has quit [Quit: Computer has gone to sleep.]
<booyakah> Someone here told me yesterday about pry. What's the benefits with pry versus irb?
mrsolo has joined #ruby
<havenn> ZenGuy: Ahh, yeah the current system ruby on Debian is all sorts of messed up. I'd recommend installing a modern Ruby with RVM or if you have a realllly recent Ubuntu: sudo apt-get install ruby1.9.3
jhight has quit [Quit: jhight]
baphled has quit [Ping timeout: 246 seconds]
<ZenGuy> unning a apt-cache search .. linux mint based off of 12.04 xfce
lggr has joined #ruby
<ZenGuy> installing now
Takehiro has joined #ruby
LouisGB has quit [Read error: Connection reset by peer]
<Vinz_> Well, Ubuntu is not a good distro IMHO...
LouisGB has joined #ruby
<ZenGuy> linux mint works well on my netbook .. i use pclinuxos on my desktop
LouisGB has quit [Read error: Connection reset by peer]
<Vinz_> Mint is better
LouisGB has joined #ruby
ltsstar has joined #ruby
<Vinz_> Even if it is based on Ubuntu
<DebianUT> what's the difference?
<Vinz_> But, a real good distro is one such as Arch or Gentoo
<Vinz_> Even better is FreeBSD
<ZenGuy> the last time i had ubuntu installed was 7.04 or 7.10
<Vinz_> DebianUT: Mint is an Ubuntu, but with many improvements
<Tom2> What GUI does FreeBSD use?
jrist is now known as jrist-gym
<DebianUT> I know that
<DebianUT> the improvements are
<DebianUT> more drivers
<ZenGuy> i tryied installing freebsd when i was 19 and ew at this 8 years ago .. couln't get pass the partition setup screen
<DebianUT> more GUI options
<DebianUT> but just that
<DebianUT> the guts remain the same
<Vinz_> Yup
<Vinz_> But Mint > Ubuntu
<Vinz_> And in fact
shevy has joined #ruby
<Vinz_> Mint < All
<DebianUT> For someone like me who is only interested in the guts
<DebianUT> both are the same
<Virunga> Vinz_: "Well, Ubuntu is not a good distro IMHO... ", why?
LouisGB has quit [Remote host closed the connection]
<DebianUT> All I need is a console
<Vinz_> Poor De integration
<Vinz_> DE*
LouisGB has joined #ruby
<DebianUT> ah
<DebianUT> that's the problem
<Vinz_> And many other reasons
LouisGB has quit [Read error: Connection reset by peer]
<DebianUT> you care to much about DE
<DebianUT> I don't
LouisGB has joined #ruby
<Vinz_> But I don't feel like list all of them
<DebianUT> I can do it fine just with XLDE
<Vinz_> LXDE*
<DebianUT> and a console
<Xeago> what is DE/LXDE?
<Vinz_> And I use Arch with just OpenBox
<Vinz_> DE Desktop Environment
<Vinz_> LXDE is on
<Vinz_> one*
<Vinz_> DebianUT: Err, I was using Openbox, now it's Awesome
ken_barber has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 255 seconds]
<DebianUT> Never tried it, but I will
<ZenGuy> i installed ruby 1.9.3 but ruby -v still shows 1.8.7 .,.. wht gives?
<DebianUT> I'm currently using Ubuntu 12.04 with GNOME Shell
<Vinz_> ZenGuy: Try ruby1.9.3 -v
carloslopes has joined #ruby
<ZenGuy> Vinz_: that wirks
<Vinz_> :)
chrisramon has joined #ruby
rippa has joined #ruby
<ZenGuy> do i have to purge or remove ruby1.8.7 ?
abionic has quit [Read error: No route to host]
sneakyness_wk has joined #ruby
answer_42 has quit [Remote host closed the connection]
abionic has joined #ruby
Jork1 has joined #ruby
<Tom2> Anyone here know much about vim/emacs? I dont know which I should opt for
<Xeago> whichever you prefer
irleif has quit [Quit: Computer has gone to sleep.]
Takehiro has quit [Ping timeout: 240 seconds]
<ZenGuy> ubuntu repo is huge compaed to pclinuxos .. like 3 times the size ,., much easier to solve dependency issues
<Tom2> they both seem to require a fair bit of learning to get started so was just curious as to opinions
<Xeago> therefore, whichever you prefer :)
<Xeago> you'll only know afterwards
lggr has joined #ruby
<cout> tom2: if you use emacs you have to grow a beard like richard stallman
yoklov has quit [Quit: computer sleeping]
<Vinz_> DebianUT: And, Ubuntu is heavy, many conflicts with some packages, bloatware
<cout> and you have to stop bathing too
ozette has joined #ruby
<Tom2> Haha some good answers, thanks guys
<cout> tom2: one important point to consider is that emacs is scripted with emacs lisp, while vim can be scripted with many different languages, including ruby
<Vinz_> ZenGuy: But, do you need all the crap inside Ubuntu repo ?
<Vinz_> Soooooooo much crap
answer_42 has joined #ruby
<ZenGuy> try out software
<ZenGuy> whats crap
<ZenGuy> it's software
<chrisramon> Hi, I am using Nokogiri, i have something like: var = doc.at_css('tr:nth-child(2) b').text , var is a text which has break lines, and the method at_css is replacing \n for "", how can i change the replacing behavior ???
irleif has joined #ruby
<Tom2> cout: interesting, I didn't know that. thanks
slainer68 has joined #ruby
TomJ has quit [Quit: TomJ]
abionic has quit [Ping timeout: 244 seconds]
g-ram has joined #ruby
<chrisramon> got it : var = doc.at_css('tr:nth-child(2) b').inner_html.gsub(/<br>/, ' ')
JonnieCache has quit [Ping timeout: 245 seconds]
notVert has quit [Remote host closed the connection]
jgarvey has joined #ruby
emmanuelux has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
Targen_ has quit [Ping timeout: 246 seconds]
leehambley has joined #ruby
emmanuelux has quit [Client Quit]
<SegFaultAX|work> Why would installing something via `gem install foo` be different from putting foo in your Gemfile? Assuming they both are using the same source.
abionic has joined #ruby
<Xeago> the version mentioned
<SegFaultAX|work> Xeago: I don't mention a version in the Gemfile.
knirhs has joined #ruby
<Xeago> gem version, ruby version that pareses gemfile
<havenn> SegFaultAX|work: If the application is using a Gemfile or a different Ruby.
<SegFaultAX|work> The exact gem is Rubber. When I install it directly via gem install, it gets the latest version 2.1.1. Installing it via bundler/Gemfile causes it to install 2.0.4
<Xeago> other dependency's used in gemfile
<Xeago> no idea
<SegFaultAX|work> That was it.
<SegFaultAX|work> Fog was the conflict.
lggr has joined #ruby
jmampost has quit [Remote host closed the connection]
jamjam has joined #ruby
Araxia has joined #ruby
chrisramon has quit [Quit: chrisramon]
sgupta has quit [Ping timeout: 246 seconds]
sepp2k1 has joined #ruby
emmanuelux has joined #ruby
bradleyprice has quit [Read error: Connection reset by peer]
bradleyp_ has joined #ruby
sepp2k has quit [Ping timeout: 260 seconds]
steakknife has quit [Ping timeout: 264 seconds]
Xeago_ has joined #ruby
Xeago_ has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 245 seconds]
futilegames has joined #ruby
tommyvyo has joined #ruby
bradleyp_ has quit [Ping timeout: 246 seconds]
bricker has quit [Quit: leaving]
hadees has quit [Quit: hadees]
bricker has joined #ruby
tommyvyo has quit [Client Quit]
Mon_Ouie has quit [Ping timeout: 245 seconds]
philcrissman has joined #ruby
lggr has joined #ruby
tommyvyo has joined #ruby
Xeago has quit [Ping timeout: 260 seconds]
<wrapids> http://dpaste.org/UoMZ5/ <- Why is this not modifying the file? Shouldn't it be deleting the element "f"?
KindOne has quit [Ping timeout: 256 seconds]
darkc0met has quit [Ping timeout: 246 seconds]
zenformatics1 has quit [Quit: Leaving.]
tommyvyo has quit [Client Quit]
r1ddl3r has joined #ruby
wallerdev has quit [Quit: wallerdev]
<wrapids> Huh
<wrapids> It looks like it saves it in memory but not to the file... Is there a method to write it to the original file?
lggr has quit [Ping timeout: 240 seconds]
leehambley has quit [Quit: leehambley]
krawchyk has joined #ruby
cardoni has quit [Quit: cardoni]
Hanmac has quit [Ping timeout: 246 seconds]
kirun has joined #ruby
haxrbyte has quit [Ping timeout: 245 seconds]
stephh has quit [Ping timeout: 245 seconds]
niklasb has joined #ruby
snearch has quit [Quit: Verlassend]
lggr has joined #ruby
Hanmac has joined #ruby
carlyle has joined #ruby
v0n has joined #ruby
v0n has quit [Remote host closed the connection]
v0n has joined #ruby
bbttxu has quit [Quit: bbttxu]
GoGoGarrett has joined #ruby
sgupta has joined #ruby
tk__ has quit [Quit: ばいばい]
_nitti has joined #ruby
<ZenGuy> help please
hadees has joined #ruby
<ZenGuy> i have ruby 1.8.7 and 1.9.3 installed
<ZenGuy> xdcc-fetch won't run .. case sensitive XDCC-Fetch
voodoofish430 has joined #ruby
ledao has joined #ruby
kenneth has quit [Quit: kenneth]
knirhs has quit [Ping timeout: 252 seconds]
lggr has quit [Ping timeout: 246 seconds]
Hanmac has quit [Ping timeout: 256 seconds]
<havenn> wrapids: You are opening the file in read-only, try: File.open("1.xml", "w")
diegoviola has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
bluenemo has quit [Remote host closed the connection]
_nitti has quit [Ping timeout: 260 seconds]
elico has joined #ruby
<ZenGuy> havenn: are you talkign to me?
<havenn> ZenGuy: Nope, to wrapids.
<ZenGuy> k
mercwithamouth has quit [Ping timeout: 255 seconds]
lggr has joined #ruby
bricker_ has joined #ruby
<havenn> ZenGuy: If you get tired of banging your head on Ubuntu using 1.8 instead of your installed 1.9 (causing your error), an easy fix is: https://rvm.io
<havenn> ZenGuy: curl -L https://get.rvm.io | bash -s stable --ruby
<havenn> ZenGuy: You just need to first: sudo apt-get install build-essentials curl git
<havenn> ZenGuy: build-essential ***
<havenn> ZenGuy: I always forget and add an 's'
sent-hil has quit [Remote host closed the connection]
elico has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
elico has joined #ruby
bricker has quit [Ping timeout: 240 seconds]
sent-hil has joined #ruby
Jay_Levitt has joined #ruby
hsbt_away is now known as hsbt
<ZenGuy> i have build essentials
<ZenGuy> i will just purge ruby and reinstall ruby1.9.3
<havenn> ZenGuy: Try: sudo update-alternatives --config ruby; sudo update-alternatives --config gem
macmartine has joined #ruby
<ZenGuy> damn too late
Jay_Levitt has quit [Client Quit]
<havenn> ZenGuy: Or uninstall the broken 1.8.7 that comes with Ubuntu >.>
<ZenGuy> i said "n"
sent-hil has quit [Remote host closed the connection]
<havenn> ZenGuy: To unintal broken 1.8, something like: sudo apt-get remove libruby1.8 ruby1.8 ruby1.8-dev rubygems1.8
<ZenGuy> havenn: i chose gem1.9.1 instead of 1.8
<ZenGuy> ruby -v shows ruby 1.9.3p0
<havenn> ZenGuy: =)
<ZenGuy> same error though
lggr has quit [Ping timeout: 256 seconds]
zommi has quit [Quit: Leaving.]
mercwithamouth has joined #ruby
<ZenGuy> http://www.ruby-forum.com/topic/167117 this page leads me to belive something in the gem code which i can't really understand at all is old
<ZenGuy> fyi i'm not a programmer
hsbt has quit [Ping timeout: 245 seconds]
<havenn> ZenGuy: Hrm, try: rubygems1.9.
<havenn> ZenGuy: Hrm, try: rubygems1.9.1
<havenn> ZenGuy: Grr, I mean: sudo apt-get install rubygems1.9.1
<havenn> ZenGuy: Yeah, broken old version of rake
engel has quit [Quit: Leaving]
<ZenGuy> ruby1.9.1 is already thenewest version
stephh has joined #ruby
wallerdev has joined #ruby
<havenn> ZenGuy: I'm at a loss, on ubuntu I just use RVM, rbenv, or rufu (so I don't have to deal with Debian's currently waaay broken Ruby)
deadghost has quit [Ping timeout: 260 seconds]
lggr has joined #ruby
<havenn> ZenGuy: They are working on fixing it, but for now a bag of hurt.
<ZenGuy> i did the rvm thing
jbw has quit [Ping timeout: 246 seconds]
<ZenGuy> what do i do with rvm now though?
<havenn> ZenGuy: Yeah, that is a good route!
wedtm|away is now known as wedtm
knirhs has joined #ruby
<havenn> ZenGuy: rvm install ruby-1.9.3-head
<havenn> ZenGuy: Then: rvm --default use ruby-1.9.3-head
<ZenGuy> no sudo?
<ZenGuy> everything is in my home folder?
<havenn> ZenGuy: Oh yeah, if it calls for sudo then put 'rvmsudo ' in front
jbw has joined #ruby
<havenn> ZenGuy: So like: rvmsudo rvm install ruby-1.9.3-head
<ZenGuy> bison is not available in your path
morozovm has quit [Quit: morozovm]
_nitti has joined #ruby
<havenn> ZenGuy: Try: rvm requirements
<havenn> ZenGuy: It will give you a handy list of packages to install to make it work well.
<havenn> ZenGuy: This is the ticket: sudo install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config
<ZenGuy> installing now
sgupta has quit [Ping timeout: 246 seconds]
bigkevmcd has quit [Quit: outta here]
Takehiro has joined #ruby
<ZenGuy> ok ran the rvm command to instal 1.9.3-head
abionic has quit [Read error: Connection reset by peer]
<ZenGuy> seems to be working
abionic has joined #ruby
<ZenGuy> do i run rvm gem install XDCC-Fetch ?
<ZenGuy> will tat conflict with the xdcx-fetch already installed ?
lggr has quit [Ping timeout: 255 seconds]
chrisramon has joined #ruby
<havenn> ZenGuy: RVM handles all that. Just: gem install...
<ZenGuy> do i run rvm XDCC-Fetch to run that new eversion?
<ZenGuy> ok
<havenn> ZenGuy: You just treat it like a regular Ruby - RVM handles all the stuff behind the scenes
<ZenGuy> ok
Takehiro has quit [Ping timeout: 240 seconds]
lggr has joined #ruby
cardoni has joined #ruby
elico has quit [Quit: elico]
kenneth has joined #ruby
Shamgar has joined #ruby
hsbt_away has joined #ruby
abionic has quit [Read error: Connection reset by peer]
abionic has joined #ruby
apok has joined #ruby
monsieur_h has joined #ruby
monsieur_h has left #ruby [#ruby]
Xeago has joined #ruby
jeffreybaird has joined #ruby
triptec has joined #ruby
leehambley has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
<ZenGuy> ok it was compiling doing it's preparing yaml
fram has quit [Remote host closed the connection]
monkegjinni has joined #ruby
lggr has joined #ruby
thanpolas has quit [Quit: Leaving]
ken_barber has joined #ruby
samphippen has joined #ruby
g-ram has quit [Quit: Computer has gone to sleep.]
havenn has quit [Remote host closed the connection]
havenn has joined #ruby
thunderstrike has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
rowsdower has joined #ruby
rehat has quit [Remote host closed the connection]
thunders_ has quit [Ping timeout: 245 seconds]
chimay has quit [Quit: WeeChat 0.4.0-dev]
sarmiena_ has joined #ruby
Xeago_ has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
aces1up has quit [Remote host closed the connection]
apok has quit [Ping timeout: 240 seconds]
aces1up has joined #ruby
lggr has joined #ruby
Targen has joined #ruby
Tearan has joined #ruby
<chrisramon> are there any method to print the variables of object ??? , like vars() in python
<wmoxam> chrisramon: .inspect
samphippen has quit [Quit: Computer has gone to sleep.]
jenrzzz has joined #ruby
<chrisramon> it does not print the attr_accessors tho
rubious has joined #ruby
jrist-gym is now known as jrist
dakine has quit [Quit: Leaving]
oldB has joined #ruby
mengu has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
oldB has quit [Client Quit]
lggr has quit [Ping timeout: 260 seconds]
<rowsdower> @chris: Object.new.methods.each { |m| puts m }
<rowsdower> But you won't get a list of attr_accessor, because those are actually just regular methods.
elaptics is now known as elaptics`away
lggr has joined #ruby
mengu has quit [Ping timeout: 246 seconds]
elaptics`away is now known as elaptics
L337hium has joined #ruby
abionic has quit [Ping timeout: 256 seconds]
_nitti has quit [Remote host closed the connection]
Xeago_ has quit [Remote host closed the connection]
<havenn> chrisramon: class Object; attr_accessor :omg_an_attr end; Object.new.public_methods false; #=> [:omg_an_attr, :omg_an_attr=]
irleif has quit [Quit: Computer has gone to sleep.]
<chrisramon> thanks
<chrisramon> rowsdower: , havenn:
bradleyprice has joined #ruby
glyytchy has joined #ruby
carloslopes has quit [Quit: Leaving.]
irleif has joined #ruby
lggr has quit [Ping timeout: 264 seconds]
lggr has joined #ruby
r1ddl3r has quit [Quit: Leaving.]
Targen has quit [Read error: Operation timed out]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
chrishunt has quit [Ping timeout: 240 seconds]
r1ddl3r has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
mr-rich has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
chrishunt has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
cj3kim has joined #ruby
arietis has joined #ruby
davidpk has joined #ruby
davidpk is now known as dpk
hsbt_away has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
steakknife has joined #ruby
abionic has joined #ruby
cj3kim has left #ruby ["Leaving"]
elaptics is now known as elaptics`away
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
d1ffuz0r has joined #ruby
d1ffuz0r has left #ruby [#ruby]
deadghost has joined #ruby
mr-rich has joined #ruby
chrishunt has quit [Ping timeout: 246 seconds]
_nitti has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
tommyvyo has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
Bosma has quit [Quit: leaving]
sarmiena_ has quit [Quit: sarmiena_]
Takehiro has joined #ruby
Xeago has joined #ruby
sarmiena_ has joined #ruby
<booyakah> can i use variables as key in a hash table
<booyakah> i mean
lggr has joined #ruby
stevekinney has quit [Quit: Lost terminal]
<booyakah> would this work hashTable["#{var}"] work?
arielpts has joined #ruby
<booyakah> - work
Tearan has quit [Quit: Sleepy Badger....]
tommyvyo has quit [Client Quit]
samphippen has joined #ruby
dakine has joined #ruby
g-ram has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
Dreamer3 has quit [Ping timeout: 240 seconds]
cj3kim has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
Takehiro has quit [Ping timeout: 252 seconds]
hsbt_away has joined #ruby
SegFaultAX|work has quit [Ping timeout: 248 seconds]
Juul has joined #ruby
elaptics`away is now known as elaptics
scx has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 252 seconds]
daniel_- has joined #ruby
Dreamer3 has joined #ruby
robertotauille has quit [Quit: Linkinus - http://linkinus.com]
Neomex has joined #ruby
lggr has joined #ruby
abionic has quit [Ping timeout: 260 seconds]
stephh has quit [Ping timeout: 260 seconds]
rubious has quit [Quit: Linkinus - http://linkinus.com]
leehambley has quit [Read error: Connection reset by peer]
<swarley> booyakah; you could technically do hashTable[var]]
<swarley> -]
<swarley> because you can use any object as a key
<booyakah> yeah of course. no need for the quotation
paolooo has quit [Quit: Page closed]
<booyakah> thanks swarley
<swarley> no problem
lggr has quit [Ping timeout: 256 seconds]
<matti> ;]
apok has joined #ruby
Hanmac has joined #ruby
F1skr has quit [Quit: WeeChat 0.3.9]
lggr has joined #ruby
glyytchy has quit [Quit: Leaving...]
Nisstyre has quit [Ping timeout: 252 seconds]
ndboost has joined #ruby
mva3212 has joined #ruby
nanderoo has quit [Quit: Leaving.]
L337hium has quit [Quit: leaving]
jenrzzz has quit [Ping timeout: 260 seconds]
futilegames has quit [Quit: futilegames]
lggr has quit [Ping timeout: 245 seconds]
ananthakumaran has quit [Quit: Leaving.]
elux has quit [Remote host closed the connection]
lggr has joined #ruby
seanwash has quit [Quit: Computer has gone to sleep.]
sarmiena_ has quit [Quit: sarmiena_]
sarmiena_ has joined #ruby
Neomex has quit [Quit: Neomex]
ndboost has quit [Remote host closed the connection]
mgates has quit [Quit: mgates]
lggr has quit [Ping timeout: 248 seconds]
mgates has joined #ruby
r1ddl3r has quit [Quit: Leaving.]
jenrzzz has joined #ruby
lggr has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
xnm has quit [Ping timeout: 245 seconds]
alek_b_ has joined #ruby
bluenemo has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
alek_b has quit [Ping timeout: 244 seconds]
carlyle has quit [Remote host closed the connection]
burgestrand has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
Keyboom has quit [Ping timeout: 260 seconds]
verto|off is now known as verto
mva3212 has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 264 seconds]
SegFaultAX|work has joined #ruby
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
MrH has joined #ruby
frogprince_mac has quit [Quit: Leaving...]
imami|afk is now known as banseljaj
lggr has joined #ruby
hsbt_away has quit [Ping timeout: 260 seconds]
chrishunt has joined #ruby
mva3212 has joined #ruby
slainer68 has quit [Remote host closed the connection]
ndboost has joined #ruby
bluenemo has quit [Ping timeout: 246 seconds]
krawchyk has quit [Remote host closed the connection]
br4ndon has joined #ruby
kyb3r has joined #ruby
rippa has quit [Ping timeout: 246 seconds]
<ndboost> how can i ordinalize created_at from the db?
lggr has quit [Ping timeout: 245 seconds]
<ndboost> figured it out
_nitti has quit [Remote host closed the connection]
lggr has joined #ruby
Takehiro has joined #ruby
Rovak has joined #ruby
g-ram has quit [Quit: Computer has gone to sleep.]
CodeFriar has quit [Quit: Leaving...]
verto is now known as verto|off
br4ndon has quit [Read error: Connection reset by peer]
Takehiro has quit [Ping timeout: 252 seconds]
geekbri has quit [Remote host closed the connection]
hsbt_away has joined #ruby
slainer68 has joined #ruby
slainer68 has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 256 seconds]
CodeFriar has joined #ruby
mva3212 has quit [Read error: Connection reset by peer]
Keyboom has joined #ruby
mva3212 has joined #ruby
g-ram has joined #ruby
baroquebobcat has joined #ruby
robertotauille has joined #ruby
lggr has joined #ruby
_nitti has joined #ruby
wrapids has quit [Quit: Lost terminal]
postmodern has joined #ruby
_md has joined #ruby
lggr has quit [Ping timeout: 248 seconds]
sent-hil has joined #ruby
answer_42 has quit [Ping timeout: 276 seconds]
Xeago_ has joined #ruby
lggr has joined #ruby
JonnieCache has joined #ruby
<Paradox> flotwig indeed
BigFatFatty has joined #ruby
Keyboom has quit [Ping timeout: 264 seconds]
Xeago has quit [Ping timeout: 245 seconds]
maletor has joined #ruby
RegEchse has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
lggr has quit [Ping timeout: 260 seconds]
doug has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
<doug> so, in order to not cut and paste this line, i'm wrapping it in: (1..3).each {...}
<doug> there a slicker way to do that?
<doug> like ... x 3 or something
JonnieCache has quit [Ping timeout: 240 seconds]
cj3kim has joined #ruby
cj3kim has quit [Client Quit]
lggr has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
stephh has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<blazes816> doug: 3.times{ … }
_nitti has quit [Remote host closed the connection]
cj3kim has joined #ruby
robertotauille has quit [Quit: Leaving...]
lggr has quit [Ping timeout: 246 seconds]
hunglin has joined #ruby
jenrzzz has joined #ruby
hunglin has left #ruby [#ruby]
hunglin has joined #ruby
hunglin has left #ruby [#ruby]
joofsh has quit [Quit: Leaving]
Hanmac has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
sailias has quit [Quit: Leaving.]
Trioke has joined #ruby
Tearan has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
cardoni has quit [Quit: cardoni]
phoxpsh has joined #ruby
<doug> blazes816++
<phoxpsh> hi all. does anyone know how to emulate rails' acts_as pattern? I'd like to have a ruby class, include a module which then has an acts_as_something(opts={}) method
<blazes816> acts_as_foo is just a class method that does something
lggr has quit [Ping timeout: 256 seconds]
<blazes816> class MyClass; def self.acts_as_awesome; …; end; end
<asteve> I'm getting a return from redis a key that's formatted like this: "{"price":1.0,"created_at":"Tuesday"}"; I thought I could read the value after created_at value by doing return_from_redis['created_at']
<asteve> but the return I'm getting is literally "created_at"
<asteve> what am I not understanding?
<phoxpsh> blazes816: hmmm, i've tried something like that….(https://gist.github.com/3842422)
hsbt_away is now known as hsbt
<waxjar> what's that tool called that lets you see all method calls that ruby makes?
jrist is now known as jrist-afk
lggr has joined #ruby
ilyam has joined #ruby
<blazes816> phoxpsh: you want 'extend', instead of 'include', and since you're defining the method in a module, go ahead and skip the "self.". so it's just "def acts_as_something..."
bricker_ has quit [Quit: Lost terminal]
<phoxpsh> blazes816: awesome! that works :) thanks
<blazes816> np
<ilyam> anyone know how to EXCLUDE a directory from being watched when using rerun?
bricker has joined #ruby
<ilyam> i want **/*.rb EXCEPT one particular dir
nwertman has quit [Quit: nwertman]
<ilyam> Alternatively, how to do that with Dir#glob
nwertman has joined #ruby
herbnerder_ has quit [Quit: ZNC - http://znc.in]
ffranz has quit [Quit: Leaving]
hadees has quit [Quit: hadees]
<blazes816> ilyam: do you pass the glob pattern, or the result of the glob?
<ilyam> you pass a glob pattern to rerun from the shell
<blazes816> if the latter, you could do something like Dir['./**/*.rb'] - Dir['./tmp/*.rb']
<ilyam> i could list all the directories i want, but that's fragile as it won't automatically pick up new directories
jgarvey has quit [Quit: Leaving]
<blazes816> I don't think you can write a glob that way, unless you want to specify each dir you DO want to glob
<ilyam> yeah, sadly it's the former :(
<ilyam> uhg
<blazes816> yeah
<ilyam> ok, lame
lggr has quit [Ping timeout: 256 seconds]
no_worries has quit [Remote host closed the connection]
rowsdower has left #ruby ["Konversation terminated!"]
yoklov has joined #ruby
nwertman has quit [Quit: nwertman]
cdzombak has quit []
nwertman has joined #ruby
awarner has quit [Remote host closed the connection]
nwertman has quit [Client Quit]
lggr has joined #ruby
nwertman has joined #ruby
ndboost has quit [Remote host closed the connection]
vitoravelino is now known as vitoravelino`afk
no_worries has joined #ruby
Takehiro has joined #ruby
r1ddl3r has joined #ruby
wpaulson has joined #ruby
irleif has joined #ruby
iamjarvo has quit [Ping timeout: 245 seconds]
cj3kim has joined #ruby
cj3kim has quit [Changing host]
cj3kim has joined #ruby
asobrasil has left #ruby [#ruby]
Takehiro has quit [Ping timeout: 252 seconds]
Morkel has quit [Quit: Morkel]
bwlang has left #ruby [#ruby]
lggr has quit [Ping timeout: 260 seconds]
hsbt is now known as hsbt_away
cdzombak has joined #ruby
awestroke has joined #ruby
R3dy has quit [Quit: Lost terminal]
emdub has quit [Quit: .]
hadees has joined #ruby
wpaulson_ has joined #ruby
triptec has quit [Quit: triptec]
lggr has joined #ruby
wpaulson has quit [Read error: Connection reset by peer]
wpaulson_ is now known as wpaulson
emdub has joined #ruby
A124 has quit [Quit: Leaving.]
_7894 has quit [Quit: Odcházím]
<steakknife> waxjar: ruby -rprofile filename.rb
Tearan has quit [Quit: Sleepy Badger....]
graft has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
mmitchell has quit [Remote host closed the connection]
<graft> hey, how would you use an array to lookup hash keys? like, h = { :a => 1, :b => 2, :c => 3 }; h[:a, :b]
<graft> you could do like [:a, :b].map{|i|h[i]}, but this requires you to have h in some variable...
alfism has quit [Quit: alfism]
sarmiena_ has quit [Quit: sarmiena_]
lggr has joined #ruby
A124 has joined #ruby
ncr100_ has joined #ruby
ncr100 has quit [Ping timeout: 248 seconds]
Iszak has joined #ruby
Iszak has joined #ruby
Iszak has quit [Changing host]
bluOxigen has quit [Ping timeout: 240 seconds]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
awestroke has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 248 seconds]
robustus has quit [Quit: ZNC - http://znc.in]
Ankhers has quit [Remote host closed the connection]
wedtm is now known as wedtm|away
lggr has joined #ruby
wedtm|away is now known as wedtm
Ankhers has joined #ruby
CodeFriar has quit [Quit: Leaving...]
thone_ has joined #ruby
asteve has quit []
timonv has joined #ruby
AlbireoX has quit [Remote host closed the connection]
AlbireoX has joined #ruby
sailias has joined #ruby
sailias has quit [Client Quit]
nwertman has quit [Read error: Connection reset by peer]
nwertman has joined #ruby
thone has quit [Ping timeout: 256 seconds]
c0rn_ has quit [Quit: Computer has gone to sleep.]
samphippen has quit [Quit: Computer has gone to sleep.]
g-ram has quit [Quit: Computer has gone to sleep.]
awestroke has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
<doug> so i'm doing this: Capybara.server_port = ENV["WEBKIT_SERVER_PORT"] if ENV["WEBKIT_SERVER_PORT"]
<doug> any way i can avoid repeating ENV["WEBKIT_SERVER_PORT"] and still have a one-liner?
AlbireoX has quit [Ping timeout: 248 seconds]
yoklov has quit [Quit: computer sleeping]
_md has quit [Quit: Leaving...]
lggr has joined #ruby
mva3212 has quit [Remote host closed the connection]
emmanuelux has quit [Remote host closed the connection]
mgates has quit [Quit: mgates]
Criztian has quit [Remote host closed the connection]
GoGoGarrett has quit [Remote host closed the connection]
ken_barber has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
jeffreybaird has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
ohsiris has joined #ruby
wedtm is now known as wedtm|away
yoklov has joined #ruby
theRoUS has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
bradleyprice has quit [Remote host closed the connection]
Ankhers has quit [Remote host closed the connection]
Iszak has quit [Quit: Computer has gone to sleep.]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
joshman_ has quit [Ping timeout: 260 seconds]
<jgrevich> Is there some sort of trick to compiling assets when deployed to a suburi? I did set config.action_controller.relative_url_root = '/ust' in my production.rb
hsbt_away is now known as hsbt
vvgomes has joined #ruby
wedtm|away is now known as wedtm
<vvgomes> any ideas on encrypting/decrypting sensible information?
Monie has quit [Ping timeout: 244 seconds]
ncr100_ has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 244 seconds]
hsbt has quit [Ping timeout: 260 seconds]
irleif has quit [Quit: Computer has gone to sleep.]
irleif has joined #ruby
moshee has quit [Ping timeout: 240 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
lggr has joined #ruby
ltsstar has quit [Quit: ltsstar]
wpaulson has joined #ruby
jamjam has quit [Ping timeout: 240 seconds]
cdzombak has quit []
cburyta has quit [Remote host closed the connection]
ctwiz has joined #ruby
<tos9> ⎋
syamajala has joined #ruby
cardoni has joined #ruby
ctwiz has quit [Client Quit]
Takehiro has joined #ruby
heftig has quit [Ping timeout: 245 seconds]
c0rn_ has joined #ruby
thunderstrike has quit [Ping timeout: 240 seconds]
no_worries has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 240 seconds]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
iamjarvo has joined #ruby
savage- has joined #ruby
heftig has joined #ruby
dangerousdave has quit [Quit: Leaving...]
sepp2k1 has quit [Read error: Connection reset by peer]
awestroke has quit [Remote host closed the connection]
Takehiro has quit [Ping timeout: 252 seconds]
hsbt_away has joined #ruby
lggr has joined #ruby
ryanlecompte has quit [Ping timeout: 246 seconds]
glyytchy has joined #ruby
Rovak has quit [Quit: Konversation terminated!]
vvgomes has quit [Quit: Lost terminal]
samphippen has joined #ruby
sarmiena_ has joined #ruby
mercwithamouth has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 264 seconds]
mengu has quit [Remote host closed the connection]
irleif has quit [Quit: Computer has gone to sleep.]
<postmodern> jgrevich, use OpenSSL and AES
yoklov_ has joined #ruby
yoklov has quit [Ping timeout: 260 seconds]
lggr has joined #ruby
DrShoggoth has quit [Remote host closed the connection]
moshee has quit [Ping timeout: 246 seconds]
moshee has joined #ruby
stopbit has quit [Quit: Leaving]
Xeago_ has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 255 seconds]
phoxpsh has quit [Quit: phoxpsh]
uris has quit [Read error: Connection reset by peer]
uris has joined #ruby
lggr has joined #ruby
mikepack has quit [Remote host closed the connection]
r1ddl3r has quit [Ping timeout: 260 seconds]
icole has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
sent-hil has quit [Remote host closed the connection]
postmodern has left #ruby ["Leaving"]
jeffreybaird has quit [Quit: jeffreybaird]
cardoni has quit [Quit: cardoni]
shadoi has quit [Quit: Leaving.]
stephh has quit [Ping timeout: 246 seconds]
cardoni has joined #ruby
cardoni has quit [Client Quit]
lggr has joined #ruby
fantazo has joined #ruby
TomJ has joined #ruby
TomJ has quit [Changing host]
TomJ has joined #ruby
sent-hil has joined #ruby
havenn has quit [Remote host closed the connection]
sent-hil has quit [Remote host closed the connection]
stephh has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
timonv has quit [Remote host closed the connection]
banseljaj is now known as imami|afk
bier has quit [Ping timeout: 255 seconds]
lggr has joined #ruby
Juul has quit [Quit: Leaving]
sarmiena_ has quit [Quit: sarmiena_]
verto|off is now known as verto
mrsolo has quit [Quit: Leaving]
Virunga has quit [Remote host closed the connection]
hadees has quit [Quit: hadees]
khakimov has joined #ruby
hadees has joined #ruby
hsbt_away is now known as hsbt
internet_user has quit [Remote host closed the connection]
maletor has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
hadees has quit [Client Quit]
yoklov_ has quit [Quit: bye!]
davetoo has joined #ruby
verto is now known as verto|off
icole has quit [Remote host closed the connection]
lggr has joined #ruby
davetoo has left #ruby [#ruby]
wpaulson has joined #ruby
skogis has quit [Ping timeout: 245 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
bier has joined #ruby
nateberkopec has quit [Ping timeout: 245 seconds]
awarner has joined #ruby
ninegrid_ has quit [Remote host closed the connection]
sarmiena_ has joined #ruby
cj3kim has left #ruby ["Leaving"]
cbuxton has quit [Quit: Leaving.]
syamajala has quit [Remote host closed the connection]
r1ddl3r has joined #ruby
Synthead has quit [Quit: p33 ba115]
ledao has quit [Read error: Connection reset by peer]
awarner has quit [Remote host closed the connection]
niklasb has quit [Ping timeout: 244 seconds]
irleif has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
Takehiro has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
mucker has quit [Quit: leaving]
Foxandxss has joined #ruby
lggr has joined #ruby
ledao has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
hsbt is now known as hsbt_away
ninegrid has joined #ruby
Takehiro has quit [Ping timeout: 246 seconds]
iamjarvo has quit [Ping timeout: 245 seconds]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
davidcelis has quit [Quit: K-Lined.]
SegFault1X|work has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
SegFaultAX|work has quit [Read error: Connection reset by peer]
rabidpraxis has quit [Remote host closed the connection]
samphippen has quit [Quit: Computer has gone to sleep.]
Axsuul has joined #ruby
lggr has joined #ruby
icole has joined #ruby
SegFaultAX|work has joined #ruby
SegFault1X|work has quit [Ping timeout: 246 seconds]
gry has joined #ruby
philcrissman has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 264 seconds]
Virunga has joined #ruby
hsbt_away is now known as hsbt
barefoot has joined #ruby
JonnieCache has joined #ruby
lggr has joined #ruby
c0rn_ has quit [Quit: Computer has gone to sleep.]
elevenarms has joined #ruby
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
mercwithamouth has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
SegFaultAX|work has quit [Ping timeout: 248 seconds]
chrisramon has quit [Quit: chrisramon]
hsbt is now known as hsbt_away
<doug> capybara sets the server port inside a class inside a module, like https://gist.github.com/3843124
<doug> how can i read that from outside?
hsbt_away is now known as hsbt
BigFatFatty has left #ruby [#ruby]
lggr has joined #ruby
hsbt has quit [Ping timeout: 260 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
hsbt has joined #ruby
Virunga has quit [Remote host closed the connection]
cburyta has joined #ruby
ephemerian has left #ruby [#ruby]
bradleyprice has joined #ruby
lggr has quit [Ping timeout: 244 seconds]
otters has quit [Ping timeout: 240 seconds]