dhruvasagar has quit [Read error: Connection reset by peer]
kvirani has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
mohits has quit [Read error: Connection reset by peer]
kvirani has joined #ruby
akem has quit [Quit: Forget progress by proxy. Land on your own moon.]
dsa is now known as EzeQL
<rking>
Hrm. gem install unroller && ruby -runroller -e 1 # gives me a facets/methodspace (LoadError). I wonder what's up.
<rking>
I can fix that part by changing it to require facets/module/method_space, but then the next line fails (require 'facets/kernel/populate') which doesn't seem to be a valid facet thinger.
<rking>
I suppose I'll try using the debugger's tracing.
<rking>
But unroller really seemed to have some good facilities, e.g. a smartish list of Rails methods to skip tracing for.
Synthead has quit [Read error: Connection reset by peer]
JustinCampbell has quit [Remote host closed the connection]
<rking>
mdszy: Don't apologize for the interruption. Apologize for the golfing. >=\
<mdszy>
XD
<mdszy>
rking: I program for fun, and golf is fun for me!
<rking>
mdszy: You don't have to p() when you can assert_equals(), btw. =P
<mdszy>
rking: I know, but this testing framework doesn't print out values if it fails, and I needed to!
<rking>
(But mashing multiple concepts into one statement precludes that)
zodiac1111 has joined #ruby
<rking>
mdszy: THAT IS A FAIL FRAMEWORK.
<rking>
I can write a better framework in under 10 seconds.
<mdszy>
XD
<rking>
def assert_equals a, b; if a != b; puts "#{a.inspect} != #{b.inspect}" end end
<rking>
Took 20 seconds.
_br_ has joined #ruby
seanstickle has quit [Quit: Nihil sub sole novum]
<mdszy>
I like this framework, and I decided to screw around by writing a fun golfy thing
* rking
shruggles. That behavior is not something I'd consider tolerating.
<rking>
Might as well output, "Code's broke." and nothing else.
dv310p3r has joined #ruby
<rking>
RSpec coughs up all the info. Expected, Actual, plus the backtrace and a snippet of the test code.
<mdszy>
I don't want to use Rspec. I want to use this. It works fine for me. And I'm not crazy about a framework doing EVERYTHING for me.
<mdszy>
It's just fine if there's a minor caveat to a framework. It's not like I'm doing this and getting paid for it, or doing it with a bunch of other people where everyone has to agree on what to use or soemthing.
<rking>
mdszy: I'm curious what the framework does that you like?
<rking>
ryanf: Hrm. Even with facets 2.4.1 exactly it fails (though this time with a different error message).
<mdszy>
rking: It works. It's simple.
akem has joined #ruby
akem has joined #ruby
<mdszy>
it's Riot, by the way
ctwiz has joined #ruby
ctwiz has quit [Client Quit]
Horofox has quit [Quit: horofox]
dhruvasagar has quit [Read error: Connection reset by peer]
fumbe has quit [Quit: Leaving]
<mdszy>
rking: I just like doing things myself sometimes, and only when I need to. I almost never need my testing framework to print the values of what went wrong. When I do, I can just add it in myself.
dhruvasagar has joined #ruby
<rking>
mdszy: Actually does look cool, but I can't believe the asserts(:first).equals("cookies") stuff wouldn't show what .first's actual value was.
lkba has quit [Ping timeout: 264 seconds]
<mdszy>
rking: well, ask the programmer of the framework that. I don't know his reasoning. I just know that it works perfectly for me. And if you have a solution that works for you, more power to you.
dv310p3r has quit [Ping timeout: 246 seconds]
niklasb has quit [Read error: Operation timed out]
ryanf has quit [Ping timeout: 246 seconds]
itnomad has joined #ruby
<rking>
mdszy: Looking at the code, assert().equals should be calling: fail expected_message(expected).not(actual), which seems to pass the `expected` contents all the way into Message#method_missing where it gets inspected.
<mdszy>
rking: Okay?
<rking>
mdszy: I just ran its tests, and this passed: + asserts :fail with message when block expectation not met is equal to [:fail, "expected \"bar\", not \"foo\""]
<mdszy>
rking: Wow, I feel silly now. Turns out I was using this thing wrong the whole time.
<rking>
K. =)
keppy has joined #ruby
<mdszy>
rking: Well, thank you for helping me find that error!
<rking>
Np. =)
niklasb has joined #ruby
Horofox has joined #ruby
Guest83274 has quit [Ping timeout: 244 seconds]
Guest40367 has joined #ruby
Azure has joined #ruby
Azure is now known as Guest47146
Horofox has quit [Client Quit]
<mdszy>
also, is it bad that I use make for ruby stuff instead of rake? XD
c0rn_ has quit [Quit: Computer has gone to sleep.]
<ghanima>
is there a way an ruby if I want to search for a search value in a has and do something like hash.value?("string") it returns the key associated with just that value
mockra has joined #ruby
lkba has joined #ruby
rubots has left #ruby [#ruby]
Guest47146 has quit [Ping timeout: 248 seconds]
<banisterfiend>
ghanima: use find
Fezzler has joined #ruby
popl has quit [Quit: "If you understand what you're doing, you're not learning anything." ~ Anon]
Horofox has joined #ruby
justaguest has left #ruby [#ruby]
nazty has joined #ruby
choffstein has quit [Remote host closed the connection]
Progster has joined #ruby
ryanf has joined #ruby
RainbowDashh has joined #ruby
radic has quit [Disconnected by services]
radic_ has joined #ruby
radic_ is now known as radic
Whoop has quit [Read error: Connection reset by peer]
stefanp has joined #ruby
stefanp has quit [Changing host]
stefanp has joined #ruby
strnx has quit [Excess Flood]
stefanp_ has quit [Ping timeout: 265 seconds]
strnx has joined #ruby
rking has quit [Remote host closed the connection]
rking has joined #ruby
derekv has left #ruby [#ruby]
RainbowDashh has quit [Remote host closed the connection]
Fezzler has quit [Quit: Leaving]
RainbowDashh has joined #ruby
mockra has quit [Remote host closed the connection]
tamaska has quit [Quit: Heaven isn't a place, it's being with people who love you.]
manizzle has joined #ruby
BrokenCog has quit [Ping timeout: 246 seconds]
mdhopkins has joined #ruby
hunglin has quit [Quit: Leaving.]
zodiac1111 has quit [Quit: 离开]
mikeycgto has quit [Remote host closed the connection]
Azure|dc has joined #ruby
mockra has joined #ruby
jarred_ has joined #ruby
jarred has quit [Ping timeout: 240 seconds]
jarred_ is now known as jarred
mockra has quit [Remote host closed the connection]
Azure|dc is now known as Azure
rrradical has joined #ruby
daniellutz has joined #ruby
<rrradical>
I wrote and compiled an extension using rice. I'm on OSX, so I have a 'name.bundle' file. I try to run "require 'name'" from irb but it says it "no such file to load -- name".
wpaulson has joined #ruby
<mdszy>
rrradical: is in in the load path?
ryanf has quit [Quit: leaving]
<rrradical>
oh, it's in my current directory. I assumed it would check there
ananthakumaran has quit [Ping timeout: 244 seconds]
quest88 has quit [Quit: quest88]
nazty has quit [Quit: WeeChat 0.3.7]
Berglund has quit [Quit: Computer died.]
daniel_hinojosa has quit [Ping timeout: 248 seconds]
Juul has quit [Ping timeout: 252 seconds]
dhruvasagar has quit [Ping timeout: 255 seconds]
<krisfields>
quit
justsee is now known as justsee|away
krisfields has quit [Remote host closed the connection]
nazty has joined #ruby
tdubz_ has joined #ruby
Corey_ has joined #ruby
h4mz1d has quit [Ping timeout: 246 seconds]
justsee|away is now known as justsee
yxhuvud has joined #ruby
tdubz has quit [Ping timeout: 615 seconds]
Corey has quit [Ping timeout: 624 seconds]
pos1x has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
RainbowDashh has quit [Quit: SLEEP MODE. I NEED A MORE CREATIVE MESSAGE FOR MY DUMB LID CLOSING.]
joshcheek has joined #ruby
yoklov has quit [Quit: computer sleeping]
Corey_ is now known as Corey
td123 has quit [Read error: Operation timed out]
bglusman has joined #ruby
anothervenue has quit [Quit: WeeChat 0.3.7]
anothervenue has joined #ruby
RainbowDashh has joined #ruby
Eldariof-ru has quit []
khakimov has quit [Quit: Computer has gone to sleep.]
noyb has quit [Ping timeout: 250 seconds]
bglusman has quit [Ping timeout: 245 seconds]
tagrudev has joined #ruby
chico_chicote has quit [Ping timeout: 264 seconds]
jsilver has quit [Remote host closed the connection]
perry is now known as perryh_away
jimeh3 has joined #ruby
nazty has quit [Quit: WeeChat 0.3.7]
Ontolog has joined #ruby
perryh_away is now known as perryh
davidpk has quit [Quit: Computer has gone to sleep.]
davidpk has joined #ruby
umttumt has quit [Remote host closed the connection]
bradhe has joined #ruby
williamcotton_ has quit [Quit: williamcotton_]
apok has quit [Quit: apok]
rakm has quit [Ping timeout: 252 seconds]
timonv has quit [Remote host closed the connection]
RainbowDashh has quit [Remote host closed the connection]
Targen has quit [Ping timeout: 255 seconds]
jprovazn_away is now known as jprovazn
rakm has joined #ruby
wargasm has joined #ruby
justsee is now known as justsee|away
jimeh3 has quit [Quit: bye]
g_rotbart has joined #ruby
apeiros_ has joined #ruby
fantazo has quit [Remote host closed the connection]
workmad3 has joined #ruby
justsee|away is now known as justsee
digitalcakestudi has quit [Ping timeout: 245 seconds]
Rochefort has joined #ruby
<banisterfiend`>
talk people
<banisterfiend`>
this silence is deafening
tonini has joined #ruby
_md has joined #ruby
popl has quit [Quit: "If you understand what you're doing, you're not learning anything." ~ Anon]
stefanp has quit [Quit: Leaving...]
stefanp has joined #ruby
stefanp has quit [Changing host]
stefanp has joined #ruby
Morkel has joined #ruby
rekenerd has joined #ruby
savage- has quit [Remote host closed the connection]
anothervenue has quit [Quit: WeeChat 0.3.7]
rekenerd has quit [Quit: Leaving]
TPFC-SYSTEM has joined #ruby
rekenerd has joined #ruby
Ionic` has quit [Ping timeout: 245 seconds]
zommi has quit [Remote host closed the connection]
elliottcable is now known as elliottcable^
Berglund has joined #ruby
Natch has joined #ruby
workmad3 has quit [Ping timeout: 265 seconds]
ryanf has joined #ruby
elhu has joined #ruby
rekenerd has quit [Quit: Leaving]
elhu has quit [Client Quit]
rekenerd has joined #ruby
elliottcable^ is now known as elliottcable
schaerli has joined #ruby
rrradical has quit [Read error: Connection reset by peer]
RudyValencia has quit [Read error: Connection reset by peer]
Berglund has quit [Quit: Computer died.]
bigkevmcd has joined #ruby
RudyValencia has joined #ruby
zz_chrismcg is now known as chrismcg
bbttxu has quit [Read error: Connection reset by peer]
bbttxu has joined #ruby
chson has quit [Read error: Connection reset by peer]
Seus has quit [Read error: Connection reset by peer]
AlbireoX` has quit [Read error: Connection reset by peer]
chson has joined #ruby
elhu has joined #ruby
Seus has joined #ruby
hoelzro|away is now known as hoelzro
AlbireoX` has joined #ruby
kstephens has quit [Ping timeout: 264 seconds]
devdazed has quit [Ping timeout: 264 seconds]
<bradhe>
I'm writing a native extension ruby against MRI. What's the best way to keep a native pointer with a class? i.e. is there a way to wrap a pointer in a VALUE?
fumbe has quit [Ping timeout: 264 seconds]
<hoelzro>
bradhe: I think that the extension README has an example for that
<bradhe>
hmm I didn't see anything, but I'll take a look again
igotnolegs has quit [Quit: Computer has gone to sleep.]
savage- has joined #ruby
xorspark has joined #ruby
keymone has joined #ruby
Eldariof-ru has joined #ruby
graspee has joined #ruby
<bradhe>
crazy
davidpk has quit [Quit: Computer has gone to sleep.]
d-snp has quit [Ping timeout: 245 seconds]
itz has quit [Ping timeout: 245 seconds]
itz has joined #ruby
d-snp has joined #ruby
wobr has joined #ruby
dhruvasagar has joined #ruby
dpwright has joined #ruby
Whoop has joined #ruby
Whoop has joined #ruby
Whoop has quit [Changing host]
<dpwright>
Hello
blacktulip has joined #ruby
<dpwright>
I'm looking for a way to send a message / call a callback in a running ruby script from outside (from another ruby script, or the command line, or whatever)
opus has quit []
<dpwright>
I wonder if anyone could point me in the direction of the right API/documentation/search terms to find out how best to do that
<apeiros_>
dpwright: that depends entirely on your definition of 'best'
<apeiros_>
see TCPServer, Drb, Kernel#trap
<apeiros_>
alternatively some queue, like zeromq
<dpwright>
apeiros_, thanks, I'll take a look
<dpwright>
drb looks like a possibility
[Neurotic] has quit [Quit: Leaving]
<dpwright>
this is all on the same machine so setting up a socket and everything seemed like it might be overkill, but..
bradhe has quit [Remote host closed the connection]
<apeiros_>
well, if all you have to do is "ping" the script, then sending a signal (Kernel#trap) would probably be the most lightweight.
freeayu has joined #ruby
<apeiros_>
but as I said - depends on your definition of "best" (and "best" is a horrible requirement description)
mdhopkins has quit [Quit: mdhopkins]
<dpwright>
heh
<dpwright>
yeah, and possibly misleading in this case -- it doesn't actually need to be that good :p
<dpwright>
it's a little tool for my own use, so I'd favour simplicity over robustness
<dpwright>
I do need to pass a string in, though, so I don't think Kernel#trap will do
rekenerd has quit [Quit: Leaving]
schovi has joined #ruby
abra has quit [Ping timeout: 246 seconds]
abra has joined #ruby
subbyyy has quit [Quit: Leaving.]
baphled has quit [Ping timeout: 240 seconds]
<apeiros_>
dpwright: well, you can write to a file, ping the process and the process reads the file. and there we're right back at 'best' :-p
bosphorus has joined #ruby
_md has quit [Quit: Leaving...]
bradhe has joined #ruby
<dpwright>
apeiros_, heh, the thought had occurred ;-)
robotmay has joined #ruby
<dpwright>
thanks for the pointers, I'll take a look at them and decide which is best - er, I mean, most appropriate
jsilver has joined #ruby
jarred has quit [Quit: jarred]
AlbireoX` has quit [Remote host closed the connection]
timonv has joined #ruby
adamkittelson has quit [Remote host closed the connection]
ryanf has quit [Quit: leaving]
jimeh has joined #ruby
gilead has joined #ruby
arturaz has joined #ruby
berkes has joined #ruby
roolo has joined #ruby
etehtsea has joined #ruby
Ontolog has quit [Ping timeout: 245 seconds]
thesis has joined #ruby
thesis has quit [Client Quit]
cherrypeel has quit [Quit: Leaving]
S1kx has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
S1kx has joined #ruby
roolo has quit [Quit: Leaving...]
dekroning has joined #ruby
schickung has joined #ruby
undersc0re has quit [Quit: *poof*]
yannis has joined #ruby
yannis has quit [Client Quit]
Ethan has joined #ruby
perryh is now known as perryh_away
robozahn2 has quit [Ping timeout: 265 seconds]
robozahn1 has quit [Ping timeout: 265 seconds]
Criztian has joined #ruby
d3vic3 has joined #ruby
Guest16542 has joined #ruby
joshcheek has quit [Quit: joshcheek]
zommi has joined #ruby
marlun has joined #ruby
savage- has quit [Remote host closed the connection]
roolo has joined #ruby
schickung has quit [Quit: schickung]
<marlun>
How do I update a specific ruby gem? If I for example have installed vimgolf which is a ruby gem, how do I make sure it's updated to the latest version?
ephemerian has joined #ruby
gtuckerkellogg has joined #ruby
yonggu_ has quit [Remote host closed the connection]
Ddesign has joined #ruby
arturaz has quit [Remote host closed the connection]
arturaz has joined #ruby
tdubz_ is now known as thomas
ABK has joined #ruby
bier|tp has quit [Read error: Operation timed out]
bier has quit [Ping timeout: 264 seconds]
Criztian has quit [Ping timeout: 245 seconds]
Ddesign has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0.1/20120614114901]]
adeponte has quit [Remote host closed the connection]
berserkr has joined #ruby
freeayu has quit [Ping timeout: 255 seconds]
mucker has quit [Ping timeout: 252 seconds]
mmokrysz has joined #ruby
mmokrysz has left #ruby [#ruby]
<thomasfedb>
marienz, gem update vimgolf
maasha has joined #ruby
<marlun>
thomasfedb: thanks, thought it would be that easy but couldn't find any clear info about it.
cezar has joined #ruby
<thomasfedb>
marlun, it's in the `gem help commands` output
justsee is now known as justsee|away
dankest has quit [Quit: Leaving...]
cezar has quit [Client Quit]
freeayu has joined #ruby
<maasha>
why is this not upcasing the middle letters in s?: s = "foobar"; s[2 .. 3].upcase!
<fowl>
maahes, s[2..3] is a new string
robozahn has joined #ruby
<maasha>
so how?
<fowl>
well
<fowl>
you have this new string that is "ob" then you upcase! it, making it "OB"
<fowl>
meanwhile, s is the same because you didnt alter it, you just copied from it
<bnagy>
not really sure NZ counts as the 'far east'
<banisterfiend`>
bnagy: yeah lol we're the eastern-most country in tth eworld yet we claim we're western
<oddmunds>
what?
<oddmunds>
there are countries farther east, surely?
<oddmunds>
that polynesian stuff?
<oddmunds>
all those tiny island countries
<bnagy>
maptime!
<banisterfiend`>
oddmunds: no, we're further east
<banisterfiend`>
i think there's a couple of really, really tiny little countries further east
<banisterfiend`>
but they're basically protectorates of NZ anyway iirc
<oddmunds>
oh
<bnagy>
which is pertty embarassing, if you ask me
<csmrfx>
They going to move to your place once they sing, Tuvalu, Fidji, what have you
<banisterfiend`>
bnagy: at least our PM isn't female and ginger
<bnagy>
:<
<bnagy>
every time (which is very rarely) I see her on int'l news I cringe
<bnagy>
oh well
<csmrfx>
PMs PMS
<kalleth>
banisterfiend`: depends where you draw the crossover line, or which projection you use ;)
nari has quit [Ping timeout: 245 seconds]
<oddmunds>
nz stuck a bit further out into the pacific void than i imagined
<banisterfiend`>
she nasty she nasty
<bnagy>
oddmunds: the phrase 'middle of fucking nowhere' would be well applied
k_89 has quit [Ping timeout: 265 seconds]
<fowl>
lol, protectorates of NZ
<fowl>
imagine being protected by hobbits
bier has quit [Ping timeout: 240 seconds]
<bnagy>
the uruk hai in the films were kiwis too
<chiel>
bnagy: yeah, NZ isn't usually what you call the far east
<chiel>
but in the scope of the world... :)
<bnagy>
probably with less makeup :D
<banisterfiend`>
bnagy: yeah, maoris
bier|tp has quit [Ping timeout: 244 seconds]
<chiel>
but yeah, would love to visit australia and new zealand at some point
<bnagy>
chiel: where do you fancy? I recommend thailand.
vectorshelve has joined #ruby
<fowl>
mmmmladyboyz
<chiel>
bnagy: yeah been to thailand. :)
<chiel>
my gf is half thai
<vectorshelve>
hemanth: long time bhai
<chiel>
thailand is splendid, but i was sweating my ass off for about 3 weeks straight
<bnagy>
china too authoritarian, vietnam can be pushy, cambodia too much chance of getting shot, laos too poor, burma too much junta
<banisterfiend`>
chiel: woah, half-thai, is she a looker?
<vectorshelve>
can anyone explain what exactly is a cucumber test harness ? I am new to cucumber.. or point me to any doc where it's explained well... thanks
<bnagy>
chiel: lots of the region is pretty fricking hot a lot of the time
<chiel>
banisterfiend`: 'course she is! :p
<bnagy>
maybe try korea or japan then
lxsameer has quit [Ping timeout: 240 seconds]
<chiel>
bnagy: yeah, we went just before monsoon season, so it was huuuumid as hell
<bnagy>
:> I'm in singapore at the moment
<bnagy>
mmm humid
eurek has joined #ruby
<chiel>
ahh nice, never been there
<chiel>
i like moving about
<chiel>
worked in holland, then sweden, now uk
__class__ has quit [Read error: Connection reset by peer]
atmosx has joined #ruby
<bnagy>
singapore is like a cross between asia and switzerland
<chiel>
all pretty close together so far, but i want to move all over
<chiel>
hmm never been to switzerland :p
Rochefort has joined #ruby
hbs_ has joined #ruby
bier has joined #ruby
bier|tp has joined #ruby
__class__ has joined #ruby
<shevy>
korea was damn cold when I was there
<shevy>
was a shock to move from malaysia to korea in this regard
lxsameer has joined #ruby
hbs_ has quit [Client Quit]
<yy>
i'm korean
<ramblex>
is it cold?
hbs_ has joined #ruby
<yy>
it can be
<shevy>
:)
<yy>
weather is probably similar to chicago or something
<yy>
it's a peninsula to there's the water effect, and almos the same latitude
eurek has quit [Quit: Computer has gone to sleep.]
lxsameer has quit [Ping timeout: 244 seconds]
charnel has joined #ruby
<charnel>
I am using rvm and it has one rake gem installed in bind directory however I want to use an older version of rake in my application how canI disable that gem and use older version in the application ?
<ramblex>
charnel: could you use a gemset for your application?
<charnel>
I am already using but when I gem list --local I see that rake 0.9.2.2 is installed when I gem uninstall rake I get rake is not installed
<charnel>
I just did a recursive search and found it in the ~/.rvm directory which I want to remove right now without affecting any other application
vlad_starkov has quit [Remote host closed the connection]
g_rotbart has quit [Remote host closed the connection]
<atmosx>
yy: seriously you're Korean?
arkiver has joined #ruby
<atmosx>
shevy: you've been to Malaysia and Korea? I envy you :-(
* atmosx
has been once to China as long as Asia is a concern… Turkey is not real Asia...
shavus has joined #ruby
BRMatt has quit [Ping timeout: 248 seconds]
lxsameer has joined #ruby
BRMatt has joined #ruby
hbs_ has quit [Quit: hbs_]
hbs_ has joined #ruby
nilg has quit [Read error: Connection reset by peer]
nilg has joined #ruby
cousine_ has quit [Remote host closed the connection]
hbs_ has left #ruby [#ruby]
tk___ has joined #ruby
shavus has quit []
shavus has joined #ruby
shavus has quit [Client Quit]
shavus has joined #ruby
TheFuzzball has quit [Ping timeout: 246 seconds]
joshwines has quit [Ping timeout: 244 seconds]
neku has joined #ruby
zbo09 has joined #ruby
gtuckerkellogg has quit [Quit: Computer has gone to sleep.]
yeggeps has joined #ruby
<zbo09>
is there anyone here who could be so kind as to tranlate this to Ruby http://oeis.org/A193460 been trying for the last 3 days and not really getting anywhere
<zbo09>
thanks
beilabs has quit [Ping timeout: 265 seconds]
<apeiros_>
zbo09: you have higher chances if you show your approaches
<shevy>
it's very cool. it is as if something is constantly happening there all the time
<regedarek>
hello, could you help me with one rake task, which has to set up usernames for all users from email(username@some_text.com), i have problem with part which checks uniqness of username -> https://gist.github.com/3067635 this of course not works, maybe you can give me some advice
<shevy>
atmosx: I think it has a lot to do with the "design" of the town. they dont have a lot of space, there is the ocean, a bit fland land, and then mountains/hills around it
<atmosx>
I see
<atmosx>
sounds really awesome
arkiver has quit [Ping timeout: 264 seconds]
<shevy>
yeah!
<shevy>
I was in Shanghai that same year too and the whole town felt like the chinese from beijing trying to clone Hong Kong there
<shevy>
but it felt totally artifical and much more like "eh, we are awesome, we can do the same on our own too"
<ramblex>
regedarek: in what way does it 'not work'?
<shevy>
but they could not. shanghai sucked compared to hong kong
mpereira has quit [Quit: leaving]
<shevy>
except for that high tower... that was quite nice
charnel has quit [Quit: Leaving]
<shevy>
atmosx: I am now coding on the new version of the build tools in ruby. with some luck today I'll be able to compile in a linux-from-scratch like way from zero to a full linux build
akem has joined #ruby
thatRD has quit [Ping timeout: 248 seconds]
<regedarek>
ramblex: hmm it has problem with this each_with_index part - one of username field are still empty and should be ex: 2testusername
thatRD has joined #ruby
<atmosx>
shevy: good :-)
<atmosx>
Gonna grab something to eat.
zommi has quit [Ping timeout: 252 seconds]
<workmad3>
regedarek: it would help if you'd paid any attention to the suggestions I gave you the other day
<atmosx>
I think my 'fail2ban.log' script is ready too. I need to re-read the code and optimize some lines in term of 'lines of code' and write the exec function using optparse options
<shevy>
the default standard is for --prefix to treat that target as the base level hierarchy
<shevy>
ohhh
<shevy>
ruby has no include/ dir actually :\
<shevy>
only bin/ lib/ and share/ ... odd
<workmad3>
shevy: mine has an include dir
larissa has joined #ruby
<wlievens>
well, any idea on how I fix this?
<shevy>
workmad3: how??? I compiled into a standalone prefix ...
<wlievens>
something caused a few files to be removed - it's a mystery to me as to why that happened
<workmad3>
shevy: I used ruby-build...
<shevy>
workmad3: what is in that include/ dir?
<workmad3>
shevy: the ruby includes :P
<workmad3>
shevy: ruby-1.9.1/ruby.h for starters
<shevy>
hmmm
<workmad3>
also, looking at that, passenger is using mkmf.rb to configure the makefile, so it's that which is giving the header location as /usr/lib/ruby...
<shevy>
really really odd
<shevy>
why does workmad3 have an include/ dir and I don't ...
<shevy>
oh sorry
<shevy>
my fault
<workmad3>
wlievens: it sounds like your source install has gotten a bit messed up... in all fairness, the best way to sort would be to recompile, I suspect
<wlievens>
I did that
<wlievens>
didn't help, I get the same error
<shevy>
I was looking at the wrong target ... now I can see it: include/ruby-1.9.1/ruby/ruby.h
<workmad3>
shevy: heh :)
<wlievens>
by "I did that" I mean I did make clean make install
<shevy>
wlievens: well we now know that there is a .h header file somewhere on your system too right? :D
<shevy>
I was doing the brute force method ... find / -name ruby.h
lkba has joined #ruby
mongag has joined #ruby
<workmad3>
shevy: and it found a match in the unarchived source before in the installed ruby? :)
<wlievens>
is it just ruby.h
<wlievens>
or will I be doing this for a couple dozen files
ZachBeta has quit [Quit: Computer has gone to sleep.]
noone has quit [Quit: Here we are, going far to save all that we love. - If we give all we've got, we will make it through. - Here we are, like a star shining bright on your world. - Today, make evil go away.]
mongag has quit [Quit: Leaving]
noone has joined #ruby
mdhopkins has joined #ruby
wangr has joined #ruby
stewart_ has quit [Read error: Connection reset by peer]
<shevy>
workmad3: hmm no I removed the unarchived location already. I think I compiled ruby like 2 months ago
k_89 has joined #ruby
<workmad3>
shevy: you were just being dumb then? :P
fflush has joined #ruby
<Vanitay>
part
Vanitay has left #ruby [#ruby]
mdhopkins has quit [Ping timeout: 245 seconds]
Doc_X has quit [Quit: Leaving.]
Doc_X has joined #ruby
andrewpthorp has joined #ruby
<fflush>
bonjour
<wlievens>
shevy: so you have no idea how to fix my problem?
zodiac1111 has quit [Ping timeout: 265 seconds]
Criztian has joined #ruby
stewart_ has joined #ruby
<wlievens>
can anyone please do ls -l /usr/lib/ruby/ for me and show me the contents?
TheRealPygo is now known as pygospa
Criztian has quit [Remote host closed the connection]
noone has quit [Quit: Here we are, going far to save all that we love. - If we give all we've got, we will make it through. - Here we are, like a star shining bright on your world. - Today, make evil go away.]
<shevy>
sounds as if the wrong ruby version is being picked up
lockweel has joined #ruby
<wlievens>
yes
<csmrfx>
which ruby?
<wlievens>
hmm to be exact: ruby 1.9.3p194 (2012-04-20) [x86_64-linux]
<csmrfx>
also, which os?
<wlievens>
CentOS
<shevy>
ok I just checked... I have installed passenger, but I do not have a passenger_native_support.so file at all
bier has quit [Remote host closed the connection]
<wlievens>
no because it seems to compile that on first use
<wlievens>
there are rpms for that so file
<wlievens>
but of course old versions
<csmrfx>
say "which ruby"
<wlievens>
which is why I built ruby from source
<wlievens>
which ruby /usr/local/bin/ruby
<shevy>
aha
ananthakumaran has quit [Quit: Leaving.]
<shevy>
I think /usr has higher precedence than /usr/local usually
eurek has quit [Quit: Computer has gone to sleep.]
<wlievens>
uh wow
<wlievens>
something weird I just noticed
<csmrfx>
something weird you noticed have?
<wlievens>
ruby -version ruby 1.9.3p194 (2012-04-20) [x86_64-linux] -e:1:in `<main>': undefined local variable or method `rsion' for main:Object (NameError)
<shevy>
yoda!
<wlievens>
that's not an error I expect there :)
<shevy>
that is an odd error
<wlievens>
no wait
<wlievens>
ruby --version
<wlievens>
two dashes - IGNORE MY STUPID BRAIN
drizz has quit [Remote host closed the connection]
<hoelzro>
it's parsed as ruby -v -e rsion
<shevy>
:)
<wlievens>
yeah
jason^ has quit [Ping timeout: 248 seconds]
<wlievens>
okay ... that aside
joshcheek has joined #ruby
<shevy>
hmm wlievens
<csmrfx>
ruby path confusion is.
jason^ has joined #ruby
<shevy>
what if you add /usr/local/lib to /etc/ld.so.conf on first line and also add /usr/local to $PATH as first entry
<wlievens>
ugh
<wlievens>
this is ODD
<wlievens>
VERY
<wlievens>
look:
<shevy>
ODD VERY THIS IS
<wlievens>
# ll /usr/bin/ruby --version ls (GNU coreutils) 5.97
<shevy>
fix must you problem soon
<shevy>
that should be your old ruby right
<wlievens>
it seems /usr/bin/ruby is a copy (not a symlink) of ls
joshcheek has quit [Client Quit]
<shevy>
because your new one is at /usr/local/bin/ruby
<wlievens>
is that even remotely normal lol
nyuszika7h has joined #ruby
<shevy>
a shebang entry like this?
<csmrfx>
have you told bash where ruby is?
<shevy>
never saw such a shebang entry before
<wlievens>
okay that was a typo again my bad, sigh
<shevy>
oh
<shevy>
hehehe
<wlievens>
okay
<wlievens>
my /usr/bin/ruby = ruby 1.8.7
<wlievens>
is that the culprit?
<shevy>
yeah
<shevy>
I think so
<shevy>
it also has no include/ directory
<wlievens>
I only need my 1.9.3 or whatever version - the latest
<shevy>
whereas 1.9.x has
<wlievens>
how do I remove it
<shevy>
as said try to change $PATH and perhaps also ld.so.conf then run ldconfig after you changed
<wlievens>
it is possible this one was installed with yum whereas my 1.9.3 was installed from source
<shevy>
rm /usr/bin/ruby
<shevy>
rm /usr/bin/irb
<shevy>
rm /usr/lib/ruby
<shevy>
but
<shevy>
you could just move it
<shevy>
or copy it
<wlievens>
first one removed, the others didn't exist
<shevy>
wlievens: RVM compiles ruby into a directory other than /usr prefix
<shevy>
uh?
<shevy>
your ruby came without irb?
<wlievens>
apparently ... no idea
<shevy>
This. Is. Why. I. Hate. RPM and the other crap.
<wlievens>
shouldnt I try to remove it with yum?
<wlievens>
in case it's there?
<shevy>
dunno
bier has joined #ruby
<wlievens>
ruby.x86_64 1.8.7.352-5.el5 installed
<shevy>
I dont use yum apt or any other of that shit. always from source, until I die.
<shevy>
yeah. hard to break out of that prison.
<wlievens>
I'm removing it
JustinCampbell has quit [Remote host closed the connection]
ken_barber has joined #ruby
<wlievens>
okay different errors now, yay
<shevy>
sounds like slight progress still
<wlievens>
Could not start the spawn server: /usr/bin/ruby: No such file or directory
<shevy>
well
<wlievens>
yes I was not being ironic
<shevy>
ln -s /usr/local/bin/ruby /usr/bin/ruby
<wlievens>
yeah
<shevy>
but btw
<shevy>
you could compile with --prefix=/usr
<shevy>
if you dont care about the other ruby anyway
<wlievens>
I just need one, the latest, built from src
<shevy>
other ways could be to ask yum to stop being an idiot and give you the latest, full ruby version :D
<shevy>
yeah
<csmrfx>
if you installed it with a package manager, remove it with pckmgr too
Lachryma has quit [Ping timeout: 248 seconds]
fabrice31 has joined #ruby
<wlievens>
csmrfx: I installed it with yum (the old one) and removed it thus with yum erase
<shevy>
for ruby it should be very simply. only /usr/lib/ruby and the few binaries... like /usr/bin/{ruby,irb,ri,rdoc} ... dunno if I forgot one here. and perhaps /usr/include/ruby too
<shevy>
cool \o/
brucebot has joined #ruby
geekbri has joined #ruby
<wlievens>
shevy: can I just do make install again then?
<wlievens>
with that prefix
joast has quit [Quit: Leaving.]
<wlievens>
or do I have to clean first
<shevy>
I am not sure
<shevy>
I think there is some way...
<shevy>
make PREFIX=/lala/blabla; make install
<shevy>
or somethingl ike that
<shevy>
but
eurek has joined #ruby
brucebot has quit [Remote host closed the connection]
<shevy>
I usually do make clean, then compile again with a new prefix :P
<wlievens>
okay
<wlievens>
could you spell out the exact make instruction just to be sure I dont screw up?
<wlievens>
(building takes a while)
<shevy>
for default ruby? I just use "make" then "make install", after configure... lemme find what configure switch I use
<m4rtijn>
wlievens: for example, you can have unlimited ruby versions, and set the ruby version + gems for each application
<slainer68>
hi
<csmrfx>
rvm will be borked as well if you do not pay attention to bashrc / env paths
<wlievens>
yeah I get the advantage but I'm not sure I need it
<csmrfx>
altho rvm does help managing that
drizz has joined #ruby
tommyvyo has joined #ruby
<m4rtijn>
wlievens: it might be a bit overkill at first.. but i do not want to go without anymore
<slainer68>
i would like to rescue an exception, but just to do some logging, i would like the exception to eventually raise like there was no rescue block. is it possible to reraise the exception inside a rescue block ?
<wlievens>
if I'm no longer using any ruby 1.8, is it safe to just remove /usr/lib64/ruby/gems/1.8/ ?
joast has joined #ruby
<shevy>
wlievens: dont worry too much, I dont use RVM myself
<shevy>
wlievens: depends on the prefix used
<shevy>
that path means it used /usr prefix
fflush has joined #ruby
<wlievens>
hmm I rebuilt with your prefix instruction
<wlievens>
but
<wlievens>
# which ruby /usr/local/bin/ruby
<shevy>
whereas your earlier one, must have been in /usr/local/lib64 etc...
twock has joined #ruby
<shevy>
well you still have the old one at /usr/local/bin/ruby right?
<hoelzro>
that gist demonstrates which is called when
greasegum has quit [Client Quit]
<hoelzro>
personally, I think the distinction is silly
bier has quit [Remote host closed the connection]
hatoishi has joined #ruby
greasegum has joined #ruby
bier has joined #ruby
<apeiros_>
banisterfiend`: alias?
<apeiros_>
the one occasion I actually approve of using alias…
<banisterfiend`>
yeah i could, nice idea
<wlievens>
shevy: it all works now btw, so thank you very much
<shevy>
cool
staunch has joined #ruby
<shevy>
wlievens: and you even avoided RVM! \o/
itnomad has joined #ruby
<shevy>
I will like RVM as soon as you can build a whole distribution with it :P
mockra has joined #ruby
<apeiros_>
hoelzro: shouldn't call it Test :-p
hatoishi has quit [Client Quit]
<m4rtijn>
:p
<staunch>
hey guys i want to learn ruby, and am in ruby koans with a pragmatic book as a reference which seems to be working, i was wondering if anyone has any advise. I was rethinking of digging into a micro framework next and building a baby app, before digging into rails, which framework do u think would be best as a light weight rails alternative with the goal of getting prepped fror rails :)
<apeiros_>
hoelzro: hmmm… this worries me…
<hoelzro>
apeiros_: even just for a one-off demo? =P
<staunch>
specifically sinatra mere or camping
<hoelzro>
messed up, isn't it?
<apeiros_>
hoelzro: yepp, even then. I had to modify it as for some reason Test (from Test::Unit I guess) was already loaded…
<hoelzro>
ah
<hoelzro>
noted =)
digitalcakestudi has joined #ruby
<apeiros_>
hoelzro: yeah, it is. but auto-splat on its own is already messed up IMO.
<hoelzro>
agreed
<apeiros_>
back to work!
indstry has quit [Remote host closed the connection]
<apeiros_>
finding duplicates in your database! so much fun!
<apeiros_>
(not)
<apeiros_>
at least it's a challenge…
arkiver has quit [Quit: Leaving]
<m4rtijn>
staunch: i wouldnt.. any MVC framework would do,. but rails dont need prepping..
<m4rtijn>
just if you feel 'safe' in ruby, start with rails
<m4rtijn>
you can even start with rails.. but its more fun if you know ruby a bit better
<m4rtijn>
in my experience
minijupe has joined #ruby
emmanuelux has joined #ruby
bigkevmcd has quit [Ping timeout: 246 seconds]
k_89 has quit [Ping timeout: 246 seconds]
<zaargy>
staunch: sinatra then rails
<zaargy>
rails has too much magic to begin with imho
<zaargy>
unless you're coming from another framework in another language
<m4rtijn>
.. could be.. forgot about sinatra
stewart_ has quit [Read error: Connection reset by peer]
<staunch>
m4rtjin: thanks for the tip, i had a lot of people tell me on here before though that a micro was a good idea,, guess everyone has a different learning style, i started a rails book, and it was fun but i did feel like i was learning a lot of magic spells and i just wanted to keep on programming, since i am just trying to get ruby down
SeySayux_ is now known as SeySayux
neku is now known as neku|away
<staunch>
yea i have no framework experience
<staunch>
sinatra is not mvc, though....
mockra has quit [Remote host closed the connection]
shavus has quit []
<m4rtijn>
i came from java to ruby.. which was okay., then just dove into rails..
<m4rtijn>
no problems so far :)
<staunch>
i am also admittedly a mediocre programmer and like little baby steps
<kaisukaru__>
Can I use ruby-prof without chaning existing codebase, for example for rspec tests?
KevinSjoberg has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dv310p3r has quit [Ping timeout: 264 seconds]
greasegum has joined #ruby
<objlinks>
thanks Mon_Ouie and apeiros
<aroman>
hi, I'm a python guy. I want to learn ruby because i'm finding myself liking what I initially liked about python (really simple mental models, simplistic syntax, very "readable" code) not as important to me -- Python was my first language some years ago, and since then I've worked with a number of other languages and I find myself wanting a more expressive and "programmer-friendly" language. I have this odd conception that ruby is less performant than pyt
<aroman>
in traditional language (read: number crunching) benchmarks. Can anyone comment on this? Is there any truth to this in 2012?
<banisterfiend`>
aroman: i dont think it's true anymore, there was a recent benchmark that shows ruby was actually faster than python iirc
<banisterfiend`>
aroman: also, the JRuby implementation (ruby on the JVM) is very fast, and will get ridiculously fast by the time of the next release with InvokeDynamic technology
bigkevmcd has quit [Ping timeout: 265 seconds]
<aroman>
banisterfiend`: ah. but you do recall a historical notion that python was usually faster than ruby?
<aroman>
(i.e i wasn't just recalling bs/anti-ruby sentiment)
<banisterfiend`>
aroman: of course, it's true of ruby's 1.8 branch. But 1.8 was replaced by 1.9 about 3-4 years ago, and 1.9 was a complete rewrite, and it much much faster than 1.8
<shevy>
aroman: it is no longer really true. I think python still is a bit faster than ruby 1.9.3 but the difference is really marginal at best, if at all
<aroman>
banisterfiend`: is JRuby fully compatible with the reference implementation (matz's C implementation, iirc)
<aroman>
*?
<shevy>
I dont think it is
<banisterfiend`>
aroman: Yes, pretty much.
<shevy>
it treats threads differently for instance
Seus has quit [Quit: Seus]
<aroman>
interesting
bbttxu has quit [Quit: bbttxu]
andrewhl has quit [Remote host closed the connection]
<banisterfiend`>
aroman: what he means by that is that JRuby doesn't have a GIL
ghanima has quit [Quit: Leaving.]
<banisterfiend`>
aroman: so threading is better in JRuby
jprovazn is now known as jprovazn_away
<aroman>
so i guess it's like the canonical python (in C) vs PyPy situation on the other side of the fence
<aroman>
how does it work without a GIL?
<banisterfiend`>
aroman: more like python vs Jython
<banisterfiend`>
aroman: though afaik Jython is dead, whereas JRuby is very much alive, with a heap of active development
<banisterfiend`>
aroman: the ruby equivalent of pypy is rubinius
<aroman>
ah. what's the story with that then?
<shevy>
it's pretty much dead after evans left ;)
<banisterfiend`>
aroman: Rubinius is great, but not quite ready for the big time yet :)
pdelgallego has quit [Read error: Connection reset by peer]
<banisterfiend`>
shevy: that's not true..
pdelgallego has joined #ruby
quest88 has joined #ruby
<banisterfiend`>
shevy: i thought it was going to be true, but it's not
<banisterfiend`>
Rubinius is not dead at all :)
_andyl has quit [Ping timeout: 265 seconds]
<banisterfiend`>
check out the commits on github, it's still developing at a fast rate
<rking>
What is the goal of Rubinius? I mean, I like the purity and stuff, but what is a good use of it?
<aroman>
gotcha. so i guess JRuby is what people have their bets on. are any notable companies using it in production?
<shevy>
banister is a hopeful man. but I have seen how projects change... like when _why disappeared, today's shoes just isn't shoes anymore
<shevy>
pry would be different if someone else would take over :(
<rking>
Wait no I'm mixing them up. Ignore me.
<shevy>
aroman: there is even an editor for jruby in ruby
<rking>
I was wondering about the one that implements as much as possible in Ruby.
<banisterfiend`>
aroman: also, the C implementation of Ruby (MRI) is still very good, and is developing quickly too. The ruby implementation ecosystem is actually really healthy. Have you heard of RubyMotion ?
<aroman>
shevy: yeah that's kind of why i'm shying away from python
strnx has quit [Excess Flood]
<aroman>
that, and i'm in love with cofeescript's syntax and I understand that it's largely inspired by ruby
<aroman>
banisterfiend`: I have, looked like very cool stuff
<banisterfiend`>
aroman: Yeah.
strnx has joined #ruby
<banisterfiend`>
aroman: also, github was written by rubyists and is primarily written in ruby :) lots of cool stuff in the ruby world
pk1001100011 has joined #ruby
<banisterfiend`>
aroman: there's al Ruboto for android, which is built on JRuby
<aroman>
yep, twitter too. definitely lots of prolific ruby hackers out there ;)
<banisterfiend`>
also*
<banisterfiend`>
Rubuto is kind of like rubymotion
<banisterfiend`>
but not with the same degree of polish, yet
<aroman>
so then for someone like me who has been programming for a number of years, (with a lot of python and JS experience), how would you folks recommend I learn ruby? I'm looking for a concise explanation of ruby that skips the "how to program" stuff.
pdelgallego has quit [Read error: Connection reset by peer]
pdelgallego has joined #ruby
<banisterfiend`>
aroman: get "the ruby programming language" by o'reilly
bbttxu has joined #ruby
<banisterfiend`>
aroman: it's very concise, and will get you started quickly
<banisterfiend`>
aroman: after that, to learn more about idiomatic ruby get: "eloquent ruby"
schaerli has quit [Remote host closed the connection]
<banisterfiend`>
aroman: after that, consider getting "design patterns in ruby" and "refactoring: ruby edition"
bigkevmcd has joined #ruby
<shevy>
aroman: work through "learn to program - by chris pine". dont mind the title, it has ruby examples. when you understood them all, you know the basics instantly
davidcelis has quit [Ping timeout: 252 seconds]
<shevy>
after that, you must start your own first project as quickly as possible
<shevy>
for me it was an IRC bot in ruby
<banisterfiend`>
shevy: 'learn to program' is for people who dont know any programming, he already knows python and JS.
freeayu has quit [Quit: 离开]
<shevy>
he'll miss great info if he skips it :(
MatthewGA has joined #ruby
<banisterfiend`>
what, like the concept of an array? :P
<aroman>
yeah and java and vala and stuff. i'm definitely no stranger to programming, esp. in dynamic interpreted languages like ruby
<shevy>
yeah!
itnomad has quit [Quit: Leaving]
<banisterfiend`>
it's too basic, even my brother found it too basic and he's never programmed before
<aroman>
guise wat is OOP and where do i download it </troll>
ckrailo has joined #ruby
<banisterfiend`>
hehe
<banisterfiend`>
aroman: ah, that's another thing you'll find interesting about ruby, it has a message-passing OO model inspired by smalltalk
<aroman>
i'll definitely check out that O'Reilly book, has extremely positive reviews. thanks banisterfiend`
<banisterfiend`>
aroman: so it's a bit different to what you've been doing in python/java
mengu has quit [Read error: Connection reset by peer]
<banisterfiend`>
but i think you'll like it a lot
<aroman>
can't wait to dive in :)
<banisterfiend`>
aroman: have you done any objective-c ?
<aroman>
i can read it, but I can't write it. got pretty far into learning it, but i have almost no interest in writing mac/ios apps, so I don't have any experience writing real obj-c code.
<verto>
aroman good book! you'll like it.
<banisterfiend`>
aroman: Ruby terminology is infused with the message passing model. We talk a lot about "receivers" and "senders", and "explicit vs implicit receivers" etc
<Gavilan>
banisterfiend`: What's an explicit vs implicit receivers?
<kaisukaru__>
Ruby-prof seems to show times for stdlib calls and I can't seem, how can I profile my classes
<aroman>
banisterfiend`: cool. oh and one more thing,
<aroman>
what's the situation like for async code?
<aroman>
callback soup, or fibers?
<banisterfiend`>
Gavilan: obj.method #=> obj is an explicit receiver of the 'method' message. whereas if i just wrote "method", then the implied receiver is 'self'
wvms has quit [Quit: wvms]
<banisterfiend`>
aroman: celluloid is the newest thing there, and it's all fiber based
<banisterfiend`>
aroman: it looks beautiful, but i haven't had a change to use it yet
<banisterfiend`>
chance
neersighted has quit [Read error: Connection reset by peer]
<banisterfiend`>
aroman: google ruby and celluloid
artOfWar has quit [Remote host closed the connection]
<shevy>
aroman go write your first project in ruby and turn it into a gem
artOfWar has joined #ruby
adeponte has joined #ruby
aroman has quit [Quit: aroman]
TheHairyWoodsman has quit [Quit: Leaving.]
objlinks has quit [Remote host closed the connection]
objlinks has joined #ruby
SQLStud has quit [Read error: Connection reset by peer]
larissa has quit [Quit: Saindo]
yonggu has joined #ruby
<shevy>
pythonista have no patience
cousine has joined #ruby
Synthead has quit [Remote host closed the connection]
greasegum has quit [Remote host closed the connection]
Synthead has joined #ruby
<apeiros_>
*sob* when you write .join instead of .joins on a large AR::Relation, you wait a loooong time… just to then figure out that you did something wrong…
wobr has quit [Ping timeout: 248 seconds]
<workmad3>
apeiros_: heh, yup :)
<workmad3>
apeiros_: testing? :P
TorpedoSkyline has joined #ruby
<apeiros_>
workmad3: no, developing
<apeiros_>
maybe I shouldn't develop against the anonymized production data…
<apeiros_>
(far too much data :D)
<apeiros_>
but even without that bug, the query is horribly slow… 30s for one query :-/
ben_alman has quit [Excess Flood]
shavus has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0.1/20120614114901]]
ben_alman has joined #ruby
Eldariof-ru has quit [Ping timeout: 248 seconds]
enroxorz has joined #ruby
<workmad3>
apeiros_: does it run that slowly in production?
dubios has quit [Ping timeout: 260 seconds]
<workmad3>
apeiros_: or is it in part because you're running with an un-tuned db server on your dev machine? :)
strnx has quit [Excess Flood]
williamcotton_ has joined #ruby
<workmad3>
apeiros_: also, if you're on rails and it's 3.2+, your log should contain an EXPLAIN of the long query :)
artOfWar has quit [Ping timeout: 240 seconds]
<apeiros_>
workmad3: it will, or would
<apeiros_>
it's a similarity match
<apeiros_>
can't use an index
dubios has joined #ruby
<workmad3>
apeiros_: bleh
<apeiros_>
indeed
<workmad3>
apeiros_: postgres?
<apeiros_>
oracle
<apeiros_>
utl_match.jaro_winkler
davidw has quit [Ping timeout: 240 seconds]
objlinks has quit [Remote host closed the connection]
<workmad3>
hmm... do they have full-text indexing capabilities built in? (I expect they do, but I don't know for sure :) )
<apeiros_>
sure. but you can't index against an edit-diff function :)
jsime has joined #ruby
<apeiros_>
best you can get is O(n) afaik
djdb has quit [Read error: Connection reset by peer]
objlinks has joined #ruby
niklasb has joined #ruby
<workmad3>
hmm... ok then :)
strnx has joined #ruby
<workmad3>
is it just against a single varchar field then?
benson has joined #ruby
<apeiros_>
haha
<apeiros_>
you wish…
<apeiros_>
I'm still working on that stupid duplicates search
<workmad3>
refresh my memory? :)
<shevy>
oracle makes people happy
<apeiros_>
which should include "likely duplicates" - and that's where it gets hairy
bbttxu has quit [Quit: bbttxu]
<workmad3>
shevy: yes, but only by amusing the entire IT community with how much they mess up their lawsuits :)
<apeiros_>
workmad3: well, given that there are multiple sources from where you get new customers, but the same customer should not be added twice (or more often)
<JonnieCache>
is this some sort of horrible data cleaning discussion?
andrewhl has joined #ruby
<JonnieCache>
good luck ;)
<workmad3>
apeiros_: ah right, so you're not looking for similarity matches in large TEXT blobs, which was what I was wondering :)
<apeiros_>
you have to check whether that customer is already in your db. you have varying levels of information. sometimes first/last name, sometimes an address, sometimes a phone number, sometimes an email address…
wallerdev has joined #ruby
<apeiros_>
JonnieCache: yes, kinda. it's to prevent having to do the data cleaning.
<workmad3>
apeiros_: how often is this search meant to be run?
<apeiros_>
workmad3: so you have all the horrible things like typos, last name changes (marriage), address changes, phone number changes…
<apeiros_>
workmad3: every time you add a customer
<apeiros_>
if possible, it should run "live", i.e., you enter data and a warning pops up "hey, we already know that one…"
objlinks has left #ruby [#ruby]
genjix has joined #ruby
<genjix>
hi
<workmad3>
apeiros_: hmm... I think you may need to consider other solutions if you're having to perform edit_distance calculations against massive data-sets
<apeiros_>
probably not possible for similar matches, only for exact ones. but well, I'm still in the early phase. the last week I spent trying to normalize and sanitize our data.
<JonnieCache>
have you seen that google dataset cleaning tool?
<sernin>
So, the canonical way to read a file into memory is IO.readlines, correct? Does this take the entire file into memory? And if so (it's a large logfile), is there an idiomatic way to read and process line by line?
Criztian has joined #ruby
<workmad3>
a nice message queue that sends new customer request messages to a NewCustomer service that is there exclusively to create or find an existing record :)
timonv has quit [Remote host closed the connection]
<apeiros_>
looks nice. but sensitive data, thus not an option.
<JonnieCache>
they anticipated that: its a local app
<JonnieCache>
even though it runs in a browser, you run the server locally
<JonnieCache>
i think you can automate it too
<apeiros_>
I doubt that it is applicable to our case
ixti has joined #ruby
<apeiros_>
but the processes it mentions are similar to what I/the code I wrote did/do/does
<JonnieCache>
fair. good luck man, those problems are tough, as im sure you know :)
kenichi has joined #ruby
ixti has quit [Client Quit]
ixti has joined #ruby
genjix has left #ruby [#ruby]
bradhe has quit [Remote host closed the connection]
robotmay has quit [Remote host closed the connection]
<apeiros_>
JonnieCache: yupp. & thanks.
<apeiros_>
workmad3: something along that line is probably what I'll do for iteration 1
<apeiros_>
i.e., go for exact matches "live", and keep looking for similar matches in a queue
<JonnieCache>
then you have the UX problem of presenting the results of the async search back to the user later on
<apeiros_>
workmad3: anyway, as usual, there's still sooo many questions about the whole workflow open… so I'm mostly only concerned about finding the similar matches right now :)
zodiac1111 has quit [Ping timeout: 265 seconds]
berkes has quit [Quit: Ex-Chat]
<apeiros_>
gotta run for the train. cya guys & girls
apeiros_ has quit [Remote host closed the connection]
liluo has quit [Remote host closed the connection]
Helius has quit [Remote host closed the connection]
savage- has joined #ruby
artOfWar has joined #ruby
artOfWar has quit [Remote host closed the connection]
artOfWar has joined #ruby
jfoley has joined #ruby
minijupe has quit [Quit: minijupe]
adeponte has quit [Remote host closed the connection]
apok has joined #ruby
jfoley has quit [Client Quit]
williamcotton has quit [Quit: williamcotton]
clockwize has joined #ruby
nachtwandler has joined #ruby
jrhorn424 has joined #ruby
<flagg0204>
im working on a rails application that basically consumes data from an external api. Connecting to the API, pulling data down etc, should that be done in the model or via controller?
rcsheets has joined #ruby
<flagg0204>
and this app (so far) uses no database.
<jrhorn424>
flagg0204: probably the controller. #RubyOnRails is a better place to ask, though.
<flagg0204>
jrhorn424: thanks.
tds has joined #ruby
etehtsea has quit []
stewart_ has quit [Read error: Connection reset by peer]
dv310p3r has quit [Ping timeout: 264 seconds]
mengu has joined #ruby
zemanel has quit [Quit: Remote hottie closed the connection]
htroyack has joined #ruby
nateberkopec has joined #ruby
cousine has quit [Remote host closed the connection]
apok has quit [Quit: apok]
htroyack has left #ruby [#ruby]
<tds>
so it seems like if you use #method to get an object for a given method, and then cast it as a proc and pass it to instance_eval in another class, self will refer to the original instance, not the instance in which the proc is being called
<tds>
but my other proc has a binding to B as well, it just gets overwritten by instance_eval
<tds>
it just seems arbitrary to say that one binding is 'harder' than the other
<Mon_Ouie>
When I say "bound to the B instance", I'm talking about the method object
<tds>
i know
<tds>
but im not passing the method object
<tds>
im passing a proc, aren't i?
Goles has quit [Read error: Connection reset by peer]
schaerli has joined #ruby
hynkle has quit [Quit: Computer has gone to sleep.]
imami|afk is now known as banseljaj
<tds>
like if i do a puts on that proc, it will just evaluate to #<Proc:0x007f818c086988 (lambda)>
<Mon_Ouie>
Sure, created from the method object — so all that proc does, is call the method object
<tds>
oh ok
Araxia has joined #ruby
<tds>
that makes sense
BeLucid has joined #ruby
<tds>
thanks Mon_Ouie :)
<Mon_Ouie>
Also, there's a reason you can't call a method from some class on an object of another class
<tds>
what do you mean?
<Mon_Ouie>
Imagine what it would do when the method is actually implemented as a C function
apok has joined #ruby
jimeh has quit [Ping timeout: 240 seconds]
bricker88 has joined #ruby
<tds>
but
<tds>
if i made it in an unbound method, i could rebind it
<Mon_Ouie>
No you couldn't, it would raise an exception
<tds>
really?
<Mon_Ouie>
Yep
<tds>
interesting
wallerdev has quit [Quit: wallerdev]
krusty_ar has joined #ruby
krusty_ar has quit [Remote host closed the connection]
berserkr has joined #ruby
<tds>
Mon_Ouie: what would it do if it were implemented as a C function?
<tds>
imagination is failing me ;)
allenathome has joined #ruby
<Mon_Ouie>
e.g. if you tried to call Array#push on a hash
<Mon_Ouie>
Since C functions don't usually bother to check the type of self because it should be known, it would treat the hash as an array — and crash
busybox42 has joined #ruby
<blazes816>
Mon_Ouie, what a wonderfully correct answer
yonggu has quit [Quit: yonggu]
jeff_sebring has quit [Remote host closed the connection]
tatsuya_o has quit [Remote host closed the connection]
tatsuya_o has joined #ruby
baphled_ has quit [Ping timeout: 264 seconds]
<tds>
thanks a lot, Mon_Ouie
<tds>
you have helped to resolve much uncertainty :)
clockwize has quit [Ping timeout: 264 seconds]
allenathome has left #ruby [#ruby]
c0rn_ has joined #ruby
schaerli has quit [Remote host closed the connection]
tatsuya_o has quit [Ping timeout: 264 seconds]
jeff_sebring has joined #ruby
jeff_sebring has quit [Remote host closed the connection]
quest88 has quit [Quit: quest88]
Lachryma has quit [Ping timeout: 248 seconds]
Targen has quit [Ping timeout: 248 seconds]
ringotwo has joined #ruby
timonv has quit [Remote host closed the connection]
allenathome has joined #ruby
allenathome has quit []
neku is now known as neku|away
allenathome has joined #ruby
MickeySoFine has joined #ruby
paulpalm has quit [Quit: leaving]
<MickeySoFine>
hi all
elhu has quit [Ping timeout: 246 seconds]
<MickeySoFine>
I'm learning ruby and I'm having a problem when I've installed rails using gem
<Tasser>
MickeySoFine, ruby != rails
brianpWins has joined #ruby
<Tasser>
MickeySoFine, what do you want to learn exactly?
ixti has quit [Ping timeout: 264 seconds]
<MickeySoFine>
its not that I want to learn its that I've got a probelm using rhe rails gem
<MickeySoFine>
i get /usr/bin/rails:7:in `require': no such file to load -- rails/cli (LoadError)
williamcotton has quit [Ping timeout: 264 seconds]
<oddmunds>
you don't want to learn?
<MickeySoFine>
when I run rails or vagrant after a brand new install
williamcotton has joined #ruby
<MickeySoFine>
its seems to be that ruby is not finding them properly
kpshek_ has joined #ruby
robacarp has joined #ruby
allenathome has quit [Client Quit]
kpshek has quit [Ping timeout: 246 seconds]
kpshek_ is now known as kpshek
dankest has joined #ruby
robozahn has joined #ruby
<MickeySoFine>
but I have checked the env settings for gems and they seem to point to the right locations
<oddmunds>
i'd ask the vagrant people or the rails people
akem has joined #ruby
akem has joined #ruby
akem has quit [Changing host]
berserkr has quit [Remote host closed the connection]
apok has quit [Remote host closed the connection]
<blazes816>
MickeySoFine, try asking in #rubyonrails
apok has joined #ruby
hynkle has joined #ruby
Ontolog has quit [Remote host closed the connection]
stewart_ has joined #ruby
hynkle has quit [Client Quit]
Ontolog has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
Beoran__ has quit [Ping timeout: 265 seconds]
pdelgallego has quit [Read error: Connection reset by peer]
pdelgallego has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
JustinCampbell has joined #ruby
mdszy has joined #ruby
brianpWins has quit [Quit: brianpWins]
kevinbond has quit [Quit: kevinbond]
ramblex has quit [Ping timeout: 244 seconds]
pk1001100011 has quit [Quit: I've got a feeling there's a fish in the floor; I'd better squish it or he'll swim out the door; Sometimes they take me for a walk in the sun; I see my fish and I have to run]
kaisukaru__ has quit [Quit: Leaving]
johnlcox has quit [Ping timeout: 244 seconds]
MickeySoFine has quit [Quit: Leaving]
mdszy has quit [Client Quit]
mdszy has joined #ruby
pdelgallego has quit [Remote host closed the connection]
pk1001100011 has joined #ruby
jgrevich has joined #ruby
kaspernj has joined #ruby
wallerdev has joined #ruby
LBRapid has quit [Read error: Connection reset by peer]
minijupe has joined #ruby
sam113101 has joined #ruby
Beoran has joined #ruby
slainer68 has quit [Remote host closed the connection]
LBRapid has joined #ruby
Rochefort has quit [Remote host closed the connection]
minijupe has quit [Client Quit]
hynkle has joined #ruby
hynkle has quit [Client Quit]
Morkel has quit [Quit: Morkel]
LifeSF has joined #ruby
<sernin>
OK, regexp problem. I have a regex that when given a sample line of input (in pry, or on the web at rubular), matches just fine. When run from inside a script, it doesn't match. I've made sure the regexp is correct, but are there any other common gotchas to this?
SegFaultAX|work2 has joined #ruby
<oooPaul>
Make sure the input in your script is what you think it is?
voodoofish430 has joined #ruby
sbanwart has joined #ruby
<ekaleido>
i always get bit by runaway \n
<oooPaul>
Yeah, that's one of the examples I was thinking of.
<oooPaul>
Especially if your regex is bound to "end of string"
obryan has joined #ruby
mwilson_ has quit [Excess Flood]
shavus has joined #ruby
<sernin>
Yeah, I thought of that and removed the /Z. It's using IO.foreach to read line by line. Let me try the \n thing.
mwilson_ has joined #ruby
LifeSF has quit [Ping timeout: 255 seconds]
<sernin>
...no dice.
MasterIdler_ has joined #ruby
jds has joined #ruby
<jds>
Heya
jstew has joined #ruby
tewecske has joined #ruby
bondar has joined #ruby
<jds>
I'm doing some timezone stuff with ActiveSupport. I'm starting with a string (eg "2012-07-09 17:23:44 +0100"), and would like to know its timezone. Time.parse correctly figures out the timezone, but the return value is converted to UTC, so Time.parse(foo).zone isn't helpful
sailias has joined #ruby
ananthakumaran has quit [Ping timeout: 240 seconds]
<sernin>
http://pastie.org/4226848 <-- maybe I'm just doing something retarded. Just trying to get it to match, will do more interesting stuff later when I can populate the f'n match
<jds>
I can see ways of hacking it with my own string parsing, but wondered if there was an official way.
kvirani has joined #ruby
IrishGringo has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0.1/20120614114901]]
greasegum has joined #ruby
<sernin>
The frustrating thing is that it works in pry.
bondar has quit [Client Quit]
bondar has joined #ruby
bondar has quit [Client Quit]
btanaka has joined #ruby
bondar has joined #ruby
bondar has quit [Excess Flood]
Lachryma has joined #ruby
shavus has quit [Remote host closed the connection]
RainbowDashh has quit [Read error: Connection reset by peer]
minijupe has joined #ruby
ananthakumaran has joined #ruby
bluenemo has joined #ruby
RainbowDashh has joined #ruby
minijupe has quit [Client Quit]
bluenemo has quit [Remote host closed the connection]
ramblex has joined #ruby
andrewpthorp has joined #ruby
<bricker88>
Is there any advantage in performance between a class method to which you pass the instance, and an instance method? Specifically, it's a method that is going to be called a lot in a short amount of time. Is it better for performance to do it one by one per instance, or just have one big class method that accepts an array of instances and iterates through them?
minijupe has joined #ruby
MasterIdler_ is now known as MasterIdler
aroman has quit [Quit: aroman]
<blazes816>
bricker88, shouldn't be difficult to benchmark
kaspernj has quit [Read error: Operation timed out]
<bricker88>
definitely, just wanted to see if it was common knowledge before I went ahead and did that. Thanks.
Horofox has quit [Quit: horofox]
<blazes816>
not that I know of
ananthakumaran1 has joined #ruby
soulcutter has joined #ruby
<blazes816>
it sounds like an interesting experiment.
ananthakumaran has quit [Ping timeout: 244 seconds]
tiripamwe has joined #ruby
_pdelgallego has joined #ruby
pdelgallego has quit [Read error: Connection reset by peer]
_pdelgallego has quit [Client Quit]
<mdszy>
sj
<mdszy>
whoops, derp
Seus has quit [Ping timeout: 248 seconds]
jsilver has joined #ruby
mpereira has quit [Ping timeout: 246 seconds]
soulcutter is now known as Sou|cutter
mdszy has quit [Quit: bye for now]
Seus has joined #ruby
fantazo has quit [Remote host closed the connection]
Criztian has quit [Remote host closed the connection]
daniel_hinojosa has quit [Remote host closed the connection]
cbuxton has quit [Quit: Leaving.]
Seus has quit [Quit: Seus]
a_a_g has joined #ruby
daniel_hinojosa has joined #ruby
Criztian has joined #ruby
beilabs has quit [Read error: Operation timed out]
<cheako>
I'll bbl.
ananthakumaran1 has quit [Quit: Leaving.]
<regedarek>
patient: thanks :)
adeponte has joined #ruby
Seus has joined #ruby
RainbowDashh has joined #ruby
a_a_g has quit [Ping timeout: 248 seconds]
nachtwandler_ has joined #ruby
etehtsea has joined #ruby
ramblex has quit [Quit: ramblex]
<patient>
;)
ramblex has joined #ruby
blazes816 has quit [Quit: Leaving]
mucker has quit [Quit: leaving]
robozahn_ has quit [Ping timeout: 265 seconds]
robozahn has quit [Ping timeout: 265 seconds]
robozahn1 has quit [Ping timeout: 265 seconds]
a_a_g has joined #ruby
nachtwandler has quit [Ping timeout: 245 seconds]
kenichi has joined #ruby
moisesv has quit [Quit: moisesv]
Kwpolska has quit [Read error: Operation timed out]
fermion has quit [Quit: P]
A124 has joined #ruby
linoj has joined #ruby
A124 has left #ruby [#ruby]
beilabs has joined #ruby
anothervenue has joined #ruby
LifeSF has joined #ruby
davidpk has joined #ruby
trend has joined #ruby
Ontolog has quit [Remote host closed the connection]
TorpedoSkyline has quit [Quit: Computer has gone to sleep.]
cbuxton has joined #ruby
Ontolog has joined #ruby
_theriffer_ has quit [Quit: Leaving.]
_theriffer_ has joined #ruby
Tricks has quit [Read error: Operation timed out]
Ontolog has quit [Remote host closed the connection]
sbanwart has quit [Remote host closed the connection]
fayimora has quit [Ping timeout: 245 seconds]
kirun has joined #ruby
fayimora has joined #ruby
mrsolo has joined #ruby
Ontolog has joined #ruby
Ontolog has quit [Remote host closed the connection]
Tricks has joined #ruby
Ontolog has joined #ruby
MatthewGA has quit [Ping timeout: 265 seconds]
baphled has joined #ruby
MatthewGA has joined #ruby
bosphorus has quit [Remote host closed the connection]
dv310p3r has quit [Ping timeout: 264 seconds]
cascalheira has quit [Quit: cascalheira]
LifeSF has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
neku is now known as neku|away
robacarp_ has joined #ruby
robacarp_ is now known as Guest82153
jsime has quit [Remote host closed the connection]
neku|away is now known as neku
cpruitt has joined #ruby
jsime has joined #ruby
kirun_ has joined #ruby
robacarp has quit [Ping timeout: 264 seconds]
mdszy has joined #ruby
kirun has quit [Ping timeout: 252 seconds]
TPFC-SYSTEM has quit [Quit: TPFC-SYSTEM]
jstew has quit [Quit: Lost terminal]
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
rizzy_work has left #ruby ["Leaving"]
rizzy_work has joined #ruby
blazes816 has joined #ruby
kirun_ has quit [Ping timeout: 260 seconds]
dv310p3r has joined #ruby
<Synthead>
how do I get an exit status from PTY.span in 1.8?
Seus has quit [Ping timeout: 246 seconds]
<Synthead>
s/span/spawn/
berkes has joined #ruby
blacktulip has quit [Remote host closed the connection]
mariachi has joined #ruby
zeromodulus has joined #ruby
blacktulip has joined #ruby
mariachi has quit [Quit: WeeChat 0.3.8]
<sernin>
For those who looked at my regex question earlier... /ix was in the wrong place. No shit it never matched...argh.
<sernin>
note to self: %r{foo}ix not %r{foo/ix}
thomas is now known as bellz
bellz is now known as tdubellz
jarred has joined #ruby
mariachi has joined #ruby
kirun has joined #ruby
<mariachi>
hey guys! I'm having some trouble with RMagick: http://pastebin.com/Am69zKuC I'm not familiar with ruby, did I install it correctly? I did "gem install rmagick"
Randokai has joined #ruby
<cheako>
Make sure that `gem install eventmachine -v '0.12.10'` succeeds before bundling.
<enroxorz>
rmagick is a bitch
stephenjudkins has joined #ruby
<enroxorz>
mariachi: did you follow the instructions when you downlaoded the zip?
<enroxorz>
specifically, did you install the executable bundled with that zip?
<cheako>
ruby-eventmachine is already the newest version.
<enroxorz>
if your using >1.9 gems is already in and isntalling event machine is just gem isntall eventmachine
<enroxorz>
no apt
<enroxorz>
xclite: i still stick with ubuntu. thank god for rvm, amirite?
kirun has quit [Ping timeout: 260 seconds]
<enroxorz>
crap. cheako forgot
<enroxorz>
sudo gem install eventmachine
<xclite>
enroxorz: RVM is nice. I just stick to pretty new stuff so I just keep arch up to date with whatever version of ruby i'm u sing
<enroxorz>
xclite: i would go arch but i dont trust rolling releases. heard ifconfig was depricated from arch and no longer there.
<cheako>
K, I've got it. Half my gems are using another version of ruby.
<xclite>
enroxorz: it's been an experience so far
<xclite>
cheako: i had a fun time with that last night - had ruby 1.9 for my ruby version, but had a 1.8 version of gems and irb
<xclite>
on my only remaining debian box
<enroxorz>
xclite: arch is nice in theory, but i want to focus on developing my apps and not have to worry too much about the os not being stable
a_a_g has joined #ruby
mpereira has quit [Ping timeout: 244 seconds]
<enroxorz>
cheako: if you arent using 187 i suggest cleaning out all your gems and removing 187 from your box.
<cheako>
Yeah, I did that... and I'm finding without it I can't install "rubygems".
stephenjudkins has quit [Quit: stephenjudkins]
troulouliou_dev has joined #ruby
mpereira has joined #ruby
<enroxorz>
1.9.x should have gems already installed.
<troulouliou_dev>
hi i have an hash with 12000 key value in it ; all the key are strings
<enroxorz>
cheako: have you played with rvm yet?
<cheako>
ruby-passenger ruby-rails-2.3 rubygems <--- these all need the ruby from squeese.
<troulouliou_dev>
should i convert them to symbol to improve lookup speed ?
daniellutz has joined #ruby
<enroxorz>
cheako: just a suggestion. purge all ruby implementations and use rvm
<enroxorz>
just a lot easier to use on debian based oses
bluenemo has quit [Quit: Verlassend]
<enroxorz>
pm me if you need help
<cheako>
enroxorz: The Debian way is to split up source pkgs into smaller blocks for installation. Though it's upto the maintainer to decide what to do.
<cheako>
enroxorz: So just because you have ruby installed does not mean you have every thing from the ruby source pkg installed.
<cheako>
Hmm, I only want one version of ruby... Unless that will let me use gems cross versions?
<enroxorz>
im confused in what you are trying to accomplish. do you want to depend on deb packages or depend on gems which are more up to date
LifeSF has joined #ruby
<cheako>
You all know that an apllication developer writes an application once and hten admins install that application a bunch... So anything that makes things difficult for the admin, no matter how necessary for the application developer is a loosing proposition. I'd have to say that Ruby lost.
tvw has quit [Remote host closed the connection]
<blazes816>
cheako, no, the deb package maintainers lost.
<enroxorz>
cheako: see, now you are being rather mean and ignorant. Ruby is really easy to maintain as long as you know how to use itr outside of deb packages
<cheako>
enroxorz: My only requirement is that I can get support and security updates using unaatended-upgrades.
<blazes816>
then do it
<blazes816>
with gems
mdhopkins has joined #ruby
<enroxorz>
rvm was implemented because the maintainers of said packages were rather slow to update them. Not their faults, they are volunteers and work on tons of other stuff
<cheako>
enroxorz: That's the thing isn't it. If every application has it's own thins "outside of every thing else." Then it's dissruptive to admins.
LifeSF has quit [Client Quit]
<cheako>
...so don't balze your own train until you can get apt to follow.
<blazes816>
if your admin can only work with deb packages, you need a new one stat
RainbowDashh has quit [Read error: Connection reset by peer]
<enroxorz>
cheako: if an linux sys admin cant handle ruby gems they sghouldnt mess with them
RainbowDashh has joined #ruby
<enroxorz>
its easier than deb repos
<enroxorz>
sorry
<enroxorz>
i dont want to sound harsh but you arent listening to anything we are saying
brianpWins has joined #ruby
g0bl1n has quit [Ping timeout: 240 seconds]
wangr has quit [Remote host closed the connection]
<cheako>
Where is the distribution? Is there a distribution that uses gems? Why should I learn two ways of doing the same thing.
<enroxorz>
ok cheako
<enroxorz>
gems are for the ruby MRI only
<cheako>
I think you've lost touch with what is useful to others.
<enroxorz>
there are cli bins available but as for ruby, gems are how you bring libs in
<cheako>
Are only concerned about what you find useful.
<enroxorz>
this is on top of your linux stack
wangr has joined #ruby
<cheako>
kk, Where is the security repo for gems?
<cheako>
Where can I get updates on issues and nessisary upgrades?
<blazes816>
from the gems repo
<enroxorz>
gems are hosted in various places, but mostly github and rubygems.org
<enroxorz>
you can build your own gem server if you want
<enroxorz>
but these gem libraries are maintained by the devs themselves
<cheako>
A mailing list or feed I can subscribe to?
<blazes816>
depends on the gem
<enroxorz>
cheako: gems are a way for grabbing libraries easily
<enroxorz>
its like CPAN
<cheako>
Where do you track CVEs?
<mariachi>
I followed the README for RMagick, but it still doesn't work
<blazes816>
on the gems' issue tracker
<enroxorz>
*sigh* cheako I believe I am done.
<mariachi>
same error as before
<blazes816>
gem's*
xaq has quit [Read error: Connection reset by peer]
LUEshi has joined #ruby
<LUEshi>
hello
<enroxorz>
mariachi: is ImageMagick in your PATH?
<cheako>
Yeah, AFAIK CPAN isn't a viable source of pacakges because there is no security verification. Installing things from there will get you hacked and botted.
<blazes816>
lol
<blazes816>
hacked and botted
<blazes816>
can't argue with that
xaq has joined #ruby
<LUEshi>
I need some ruby halp
<blazes816>
just write your application in C so it's extra safe
<cheako>
Bye, thanks for the info.
<enroxorz>
cheako: gems, CPAN...these are to grab libraries to use with your app. beyond that there isnt any "security" repo.
<enroxorz>
bye cheako
cheako has left #ruby ["Client exiting"]
Guest82153 is now known as robacarp
<LUEshi>
like, im inside irb
banseljaj is now known as imami|afk
<enroxorz>
wats up LUEshi
Eldariof-ru has quit []
<mariachi>
enroxorz: no. how do I add it?
<LUEshi>
oh hold on
<LUEshi>
I have to try something first
axl_ has quit [Read error: Connection reset by peer]
<enroxorz>
mariachi: im assuming you are on windows right?
<mariachi>
ah sorry
<mariachi>
Linux ;)
<enroxorz>
ok
axl_ has joined #ruby
LUEshi2 has joined #ruby
<LUEshi2>
ok so, <im in irb
<enroxorz>
mariachi: you need to edit your .bashrc to add it
<enroxorz>
let me find an article for you
<LUEshi2>
and on a certain webpage
Markvilla has joined #ruby
<LUEshi2>
I go
<LUEshi2>
s = b.text_field :id => 'b'
<enroxorz>
wait, forget it. at the end of your .bashrc add PATH=$PATH:/path/to/imagemagick
<LUEshi2>
and it doesnt work
Markvilla has quit [Client Quit]
Markvilla has joined #ruby
<LUEshi2>
it says this : #<Watir::TextField:0x7fdb426c2170 located=false selector={:type=>"(any text type)", :tag_name=>"input or textarea", :id=>"b"}>
<enroxorz>
LUeshi2 is this a watir question?
<LUEshi2>
yes
<enroxorz>
you need to get the value
<enroxorz>
s = b.text_field(:id => 'b').value
tommyvyo_ has joined #ruby
<mariachi>
enroxorz: thanks!
dv310p3r has quit [Ping timeout: 264 seconds]
<enroxorz>
np mariachi tell me if it works
<LUEshi2>
?
<LUEshi2>
i need to add .value?
<enroxorz>
yes
<enroxorz>
that is how you get the text value
<enroxorz>
you should try #watir for these kinds of questions :)
<LUEshi2>
Watir::Exception::UnknownObjectException: unable to locate element, using {:type=>"(any text type)", :tag_name=>"input or textarea", :id=>"b"}
<LUEshi2>
from /usr/local/lib64/ruby/gems/1.8/gems/watir-webdriver-0.6.1/lib/watir-webdriver/elements/element.rb:365:in `assert_exists'
<enroxorz>
ok LUEshi2 I should have started with "what are you trying to do"
<rking>
Hrm. How can I extract common class stuff from 2 classes? E.g., say I had Admin and Peon classes, but I needed both of their classes to call some common stuff in the declaration.
mdszy has quit [Quit: bye for now]
flype has quit [Quit: Computer has gone to sleep.]
<LUEshi2>
im tring to put my username into a field
mariachi has quit [Ping timeout: 248 seconds]
cherrypeel has joined #ruby
<enroxorz>
son of tatum oneim
<enroxorz>
neil
mpereira has quit [Ping timeout: 250 seconds]
<enroxorz>
b.text_field(:id => 'whatever').set "THIS IS WHAT I WANT TO SAY!"
Eldariof-ru has quit [Client Quit]
<enroxorz>
also remember there is a watir-console
<LUEshi2>
it gives the error i showed
<LUEshi2>
whats a watir console?
<shevy>
rking: see this is where traditional single-hierarchy subclassing tends to just suck
<shevy>
or you let them subclass from the same class
<shevy>
or use a module
Criztian has quit [Remote host closed the connection]
<patient>
rking: can't you create a base class with the common behavior and then define class Admin < BaseClass?
<enroxorz>
LUEshi2: couple of questions. what version of WATIR? is this watir-webdriver or classic watir? did you get the name/id from the element you are entering text in?
<blazes816>
rking, minus the User module inheriting from "Base", that should work nicely
<enroxorz>
ok, you are using watir-webdriver. hav eyou played with this before LUEshi2 ?
<theRoUS>
ruby 1.8.7: got a question about testing.. i have a gem that involves multiple versions of an api. each version is defined in a separate file. when you 'require "mygem"' you either get the latest version, or the one matching the API_VERSION constant defined before requiring the gem.
<LUEshi2>
I just tested the watir demo thing on their frontpage, I tried to apply it to my website and it doesnt work
<rking>
blazes816: Hrm, right.
<rking>
blazes816: But the common parts are coming from Base, so I have to get them somehow.
yy is now known as AWAYY]]]]]]]]]]]
<theRoUS>
the question is, how do i test this? (use default version, use specified version, varf if given bogus version) 'require' does some serious munging of the namespace environment
<blazes816>
rking, then you should just be able to have A and B inherit from Base
<Synthead>
is there some way I can catch all exceptions from OptionParser? It'd be nice to rescue the same way for OptionParser::MissingArgument and OptionParser::InvalidOption
<Synthead>
like OptionParser::* or something
<rking>
blazes816: OK, but then how do I refactor the common calls to the stuff from Base?
cj3kim has quit [Quit: This computer has gone to sleep]
<theRoUS>
so i expect i'll need to have a completely separate file for each circumstance.
dv310p3r has joined #ruby
daniel_hinojosa has quit [Quit: Leaving.]
<blazes816>
rking, not sure what you mean. If Base is a class you've created, put your code in there. Otherwise, subclass Base as "Person" or whatever, then subclass A and B from that.
davidw has joined #ruby
rdg has quit [Quit: [quit]]
davidw is now known as Guest86273
<rking>
blazes816: Actually, in this case I think I have to reopen the class. Thanks for setting me in the right direction.
workmad3 has joined #ruby
* theRoUS
looks hopefully in the direction of the wizard apeiros_
<apeiros_>
hm?
<theRoUS>
apeiros_: working a gem that includes an api def, version determined at run-time. how to write tests for something whose basic function is 'require' ?? :-)
<apeiros_>
you start by requiring it…
<theRoUS>
each test will pollute the environment
<apeiros_>
fork
<apeiros_>
spawn
<apeiros_>
load into an anonymous namespace
<theRoUS>
heh. 'API_VERSION = "7.1" ; require("apiload")' will load version 7.1 of the api.
chienpo has joined #ruby
TorpedoSkyline has quit [Ping timeout: 244 seconds]
kevinbond has joined #ruby
Randokai has quit [Ping timeout: 250 seconds]
Ontolog has quit [Remote host closed the connection]
<theRoUS>
hmm, anonymous namespace? never heard of that, nor how to load into other than the top level. that might be the answer. know of any gems that have tests doing the fork/spawn thing?
tiripamwe has quit [Read error: Connection reset by peer]
TorpedoSkyline has joined #ruby
fridim_ has joined #ruby
erichmenge has quit [Quit: Be back later]
workmad3 has quit [Ping timeout: 264 seconds]
syamajala has quit [Remote host closed the connection]
Nisstyre has quit [Ping timeout: 246 seconds]
Ontolog has joined #ruby
daniel_hinojosa has joined #ruby
bosphorus has joined #ruby
jameshyde has joined #ruby
IrishGringo has quit [Remote host closed the connection]
<jameshyde>
Is this possible, if using OptionParser, to handle verbose mode like this: "-v" means verbose, "-vv" means more verbose, "-vvv" means even more verbose?
a_a_g has left #ruby [#ruby]
<blazes816>
lol
<blazes816>
that's a high amount of verbosity
TorpedoSkyline has quit [Ping timeout: 244 seconds]
a_a_g has joined #ruby
<blazes816>
but there's no reason you shouldn't be able to. Have a variable called "verbosity_level" or something.
<blazes816>
that can be 0, 1, or 2
a_a_g has quit [Client Quit]
<jameshyde>
if you look at "man lspci", it has "-v", "-vv", "-vvv"
<apeiros_>
I think optionparser does not like single - args with multiple mentions
<apeiros_>
--vv would work, or -v, -v2, -v3
<jameshyde>
ok
schaerli has joined #ruby
daniel_hinojosa has quit [Read error: Connection reset by peer]
arturas has joined #ruby
linoj has quit [Quit: linoj]
nachtwandler_ has quit [Ping timeout: 244 seconds]
thone has joined #ruby
daniel_hinojosa has joined #ruby
itnomad has joined #ruby
syamajala has joined #ruby
mariachi has joined #ruby
ghanima has joined #ruby
daniel_hinojosa has quit [Remote host closed the connection]
tiripamwe has joined #ruby
zommi has quit [Remote host closed the connection]
maletor has joined #ruby
mpereira has joined #ruby
twock has quit [Quit: Lost terminal]
dsa has joined #ruby
<Xethron>
With arrays you can go arr[0..2] = [1,2,3]
radu has joined #ruby
<Xethron>
Is there something similar for hash tables?
IrishGringo has joined #ruby
ixti has joined #ruby
enroxorz has quit [Quit: Leaving]
strife25 has joined #ruby
syamajala has quit [Remote host closed the connection]
<apeiros_>
no
<apeiros_>
there is merge
blacktulip has quit [Read error: Connection reset by peer]
<Jaxel>
i don't think it has anything to do with the name, since i tried a couple, including recompiling files i'd used it on successfully in the past
kevinbond has joined #ruby
Guest86273 is now known as davidw
davidw has quit [Changing host]
davidw has joined #ruby
robozahn has joined #ruby
robozahn_ has joined #ruby
bglusman has joined #ruby
oscardelben has joined #ruby
noganex has quit [Read error: Operation timed out]
<jameshyde>
is there an easy way to print elements of array in 2 or 3 columns in 80 char wide screen, aligned nicely?
workmad3 has quit [Read error: Operation timed out]
zeromodulus has quit [Ping timeout: 246 seconds]
noganex has joined #ruby
<shevy>
Jaxel: problem is that this is a very narrow problem use case. for instance, of the people here, most dont know ocra at all, and most use non-windows as their OS
daniel_hinojosa has joined #ruby
<shevy>
jameshyde: sprintf or % operator
<Jaxel>
its possible
apeiros_ has quit [Remote host closed the connection]
<shevy>
'%20s' % "abcdef" # => " abcdef"
<jsilver>
ironruby's better
<shevy>
jameshyde: also ... lpad or ljust...
<blazes816>
jsilver, better than a difference engine?
<jsilver>
what is
<Nowaker>
is there ?. (null safe operator) in ruby?
<shevy>
"abc".ljust 22 # => "abc "
oscardelben has quit [Quit: oscardelben]
<blazes816>
jsilver, you said IronRuby is better. Better than what?
<shevy>
null safe operator? what is this doing?
<jsilver>
Nowaker: !!
<jsilver>
blazes816: OCRA
<blazes816>
ah
<Jaxel>
jsilver: can it make things windows users can run
<Jaxel>
without the ruby framework
<jsilver>
Jaxel: this is the point of IronRuby
<jsilver>
it's Ruby on top of .NET framework
<Jaxel>
awesome, thanks
<jsilver>
np
<Jaxel>
i'll check it out
<jsilver>
cool
<Nowaker>
shevy: if var is null then return null else call method - it's in groovy like this: var?.do_sth?.do_something_more
<Jaxel>
no, you're cool B)
<jsilver>
thanks
bigkevmcd has quit [Ping timeout: 264 seconds]
<shevy>
aha. well ruby has nil
<shevy>
foo? would be a method call in ruby. "def foo?"
<Nowaker>
yeah, i know, coding in ruby for 1,5 years
<shevy>
otherwise you could try to use the ternary operator ?
schaerli has quit [Remote host closed the connection]
<Nowaker>
but this nil-safe method call would be great in ruby
<Nowaker>
i'm always angry when I have to write something like this:
geekbri has quit [Remote host closed the connection]
wargasm has quit [Read error: Connection reset by peer]
<jsilver>
Nowaker: try disabling whiny nils
<Nowaker>
var = ARGV[0].nil? ? nil : ARGV[0]
havenn has joined #ruby
<otters>
that doesn't make any sense
<otters>
var = ARGV[0] does the same thing
<Nowaker>
yeah, bad example
<jsilver>
true
<Nowaker>
var x = ARGV[0].nil? nil : ARGV[0].some_method_call
<Nowaker>
you get the point
Maniacal has joined #ruby
tiripamwe has quit [Ping timeout: 264 seconds]
<shevy>
I don't like the ternary operator anyway :)
jgrevich has quit [Read error: Connection reset by peer]
jgrevich has joined #ruby
<Nowaker>
jsilver: whiny nils? isn't it something from rails?
<shevy>
my brain takes too long to process it. I write only very simple code so as to not confuse my poor brain
<jsilver>
same idea
sailias has quit [Read error: Operation timed out]
Markvilla has quit [Quit: Markvilla]
<jsilver>
override method messing on nil
<otters>
Nowaker: class Object; def try(meth, *args, &blk) if nil? then nil else send(meth, *args, &blk) end end end
<Nowaker>
shevy: yeah, i prefer var x = sth if condition
<shevy>
jsilver: method messing? heheheh :D
<blazes816>
Nowaker: x = ARGV[0].method_call rescue nil
<otters>
I don't much like rescue nil
<shevy>
I am gonna mess with your methods if you mess with mine!
<blazes816>
me either
<jsilver>
begin ARV[0].method_call rescue end
<shevy>
yeah Nowaker
<blazes816>
but he seems to want a 1 liner
<Nowaker>
otters: thx, good idea
<otters>
with my helper method
<otters>
anything can be a one liner
<shevy>
or return true if x > y; return false # on next line
<Nowaker>
shevy: yup, same here
erichmenge has joined #ruby
kaspernj has joined #ruby
wargasm has joined #ruby
<the_jeebster1>
hi guys, I'm using the following format for a datetime strftime: "%B %d, %Y %I:%M %p" however, this fails out when using the ruby csv module. any ideas why?
<the_jeebster1>
not fails, but my formatting doesn't match
<otters>
well
<otters>
is that your output format? (strftime not strptime)
bbttxu has joined #ruby
<the_jeebster1>
yeah, this is how I'm calling it in my method: order.created_at.getlocal.strftime("%B %d, %Y %I:%M %p")
<otters>
what is the error exactly?
<the_jeebster1>
no error, just strange output. I'm getting this: 7/5/12 13:57
<the_jeebster1>
it should be July 5, 2012 1:57 PM
<otters>
huh
<otters>
yeah, no kidding
<the_jeebster1>
renders fine in html
<the_jeebster1>
shits the bed with csv
flashuni has joined #ruby
bigkevmcd has joined #ruby
<the_jeebster1>
ah, it
<the_jeebster1>
fucking microsoft excel
<the_jeebster1>
of course it's not ruby's fauly :)
<otters>
oh :P
<otters>
be careful around excel and inputting any type of data
Ontolog has quit [Remote host closed the connection]
Ontolog has joined #ruby
bigkevmcd has quit [Ping timeout: 265 seconds]
<shevy>
ohhhh excel
berkes has quit [Quit: Ex-Chat]
<shevy>
I need to find out how to use ruby to fill up excel sheets
<the_jeebster1>
csv module ftw
chrismcg is now known as zz_chrismcg
<shevy>
csv module? one can use the csv thing to fill up excel sheets?
<eam>
csv is a format excel reads, so sure
Cicloid has quit [Remote host closed the connection]
<shevy>
cool
<shevy>
I need to test this
Deele has joined #ruby
t0mmyvyo has joined #ruby
<Deele>
could anyone help me with rails? noone in that channel answers me...
<Deele>
I'm creating app skeleton for new application (I'm newbie), everything is set up, but when starting, "NoMethodError: private method 'open'called for Ge::Package:Class" pops up, and rake IS already installed and all gems updated, running on windows machine
<otters>
hm
daniellutz has quit [Read error: Connection reset by peer]
daniellutz has joined #ruby
daniellutz has quit [Read error: Connection reset by peer]
hynkle has joined #ruby
daniellutz has joined #ruby
mdpatrick has quit [Read error: Connection reset by peer]
mdpatrick has joined #ruby
havenn has quit [Remote host closed the connection]
<Deele>
otters, are you familiar with this problem?
undersc0re is now known as Ethan
<otters>
I'm sorry, I am not
niklasb has quit [Ping timeout: 264 seconds]
pu22l3r has quit [Ping timeout: 244 seconds]
daniellutz has quit [Read error: Connection reset by peer]
daniellutz_ has joined #ruby
wvms has joined #ruby
tomb has quit [Quit: Computer has gone to sleep.]
Ontolog has quit [Read error: Operation timed out]
davidw has quit [Read error: Operation timed out]
Ontolog has joined #ruby
tomb has joined #ruby
Morkel has quit [Quit: Morkel]
jsime has quit [Quit: Leaving]
krz has joined #ruby
tiripamwe has joined #ruby
redxoom has joined #ruby
workmad3 has joined #ruby
tewecske has quit [Quit: Leaving.]
<axl_>
how do i require a ruby module example 'builder' within the lib directory of a project ?
vlad_starkov has quit [Remote host closed the connection]
hynkle has quit [Quit: Computer has gone to sleep.]
<axl_>
require seems to look for it in lib itself
Nisstyre has joined #ruby
jimeh has joined #ruby
syamajala has joined #ruby
<Tasser>
begin ; foo ; rescue ; sleep 1 ; retry ; end # viable pattern?
`brendan has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
robacarp has quit [Ping timeout: 246 seconds]
kaspernj has quit [Quit: Leaving]
robacarp has joined #ruby
robacarp is now known as Guest76693
darkf has joined #ruby
abra has quit [Read error: Operation timed out]
joshman_ has quit [Ping timeout: 248 seconds]
ixti has quit [Quit: So Long, and Thanks for All the Fish!]
jgarvey has quit [Quit: Leaving]
<workmad3>
Tasser: not one I'd trust, no
<workmad3>
Tasser: no way for it to ever end if the exception really is one that can't be recovered from
greasegum has quit [Ping timeout: 264 seconds]
mjb2k has joined #ruby
<workmad3>
axl_: what are you trying at the moment?
redxoom has quit [Ping timeout: 264 seconds]
theRoUS has quit [Quit: Leaving]
biesiad has joined #ruby
<axl_>
I have a ruby project and am trying to convert some data to xml
<axl_>
for that I try to require 'builder' but then it looks for it in my lib file rather than taking it from the ruby lib
<workmad3>
axl_: do you actually mean a gem?
<axl_>
well, no, for example
DrShoggoth has quit [Quit: Leaving]
shavus has quit []
<workmad3>
axl_: or do you mean you have both a builder.rb file in your lib/ directory, but you're trying to pull in builder from the standard lib/gem?
saschagehlich has quit [Ping timeout: 246 seconds]
syamajala has quit [Remote host closed the connection]
<LUEshi2>
like I need my program to repeat something endlessly
<shevy>
loop { sleep 1; puts 'hi' }
<LUEshi2>
I need it to repeat a few lines not just one
adamkittelson has quit [Remote host closed the connection]
jimeh has quit [Ping timeout: 245 seconds]
syamajala has quit [Remote host closed the connection]
<darkf>
LUEshi2: then print your lines
<shevy>
what do you mean "not just one"
<LUEshi2>
i dunno really im a n00b
<shevy>
the code above is an endless loop in ruby
<LUEshi2>
im experimenting hold on
<shevy>
do you use irb?
<shevy>
you can test code in it
<LUEshi2>
yeah
<LUEshi2>
i need to repeat this
<mjb2k>
LUEshi: the ; is a line terminator, put a new line there and you can have as many lines as you like
<LUEshi2>
omg
Targen has joined #ruby
<shevy>
what do you have to repeat :)
<LUEshi2>
b.button(:name => 'submit').click
<LUEshi2>
b.button(:name => 'submit').click
<LUEshi2>
sleep 20 + rand(30)
<LUEshi2>
this
<LUEshi2>
well a bit more
mahmoudimus has joined #ruby
<LUEshi2>
but you get what i mean
skrewler has joined #ruby
<shevy>
good. put it into a loop { } block
<LUEshi2>
ok
GeekOnCoffee has joined #ruby
GeekOnCoffee has quit [Read error: Connection reset by peer]
GeekOnCoffee has joined #ruby
kpshek has quit []
<shevy>
hmm I tried to update the asciitable gem a bit
dv_ has quit [Ping timeout: 252 seconds]
<shevy>
now one way I use it is to do "asciitable foo.yaml" to read in yaml dataset and display it in ascii table
kjellski has quit [Quit: This computer has gone to sleep]
<shevy>
next thing will be for .csv data... but I wonder whether I should make it a new gem once finished or not
obryan has quit [Quit: Konversation terminated!]
sailias has joined #ruby
workmad3 has joined #ruby
banisterfiend has quit [Ping timeout: 245 seconds]
cpruitt has left #ruby [#ruby]
Berglund has quit [Quit: Computer died.]
banisterfiend has joined #ruby
mdszy has joined #ruby
arturas has quit [Remote host closed the connection]
jsilver has joined #ruby
wangr has quit [Ping timeout: 265 seconds]
<graspee>
nah. everyone likes a bulky gem
<graspee>
"i need to ... oh wow this gem i already have already does it! cool"
tiripamwe has quit [Quit: Leaving]
tiripamwe has joined #ruby
cherrypeel has joined #ruby
<denstark>
Hello! I think I'm misunderstanding something here -- trying to push onto an Array and getting undefined method <<. Here's my code: https://gist.github.com/fa189e5de7d65a700a36
<denstark>
The error is on line 11
<shevy>
graspee: you don't like featureful gems?
<graspee>
i do
mpereira has quit [Ping timeout: 248 seconds]
<shevy>
denstark: it is not good to initialize @ivars outside methods
sepp2k1 has quit [Quit: Leaving.]
<graspee>
i think you misunderstood my use of the word bulky and assumed i was being sarcastic, but i wasn't
<shevy>
move it into initialize()
sepp2k has joined #ruby
dnyy has joined #ruby
<graspee>
because bulky has a negative connotation
<denstark>
shevy: I see, let me try that
<shevy>
yeah graspee I kinda thought you meant fat
cjk101010 has quit [Ping timeout: 245 seconds]
<shevy>
rails could be fat for instance
jlogsdon has quit [Remote host closed the connection]
mahmoudi_ has joined #ruby
<shevy>
and I dont like rails very much
<graspee>
me neither
Stumilowy has joined #ruby
<shevy>
I dont hate it either though. it has its plus and cons
<denstark>
shevy: works! thanks :) I didn't realize it wasn't getting initialized
<graspee>
i despise it
mahmoudimus has quit [Ping timeout: 245 seconds]
<graspee>
and wish to destroy it
seanstickle has joined #ruby
<shevy>
hehe
<Stumilowy>
i have a problem with native ruby extension on windows
<mjb2k>
hey!, I am loving of the rails!
bglusman has quit [Read error: Connection reset by peer]
banisterfiend has quit [Ping timeout: 265 seconds]