jlast has quit [Remote host closed the connection]
ivanoats has joined #ruby
slash_nick has joined #ruby
gluma83 has joined #ruby
dmiller has joined #ruby
apeiros_ has joined #ruby
framling has quit [Read error: Connection reset by peer]
twoism has quit [Read error: Connection reset by peer]
nettoweb has quit [Quit: nettoweb]
w|t has joined #ruby
wolcanus_ has joined #ruby
ruby has quit [Remote host closed the connection]
wolcanus_ has quit [Remote host closed the connection]
twoism has joined #ruby
wsterling has quit [Ping timeout: 248 seconds]
ruby has joined #ruby
peta_ has quit [Quit: peta_]
<konr`>
Where is the bin/ folder of rubygems?
wolcanus has quit [Ping timeout: 260 seconds]
<tomsthumb>
konr`: did you try `sudo find / -name bin` yet?
kofno has joined #ruby
sam113101 has quit [Quit: WeeChat 0.4.0]
sam113101 has joined #ruby
GeissT has joined #ruby
<konr`>
tomsthumb: yup! found it
niklasb has joined #ruby
falood has quit [Remote host closed the connection]
marr has quit [Ping timeout: 256 seconds]
ruby has quit [Remote host closed the connection]
ruby has joined #ruby
Soliah has quit [Read error: Operation timed out]
slash_nick has quit [Ping timeout: 264 seconds]
ivanoats has quit [Remote host closed the connection]
johnrlive has quit [Remote host closed the connection]
<terrellt>
So I got this mostly working and then discovered I had an issue. I want to be able to do Google::Scholar.new, but Google::Scholar is a module for namespacing purposes. I could create a Google::Scholar::Base class, but that just makes it feel harder to use. Thoughts?
jjasonclark has quit [Quit: jjasonclark]
AlbireoX has joined #ruby
ruby has quit [Remote host closed the connection]
ruby has joined #ruby
<daniel_->
Hi all. Is there a way to get the item that sent true on the the Array.any? method
<tomsthumb>
daniel_-: you mean a method that's already there? you still have the array right?
<tomsthumb>
daniel_-: I would just filter and grab the first element
akells` has quit [Remote host closed the connection]
<daniel_->
it sends true for one item in my array, but I want the value back
val___ has joined #ruby
agjacome has joined #ruby
io_syl has joined #ruby
<daniel_->
let me check
w|t has quit [Quit: Computer has gone to sleep.]
arya has joined #ruby
tmorgan has quit [Remote host closed the connection]
d11wtq has joined #ruby
<daniel_->
thx tomsthumb and waxjar Enum.find works fine
agarie has quit [Remote host closed the connection]
w|t has joined #ruby
hogeo has joined #ruby
druonysus has quit [Ping timeout: 256 seconds]
ruby has quit [Remote host closed the connection]
ruby has joined #ruby
tjbiddle_ has joined #ruby
westoque has quit [Quit: westoque]
slainer68 has joined #ruby
falood has joined #ruby
Neomex has quit [Quit: Neomex]
jdunck has quit [Quit: Computer has gone to sleep.]
ravster has joined #ruby
jacktrick has quit [Quit: Leaving]
bradhe has quit [Remote host closed the connection]
tjbiddle_ has quit [Client Quit]
zeade has quit [Quit: Leaving.]
eykosiou_ has quit [Remote host closed the connection]
zphobic has joined #ruby
zastern_ has quit [Remote host closed the connection]
ruby has quit [Remote host closed the connection]
ruby has joined #ruby
eykosioux has joined #ruby
robottin1 has joined #ruby
tjbiddle has quit [Ping timeout: 256 seconds]
w|t has quit [Quit: Computer has gone to sleep.]
apalmblad has quit [Ping timeout: 248 seconds]
<zphobic>
My installation of rvm (1.20.10) on OS X 10.8.3 is missing .rvm/scripts/md5, and it's screwing things up - notably, the apache2 module installer for passenger is choking on this issue. I haven't been able to find *any* info on this failure online.
robottinosino has quit [Ping timeout: 248 seconds]
ckrailo has quit [Quit: Computer has gone to sleep.]
Ontolog has joined #ruby
Ontolog has quit [Remote host closed the connection]
slainer68 has quit [Ping timeout: 276 seconds]
<zphobic>
Neither of the commands passenger suggests for repairing rvm work properly. Should I just wax rvm and re-install? (just installing the gem again doesn't fix it) Will that cause problems with my extra ruby version?
druonysus has joined #ruby
druonysus has quit [Changing host]
druonysus has joined #ruby
agjacome has quit [Quit: leaving]
jcromartie has quit [Ping timeout: 256 seconds]
eykosioux has quit [Ping timeout: 248 seconds]
Ontolog_ has quit [Ping timeout: 256 seconds]
apalmblad has joined #ruby
osvico has joined #ruby
mrsolo has quit [Read error: Connection reset by peer]
breadthfirst has joined #ruby
waxjar has quit [Ping timeout: 245 seconds]
sepp2k has quit [Remote host closed the connection]
darkapex has quit [Ping timeout: 245 seconds]
<stewart_>
is there an rvm package that provides this script?
thomasfedb has quit [Ping timeout: 240 seconds]
ruby has quit [Remote host closed the connection]
PigDude has left #ruby [#ruby]
ruby has joined #ruby
AgentWillyWonka has joined #ruby
Kricir has joined #ruby
lewix has joined #ruby
mrsolo has joined #ruby
tylersmith has joined #ruby
tyl has quit [Quit: Computer has gone to sleep.]
`brendan has joined #ruby
prk has joined #ruby
fschuindt has quit [Quit: Computer has gone to sleep.]
ruby has quit [Remote host closed the connection]
ruby has joined #ruby
jcromartie has joined #ruby
yshh has joined #ruby
pipework has quit [Remote host closed the connection]
waxjar has joined #ruby
thomasfedb has joined #ruby
<breakingthings>
I have a gem module that takes a rather lengthy argument list for #new that is constantly the same for my application so I'd like to DRY up by making a class that wraps that module and takes care of the arguments. How can I accomplish this? I was thinking of extending the module in the class but how then do I trigger the #new method on that module?
darkapex has joined #ruby
<breakingthings>
(well, I guess it's not actually a Module I'm talking about, it's an object)
<breakingthings>
(Class.* My brain is broke.)
skattyadz has quit [Quit: skattyadz]
pkill has joined #ruby
<stewart_>
why not use a block
akells` has joined #ruby
nari_ has quit [Ping timeout: 260 seconds]
ericmathison has quit [Quit: leaving]
<breakingthings>
stewart_: why would a block help here?
ericmathison has joined #ruby
Kovensky has quit [Ping timeout: 264 seconds]
<stewart_>
pass a block to new and init your params in the block. Rails uses this pattern in many places
ehaliewicz has joined #ruby
<stewart_>
works well I think
mrsolo has quit [Quit: Leaving]
roadt_ has joined #ruby
<breakingthings>
but that doesn't really solve the issue that the params are the same for every call of this Gem's Klass#new, unless I'm misunderstanding you which I probably am
<stewart_>
what do you mean when you say the params are the same? They are the same values or that new is always called with the same amount of params?
ruby has quit [Remote host closed the connection]
ruby has joined #ruby
<breakingthings>
For the purposes of my application, that Klass#new is always called with the exact same parameters and values
<breakingthings>
So, I'd like to create a wrapper that hides this connection detail and allow me to use WrapperKlass#new instead of Klass#new with 4 arguments every time
<breakingthings>
Otherwise, I would like it to act roughly the same
huoxito has joined #ruby
<breakingthings>
hmm
<breakingthings>
I guess I could just return the object, huh.
ericmathison has quit [Client Quit]
<stewart_>
why not just set the values explicitly in your module if they are always the same?
* breakingthings
thinks for a second
<breakingthings>
stewart_: it's not my module, though.
daniel_- has quit [Ping timeout: 252 seconds]
<breakingthings>
It's part of a gem
<stewart_>
oh it's 3rd party?
<breakingthings>
yes
<stewart_>
ahhh yea just create a factory then
gensym` has quit [Read error: Connection reset by peer]
peteyg has quit [Quit: Lost terminal]
druonysus has quit [Quit: Konversation terminated!]
<stewart_>
i think your on the right track it sounds like you could be overthinkng this one a bit(i do the same :))
<breakingthings>
Yeah, I was definitely overthinking it
<breakingthings>
My brain is wrecked right now
<breakingthings>
Thanks for helping nonetheless :)
Voodoofish4302 has quit [Quit: Leaving.]
devoldmx3 has joined #ruby
ruby has quit [Remote host closed the connection]
<stewart_>
just create a factory class and have a class method in there…. somehting like MyModuleFactory.create which returns what ever object your gem module spits out
ruby has joined #ruby
akells` has quit [Ping timeout: 248 seconds]
kf8a has joined #ruby
jcromartie has quit [Quit: Computer has gone to sleep.]
jpstock has quit [Remote host closed the connection]
fivetwentysix has quit [Ping timeout: 246 seconds]
chandankumar has joined #ruby
fivetwentysix has joined #ruby
phipes has joined #ruby
falood has joined #ruby
ntus1017 has joined #ruby
iamjarvo has quit [Quit: Leaving.]
_cheney3 has quit [Ping timeout: 256 seconds]
dallasm has joined #ruby
mmitchell has quit [Remote host closed the connection]
ruby has quit [Remote host closed the connection]
ruby has joined #ruby
_cheney3 has joined #ruby
dhruvasagar has joined #ruby
ariedler has joined #ruby
deeepblue has joined #ruby
katsrc has joined #ruby
mikepack has joined #ruby
allure has quit [Quit: Saindo]
Davey has quit [Ping timeout: 246 seconds]
robottin1 has joined #ruby
Davey has joined #ruby
darkapex has quit [Ping timeout: 245 seconds]
thomasfedb has quit [Ping timeout: 246 seconds]
tommyvyo has quit [Quit:]
frem has quit [Ping timeout: 248 seconds]
<ericmathison>
SeptimusSeptum: attr_accessor creates both reader and writer methods for instance variables while the others create just a reader method or just a writer method.
ruby has quit [Remote host closed the connection]
ruby has joined #ruby
<ericmathison>
is that the info you are looking for?
monkegjinni has quit [Read error: Connection reset by peer]
cj3kim has quit [Remote host closed the connection]
monkegjinni has joined #ruby
tvl has joined #ruby
jastix has joined #ruby
tvl is now known as Spug
Cultofmetatron has quit [Remote host closed the connection]
<sebastianb>
pkh: .to_a maybe?
mklappstuhl has quit [Remote host closed the connection]
phipes has quit [Quit: phipes]
dhruvasagar has joined #ruby
dangerousdave has joined #ruby
prk has quit [Ping timeout: 248 seconds]
<sebastianb>
yep, fosho
daniel_hinojosa has quit [Quit: Leaving.]
<sebastianb>
it works ;)
welias has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
teclator has joined #ruby
hamakn_ has quit [Ping timeout: 248 seconds]
RORgasm has joined #ruby
hamakn has joined #ruby
ntus1017 has joined #ruby
rickruby has quit [Remote host closed the connection]
RORgasm has quit [Ping timeout: 276 seconds]
kil0byte has quit [Remote host closed the connection]
nomenkun has joined #ruby
threesome has joined #ruby
undersc0re97 has joined #ruby
Coffers has joined #ruby
mahmoudimus has joined #ruby
kil0byte has joined #ruby
Silent__ has joined #ruby
apok has joined #ruby
kirkstrobeck has joined #ruby
rdark has joined #ruby
camilasan has joined #ruby
<kirkstrobeck>
having install issues
ellipse has joined #ruby
ellipse has quit [Client Quit]
phromo has joined #ruby
Hobogrammer_ has quit [Ping timeout: 256 seconds]
jprovazn_away is now known as jprovazn
danslo has joined #ruby
m8 has joined #ruby
ellipse has joined #ruby
<ericmathison>
codezombie: maybe i'm showing my ignorance but are there certain scenarios where image.model, image.date_time, and the others are going to return nil or false and thus making the if statements necessary?
marr has joined #ruby
blaxter has joined #ruby
cj3kim has joined #ruby
MrZYX|off is now known as MrZYX
tylersmith has joined #ruby
decoponio has joined #ruby
bradhe has joined #ruby
alexmreis has joined #ruby
tylersmith has quit [Ping timeout: 256 seconds]
alexmreis has left #ruby [#ruby]
saarinen has quit [Quit: saarinen]
bradhe has quit [Ping timeout: 248 seconds]
cj3kim has quit [Ping timeout: 256 seconds]
matchaw has joined #ruby
ioNull has quit [Ping timeout: 260 seconds]
troessner has joined #ruby
ioNull has joined #ruby
ioNull has quit [Max SendQ exceeded]
katsrc has quit [Ping timeout: 252 seconds]
ioNull has joined #ruby
ioNull has quit [Max SendQ exceeded]
zeeraw has joined #ruby
BizarreCake has joined #ruby
ioNull has joined #ruby
osvico has quit [Ping timeout: 264 seconds]
slainer68 has joined #ruby
ioNull has quit [Max SendQ exceeded]
ghr has joined #ruby
atmosx has joined #ruby
niceguyjames has joined #ruby
ioNull has joined #ruby
elaptics`away is now known as elaptics
ephemerian has joined #ruby
JohnBat26 has joined #ruby
io_syl has quit [Quit: Computer has gone to sleep.]
codesoda has quit [Remote host closed the connection]
devoldmx has joined #ruby
slainer68 has quit [Ping timeout: 256 seconds]
AgentWillyWonka has joined #ruby
lsmola has joined #ruby
lethjakm1 has quit [Ping timeout: 264 seconds]
noname001 has joined #ruby
timmow has joined #ruby
lsmola has quit [Client Quit]
lsmola has joined #ruby
subbyyy has joined #ruby
hamburger2000 has quit [Ping timeout: 245 seconds]
ferdev has joined #ruby
Ontolog has quit [Remote host closed the connection]
behemot has quit [Read error: Operation timed out]
Al___ has joined #ruby
agjacome has quit [Ping timeout: 256 seconds]
daniel_- has joined #ruby
sivoais has quit [Ping timeout: 264 seconds]
sivoais has joined #ruby
BonSequitur has quit [Remote host closed the connection]
skoovdebo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
moofy has joined #ruby
fivetwentysix has joined #ruby
obs has joined #ruby
juo100 has left #ruby [#ruby]
vlad_starkov has joined #ruby
sivoais has quit [Read error: Connection reset by peer]
Criztian has joined #ruby
tylersmith has joined #ruby
sivoais has joined #ruby
<moofy>
Hello. I wondered if i could get some advice? I'm trying to make a teeny sinatra application so I can do some basic css/html stuff with livereload but I can't work out how to get rack to start guard. Any ideas?
<moofy>
The idea is to use pow as a rack server and just have sinatra look for/compile stuff.
d11wtq has quit [Ping timeout: 248 seconds]
tylersmith has quit [Ping timeout: 248 seconds]
<fivetwentysix>
moofy: rack to start guard?
<moofy>
well, pow runs a rack server, and adds some niceties to let you use appname.dev
tvw has joined #ruby
<moofy>
but i can't work out a way of using guard to launch an individual application
<fivetwentysix>
moofy: yeah it's rackup with a proxy pass
mad_hatter_ has joined #ruby
<moofy>
so i wondered if i could have sinatra launch a guard
reset has joined #ruby
<moofy>
to compile scss and coffeescript
reset has quit [Client Quit]
w|t has joined #ruby
<fivetwentysix>
sure
marcgg has joined #ruby
<fivetwentysix>
`bundle exec guard&` in ruby
<fivetwentysix>
i don't suggest it tho :)
b0oh has joined #ruby
sivoais has quit [Ping timeout: 256 seconds]
ry4nn has quit [Ping timeout: 276 seconds]
<fivetwentysix>
why don't u just use recss?
<fivetwentysix>
binding the bookmark to a hotkey would make your live much easier
<moofy>
recss?
anderson has joined #ruby
<fivetwentysix>
it's a bookmark
<fivetwentysix>
that will reload ur css
<moofy>
I could i guess, but the whole point of this really was to get livereload working
<fivetwentysix>
oh you want to save and updates appear right?
nari_ has quit [Ping timeout: 245 seconds]
<moofy>
yeah.
<fivetwentysix>
no idea :)
<moofy>
save = browser refresh
<moofy>
i got it working without pow, just not with it
gyre007 has joined #ruby
sivoais has joined #ruby
<fivetwentysix>
why use pow?
<moofy>
so i wondered if there was some way to have rack launch some processes when it starts
hamakn has quit [Read error: Connection reset by peer]
obs has quit [Ping timeout: 252 seconds]
bjeanes has joined #ruby
hamakn has joined #ruby
sivoais has quit [Ping timeout: 252 seconds]
mstuefer has joined #ruby
k13n has joined #ruby
catphish has joined #ruby
sivoais has joined #ruby
DrHeiter23 has joined #ruby
<catphish>
can anyone suggest an HTTP client library that supports streaming responses? unfortunately, while Net::HTTP does, it requires it to be done inside a block
gyre008 has quit [Remote host closed the connection]
gyre007 has joined #ruby
Caperizm has joined #ruby
<waxjar>
there's a great spreadsheet that compares "all" http clients for Ruby, lemme find the link
arya has joined #ruby
elliptical has joined #ruby
<catphish>
the reason being that i need to make an http request, then pass its response to rack to stream through to a client
monkegjinni has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
<timmow>
does anyone know of anything that can check ruby indentation matches certain rules, for use in CI?
monkegjinni has joined #ruby
roadt_ has quit [Ping timeout: 256 seconds]
kil0byte has quit [Ping timeout: 260 seconds]
xcv_ has quit [Remote host closed the connection]
xcv has joined #ruby
sivoais has quit [Ping timeout: 264 seconds]
monkegjinni has quit [Read error: Connection reset by peer]
ferdev has quit [Quit: ferdev]
<stenno|work>
hmm as #rubyonrails is either ignoring me or doesn't have a solution for my problem, let me try here again: i am trying to install redmine following http://www.redmine.org/projects/redmine/wiki/InstallRedmineOnDebianStableApacheMysqlPassenger. At point 1.8, after executing passenger-install-apache2-module, the tutorial mentions putting some lines in /etc/apache/mods-available/passenger.load, but it doesn't exists there - however ther
<stenno|work>
e is a passenger.load in /usr/local/lib/ruby/gems/1.9.1/gems/passenger-4.0.2/debian/. So did i follow the tutorial wrong, or shoudl i use the existing .load, or should i create a new .load file and delete the old or...
cj3kim has joined #ruby
r0bglees0n has joined #ruby
m8 has joined #ruby
monkegjinni has joined #ruby
machuga is now known as machuga|away
niceguyjames has joined #ruby
sambao21 has joined #ruby
sivoais has joined #ruby
atno has quit [Ping timeout: 276 seconds]
monkegjinni has quit [Read error: Connection reset by peer]
machuga|away is now known as machuga
pipework has quit [Remote host closed the connection]
monkegjinni has joined #ruby
cj3kim has quit [Ping timeout: 246 seconds]
k13n_ has joined #ruby
ewag_ has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
k13n has quit [Ping timeout: 260 seconds]
devoldmx3 has joined #ruby
mark_locklear has joined #ruby
monkegjinni has joined #ruby
manutter has joined #ruby
ewag has quit [Ping timeout: 256 seconds]
postmodern has quit [Quit: Leaving]
manutter has quit [Client Quit]
mtfk has quit [Quit: leaving]
manutter has joined #ruby
epta has quit [Ping timeout: 256 seconds]
pkh has quit [Ping timeout: 256 seconds]
devoldmx has quit [Ping timeout: 264 seconds]
monkegjinni has quit [Read error: Connection reset by peer]
sivoais has quit [Ping timeout: 240 seconds]
monkegjinni has joined #ruby
manutter has quit [Client Quit]
nettoweb has quit [Read error: Connection reset by peer]
Rumsteak has quit [Quit: Rumsteak]
pskosinski has joined #ruby
nettoweb has joined #ruby
chxane has joined #ruby
sivoais has joined #ruby
matchaw has quit [Ping timeout: 256 seconds]
epta has joined #ruby
RonScagz has joined #ruby
Guest78170 has quit []
fridim__ has joined #ruby
stenno_ has joined #ruby
tommyvyo has joined #ruby
mawueli has joined #ruby
ravster has joined #ruby
Morrolan has quit [Ping timeout: 256 seconds]
mawueli is now known as Guest58007
yshh has joined #ruby
mark_locklear has quit [Remote host closed the connection]
joshu has quit [Remote host closed the connection]
<ravster>
hello everyone
<ravster>
is there a UTM->latitude/longitude converter library available in ruby?
devoldmx3 has quit [Read error: Connection reset by peer]
bugg has joined #ruby
krz has quit [Quit: krz]
arya has joined #ruby
Morrolan has joined #ruby
stenno|work has quit [Ping timeout: 248 seconds]
sivoais has quit [Ping timeout: 256 seconds]
paulgatt has left #ruby [#ruby]
paulgatt has joined #ruby
yshh has quit [Ping timeout: 256 seconds]
geekbri has joined #ruby
sivoais has joined #ruby
b0oh1 has left #ruby [#ruby]
Guest58007 has quit [Ping timeout: 256 seconds]
alexgordon has joined #ruby
YuryBatenko has joined #ruby
arya has quit [Ping timeout: 248 seconds]
<stenno_>
hello i execute a rake task, and i get the error:
<stenno_>
Gemfile syntax error:
devoldmx has joined #ruby
browndawg has joined #ruby
<stenno_>
what does that mean? where is the error?
sambao21 has quit [Quit: Computer has gone to sleep.]
iMadper has joined #ruby
iMadper has left #ruby [#ruby]
tomkad has joined #ruby
Elhu has joined #ruby
monkegjinni has quit [Remote host closed the connection]
mark_locklear has joined #ruby
wargasm has quit [Ping timeout: 252 seconds]
devoldmx has quit [Ping timeout: 248 seconds]
bluOxigen has joined #ruby
dustint has joined #ruby
BeegPeeg00 has left #ruby [#ruby]
niklasb has joined #ruby
MoraaroM has joined #ruby
sivoais has quit [Ping timeout: 248 seconds]
tvw has quit [Ping timeout: 252 seconds]
ttt has joined #ruby
crankycoder has joined #ruby
gaahrdner has joined #ruby
arya has joined #ruby
mercwithamouth has quit [Ping timeout: 256 seconds]
<stenno_>
banister_, i will look up what that is, thanks
<banister_>
stenno_: it'll drop you into the error context
<stenno_>
ah thanks
<stenno_>
greak
mmitchell has quit [Remote host closed the connection]
<stenno_>
great even
sivoais has quit [Ping timeout: 246 seconds]
monkegjinni has quit [Read error: Connection reset by peer]
RORgasm has joined #ruby
roadt_ has quit [Max SendQ exceeded]
mmitchell has joined #ruby
gaahrdner has quit [Ping timeout: 264 seconds]
blaxter has joined #ruby
osvico has quit [Ping timeout: 264 seconds]
arya has quit [Ping timeout: 248 seconds]
monkegjinni has joined #ruby
sivoais has joined #ruby
generali_ has joined #ruby
<stenno_>
sorry to bug you again, but after installing, " RAILS_ENV=production rescue rake db:migrate --trace " does not give any extra output apart from Gemfile syntax error:
jtharris has joined #ruby
roadt_ has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
Banistergalaxy has joined #ruby
RORgasm has quit [Ping timeout: 256 seconds]
monkegjinni has joined #ruby
<stenno_>
which was located to the line YAML::load
<stenno_>
wait, i will try something else, just a second please
atno has joined #ruby
sayan has joined #ruby
<banister_>
stenno_: you could try pinging cirwin, im not that familiar with pry-rescue + rails
<stenno_>
here we are, duh! i executed the line with the output in an irb
<stenno_>
Psych::SyntaxError: (<unknown>): found character that cannot start any token while scanning for the next token at line 2 column 1
<stenno_>
that is the error, i will look into that
AndChat| has quit [Ping timeout: 264 seconds]
<stenno_>
banister_, never mind, thanks again for your help :)
ravster has quit [Ping timeout: 248 seconds]
<stenno_>
so the .yml file seems to be borked
<stenno_>
er wait
sivoais has quit [Ping timeout: 264 seconds]
arya has joined #ruby
roadt_ has quit [Ping timeout: 256 seconds]
<stenno_>
oh no
vlad_starkov has quit [Remote host closed the connection]
roadt_ has joined #ruby
sivoais has joined #ruby
monkegji_ has joined #ruby
elepfontius has joined #ruby
ffranz has joined #ruby
* stenno_
facepalms hard
<stenno_>
there were tabs in the database.yml
monkegjinni has quit [Read error: No route to host]
<stenno_>
sorry for all the hassle :|
ananthakumaran has quit [Quit: Leaving.]
k13n has quit [Ping timeout: 260 seconds]
nowthatsamatt has joined #ruby
freerobby has joined #ruby
monkegji_ has quit [Read error: Connection reset by peer]
jlast has joined #ruby
<banister_>
stenno_: cool :) not sure it would have been useful in this case, but pry-rescue and pry (generally, incl. pry-rails) are very cool pieces of kit, u should check them out ;)
beneggett has joined #ruby
Xeago has quit [Remote host closed the connection]
jurbat has joined #ruby
monkegjinni has joined #ruby
<apeiros>
stenno_: and that silently errors?
subbyyy has joined #ruby
<apeiros>
if so, that's bad…
dhruvasagar has quit [Ping timeout: 252 seconds]
<stenno_>
apeiros, i only got the error by executing YAML::Load in the IRB. the rake task still failed silently, although i used rescue and --trace
<stenno_>
banister_, one last tiem thank you and sorry that you had to waste your time because of my stupidity
<banister_>
i didnt waste time :)
nettoweb has joined #ruby
<banister_>
i just linked to a project on github
<banister_>
hehe
Xeago has joined #ruby
sivoais has quit [Ping timeout: 261 seconds]
LaPetiteFromage has joined #ruby
sivoais has joined #ruby
Zai00 has joined #ruby
kpshek has joined #ruby
vlad_starkov has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
codecop has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
<MrZYX>
it's also useful beyond that, since you can chomp arbitrary characters, I actually used it with something different already (though I don't remember where currently)
<fdelacruz>
ok
<canton7>
I won't want the language to magically remove every newline at the end of every string ever. unless that's the case, you're going to need chomp at some point
b0oh has quit [Ping timeout: 260 seconds]
subbyyy has quit [Ping timeout: 264 seconds]
<MrZYX>
ah, generating nice paths if you're unsure about your base: root_path.chomp('/')
pduin has quit [Remote host closed the connection]
<ChristianS>
.oO( "if you want your string to actually end with a newline, just add TWO newlines." )
casheew has quit [Read error: Connection reset by peer]
<apeiros>
tbrock: unsubstantiated accusations don't help. do the homework. figure out where the noise really originates from.
<tbrock>
i think it may be from my logger
<tbrock>
which has level debug
<apeiros>
you can do that by e.g. patching out $stdout.puts and $stderr.puts
<apeiros>
lol?
<MrZYX>
^
<apeiros>
then it's *probably* supposed to be verbose.
markalanevans has quit [Client Quit]
<tbrock>
wasn't accusing just trying to figure it out
<tbrock>
yeah but that is the logger for my class
<tbrock>
im not sure why it would affect the output of the mail gem
krawchyk has quit [Ping timeout: 256 seconds]
Travis-42 has joined #ruby
lewis_ has joined #ruby
Travis-42 has left #ruby [#ruby]
<tbrock>
and this happens in pry, without my code
lewis_ is now known as lewix
lewix has quit [Changing host]
lewix has joined #ruby
<tbrock>
just using the gem
beneggett has joined #ruby
Travis-42 has joined #ruby
<tbrock>
so that doesn't make much sense
sivoais has quit [Ping timeout: 240 seconds]
jerius has quit []
<Travis-42>
I'm looking at a function that ends with "an_array.each do |value| …. end if an_array" -- what exactly is the "if an_array" doing at the end of the same line of the "end" statement?
fdelacruz has quit [Quit: EPIC5-1.1.5[1683] - amnesiac : Instant asshole - just add alcohol]
beneggett has quit [Quit: Computer has gone to sleep.]
tylersmi_ has quit [Remote host closed the connection]
<apeiros>
or use the Vector class (require 'matrix')
jrhorn424 has joined #ruby
<tbrock>
MrZYX: cool
tockitj has joined #ruby
<stenno_>
hmm zip is cool
<joshmyers>
ahhh
<stenno_>
now if ruby had actual list comprehensions :P
<joshmyers>
thanks apeiros, never used zip before :)
andikr has quit [Remote host closed the connection]
<canton7>
stenno_, I thoughr that. Then I noticed that select/map is often the same length as the equivalent list comprehension, and clearer
<apeiros>
stenno_: I prefer methods over syntax
Squarepy has quit [Remote host closed the connection]
aganov has quit [Quit: aganov]
mando has joined #ruby
ioNull has joined #ruby
Ontolog has joined #ruby
decentrality has quit [Quit: decentrality]
ckrailo has joined #ruby
<stenno_>
fair enough, you two - i think i just got carried away by a friend showing me some stuff with perl6
generalissimo has joined #ruby
<stenno_>
for this problem, .zip really gives an elegant solution
<canton7>
I was thinking of python list comprehensions - are perl ones much different?
<stenno_>
sorry, got to go right now, will be online in half an hour or and show you some examples - iirc those should be similar to python
<stenno_>
also note that perl6 != perl :P
<stenno_>
anyway, til later
<joshmyers>
zip boggles my head
<stenno_>
:D
stenno_ has quit [Quit: Leaving]
bugg is now known as _KGBot_
<banister_>
stenno_: with lazy enumerators in 2.0 you should have the same complexity too
monkegjinni has joined #ruby
<banister_>
(1..100).lazy.select(&:even?).map { |v| v * 10000 }.first(20)
<Veejay>
I have a question for you guys. Suppose you have two objects a and b, is there a way to formulate a.send(m1).send(m2).slice(three attributes) == b.send(m1).send(m2).slice(three attributes) without having to write all this
<Veejay>
i.e. when you pass the two objects in the same black box the output is the same
tk_ has quit [Quit: ばいばい]
<Veejay>
I should write a method eh?
echevemaster has joined #ruby
echevemaster has quit [Changing host]
echevemaster has joined #ruby
<Veejay>
To group all that logic
sivoais has quit [Ping timeout: 245 seconds]
<Veejay>
Or is there some other way
chrishough has joined #ruby
arya has left #ruby [#ruby]
arya has joined #ruby
jlast has quit [Remote host closed the connection]
<MrZYX>
[a, b].map {|e| e.send(:bla) }.uniq.size == 1 though not sure I'd use that in production code :P
sleetdrop has joined #ruby
<Veejay>
heh
<Veejay>
Well it does the job though
cj3kim has joined #ruby
wolcanus has quit [Remote host closed the connection]
_nitti has quit [Remote host closed the connection]
slash_nick has joined #ruby
sivoais has joined #ruby
_nitti has joined #ruby
guiocava_ has joined #ruby
guiocavalcanti has quit [Ping timeout: 256 seconds]
jtharris has quit [Quit: WeeChat 0.4.0]
mark_locklear has quit [Ping timeout: 256 seconds]
mikepack has joined #ruby
beneggett has joined #ruby
sivoais has quit [Ping timeout: 240 seconds]
<Veejay>
Is there a common Ruby idiom for methods that take either a symbol or a hash as their parameters?
<Veejay>
Something that can for example take :today or :in => 1.week or something
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
<Veejay>
By idiom I mean something nice to retrieve and manipulate said parameters without having to reinvent the wheel
sivoais has joined #ruby
wolcanus has joined #ruby
wolcanus has quit [Remote host closed the connection]
<pagios>
i would like to add a line on a specific line i na file, how can i do that?
<stenno>
open you text editor, add the line
NimeshNeema has quit [Ping timeout: 252 seconds]
mikepack has quit [Remote host closed the connection]
devdazed has joined #ruby
<stenno>
my work here is done!
tylersmith has joined #ruby
<rgrinberg>
pagios: there's the __LINE__ variable if that's what you want
kirkstrobeck has quit [Quit: kirkstrobeck]
<apeiros>
stenno: fuck that, I'm outta here? :)
<stenno>
:P
<apeiros>
pagios: you'd read the file line by line, add the line, write the lines back.
Guest73853 has quit []
sivoais has quit [Ping timeout: 252 seconds]
Neomex has joined #ruby
carloslopes has joined #ruby
ivanoats is now known as IvanOnAMac
Neomex has quit [Client Quit]
<apeiros>
see IO::readlines and IO#puts (or IO::write, whatever floats your boat)
zastern has joined #ruby
IvanOnAMac is now known as ivanoats
<stenno>
apeiros: the perl6 way of substracting the content of an array from another array: [4,5,6] »-« [1,2,3] (not exactly list comprehension though)
ananthakumaran has joined #ruby
<pagios>
hmm ok so no way to just reference a line directly , i have to readline by line to reach the line i am targetting
Dan has quit [Quit: Leaving...]
vlad_starkov has joined #ruby
<r0bglees0n>
pagios: it is not a hard thing to do, i'm sure you'll figure it out pretty fast.
<pagios>
r0bglees0n: yea but just trying to find the fastest way :)
sivoais has joined #ruby
maodun has left #ruby [#ruby]
<r0bglees0n>
pagios: I use would use readlines to return an array, and replace the line by index.
<graft>
is it just me, or is File.symlink busted? If i do File.symlink "path/to/file", "path/to/link", I get a busted link pointing to "path/to/path/to/file"
sivoais has quit [Ping timeout: 252 seconds]
subbyyy has joined #ruby
sivoais has joined #ruby
apalmblad has joined #ruby
stkowski has joined #ruby
elaptics is now known as elaptics`away
slainer68 has quit [Remote host closed the connection]
<apeiros>
graft: just you
<apeiros>
maybe your relative paths are off?
Cultofmetatron has joined #ruby
artemeff has joined #ruby
artemeff has quit [Remote host closed the connection]
<graft>
apeiros: how do you mean?
<apeiros>
I mean that maybe "path/to/file" isn't the correct relative path
nomenkun has quit [Ping timeout: 264 seconds]
nettoweb has quit [Quit: nettoweb]
<graft>
hmm, ln has this same behavior... i guess i just don't understand symlinks
ewag has quit [Remote host closed the connection]
jamie_ca_ has quit [Quit: jamie_ca_]
Cultofmetatron has quit [Read error: Connection reset by peer]
persand has quit [Quit: persand]
machuga|away is now known as machuga
sivoais has quit [Ping timeout: 248 seconds]
ewag has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
tjbiddle has quit [Read error: Connection reset by peer]
sivoais has joined #ruby
io_syl has joined #ruby
gaahrdner has joined #ruby
twoism has joined #ruby
thomasle_ has joined #ruby
Cultofmetatron has joined #ruby
Cultofmetatron has quit [Read error: Connection reset by peer]
rdark has quit [Quit: leaving]
zeade has joined #ruby
<MrZYX>
try handing it the realpath
Cultofmetatron has joined #ruby
sepp2k has joined #ruby
binaryplease has quit [Read error: Operation timed out]
Elhu has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby
alx- has quit [Read error: Connection reset by peer]
Alex- has joined #ruby
Kricir has quit [Remote host closed the connection]
anildigi- has quit [Changing host]
anildigi- has joined #ruby
arya has quit []
arya has joined #ruby
graft has quit [Ping timeout: 246 seconds]
anildigi- is now known as anildigital
ephemerian has quit [Quit: Leaving.]
sivoais has quit [Ping timeout: 252 seconds]
DrCode has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
ravster has quit [Quit: Leaving.]
rads has joined #ruby
shevy has quit [Remote host closed the connection]
hakunin has joined #ruby
c0rn has joined #ruby
sivoais has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Guest27861 has quit [Ping timeout: 248 seconds]
mzarella has joined #ruby
<mzarella>
what is the dot notation called?
<apeiros>
which one?
<mzarella>
3.to_s
<apeiros>
method invocation, I'd say
saarinen has joined #ruby
Ontolog has joined #ruby
sambao21 has joined #ruby
DrCode has joined #ruby
<mzarella>
in python, there's str(3)
<mzarella>
in ruby, it's 3.to_s, but i thought there was another name for that
<apeiros>
you call the 'to_s' method on the object '3'.
<apeiros>
not much to name there.
gaahrdner has quit [Remote host closed the connection]
mklappstuhl has quit [Remote host closed the connection]
brotatos has joined #ruby
Kov|sumika has joined #ruby
gaahrdne_ has joined #ruby
bradhe has quit [Remote host closed the connection]
<pagios>
can i replace the last line of a file by using lines.last = "new text for last line" assuming i am using readlines to read this file?
sivoais has quit [Read error: Connection reset by peer]
<moofy>
Uhm, does anyone have any suggestions for a new programmer to get some experience? I've done most of the basics but every time I make something I get horribly lost and frustrated and it doesn't work. Is there anything sort of intermediate out there that's more about programming thinking than code syntax?
sivoais has joined #ruby
Squarepy has quit [Remote host closed the connection]
Ontolog has quit [Ping timeout: 248 seconds]
banjara has joined #ruby
codesoda has quit [Remote host closed the connection]
Kov|sumika has quit [Client Quit]
Ontolog has joined #ruby
pinpin404 has joined #ruby
nobitanobi has joined #ruby
davetherat has quit [Read error: Connection reset by peer]
<nobitanobi>
Hi. I have a question about Bundler groups. How does ruby know which group it is running at (:test, :development...)?
interactionjaxsn has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
sivoais has quit [Ping timeout: 248 seconds]
hamburger2000 has joined #ruby
sivoais has joined #ruby
c0rn has joined #ruby
cj3kim has quit [Remote host closed the connection]
chrishough has joined #ruby
zombor has joined #ruby
zombor has left #ruby ["Leaving..."]
sayan has quit [Ping timeout: 248 seconds]
jerius_ has joined #ruby
dekz__ has joined #ruby
interactionjaxsn has quit [Ping timeout: 248 seconds]
jerius has quit [Ping timeout: 260 seconds]
jerius_ is now known as jerius
mad_hatter_ has quit [Ping timeout: 246 seconds]
rins has joined #ruby
pi3r has quit [Quit: Leaving]
IrishGringo has joined #ruby
Xeago has joined #ruby
brotatos has quit [Read error: Connection reset by peer]
ewag has quit [Changing host]
ewag has joined #ruby
v0n has joined #ruby
<ner0x>
Issue: I have an array of "postal_code" => [lat, long]. Try to go through a list of records and see if one of the keys matches /^record.postal_code/. Any suggestions? Seems like a lot of loops.
JohnBat26 has quit [Ping timeout: 248 seconds]
sivoais has quit [Ping timeout: 256 seconds]
Al___ has quit [Quit: Al___]
<terrellt>
ner0x: You mean you have a hash with that? If so, you should just be able to do postal_codes.has_key?(record.postal_code.to_s)
akells` has joined #ruby
<MrZYX>
yeah, that was somehow unclear, do you have example data and desired result?
frem has joined #ruby
guns has joined #ruby
frem has quit [Max SendQ exceeded]
sivoais has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
ananthakumaran has quit [Quit: Leaving.]
atmosx has joined #ruby
<ner0x>
terrellt: MrZYX: Something like that except in a regex form.
kenneth has joined #ruby
<terrellt>
ner0x: Gonna need examples if the above isn't enough.
<ner0x>
terrellt: Canadian postal_codes only include the first three letterNumberLetter combination. I need to see if record.postal_code matches the first three rather than the entire string.
mahmoudimus has joined #ruby
<ner0x>
So postal_code list has "A3B" but record.postal_code is "A3B 6K3"
Ontolog_ has joined #ruby
<terrellt>
ner0x: Ah. Do you want it to return the first matched record or just true/false?
<ner0x>
terrellt: First matches should work. It will have a few duplicates but I'm assuming they'll be close enough for this use.
evenix has quit [Read error: Connection reset by peer]
evenix has joined #ruby
<terrellt>
ner0x: If you want all the matches you'll have to do something like postal_codes.keys.reject{|x| someregexconditionorlogicorwhatevs}
pitzips has joined #ruby
<ner0x>
terrellt: Fair enough. I just wanted to see if there was a way to not do 30000 * 30000 loops.
browndawg has left #ruby [#ruby]
Proshot has joined #ruby
relix has joined #ruby
<relix>
hey guys
Ontolog has quit [Ping timeout: 248 seconds]
<terrellt>
That's O(N) loops.
<terrellt>
Er, O(N)*. It's not O(N^2)
<relix>
is there a best practice approach to do "@a ||= {}"
<ner0x>
terrellt: I have to do it for around 30k records.
<relix>
but then also populate the new object with a few fields that need some code executed (i.e. not inline)
<terrellt>
ner0x: Right, you'll have to loop over your keys once. Not twice, no?
kf8a has joined #ruby
NimeshNeema has joined #ruby
<ner0x>
terrellt: Right just once. But there are around 30000 geodata records and about 30000 rows. (Sorry, the numbers being close probably gave youthat idea).
<MrZYX>
relix: I'd write a private method that always generates the new object and do @a ||= that_method
rezzack has joined #ruby
<terrellt>
If the numbers are that close there's not much you can do. =(
miskander has quit [Quit: miskander]
allaire has quit [Quit: allaire]
<relix>
MrZYX: but the method I'm using is already solely responsible for this var
<terrellt>
Other than like, querying a database with an indexed text field and doing LIKE 'this%'
sivoais has quit [Read error: Connection reset by peer]
ivanoats_ is now known as ivanoats
<ner0x>
terrellt: That's what I thought. It's alright. It only has to be done once in a blue moon.
<relix>
i.e. def a; @a ||= {}; end
sivoais has joined #ruby
<ner0x>
terrellt: Only took 10min last time.
<MrZYX>
relix: don't see domain duplication here, one is an accessor, the other ones creates a new whatever
mad_hatter_ has joined #ruby
<terrellt>
ner0x: Rofl. Consider using a database query - I'm sure an indexed text field OR query would be far faster than 10 minutes.
miskander has joined #ruby
Guest27861 has joined #ruby
miskander has quit [Client Quit]
<ner0x>
terrellt: It takes longer to load them than to sort through the array.
<ner0x>
terrellt: Since it's 30k reads.
<atmosx>
ner0x: you're trying to find a match between two big lists?
<ner0x>
atmosx: No. Not quite.
<atmosx>
ah k
<ner0x>
atmosx: I've gotten it figured out. :)
<terrellt>
atmosx: An imprecise match. Can't use set operaitons. =(
<terrellt>
Operations too.
ramblex has quit [Remote host closed the connection]
<relix>
MrZYX: just found out about ActiveSupport's memoize module, that does what you describe, I'll use that
Zolo has joined #ruby
<relix>
MrZYX: thanks!
miskander has joined #ruby
r0bby has joined #ruby
<terrellt>
ner0x: 30k reads?
<ner0x>
terrellt: One read for each postal to see if it matches.
nomenkun has joined #ruby
interactionjaxsn has joined #ruby
<ner0x>
terrellt: The multiple loop method will probably work best. I'm benchmark both to be sure though.
<terrellt>
ner0x: Is any of this stuff in a database?
khismetix has joined #ruby
BizarreCake has quit [Quit: Leaving]
vlad_starkov has quit [Remote host closed the connection]
Guest69430 has quit [Ping timeout: 256 seconds]
beneggett has quit [Quit: Computer has gone to sleep.]
<ner0x>
terrellt: Yes. The postal => [lat,long] is.
<terrellt>
ner0x: So why not load up all your zip codes and build a query, "select * from postals WHERE zipcode LIKE 'firstone%' OR zipcode LIKE 'secondone%'", then take the result set and populate your objects from it.
<terrellt>
Should take a fraction of the time assuming your zipcode field is indexed.
sivoais has quit [Ping timeout: 248 seconds]
v0n has quit [Quit: WeeChat 0.4.1]
v0n has joined #ruby
<apeiros>
string zipcode?
<terrellt>
apeiros: In this case it's fortunate, since he's looking for inexact matches.
<apeiros>
could do with integers too, but not as elegant.
sivoais has joined #ruby
<apeiros>
though, oracle e.g. would accept a like on an integer field.
kirun has joined #ruby
lethjakm1 has quit [Ping timeout: 256 seconds]
kpshek has joined #ruby
<terrellt>
I wonder how long a 30,000 OR statement query would take to run..
Guest85580 has quit [Ping timeout: 248 seconds]
<terrellt>
Not exactly ideal.
<apeiros>
hu?
<apeiros>
why 30000 ORs?
<apeiros>
zipcodes are fixed size I'd assume, so it's just a between
<MrZYX>
worst case an IN
<terrellt>
They're zipcode partials.
<terrellt>
The things in firstone, secondone, etc.
viszu has joined #ruby
<apeiros>
what do you have, 5 digits? if so, '50%' would be `between 50000 and 50999`
<ner0x>
terrellt: I'll check it out. :)
<MrZYX>
I wonder if you can exceed the maximum length for a sql statement
jlast_ has quit [Remote host closed the connection]
<apeiros>
terrellt: so what? prefix based it can be done with the between as showed
peterhellberg has joined #ruby
umren has joined #ruby
jlast has joined #ruby
xcv_ has quit [Remote host closed the connection]
<apeiros>
the difficulty is in that you have to properly adjust the limits first
sivoais has quit [Client Quit]
<apeiros>
'%50%' would be harder
<terrellt>
apeiros: His zipcode examples included letters, for canada.
brotatos has joined #ruby
mklappstuhl has joined #ruby
xcv has joined #ruby
<apeiros>
terrellt: aha. that'd not be a numeric zip code and not be in the scope anyway :-)
beneggett has joined #ruby
tomsthumb has joined #ruby
<ner0x>
apeiros: And it's not how close, it's how many match the first. I'm just matching the start, since none will be less than 3 character.
m8 has joined #ruby
<terrellt>
apeiros: Right, %50% would defeat the purpose, since text indexes are left->right.
kpshek has quit [Client Quit]
<ner0x>
'record.postal%' will suffice.
<apeiros>
ner0x: you might want to think about what '50%' and between 50000 and 50999 do in a 5 digit number ;-)
<cofin>
I'm currently listening to: Give Life Back to Music by Daft Punk from the album Random Access Memories
<apeiros>
(hint: exactly the same)
generalissimo has quit [Remote host closed the connection]
mklappstuhl has quit [Remote host closed the connection]
<ner0x>
apeiros: In this example all the US postal codes will have at least 5 digits, Canadian 5. So if it doesn't match all 5 it doesn't match.
arturaz has quit [Quit: Leaving]
<ner0x>
apeiros: I see what you're saying. In another scenario that would be a pitfall I'd have to compensate for. :)
kenneth has quit [Quit: kenneth]
<apeiros>
with variable digits, it'd be ORed betweens. i.e., you only need N OR clauses, where N is the maximum number of digits.
<apeiros>
anyway, purely theoretical since you're doing a like anyway :-p
arya has quit [Ping timeout: 276 seconds]
<apeiros>
or rather, where N is the number of possible digit counts (i.e. if it's 5-7 digits, then N=3)
<terrellt>
ner0x: In any case, if you can find a way to make the database do the heavy lifting I wouldn't be surprised to see things drop under a second.
beneggett has quit [Ping timeout: 246 seconds]
<terrellt>
ner0x: Er, well, under a minute.
<apeiros>
it's less about the db doing the heavy lifting probably, and more the time required to deserialize a lot of objects
kenneth has joined #ruby
<apeiros>
I missed the start of the discussion, though
tjbiddle has joined #ruby
<apeiros>
under a minute? ok, then I guess deserialization isn't the only culprit :D
brotatos has quit [Read error: Connection reset by peer]
arya has joined #ruby
skattyadz has quit [Quit: skattyadz]
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
saarinen has quit [Quit: saarinen]
<ner0x>
It's not a minute per record. it's 10 minutes for 38k of records. lol
<cofin>
I'm currently listening to: Touch (feat. Paul Williams) by Daft Punk from the album Random Access Memories
<MrZYX>
cofin: I think posting that to #ruby is quite offtopic ;P
<cofin>
lol
<cofin>
i agree
<cofin>
wtf
<cofin>
sorry
<terrellt>
ner0x: I'm currently syncing data between a database and a text file with roughly 60k records. Takes about 12 seconds.
<cofin>
MrZYX: totally disabled that feature. Had no idea that it was turned on by default
kpshek has joined #ruby
mklappstuhl has joined #ruby
<terrellt>
In any case, I gotta bail.
spacemud has quit [Ping timeout: 264 seconds]
<ner0x>
terrellt: COPY does it in less than a second.
<ner0x>
terrellt: It's the manipulation of the data to fit the constraints of the app that piss with the time.
csaunders has joined #ruby
cj3kim has joined #ruby
<ner0x>
terrellt: Thanks for all the help.
jdunck has quit [Quit: Computer has gone to sleep.]
tealmage has joined #ruby
BrianJ has joined #ruby
khismetix has quit [Quit: Computer has gone to sleep.]
codesoda has joined #ruby
ebobby has joined #ruby
khismetix has joined #ruby
viszu has quit [Quit: Leaving.]
Guest77048 has quit [Read error: Connection reset by peer]
viszu has joined #ruby
skattyadz has joined #ruby
jlast has quit [Remote host closed the connection]
jlast has joined #ruby
spacemud has joined #ruby
codesoda has quit [Ping timeout: 248 seconds]
Dreamer3 has quit [Quit: Leaving...]
saarinen has joined #ruby
beneggett has joined #ruby
k13n has joined #ruby
csaunders has quit [Quit: Computer has gone to sleep.]
sivoais has joined #ruby
ehaliewicz has joined #ruby
skattyadz has quit [Quit: skattyadz]
ravster has joined #ruby
jdunck has joined #ruby
nobitanobi has quit [Ping timeout: 256 seconds]
peterhellberg has quit [Remote host closed the connection]
viszu has quit [Quit: Leaving.]
ctp has joined #ruby
Dreamer3 has joined #ruby
tymat has joined #ruby
fschuindt has joined #ruby
JZTech101 has joined #ruby
viszu has joined #ruby
<fschuindt>
I have installed ruby 2.0 using rvm in a ubuntu server vps, but it seems only installed to one user. How can I make it work for all users?
blaxter has quit [Ping timeout: 252 seconds]
flx1rc1 has joined #ruby
choobie has joined #ruby
bradhe has joined #ruby
Astral_ has quit [Read error: Connection reset by peer]
jcromartie has quit [Quit: Computer has gone to sleep.]
Astral_ has joined #ruby
Evixion` has joined #ruby
DanKnox is now known as DanKnox_away
bradhe has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
csaunders has joined #ruby
mmitchel_ has joined #ruby
generali_ has joined #ruby
Evixion has quit [Ping timeout: 260 seconds]
beneggett has quit [Ping timeout: 246 seconds]
chrishunt has quit [Quit: ZzZzZz...]
csaunders has quit [Client Quit]
mmitchell has quit [Read error: Operation timed out]
adambeynon has joined #ruby
kpshek has quit []
tymat has quit [Quit: kthnxbye!]
DanKnox_away is now known as DanKnox
tymat has joined #ruby
kaboofa has joined #ruby
kf8a has quit [Quit: Computer has gone to sleep.]
Spami has joined #ruby
Spami has joined #ruby
miskander has quit [Quit: miskander]
<kaboofa>
hi rubyists, i wanted to know if someone could help me out with what should be something super simple.. i'm trying to read a file, but when i write `f = File.read('/path/to/some/file')` I get Errno::EINVAL: invalid argument - /path/to/some/file. I've checked that my user has correct permissions.. what am I doing wrong?
io_syl has quit [Ping timeout: 260 seconds]
tylersmith has quit [Remote host closed the connection]
flx1rc1_ has joined #ruby
<MrZYX>
ensure that your path doesn't contain special characters, like newlines
emmanuelux has joined #ruby
<kaboofa>
MrZYX: the argument i'm passing to File.read, or $PATH in my shell?
mstuefer has joined #ruby
<MrZYX>
the argument
io_syl has joined #ruby
<kaboofa>
i typed the path in by hand ;)
<apeiros>
best you inspect it (p path, or puts path.inspect)
<kaboofa>
ah so i need to hand someone a filehandle?
<apeiros>
no. your code is correct.
<apeiros>
this is an odd problem.
kpshek has joined #ruby
kpshek has quit [Client Quit]
<apeiros>
File.read(path) and File.open(path, 'r') { |fh| fh.read } # are roughly equivalent
c0rn has quit [Quit: Computer has gone to sleep.]
<kaboofa>
fwiw, i see the same behavior in 1.9.3p327
banghouse2 is now known as banghouse
<apeiros>
what does `p File.exist?(path)` print? (I'd assume true, but lets rule things out)
<kaboofa>
ok, so i guess you can't give File.open an absolute path inside irb?
sambao21 has quit [Quit: Quitter]
<kaboofa>
when i moved the file to '.' it seems to work
ghr has quit [Quit: Computer has gone to sleep.]
<kaboofa>
apeiros: => true
ntus1017 has quit [Remote host closed the connection]
<apeiros>
wait, is the name of the file "/Users/tom/work/chuck-rails-gh.log"?
<apeiros>
or is that the path?
<kaboofa>
that is the full path + name of the file
<apeiros>
because you can have files with a name which looks like that in the finder, I'd not know how to do it in the shell
breadthfirst has joined #ruby
<kaboofa>
ahh ok i see what you're saying
subbyyy has quit [Ping timeout: 252 seconds]
beneggett has joined #ruby
<apeiros>
but still, that should result in an Errno::ENOENT, not an Errno::EINVAL
<apeiros>
also a wrong argument type usually gives TypeError with File.read… odd
DrShoggoth has joined #ruby
ebouchut has joined #ruby
lethjakm1 has joined #ruby
monkegjinni has joined #ruby
<spike|spiegel>
what ya talking about?
<kaboofa>
i just saw this output: "Maybe IRB bug!"
cj3kim has quit [Remote host closed the connection]
Faris11 has joined #ruby
Kricir has joined #ruby
Ontolog_ is now known as Ontolog
wolcanus has quit [Remote host closed the connection]
anonymuse has joined #ruby
peteyg has quit [Ping timeout: 248 seconds]
baroquebobcat has joined #ruby
beneggett has quit [Ping timeout: 252 seconds]
mawueli has joined #ruby
<workmad3>
apeiros: looking through the io.c source... linux will give an EINVAL if you try to open a pipe... but that doesn't seem right here :/
kf8a has joined #ruby
mawueli is now known as Guest14368
peteyg has joined #ruby
<apeiros>
yeah, this problem confuses me
<apeiros>
could try to open a 2.3GB file and see whether the filesize is actually a problem. but I'd be surprised.
<kaboofa>
workmad3: my os thinks different >:) i'll give it a shot in ubuntu tho
<kaboofa>
i mean, file reports that my ruby is 64 bit
<MrZYX>
we're talking about darwin not linux here, right?
BonSequitur has joined #ruby
<kaboofa>
MrZYX: Darwin Kernel Version 12.3.0
<MrZYX>
yup, just wanted to point out that linuxs behavior is not really relevant here. Not that I have any experience with darwin :P
Guest____ has joined #ruby
<workmad3>
MrZYX: yeah, but there's very little that causes an EINVAL error in the io.c file, and that was the only one that was even vaguely close that I could see :/
jurbat has quit [Quit: Computer has gone to sleep.]
miskander has joined #ruby
<MrZYX>
doesn't ruby forward the syscall erros as Errno:: ones?
<C0deMaver1ck>
in that case the symbol becomes the hash key
<waxjar>
the { and } are not required when passing a hash to a method, so `method :key => "value"` is a valid method call and equivalent to method({ :key => "value" })
<MrZYX>
pskosinski: another example would be a = :foo if false; a will be nil because the parser saw it once, even though it never gets a value assigned
viszu has joined #ruby
<C0deMaver1ck>
daniel_-: regex
<L8D>
daniel_-: You could start with `domain.split(".")`
havenwood has quit [Ping timeout: 248 seconds]
<MrZYX>
daniel_-: URI.parse
<L8D>
`^
mrsolo has quit [Quit: This computer has gone to sleep]
<C0deMaver1ck>
I feel like ruby symbols are like haskell monads
<C0deMaver1ck>
such a simple concept that new people have such a hard time grasping
blandflakes has quit [Remote host closed the connection]
<otters>
don't even get me started on monads
<C0deMaver1ck>
lol
<C0deMaver1ck>
go ahead, I want to hearit
<C0deMaver1ck>
s/hearit/hear it
cj3kim has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
Z_Mass has joined #ruby
<otters>
nice try
<waxjar>
some day i'll gather some courage, join the local haskell channel and ask for an explanation on monads
<otters>
haha
<waxjar>
all i take away from it now is that they're basically null objects
<otters>
join YOUR local haskell channel today!
<C0deMaver1ck>
the haskell channel is actually very nice
<otters>
no they aren't null objects
<otters>
yeah #haskell is easily the nicest place on freenode
<otters>
the best way to troll #haskell is to say "oh, I get it, monads are [incorrect definition]"
tomkad has quit [Read error: Operation timed out]
<L8D>
Should I use a proc or a lambda more often?
<otters>
the solution to figuring out what monads are is to stop trying to figure out what they are and just use them
<banisterfiend>
L8D: proc IMO
<C0deMaver1ck>
otters: even then they'll still politely tell you why that's wrong and explain it again
<otters>
L8D: they have slightly different behaviors
<L8D>
VERY slightly
<otters>
yeah
<otters>
like I said
halogenandtoast has joined #ruby
<MrZYX>
well, lambdas enforce their arguments for example
<C0deMaver1ck>
Proc and Lambda are different in how they handle returns
<L8D>
Those are the only two
<L8D>
lol
<C0deMaver1ck>
one will return from the method it was called from, the other will return from itself
<C0deMaver1ck>
can't remember which though lol
Lubinski has quit [Quit: Leaving]
<halogenandtoast>
I want to run a pg_restore command from ruby and provide the password without requiring user interaction. Has anyone done this before or have experience with it. I've tried IO.popen and PTY.spawn to no avail.
<halogenandtoast>
I might be using them wrong.
<banisterfiend>
i've never found lambda behaviour useful, so i stick to procs (which behave like blocks, which everyone uses anyway)
<MrZYX>
but lamdba's have nice confusing syntax! :P
<C0deMaver1ck>
-> goodness
mklappstuhl has joined #ruby
<MrZYX>
->(arg) {} goodness
sarkis has quit [Ping timeout: 256 seconds]
<banisterfiend>
that's true :)
<C0deMaver1ck>
how can you not like that
codecop has quit [Remote host closed the connection]
<L8D>
Also, defining a lambda uses an instruction, whereas defining a proc uses the 'Proc' type.
<MrZYX>
L8D: implementation wise lambdas are a special type of procs
<Spami>
damn, these doesn't make sense
brianpWins has joined #ruby
<MrZYX>
my v6 comes through tunnelbroker.net though
<C0deMaver1ck>
MrZYX: time to have a read through MRI it seems
<Spami>
MrZYX, $ different people ruined the command on either a MacBook pro or debian and none of them had ipv6 working. they are all located in france
* C0deMaver1ck
wants to know the difference between Proc and Lambda at the source code level
rudisimo has quit [Quit: Leaving.]
<MrZYX>
Spami: on my VPS with Hetzner v6 it works too :/
<Spami>
MrZYX, in germany also ?
<MrZYX>
yup
Banistergalaxy has quit [Ping timeout: 248 seconds]
<MrZYX>
both, my tunnelbroker.net and the hetzner network use DE-CIX iirc
sambao21 has quit [Quit: Computer has gone to sleep.]
johnmilton has quit [Remote host closed the connection]
io_syl has joined #ruby
nobitanobi has quit [Ping timeout: 248 seconds]
saarinen has joined #ruby
ANDREW12 is now known as andrew12
reset has quit [Quit: Leaving...]
clocKwize has quit [Quit: clocKwize]
kirun has quit [Quit: Client exiting]
Ontolog_ is now known as Ontolog
ravster has left #ruby [#ruby]
evenix has quit [Remote host closed the connection]
sambao21 has joined #ruby
evenix has joined #ruby
jbpros has quit [Quit: jbpros]
jimg has joined #ruby
k13n has quit [Ping timeout: 260 seconds]
jbpros has joined #ruby
wolcanus has quit [Ping timeout: 252 seconds]
randym_ has quit [Quit: Connection closed for inactivity]
nomenkun has joined #ruby
<C0deMaver1ck>
anyone ever built a ruby C extension on windows?
<C0deMaver1ck>
any gotchas?
moos3 has quit [Quit: Computer has gone to sleep.]
<banisterfiend>
C0deMaver1ck: not really
<banisterfiend>
but depends on the c ext
<spike|spiegel>
GC GC GC
<C0deMaver1ck>
there's a terminal notifier gem for OS X, wanted to write a windows notification gem
<C0deMaver1ck>
so it'd be using the Win32 C API
pcarrier_ has quit [Ping timeout: 248 seconds]
<stenno>
a gotcha would be that you had to use the win32 c api
<C0deMaver1ck>
lol
evenix has quit [Ping timeout: 248 seconds]
whowantstolivefo has quit [Quit: quit]
d2dchat has joined #ruby
nomenkun has quit [Read error: Operation timed out]
breadthfirst has quit [Remote host closed the connection]
reset has joined #ruby
breadthfirst has joined #ruby
BSaboia has joined #ruby
brotatos has quit [Ping timeout: 246 seconds]
pcarrier_ has joined #ruby
jfelchner has joined #ruby
johnkary has quit [Quit: @johnkary]
xardas has quit [Read error: Connection reset by peer]
<banisterfiend>
C0deMaver1ck: the biggest issue is you sometimes have to precompile for windows
<banisterfiend>
as you can't always rely on them having a C compiler
<banisterfiend>
but that's not hard
alvaro_o has joined #ruby
<C0deMaver1ck>
yeah I can just build 32bit and 64bit binaries and distribute that along with the gem
alvaro_o has quit [Read error: Connection reset by peer]
Banistergalaxy has joined #ruby
ofd2 has joined #ruby
ivanoats has quit [Read error: Connection reset by peer]
khismetix has joined #ruby
ivanoats has joined #ruby
<ofd2>
hi i want to replace the last line of my file with my own text how can i do that?
advorak has quit [Ping timeout: 248 seconds]
<stenno>
open text editor, write own text
<stenno>
my work here is done again!
failshell has quit [Remote host closed the connection]
mklappstuhl has quit [Remote host closed the connection]
m8 has quit [Quit: Sto andando via]
coderhs has quit [Read error: Connection reset by peer]
neku has joined #ruby
rae__ has joined #ruby
Ontolog_ has joined #ruby
<ofd2>
??????????????????????????
<stenno>
uhm
<stenno>
ofd2: read up the File class
jerius has quit [Ping timeout: 264 seconds]
moos3 has joined #ruby
<apeiros>
ofd2: File::readlines, Array#[] and File::write are your friends
freerobby has quit [Quit: Leaving.]
viszu has quit [Quit: Leaving.]
advorak has joined #ruby
d2dchat has quit [Remote host closed the connection]
imbric has joined #ruby
Guedes0 has joined #ruby
<ofd2>
i was able to readline the last line i need to overwrite it now, i think i need the File:write then
moos3 has quit [Client Quit]
Ontolog has quit [Ping timeout: 248 seconds]
zastaph has quit []
teclator has joined #ruby
darrik has joined #ruby
blueOxigen has quit [Ping timeout: 256 seconds]
osvico has joined #ruby
ariedler has quit [Remote host closed the connection]
flx1rc1_ has joined #ruby
rezzack has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
mklappstuhl has joined #ruby
breadthfirst has quit [Remote host closed the connection]
breadthfirst has joined #ruby
umren has quit [Ping timeout: 252 seconds]
flx1rc1 has quit [Ping timeout: 240 seconds]
flx1rc1_ is now known as flx1rc1
havenwood has joined #ruby
breakingthings has quit [Quit: breakingthings]
LaPetiteFromage has left #ruby [#ruby]
cj3kim has quit [Read error: Connection timed out]
moos3 has joined #ruby
forrest has quit [Quit: Leaving]
miskander has quit [Quit: miskander]
k13n has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
jdunck has quit [Quit: Computer has gone to sleep.]
halogenandtoast has quit [Quit: halogenandtoast]
interactionjaxsn has joined #ruby
cj3kim has joined #ruby
pitzips has quit [Read error: Connection reset by peer]
pitzips has joined #ruby
cj3kim has quit [Remote host closed the connection]
pitzips_ has quit [Remote host closed the connection]
druonysus has quit [Ping timeout: 245 seconds]
<Criztian>
do rvm info
johnkary has joined #ruby
arya__ has joined #ruby
druonysus has joined #ruby
druonysus has quit [Changing host]
druonysus has joined #ruby
khismetix has quit [Quit: Computer has gone to sleep.]
prk has quit [Ping timeout: 240 seconds]
pcarrier_ has joined #ruby
wyhaines has quit [Read error: No route to host]
arya_ has quit [Ping timeout: 248 seconds]
<swiftkey>
its not set in homes
<swiftkey>
gem and ruby not set as what it says
neku has quit [Quit: Leaving...]
mstuefer has joined #ruby
saarinen has quit [Quit: saarinen]
pen has joined #ruby
gyre007 has quit [Ping timeout: 256 seconds]
benlieb has joined #ruby
Proshot has quit [Quit: Leaving]
khismetix has joined #ruby
benlieb has quit [Client Quit]
alx- has quit [Quit: alx-]
halogenandtoast has joined #ruby
<advorak>
I want an instance of class Flight to return a new instance of Flight ... am I correct to call self.class.new ?
benlieb has joined #ruby
<advorak>
(from within class Flight?)
khismetix has quit [Client Quit]
halogenandtoast has quit [Client Quit]
<banisterfiend>
advorak: Yeah, or just Flight.new :)
jdunck has joined #ruby
<banisterfiend>
though self.class.new is more future proof
mstuefer has quit [Ping timeout: 260 seconds]
<advorak>
banisterfiend: yes, I can't be guaranteed of the class name and it may be subclassed. :-) thanks.
jdunck has quit [Max SendQ exceeded]
atno has joined #ruby
r0bby_ is now known as robbyoconnor
kf8a has quit [Quit: Computer has gone to sleep.]
jdunck has joined #ruby
phipes has joined #ruby
khismetix has joined #ruby
jdunck has quit [Max SendQ exceeded]
tshauck has quit [Quit: Lost terminal]
devoldmx3 has quit [Ping timeout: 245 seconds]
jdunck has joined #ruby
wyhaines has joined #ruby
guns has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
jdunck has quit [Max SendQ exceeded]
advorak has quit [Ping timeout: 248 seconds]
backjlack has quit [Remote host closed the connection]
arya__ has quit [Ping timeout: 246 seconds]
threesome has quit [Ping timeout: 264 seconds]
arya_ has joined #ruby
TomRone has joined #ruby
headius has joined #ruby
generali_ has quit [Remote host closed the connection]
advorak has joined #ruby
tealmage has joined #ruby
tealmage has quit [Read error: Connection reset by peer]
tealmage has joined #ruby
bobdobbs has quit [Read error: Connection reset by peer]
bobdobbs has joined #ruby
Akuma has quit [Ping timeout: 246 seconds]
jdunck has joined #ruby
benlieb has quit [Ping timeout: 252 seconds]
wallerdev has quit [Ping timeout: 246 seconds]
backjlack has joined #ruby
wallerdev has joined #ruby
rins has quit [Ping timeout: 245 seconds]
jdunck has quit [Client Quit]
havenwood has quit [Remote host closed the connection]
advorak has quit [Ping timeout: 248 seconds]
stkowski has quit [Quit: stkowski]
johnnyfuchs1 has joined #ruby
brotatos has quit [Quit: WeeChat 0.4.1-dev]
wallerdev has quit [Read error: Operation timed out]
mklappstuhl has quit [Remote host closed the connection]
RiftyMcF3arless has joined #ruby
johnnyfuchs has quit [Ping timeout: 264 seconds]
Kar- has quit [Remote host closed the connection]
zastern_ has quit [Remote host closed the connection]
jdunck has joined #ruby
ravster has joined #ruby
<RiftyMcF3arless>
hey everybody. for anyone that's used bombshell, i have a quick question. i can't run the "binary" of my bombshell, i'm getting errors as if it's not finding ruby. error gist: https://gist.github.com/Inkybro/5624010 . it's worth noting that last time i was working on this portion of the project, it worked fine. now i get these errors as if it cant find ruby...
benlieb has joined #ruby
benlieb has quit [Client Quit]
akells` has joined #ruby
benlieb has joined #ruby
<RiftyMcF3arless>
bleh! i figured it out. nevermind. thank you all
pkh has joined #ruby
cj3kim has joined #ruby
Nisstyre has quit [Quit: Leaving]
moos3 has joined #ruby
nezumi has joined #ruby
akells` has quit [Ping timeout: 252 seconds]
d11wtq has quit [Ping timeout: 260 seconds]
zastern has joined #ruby
breadthfirst has quit [Remote host closed the connection]
breadthfirst has joined #ruby
alx- has joined #ruby
zastern has quit [Read error: Connection reset by peer]
wsterling has quit [Remote host closed the connection]
suporte85 has quit [Ping timeout: 256 seconds]
zastern has joined #ruby
johnnyfuchs1 has quit [Ping timeout: 248 seconds]
LennyLinux has quit [Remote host closed the connection]
gadgetoid has quit [Ping timeout: 252 seconds]
niklasb has joined #ruby
wesside has joined #ruby
Criztian has quit [Remote host closed the connection]
baroquebobcat has quit [Ping timeout: 252 seconds]
druonysus has quit [Remote host closed the connection]
gadgetoid has joined #ruby
pkh has quit [Quit: Leaving]
swex_ has quit [Remote host closed the connection]
tockitj has quit [Ping timeout: 248 seconds]
GeissT has joined #ruby
dankest has quit [Quit: Leaving...]
huoxito has joined #ruby
swex has joined #ruby
justsee has quit [Ping timeout: 240 seconds]
dmiller_ has quit [Remote host closed the connection]
dankest has joined #ruby
kline has joined #ruby
Armon has joined #ruby
Xeago has joined #ruby
<Armon>
hi. what is the best way to convert \u0000\u0013\u00a2 string to it's correct hex value?
suporte85 has joined #ruby
gadgetoid has quit [Ping timeout: 252 seconds]
flx1rc1 has quit [Ping timeout: 241 seconds]
coderhs has quit [Read error: Connection reset by peer]
nik_-_ has quit [Quit: nik_-_]
dankest has quit [Client Quit]
jamesaxl has quit [Ping timeout: 248 seconds]
kevinykchan has quit [Ping timeout: 256 seconds]
Matip has joined #ruby
v0n has quit [Ping timeout: 248 seconds]
AgentWillyWonka has joined #ruby
khushildep has quit [Quit: khushildep]
nik_-_ has joined #ruby
kevinykchan has joined #ruby
DanKnox is now known as DanKnox_away
Ctwx has quit [Quit: Verlassend]
Kricir has joined #ruby
DanKnox_away is now known as DanKnox
Mattx has quit [Ping timeout: 256 seconds]
moos3 has quit [Quit: Computer has gone to sleep.]
Akuma has joined #ruby
nari_ has joined #ruby
predator217 has joined #ruby
headius has quit [Quit: headius]
jdunck has quit [Quit: Computer has gone to sleep.]
agjacome has quit [Quit: leaving]
robottinosino has joined #ruby
gadgetoid has joined #ruby
predator117 has quit [Ping timeout: 252 seconds]
tommyvyo has quit [Quit:]
cooldman224 has joined #ruby
mixel has quit [Quit: mixel]
guiocavalcanti has joined #ruby
mstuefer has joined #ruby
guiocava_ has quit [Ping timeout: 256 seconds]
thesheff17 has quit [Ping timeout: 252 seconds]
mixel has joined #ruby
sailias has joined #ruby
jlast has quit [Remote host closed the connection]
lethjakm1 has quit [Ping timeout: 260 seconds]
pskosinski has quit [Quit: pskosinski]
tomsthumb has quit [Quit: Leaving.]
_Amaan has quit [Quit: _Amaan]
lewix has quit [Remote host closed the connection]
zeade has joined #ruby
kindjal has joined #ruby
breadthfirst has quit [Remote host closed the connection]
breadthfirst has joined #ruby
mstuefer has quit [Ping timeout: 260 seconds]
skattyadz has joined #ruby
dmiller has joined #ruby
DanKnox is now known as DanKnox_away
jjasonclark has quit [Quit: jjasonclark]
cespare has quit [Quit: WeeChat 0.3.7]
tvw has quit []
wallerdev has joined #ruby
bradhe has quit [Remote host closed the connection]
supercray has joined #ruby
bionhart has quit [Remote host closed the connection]
rhys has quit [Quit: Leaving]
ravster has left #ruby [#ruby]
johnkary has quit [Quit: @johnkary]
kindjal has quit [Quit: Computer has gone to sleep.]