<tjbiddle>
pretty sure i have them all installed - already checked that, will double.
c0rn_ has joined #ruby
<tjbiddle>
all good
c0rn has quit [Ping timeout: 265 seconds]
<tjbiddle>
all good meaning all installed - not it's working :p
c0rn_ is now known as c0rn
wmoxam has quit [Remote host closed the connection]
<aedorn>
tjbiddle: Can you put the full output in a gist/pastie? Sounds like it's failing when running configure, which could mean .... all sorts of things right now
<tjbiddle>
i changed ulimts on a few things the other week, sec
zeade has quit [Quit: Leaving.]
<aedorn>
heh..
<havenn>
so libiconv?
yshh has joined #ruby
jonathanwallace has quit [Ping timeout: 246 seconds]
<aedorn>
limits.h
natewalck has quit []
xnm has quit [Quit: WeeChat 0.3.8]
<tjbiddle>
yeah, no idea if related - change nopen limits for www-data user to 65536 the other week.
<eka>
lxml lib is there?
<tjbiddle>
which: define NR_OPEN 65536 is what it's bitching about in the log
<tjbiddle>
when saying unknown type of define - all others start with #
<aedorn>
is it really define NR_OPEN, not #define ?
robbyoconnor has joined #ruby
<tjbiddle>
really
<tjbiddle>
so i'm assuming that's what it is - but i'm also assuming it's auto-generated?
<aedorn>
it should be #define ...
<eka>
try previous version and see if it works
slainer68 has quit [Remote host closed the connection]
<eka>
if not ... your fault ... if yes... their fault
<aedorn>
well, with Ubuntu it's when you grab the kernel headers
<aedorn>
so it's whatever is in the package, unless modified by hand
pac1 has joined #ruby
xscc has joined #ruby
<aedorn>
either way, it's a preprocessor directive which always begin with #. Which means all of those lines in that header should begin with # as well
<tjbiddle>
both adding # in front and removing the line completely caused issues - added it back the way it was and now i get a different issue than the original.. wtf? lol
GlenK has joined #ruby
kenneth has quit [Quit: kenneth]
xscc has quit [Remote host closed the connection]
<tjbiddle>
No such file or directory - getcwd searching for solutions atm
stevechiagozie has joined #ruby
willob has quit [Quit: Leaving.]
kenneth has joined #ruby
<aedorn>
Have you considered reloading this system? heh
<eka>
try previous version...
tyfighter has quit [Quit: tyfighter]
<aedorn>
eka: Unless it's installed and compiled already, it's not going to build now
atno has quit [Ping timeout: 264 seconds]
<tjbiddle>
aedorn: reloading meaning?
maletor has quit [Quit: Computer has gone to sleep.]
<tjbiddle>
eka: thanks - gem install nokogiri -v '1.5.5' fixed it (meaning i'm getting my original error again, heh)
<eka>
tjbiddle: maybe a bad release?
<aedorn>
tjbiddle: reinstall Ubuntu .. or you could try to reinstall just the linux headers (or maybe the build-essential packages. I don't remember where Ubuntu keeps it)
<tjbiddle>
aedorn: can't do that - this is a beta box for an application, need to make sure this is good to go before promoting to preprod staging.
<aedorn>
tjbiddle: it's not good to go =)
neiled has quit [Quit: Computer has gone to sleep.]
<tjbiddle>
heh.
<tjbiddle>
well do you think this is specific to this box - or if i made the same ulimit changes on others, would that cause the same issue?
<aedorn>
well, before that try apt-get install --reinstall linux-kernel-headers
dankest has joined #ruby
<tjbiddle>
actually - now that i think about it, beta environment is shared with various applications - the change was made for a different app, but preprod is on a separate box.
<aedorn>
or rather sudo apt-get install --reinstall linux-kernel-headers
<tjbiddle>
kk
sealeaf1 has quit [Ping timeout: 246 seconds]
<elico>
I was wondering if anyone have any experience with event based code such as epoll or any others?
`gregorg` has quit [Read error: Connection reset by peer]
gregorg_taf has joined #ruby
<RubyPanther>
Almost everybody has experienced it, but most don't remember anything.
<tjbiddle>
interesting - looking at my ubuntu vm, that NOPEN statement is the same, except it's default is 1024 and is pre-fixed with #. wondering why it's goofed though.
<elico>
RubyPanther: And how about you?
<aedorn>
tjbiddle: yeah, it has to be prefixed. All C preprocessor directives are prefixed as such (#define, etc.) It's just really weird that specific file even changed .. unless someone recently built their own kernel and maybe mistyped for some reason
jjbohn has joined #ruby
<RubyPanther>
elico: I don't remember anything at all until a specific question jogs my memory.
`gregorg` has joined #ruby
gregorg_taf has quit [Read error: Connection reset by peer]
<tjbiddle>
aedorn: thanks a ton! nokogiri installed after that, which is good enough to proceed for now. i'll have to look into the ulimit change and why it wasn't prefixed in the meantime though - shouldn't happen until another upgrade though.
<elico>
RubyPanther: OK, I am working on a proxy server and since the current EM and others dosnt do what I need I am writing my own events etc..
<aedorn>
tjbiddle: sure.. and changing ulimits shouldn't change that file.. but hey, I've seen stranger things I guess
<tjbiddle>
aedorn: mind if i pm you?
<RubyPanther>
elico: these days state machines are very popular in Ruby for that
<tjbiddle>
don't want to spam up #ruby with linux talk :p
swex_ has joined #ruby
<elico>
RubyPanther: what state machines do you know? maybe I missed one? EM what else?
freeayu__ has joined #ruby
swex has quit [Ping timeout: 264 seconds]
<aedorn>
nah.. next time. I'm headed home. Was just waiting around to see if that's all it was. I have to go compile a cheeseburger
slash_nick has quit [Ping timeout: 265 seconds]
freeayu has quit [Ping timeout: 260 seconds]
aedorn has quit [Quit: Leaving]
pyr0commie has quit [Remote host closed the connection]
t_hash has joined #ruby
mengu has quit [Quit: Konversation terminated!]
<RubyPanther>
elico: Journey (the new rails router) might be a good code reference
<shevy>
tjbiddle this is ok, we will use linux to bootstrap RubyOS eventually
<tjbiddle>
shevy: heh
<swarley>
lolrubyos
luckyruby has joined #ruby
NiteRain has quit [Ping timeout: 246 seconds]
<swarley>
a rubyos could work, as long as you're using JRuby and a JVM as your kernel lol
<RubyPanther>
shevy: mRuby could bootstrap it for you already, you can even write RiteVM code by hand as if it was ASM.
pen has quit [Remote host closed the connection]
<GlenK>
hi. not sure how to handle this: http://fpaste.org/psGb/ I already have capybara in my Gemfile and ran '\bundle install'.
ossareh has quit [Ping timeout: 264 seconds]
<shevy>
RubyPanther I have not yet found out how to include code from files into mruby
johnmilton has quit [Remote host closed the connection]
sn0wb1rd has joined #ruby
gregorg_taf has joined #ruby
`gregorg` has quit [Read error: Connection reset by peer]
<swarley>
I giggled at the rubinius suggestion
jjbohn has quit [Quit: Leaving...]
<RubyPanther>
shevy: you just read the file into a string first and then you can call mrb_parse_string and mrb_generate_code and then mrb_run
bent has joined #ruby
Roa has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Ping timeout: 265 seconds]
<shevy>
ohhh
<shevy>
funny way :)
twoism has quit [Remote host closed the connection]
<shevy>
off topic... am I the only one getting annoyed about google lately? they want to force me to switch to my real name, rather than my shortcut alias in youtube...
slainer68 has joined #ruby
jjbohn has joined #ruby
Roa has joined #ruby
Roa has quit [Changing host]
Roa has joined #ruby
ryannielson has joined #ruby
<RubyPanther>
or just call mrb_parse_file
<RubyPanther>
shevy: I just clicked no
banisterfiend has joined #ruby
<shevy>
RubyPanther hmm let me try that with mrb_parse_file
<swarley>
Is there a speed difference between interpolation and using concat operators for strings?
SCommette has quit [Client Quit]
<swarley>
"hello #{world}" versus "hello " << world or "hello " + world
passbe has quit [Ping timeout: 256 seconds]
Hanmac has quit [Ping timeout: 248 seconds]
gregorg_taf has quit [Read error: Connection reset by peer]
`gregorg` has joined #ruby
xnm has joined #ruby
dankest is now known as dankest|away
pasties has quit [Changing host]
pasties has joined #ruby
mneorr has quit [Remote host closed the connection]
fmcgeough has quit [Quit: fmcgeough]
bigmcq77 has joined #ruby
slainer68 has quit [Ping timeout: 246 seconds]
dankest|away is now known as dankest
dankest has quit [Quit: Leaving...]
LBRapid has quit [Quit: Farewell.]
niklasb has quit [Read error: Operation timed out]
<jcrawford>
hey guys if i were to do arr.contains? "text" how can i make sure case does not matter? would I have to use arr.each {|var| if var.downcase == "string" }
<jcrawford>
or is there a way to do it with contains?
banisterfiend has quit [Ping timeout: 255 seconds]
jeffreybaird has joined #ruby
banisterfiend has joined #ruby
<eka>
jcrawford: arr has a contains? method?
<jcrawford>
sorry include?
<jcrawford>
i am still new :)
<eka>
ahhh ok
ryanlecompte has quit [Remote host closed the connection]
<jcrawford>
but i know arr.include? "Dog" will nto find "dog" and vice versa
<eka>
jcrawford: right...
dankest has joined #ruby
jfl0wers has quit [Quit: jfl0wers]
Divinite has quit [Quit: Divinite has left :(]
kil0byte has joined #ruby
stevechiagozie has joined #ruby
t_hash has joined #ruby
rondale_sc has joined #ruby
Divinite has joined #ruby
t_hash has quit [Client Quit]
Gooder has quit [Remote host closed the connection]
malte_ has quit [Quit: malte_]
<jcrawford>
so i am trying to figure out how i can search an array without case sensitivity
passbe has joined #ruby
rakl has quit [Quit: sleeping]
gregorg_taf has joined #ruby
`gregorg` has quit [Read error: Connection reset by peer]
phelps_ has joined #ruby
NiteRain has joined #ruby
phelps has quit [Read error: Operation timed out]
<waxjar>
swarley, if i remember correctly interpolation is much faster than concatenating
phelps_ is now known as phelps
iamjarvo has joined #ruby
<swarley>
I think i saw a shootout somewhere, i can't find it though
<eka>
jcrawford: you can use select
ryanf has joined #ruby
<shevy>
Master eka is a multilingual hacker
ryannielson is now known as TWIXMIX
<shevy>
swarley "foo " + object will create a new object, so it should be slower than " foo " << bla
<shevy>
swarley no real idea about "hello #{world}" vs "hello " << world ...
<shevy>
swarley my gut feeling tells me that << is faster
<swarley>
[48] pry(main)> ["hello","Hello"].select {|x| x =~ /hello/i }
<swarley>
=> ["hello", "Hello"]
IrishGringo has joined #ruby
gregorg_taf has quit [Read error: Connection reset by peer]
`gregorg` has joined #ruby
<jcrawford>
eka i am not quite sure what you mean
<swarley>
jcrawford; look at what i just said
<shevy>
swarley he is still in the backlog of eka ;-)
<jcrawford>
ah ok going to read up onm select, thanks for that tip
<shevy>
hehe
<shevy>
he finally saw you swarley!
<swarley>
[49] pry(main)> (["hello","Hello"].select {|x| x =~ /hello/i }).any?
<swarley>
=> true
rakl has joined #ruby
musl has quit [Quit: WeeChat 0.3.9.2]
banisterfiend has quit [Ping timeout: 255 seconds]
freakazoid0223 has quit [Quit: Leaving]
nouh has quit [Ping timeout: 246 seconds]
musl has joined #ruby
nouh has joined #ruby
chendo_ has quit [Ping timeout: 265 seconds]
The_8472 has joined #ruby
gmci has joined #ruby
gmci is now known as Guest26715
chendo_ has joined #ruby
crackfu is now known as SnakePlissken
eka has quit [Remote host closed the connection]
jeffreybaird has quit [Quit: jeffreybaird]
<jcrawford>
anyone that could lend a hand with this? I am on mac osx 10.7 and installed imagmagick through homebrew
<jcrawford>
Can't install RMagick 2.13.1. Can't find the ImageMagick library or one of the dependent libraries. Check the mkmf.log file for more detailed information.
dvorak has joined #ruby
gregorg_taf has joined #ruby
`gregorg` has quit [Read error: Connection reset by peer]
dvorak has left #ruby [#ruby]
hollyw00d has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
stevechiagozie has quit [Ping timeout: 248 seconds]
jfl0wers has joined #ruby
The_8473 has joined #ruby
stopbit has quit [Quit: Leaving]
pen has quit [Read error: Connection reset by peer]
baroquebobcat has quit [Quit: baroquebobcat]
pen has joined #ruby
The_8472 has quit [Ping timeout: 255 seconds]
<shevy>
on linux I would do "ry imagemagick" and my ruby scripts would compile this, as is, into prefix /usr. you could try to compile ImageMagick from source into /usr prefix, or ensure that all devel parts of Imagemagick are installed too
<shevy>
then, you need to enter the directory witH RMagick and run extconf.rb
<shevy>
and look at the exact error
Asher has quit [Ping timeout: 255 seconds]
<shevy>
what does mkmf.log say
SnakePlissken is now known as crackfu
crackfu has quit [Changing host]
crackfu has joined #ruby
rakl has quit [Quit: sleeping]
<jcrawford>
ah it may be because i am using Ruby 1.9 in homebrew
pac1 has quit [Quit: I got it one line of code at a time]
adeponte has quit [Remote host closed the connection]
`gregorg` has quit [Read error: Connection reset by peer]
gregorg_taf has joined #ruby
greengriminal has quit [Quit: Page closed]
<havenn>
swarley: My entry: require 'damerau-levenshtein'; DamerauLevenshtein.distance 'honey', 'bunny'
<havenn>
#=> 3
<swarley>
lame
<swarley>
no 3rd party libraries allowed
mockra has joined #ruby
The_8473 is now known as The_8472
<shevy>
hmm guys, question. say I have a file called "foo.txt", that contains only ruby code... is there any other way to load and run that code, _other_ than using eval() ?
<shevy>
right now I use eval, it works, but it feels kind of dirty
<swarley>
shevy; load. That's about it
danneu has joined #ruby
R3dy has quit [Ping timeout: 260 seconds]
nouh has quit [Ping timeout: 264 seconds]
<havenn>
load seems nicer than eval
gregorg_taf has quit [Read error: Connection reset by peer]
`gregorg` has joined #ruby
nouh has joined #ruby
jfl0wers has quit [Quit: jfl0wers]
<swarley>
only works if foo.txt only has ruby code in it though
<shevy>
oh
<shevy>
ok, that should do. yeah, it is only ruby code... though leading shebang line in # comments... but that should be no problem
<shevy>
thanks
<swarley>
np
wf2f has quit []
<shevy>
damn
<shevy>
now I remember...
tjbiddle_ has joined #ruby
<shevy>
somehow that doesn't work with load
<shevy>
I need to interprete all the method calls hmm
<swarley>
i was just thinking, is my computer getting slow?
<swarley>
and then i realized?
<swarley>
0?
<shevy>
no such file to load -- # ================================================================= #
kil0byte has quit [Remote host closed the connection]
gregorg_taf has joined #ruby
miskander has quit [Quit: miskander]
`gregorg` has quit [Read error: Connection reset by peer]
bigmcq77 has quit [Quit: Computer has gone to sleep.]
xbayrockx has joined #ruby
xbayrockx is now known as wf2f
breakingthings has quit []
slainer68 has joined #ruby
g_bleezy has joined #ruby
punkrawkR has quit [Ping timeout: 260 seconds]
sayan has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
bigmcq77 has joined #ruby
dorei has quit []
slainer68 has quit [Ping timeout: 264 seconds]
zeade has joined #ruby
fred909 has quit [Ping timeout: 255 seconds]
reppard has quit [Ping timeout: 244 seconds]
nouh has quit [Ping timeout: 246 seconds]
squidBits has joined #ruby
gregorg_taf has quit [Read error: Connection reset by peer]
gregorg_taf has joined #ruby
nouh has joined #ruby
F1skr has quit [Quit: WeeChat 0.3.9.2]
mahmoudimus has joined #ruby
kenneth has quit [Quit: kenneth]
axl_ has joined #ruby
ephemerian has quit [Quit: Leaving.]
a_a_g has joined #ruby
<maetthew>
Anyone good with regex? I'm trying for the first time to match a quite complex string with regexp. But I'm lost already at the beginning. I think it has something todo with whitespaces but not what. -- http://rubular.com/r/dGKkqOdxI6
rakl has quit [Quit: sleeping]
elico has quit [Ping timeout: 264 seconds]
LouisGB has joined #ruby
mockra has quit [Read error: Connection reset by peer]
bent_ has joined #ruby
manizzle has joined #ruby
pen has quit [Read error: Connection reset by peer]
lukeholder has quit [Quit: Computer has gone to sleep.]
bigmcq77 has quit [Quit: Computer has gone to sleep.]
ryanf has quit [Ping timeout: 255 seconds]
nateberkopec has joined #ruby
Asher has joined #ruby
`gregorg` has quit [Read error: Connection reset by peer]
gregorg_taf has joined #ruby
larissa has quit [Quit: Leaving]
nateberkopec has quit [Client Quit]
tjbiddle_ has joined #ruby
`gregorg` has joined #ruby
jamesaxl has quit [Read error: Operation timed out]
gregorg_taf has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
radic has quit [Disconnected by services]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
tjbiddle has quit [Ping timeout: 246 seconds]
tjbiddle_ is now known as tjbiddle
radic_ has joined #ruby
bigmcq77 has joined #ruby
aharris6 has joined #ruby
baroquebobcat has quit [Client Quit]
xbayrockx has joined #ruby
squidBits has quit [Quit: squidBits]
scant has quit [Quit: Lost terminal]
wf2f has quit [Ping timeout: 252 seconds]
xorgnak has joined #ruby
dankest has joined #ruby
xorgnak has quit [Remote host closed the connection]
neurotech has joined #ruby
baroquebobcat has joined #ruby
Asher has quit [Quit: Leaving.]
kenneth has joined #ruby
SCommette has quit [Quit: SCommette]
adeponte has joined #ruby
gregorg_taf has joined #ruby
`gregorg` has quit [Read error: Connection reset by peer]
Asher has joined #ruby
adkron has joined #ruby
Nisstyre has joined #ruby
squidBits has joined #ruby
ryanf_ has quit [Quit: broken pipes |||]
rellin has quit [Ping timeout: 255 seconds]
cj3kim has joined #ruby
twoism has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
twoism_ has joined #ruby
nouh has quit [Ping timeout: 264 seconds]
nouh has joined #ruby
twoism_ has quit [Remote host closed the connection]
twoism_ has joined #ruby
Asher has quit [Quit: Leaving.]
slash_nick has joined #ruby
wallerdev has joined #ruby
ryanf has joined #ruby
twoism has quit [Ping timeout: 246 seconds]
<jcrawford>
ok anyone that can help with this
<jcrawford>
You are probably using the pure ruby mysql.rb driver,
<jcrawford>
which Sequel does not support. You need to install
<jcrawford>
the C based adapter, and make sure that the mysql.so file is loaded instead of the mysql.rb file.
kil0byte has joined #ruby
elsifaka has quit [Read error: Connection reset by peer]
fred909 has joined #ruby
elsifaka has joined #ruby
<slash_nick>
jcrawford: there's no question there... what are you asking?
axl_ has quit [Quit: axl_]
<jcrawford>
i think i got it
stevechiagozie has joined #ruby
<jcrawford>
i read that the mysql gem is no longer maintained and to use ruby-mysql
Marco has quit [Ping timeout: 246 seconds]
<jcrawford>
sorry slash_nick that was the error i was getting when i ran a script that tried to use mysql
<slash_nick>
ok... sorry, haven't used mysql + sequel...
<jcrawford>
nice all working : Thanks
axl_ has joined #ruby
`gregorg` has joined #ruby
gregorg_taf has quit [Read error: Connection reset by peer]
cr3 has joined #ruby
Asher has joined #ruby
<cr3>
why does "if 3 % 3" evaluate to true?
bent_ has quit [Read error: No route to host]
<seanstickle>
cr3: because it's not false or nil
luckyruby has joined #ruby
slainer68 has joined #ruby
stevechiagozie has quit [Ping timeout: 256 seconds]
<cr3>
seanstickle: is it better practice to do something like "if 3 % 3 == 0" or something else?
Asher has quit [Ping timeout: 264 seconds]
<seanstickle>
cr3: that works
invisime has quit [Quit: Leaving.]
ksinkar_ has joined #ruby
<slash_nick>
cr3: only say "if c % 3 == 0" if you mean "if c % 3 == 0". period.
stevechiagozie has joined #ruby
stevechiagozie has quit [Client Quit]
stevechiagozie has joined #ruby
Asher has joined #ruby
gregorg_taf has joined #ruby
`gregorg` has quit [Read error: Connection reset by peer]
<cr3>
slash_nick: I'm not sure what you mean, is there a potential trap where I might think I mean "if c % 3 == 0" but I actually mean something else?
fred909 has quit [Ping timeout: 252 seconds]
slainer68 has quit [Ping timeout: 250 seconds]
dmerrick has joined #ruby
kil0byte has quit [Remote host closed the connection]
<slash_nick>
cr3: I just didn't understand your question... 'c % 3' evaluates to true for a very specific set of numbers... if you want a piece of logic executing for that exact set of numbers, 'if c % 3 == true' is what you use... otherwise, it's the wrong thing to use.
iamjarvo has quit [Quit: Leaving.]
baroquebobcat has joined #ruby
woolite64 has joined #ruby
woolite64 has quit [Remote host closed the connection]
<cr3>
slash_nick: my understanding is that c % 3 never evalutes to true nor false, specifically, but always to an integer between 0 and 2 inclusively
earthquake has quit [Remote host closed the connection]
earthquake has joined #ruby
nouh_ has joined #ruby
nga4 has quit [Ping timeout: 265 seconds]
<cr3>
slash_nick: for example, if you try "3 % 3 == false" or "3 % 3 == true", both expressions will evaluate to false. I learn something new :)
crackfu has quit [Remote host closed the connection]
cj3kim has quit [Quit: This computer has gone to sleep]
nouh has quit [Ping timeout: 252 seconds]
axl_ has quit [Quit: axl_]
gregorg_taf has quit [Read error: Connection reset by peer]
gordon1775 has quit [Ping timeout: 255 seconds]
`gregorg` has joined #ruby
cr3 has quit [Quit: leaving]
joeycarmello has joined #ruby
gregorg_taf has joined #ruby
ner0x has joined #ruby
`gregorg` has quit [Read error: Connection reset by peer]
moshee has quit [Ping timeout: 252 seconds]
moshee has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
pu22l3r has joined #ruby
pu22l3r has quit [Remote host closed the connection]
seanstickle has quit [Quit: seanstickle]
agarie has quit [Remote host closed the connection]
sandGorgon1 has joined #ruby
sandGorgon has joined #ruby
rondale_sc has quit [Quit: rondale_sc]
stevechiagozie has quit [Quit: leaving]
stevechiagozie has joined #ruby
GoGoGarrett has joined #ruby
arkiver has joined #ruby
sjhuang has quit [Ping timeout: 252 seconds]
friskd has quit [Read error: Operation timed out]
jameshyde has joined #ruby
rakl has joined #ruby
sjhuang has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
gregorg_taf has quit [Read error: Connection reset by peer]
gregorg_taf has joined #ruby
slash_nick has quit [Ping timeout: 255 seconds]
luckyruby has quit [Remote host closed the connection]
gregorg_taf has quit [Read error: Connection reset by peer]
`gregorg` has joined #ruby
dross has quit [Ping timeout: 264 seconds]
bigmac has quit [Remote host closed the connection]
squidBits has quit [Quit: squidBits]
luckyruby has joined #ruby
williamcotton has quit [Quit: williamcotton]
ryanlecompte has joined #ruby
_alejandro has joined #ruby
jlwestsr has joined #ruby
joeycarmello has quit [Remote host closed the connection]
<ryanf>
the current standard debugging tool is the debugger gem; I'm not sure how it compares featurewise to ruby-debug
<ryanf>
er, standard *debugger*
<ryanf>
as opposed to pry, which is a debugging tool but not a debugger
<cr3>
ryanf: well detected! I'm using the default package of ruby on ubuntu precise
<cr3>
ryanf: thanks for the background information, I'd like to start with the standard debugger and then maybe proceed to more extensive debugging tools like pry
tommyvyo has quit [Quit: Computer has gone to sleep.]
bluOxigen has joined #ruby
<cr3>
ryanf: however, I'm a bit confused: after I require ruby-debug, I call "debugger" to set a breakpoint. isn't that the standard debugger you were talking about?
qubit has quit [Ping timeout: 244 seconds]
burgestrand has joined #ruby
<cr3>
ryanf: my mistake, gem list -r debug clearly shows a gem just called "debugger", which is probably what you are referring to. I'll give that a try
squidBits has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
lolcathost has quit [Quit: leaving]
robbyoconnor has joined #ruby
mockra has joined #ruby
joeycarmello has joined #ruby
Catnaroek has joined #ruby
Catnaroek is now known as lolcathost
<cr3>
ryanf: unfortunately, this is what happens when I try to gem install debugger: http://pastebin.com/yDJLYtfn
answer_42 has joined #ruby
squidBits has joined #ruby
tPl0ch has joined #ruby
<havenn>
cr3: You probably need to install build tools if you want to install gems with native extensions. Might wanna try: sudo apt-get install build-essential automake
<cr3>
havenn: I already have those, so I'm concerned about this line: extconf.rb:2:in `require': no such file to load -- debugger/ruby_core_source (LoadError)
pen has quit [Read error: Connection reset by peer]
g_bleezy has quit [Remote host closed the connection]
<havenn>
cr3: Debugger is a fork of ruby-debug that works on 1.9. I don't even know if debugger works on 1.8. 1.8 is old, no more security patches even after beginning of summer.
pen has joined #ruby
<cr3>
havenn: that would certainly explain what's happening, thanks!
bluOxigen has quit [Ping timeout: 265 seconds]
* cr3
likes how things suddenly make sense...
tagrudev has joined #ruby
Nieralyte has left #ruby [#ruby]
bent_ has joined #ruby
pen has quit [Read error: Connection reset by peer]
pen has joined #ruby
v0n has joined #ruby
SCommette has joined #ruby
yekta has quit [Quit: yekta]
tjbiddle has quit [Quit: tjbiddle]
fir_ed has quit [Ping timeout: 246 seconds]
cr3 has quit [Quit: leaving]
pen has quit [Remote host closed the connection]
guns has quit [Quit: guns]
dankest has quit [Ping timeout: 246 seconds]
pen has joined #ruby
dmerrick has quit [Quit: dmerrick]
jgrevich has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
kil0byte has joined #ruby
lolcathost has quit [Read error: Connection reset by peer]
kiyoura has quit [Quit: Leaving]
bent_ has quit [Quit: leaving]
sayan has quit [Read error: Connection reset by peer]
wf2f has joined #ruby
Guest26715 has quit [Quit: Computer has gone to sleep.]
lolcathost has joined #ruby
xbayrockx has quit [Ping timeout: 246 seconds]
lolcathost has quit [Ping timeout: 260 seconds]
lenovodroid has joined #ruby
_hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
JohnBat26 has joined #ruby
v0n has quit [Ping timeout: 250 seconds]
samuel02 has joined #ruby
aharris6 has quit [Remote host closed the connection]
zommi has joined #ruby
zarubin has joined #ruby
xnm has quit [Read error: Connection reset by peer]
mahmoudimus has joined #ruby
SCommette has quit [Quit: SCommette]
sayan has joined #ruby
squidBits has quit [Quit: squidBits]
clocKwize has joined #ruby
arkiver has quit [Ping timeout: 246 seconds]
xpen has joined #ruby
robustus has quit [Ping timeout: 276 seconds]
robustus has joined #ruby
LouisGB has quit [Ping timeout: 246 seconds]
ttt has quit [Remote host closed the connection]
LouisGB has joined #ruby
pcarrier has quit []
tonini has joined #ruby
ttt has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
nemesit has joined #ruby
squidBits has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
maesbn has joined #ruby
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
rellin has quit [Ping timeout: 264 seconds]
pignata has quit [Read error: Connection reset by peer]
moshee has quit [Ping timeout: 255 seconds]
moshee has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
kn330 has joined #ruby
ephemerian has joined #ruby
Asher has quit [Remote host closed the connection]
arkiver has joined #ruby
gregorg_taf has quit [Read error: Connection reset by peer]
squidBits has quit [Read error: Connection reset by peer]
enroxorz-work has joined #ruby
theRoUS has quit [Ping timeout: 264 seconds]
tommyvyo_ has joined #ruby
iamjarvo has joined #ruby
tommyvyo has quit [Client Quit]
tommyvyo_ is now known as tommyvyo
squidBits has joined #ruby
_bart has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
slainer68 has quit [Ping timeout: 264 seconds]
_bart has left #ruby [#ruby]
love_color_text has joined #ruby
krawchyk has joined #ruby
cousine has quit [Remote host closed the connection]
neurotech has quit [Remote host closed the connection]
zeade has joined #ruby
io_syl has joined #ruby
lenodroid has joined #ruby
squidBits has quit [Read error: Connection reset by peer]
<diegoviola>
i'm firing two processes from one process, process 1 and process 2, process 1 is creating some directories and pulling data from an external server, how can i know from process 2 when process 1 have created the directories and pulled data?
squidBits has joined #ruby
qwerxy has joined #ruby
<diegoviola>
i want to let process 2 wait and for process 1 to create some dirs and then continue with process 2 execution
<diegoviola>
should i use something like inotify?
<diegoviola>
please advicer
<diegoviola>
advice*
bijumon has joined #ruby
<diegoviola>
those are independent processes that i'm launching with system "rake ..."
jrist-afk is now known as jrist
xpen has joined #ruby
<bijumon>
I have a ruby class from which I'm calling a haml template Haml::Engine.new("page.haml"), how can I use a variable from this class in page.haml? please, ty
chussenot_ has joined #ruby
chussenot_ has quit [Client Quit]
Spami has quit [Quit: This computer has gone to sleep]
squidBits_ has joined #ruby
Gooder has joined #ruby
chussenot has quit [Ping timeout: 264 seconds]
Drewch has quit [Ping timeout: 244 seconds]
a_a_g has quit [Quit: Leaving.]
a_a_g has joined #ruby
Guest__ has joined #ruby
reppard has joined #ruby
bakis has quit [Ping timeout: 240 seconds]
pcarrier has quit []
squidBits has quit [Ping timeout: 255 seconds]
NiteRain has quit [Ping timeout: 246 seconds]
v0n has quit [Ping timeout: 260 seconds]
Drewch has joined #ruby
a_a_g has quit [Client Quit]
Guest__ has quit [Client Quit]
Guest__ has joined #ruby
imami|afk has quit [Ping timeout: 244 seconds]
squidBits_ has quit [Read error: Connection reset by peer]
squidBits has joined #ruby
Guest__ has left #ruby [#ruby]
Norrin has joined #ruby
Debolaz has joined #ruby
octarine has joined #ruby
xpen has quit [Remote host closed the connection]
jlwestsr has joined #ruby
reppard has quit [Ping timeout: 255 seconds]
xpen has joined #ruby
berserkr has joined #ruby
pjackson has joined #ruby
SegFaultAX has joined #ruby
dweeb has joined #ruby
banseljaj has joined #ruby
bijumon has quit [Ping timeout: 265 seconds]
xpen_ has joined #ruby
bijumon has joined #ruby
t4nkd has joined #ruby
zeade has quit [Ping timeout: 272 seconds]
maetthew has quit [Quit: bye!]
maetthew- has joined #ruby
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
maetthew- is now known as maetthew
maetthew has quit [Changing host]
maetthew has joined #ruby
noxoc has quit [Read error: Connection reset by peer]
x0F has quit [Read error: Connection reset by peer]
noxoc has joined #ruby
tommyvyo_ has joined #ruby
io_syl has quit [Quit: Computer has gone to sleep.]
xpen has quit [Ping timeout: 264 seconds]
x0F has joined #ruby
squidBits_ has joined #ruby
noxoc has quit [Client Quit]
pen has quit [Remote host closed the connection]
cousine has joined #ruby
hello has joined #ruby
<hello>
hello
pcarrier has joined #ruby
squidBits has quit [Ping timeout: 255 seconds]
squidBits_ is now known as squidBits
<Kuifje>
hi
samphippen has quit [Quit: Computer has gone to sleep.]
squidBits has quit [Read error: Connection reset by peer]
krz has joined #ruby
xpen has joined #ruby
squidBits has joined #ruby
axl_ has quit [Quit: axl_]
Spami_ has joined #ruby
Spami_ has quit [Client Quit]
Spami has quit [Ping timeout: 244 seconds]
adkron has joined #ruby
pcarrier has quit [Ping timeout: 250 seconds]
thatguycraig has joined #ruby
kirun has joined #ruby
xpen_ has quit [Ping timeout: 252 seconds]
eka has joined #ruby
dawkirst_2 has joined #ruby
jkarayusuf has joined #ruby
dawkirst_ has quit [Ping timeout: 260 seconds]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
kil0byte_ has joined #ruby
breakingthings has joined #ruby
eka has quit [Ping timeout: 248 seconds]
mmitchell has joined #ruby
bijumon has quit [Ping timeout: 260 seconds]
solidoodlesuppor has joined #ruby
sailias has joined #ruby
jtharris has joined #ruby
kil0byte has quit [Ping timeout: 260 seconds]
dawkirst_2 has quit [Ping timeout: 260 seconds]
wmoxam_ is now known as wmoxam
lusory has joined #ruby
wmoxam has quit [Changing host]
wmoxam has joined #ruby
haxrbyte has joined #ruby
dawkirst_ has joined #ruby
rondale_sc has joined #ruby
willob has joined #ruby
squidBits has quit [Ping timeout: 255 seconds]
squidBits has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
rondale_sc has quit [Client Quit]
darthdeus has quit [Quit: Leaving...]
Spami has quit [Quit: This computer has gone to sleep]
_bart has joined #ruby
Spami has joined #ruby
zeade has joined #ruby
GoGoGarrett has joined #ruby
Averna has quit [Quit: Leaving.]
carlyle has joined #ruby
_sillymarkets has joined #ruby
darthdeus has joined #ruby
PeteFonseca has joined #ruby
squidBits_ has joined #ruby
carlyle_ has joined #ruby
miskander has joined #ruby
reppard has joined #ruby
morf has quit [Quit: eof]
carlyle has quit [Ping timeout: 245 seconds]
banisterfiend has quit [Remote host closed the connection]
squidBits has quit [Ping timeout: 255 seconds]
squidBits_ is now known as squidBits
pcarrier has joined #ruby
rakuN has quit [Read error: Connection reset by peer]
nomenkun_ has joined #ruby
Virunga has quit [Ping timeout: 264 seconds]
nomenkun has quit [Ping timeout: 264 seconds]
reppard has quit [Ping timeout: 252 seconds]
jslowe has joined #ruby
haxrbyte_ has joined #ruby
eka has joined #ruby
Emmanuel_Chanel has joined #ruby
Virunga has joined #ruby
yshh has joined #ruby
haxrbyte has quit [Ping timeout: 248 seconds]
squidBits has quit [Ping timeout: 255 seconds]
taoru_ has quit [Remote host closed the connection]
marr has quit [Ping timeout: 256 seconds]
zeade has quit [Ping timeout: 244 seconds]
doodlehaus has joined #ruby
Spami_ has joined #ruby
yshh has quit [Ping timeout: 248 seconds]
nomenkun_ has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
squidBits has joined #ruby
nomenkun has quit [Remote host closed the connection]
samphippen has joined #ruby
aquaranto has joined #ruby
nomenkun has joined #ruby
sandGorgon1 has quit [Ping timeout: 264 seconds]
sandGorgon has quit [Ping timeout: 264 seconds]
jameshyde has joined #ruby
Spami has quit [Ping timeout: 260 seconds]
thmzlt has quit [Remote host closed the connection]
uris has joined #ruby
qwerxy has quit [Quit: Computer has gone to sleep.]
S2kx has joined #ruby
<Gadgetoid>
Cripes, the RubyMine discount has killed the website
<fgro>
the "new" hash syntax in ruby you can do { mykey: value } ... what if my key is "my-key"? { my-key: value } won't work. (in this case a tag attrbute for an html element) What's the problem?
bwlang has joined #ruby
browndawg has joined #ruby
<Vivid_>
anyone here use rvm? My installation of rails is referenceing Ruby 1.8 but not the current one I've just installed. Looking for adivce, cheers
<shevy>
fgro probably because a symbol does not like the -
samphippen has quit [Quit: Computer has gone to sleep.]
<mpfundstein>
yfeldblum: i think i tried. he throw some other error.
<bwlang>
isn't bundler supposed to have taken care of this issue?
<mpfundstein>
yfledblum: i try again :-)
JohnTeddy has joined #ruby
Roa has joined #ruby
Roa has quit [Changing host]
Roa has joined #ruby
ixx has quit [Ping timeout: 260 seconds]
<yfeldblum>
bwlang, yeah :D
fgro has quit [Ping timeout: 264 seconds]
ixx has joined #ruby
<yfeldblum>
bwlang, what versions of ruby, rubygems, bundler?
ixx is now known as Guest19137
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
m_3 has quit [Quit: leaving]
yshh has joined #ruby
cousine has quit [Remote host closed the connection]
hackeron_ has quit [Ping timeout: 276 seconds]
main_ has quit [Ping timeout: 246 seconds]
maesbn_ has quit [Remote host closed the connection]
danneu1 has joined #ruby
maesbn has joined #ruby
<shevy>
bwlang bundler happily gives you new problems ;P
wnl_work has joined #ruby
dweeb has quit [Quit: Computer has gone to sleep.]
speakingcode has joined #ruby
<wnl_work>
in the block used for this expression: line.gsub(/^"([^"]*)"[ \t]+(.*)$/) do |match|
cakehero has joined #ruby
<wnl_work>
i should expect to see everything after the whitespace in $2 yes?
<tjbiddle>
Hey guys, what's the correct (read: most popular convention) way for formatting passing arguments on multiple lines? should i have each parameter indented by one, or should i match it with the end of the method call? or some other way entirely?
Catnaroek has joined #ruby
<tjbiddle>
bwlang: ran into that yesterday - bundle update i believe? (or update rake specifically i would assume)
<tjbiddle>
yfeldblum: thanks for sharing! anyone else have a preference, whether it's the same or different
<tjbiddle>
if you can't tell i'm very ocd about code readability :p
ttt has joined #ruby
Guest29161 has quit [Read error: Connection reset by peer]
TheRDV_ has quit [Quit: Ex-Chat]
<yfeldblum>
tjbiddle, the problem with indenting to the opening parenthesis is that editors mangle lines, and that we change method names, and it all gets stupid really fast
heftig_ is now known as heftig
grzywacz has quit [Quit: :wq]
<wnl_work>
bad ruby. no biscuit!
<wnl_work>
calling sub or gsub inside a sub block resets all the $N variables
<yfeldblum>
tjbiddle, this method will allow you to add a single parameter, whether positional or named, with your diff touching only a single line, and will also let you change the method name with your diff touching only a single line
rjmt___ has joined #ruby
<yfeldblum>
wnl_work, of course it does
<wnl_work>
so much for scope
<yfeldblum>
wnl_work, you're supposed to save the pseudoglobals you want into local variables
grzywacz has joined #ruby
grzywacz has quit [Changing host]
grzywacz has joined #ruby
<yfeldblum>
wnl_work, string.gsub(/pattern/){a, b, c = $1, $2, $3 ; a + b + c}
<wnl_work>
yeah, theyre pseudoglobals even tho they look like locals
x82_nicole has joined #ruby
<yfeldblum>
wnl_work, or you can do it the non-perl way and get a MatchData object that won't change out from under you
<wnl_work>
will remember that for the future. for now i will just put the call to sub last. funny how its always the perl-ish things in ruby that i end up hating. :)
ttt has quit [Ping timeout: 245 seconds]
reppard has joined #ruby
classix has quit [Ping timeout: 252 seconds]
danneu1 has quit [Ping timeout: 246 seconds]
tjbiddle has quit [Ping timeout: 248 seconds]
dmerrick has joined #ruby
<yfeldblum>
wnl_work, hmm actually don't know if that's possible with gsub
fgro has joined #ruby
classix has joined #ruby
aganov has quit [Quit: aganov]
ksinkar has quit [Ping timeout: 264 seconds]
rburton- has joined #ruby
reppard has quit [Ping timeout: 252 seconds]
<wnl_work>
Regexp.last_match is still a global thing, right?
apeiros_ has quit [Remote host closed the connection]
Coolhand|laptop has quit [Ping timeout: 255 seconds]
classix has quit [Ping timeout: 245 seconds]
robbyoconnor has joined #ruby
r0bby has joined #ruby
kil0byte has joined #ruby
classix has joined #ruby
thams has quit [Quit: thams]
<yfeldblum>
wnl_work, probably just returns $1 or something
<yfeldblum>
wnl_work, here's the simple approach: just capture what you need into local variables at the beginning of your block
jlwestsr has quit [Quit: Ex-Chat]
<wnl_work>
then so i dont see much value in using a block with sub or gsub. i had thought that would limit the scope of the MatchData, but apparently not. you can just call sub, then grabe what you need from last_match and move on.
jonnn has joined #ruby
kil0byte_ has quit [Ping timeout: 255 seconds]
ian__ has joined #ruby
Roa has quit [Ping timeout: 265 seconds]
Banistergalaxy has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Ping timeout: 250 seconds]
lenodroid has quit [Read error: Connection reset by peer]
<Tumulte>
I' struggling hard to install my first ruby app : redmine
<Tumulte>
After several gem issues I end up with a 500
<Tumulte>
getting close
<Tumulte>
!
<Tumulte>
Premature end of script headers: dispatch.fcgi
banisterfiend has joined #ruby
<Tumulte>
Apparently it's a problem with ruby path, right ?
PeteFonseca has quit [Ping timeout: 245 seconds]
c0rn has quit [Quit: Computer has gone to sleep.]
brandon_ has joined #ruby
brandon_ has quit [Client Quit]
c0rn has joined #ruby
fred909 has joined #ruby
c0rn has quit [Client Quit]
nazty has joined #ruby
Guest8265 is now known as bakis
bakis has quit [Changing host]
bakis has joined #ruby
sayan has quit [Quit: Leaving]
oktapodi has quit [Remote host closed the connection]
alexspeller has quit [Ping timeout: 252 seconds]
oktapodi has joined #ruby
c0rn has joined #ruby
niklasb has quit [Ping timeout: 264 seconds]
alexspeller has joined #ruby
willob has joined #ruby
cousine has joined #ruby
buibex has quit [Remote host closed the connection]
brandon_ has joined #ruby
LouisGB has quit [Ping timeout: 265 seconds]
brandon_ has quit [Client Quit]
buibex has joined #ruby
Guest84834 has quit [Quit: leaving]
brandon has joined #ruby
brandon is now known as Guest47288
philcrissman has quit [Remote host closed the connection]
swarley-freenode is now known as swarley
shevy has quit [Ping timeout: 260 seconds]
miskander has quit [Quit: miskander]
stevechiagozie has quit [Quit: leaving]
<danneu>
Tumulte: at least there's no shortage of google results for "Premature end of script headers: dispatch.fcgi", since i think you'd be really lucky if someone hear could fire off a solution to that for you.
nignaztic has joined #ruby
stevechiagozie has joined #ruby
<Tumulte>
danneu: I'm discovering the right forums
adeponte has joined #ruby
<Tumulte>
./dispatch.fcgi is a mine of information
grzywacz has joined #ruby
lenovodroid has quit [Read error: Connection reset by peer]
miskander has joined #ruby
lenovodroid has joined #ruby
<bakis>
You guys heard about the jetbrains sale?
<bakis>
75% off rubymine! and all their other IDES as well
<oxman>
sublimeText.
<aedorn>
Indeed.
philcrissman has joined #ruby
jblack has joined #ruby
banisterfiend has quit [Ping timeout: 248 seconds]
<danneu>
rails is my ide
ttt has joined #ruby
alex__c2022 has quit [Remote host closed the connection]
francisfish has joined #ruby
alex__c2022 has joined #ruby
v0n has joined #ruby
mark_locklear has joined #ruby
allsystemsarego has quit [Quit: Leaving]
halfdan has quit [Quit: Page closed]
axl_ has quit [Quit: axl_]
Guest19137 is now known as ixx
<bakis>
yeah i use sublime text as well, just thought i'd let you know just in case
ixx is now known as Guest80752
banisterfiend has joined #ruby
rellin has quit [Ping timeout: 248 seconds]
Guest80752 is now known as xxi
ttt has quit [Ping timeout: 245 seconds]
<aapzak>
the jetbrains IDE look nice though
xxi is now known as Guest9999
<aedorn>
Hmmm... I'm surprised the whole concept of an IDE hasn't disappeared
Guest9999 is now known as ixxxxi
<aapzak>
y?
<aedorn>
Just the whole rising of "do one thing well"
shevy has joined #ruby
<aapzak>
RM does everything well :)
tenmilestereo has joined #ruby
<Tumulte>
Getting closer !
<aedorn>
IDE generally means it's doing a whole ton of stuff, and some of it.. not so great. Even if it's perfect, someone, somewhere, will think that it's not as good as it could be.
<Tumulte>
(sorry)
<Tumulte>
Well now I got this (not well documented) error : database configuration specifies nonexistent mysql adapter (ActiveRecord::AdapterNotFound)
francisfish has quit [Remote host closed the connection]
<Tumulte>
fact is I use mysql2
joofsh has joined #ruby
s0ber_ has joined #ruby
<aapzak>
aedorn: you're right ofcourse, I like added stuff like support for version control (which is awesome in RubyMine)
Squarepy has joined #ruby
cousine has quit [Remote host closed the connection]
Squarepy has quit [Changing host]
Squarepy has joined #ruby
s0ber has quit [Ping timeout: 248 seconds]
s0ber_ is now known as s0ber
<aedorn>
oh, don't worry.. not saying it's bad or the concept is bad. Just surprised. It's one of those things that might just keep on living, unlike other items that seemed to have been dying a horrible death (like the post office, and physical media)
Goles has quit [Quit: Computer has gone to sleep.]
<stevechiagozie>
tmux + zsh + Vim + Rails.vim + vimux = great IDE
doodlehaus has quit [Remote host closed the connection]
<jcrawford>
guys i am on mac osx trying to run 'gem install gsl' and I am getting the following error: 'instance of Date needs to have method `marshal_load`'
<jcrawford>
any idea how i can get this to install?
<Tumulte>
alexspeller: how can I force production mode for this file ?
bigmcq77 has quit [Quit: Computer has gone to sleep.]
miskander has joined #ruby
krawchyk has quit [Remote host closed the connection]
<alexspeller>
Tumulte: if you are running on the command line, you need to either use that env thing I just showed you or put this in your ~/.profile
<alexspeller>
hmm yeah odd, would have expected a stack trace
Squarepy has joined #ruby
<alexspeller>
with file and line numbers :(
timonv has joined #ruby
Mon_Ouie has quit [Ping timeout: 252 seconds]
ttt has quit [Ping timeout: 276 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
<jcrawford>
yea nothing
<jcrawford>
not even a directory under gems to show a log file or anything
dsdeiz has joined #ruby
<alexspeller>
Have you tried with ruby 1.9 ? it's really a lot better than 1.8 if you can use it and might serendipitously solve this problem for you :)
dsdeiz has quit [Client Quit]
<jcrawford>
i tried to install 1.9 and was confronted with many more problems just trying to get an env setup[
<alexspeller>
oh dear
<jcrawford>
yeh
ltsstar has quit [Remote host closed the connection]
elico has quit [Remote host closed the connection]
<jcrawford>
just when i start to love ruby i start to hate the install/maintenance lol
ermines has joined #ruby
elico has joined #ruby
_bart has quit [Quit: _bart]
<jcrawford>
i guess i don't *need* gsl but it would be very *nice* to have
<alexspeller>
Someone in china has the same problem: http://translate.google.co.uk/translate?hl=en&sl=zh-CN&u=http://ruby-china.org/topics/636&prev=/search%3Fq%3DWhile%2Bexecuting%2Bgem%2B...%2B(TypeError)%2Binstance%2Bof%2BDate%2Bneeds%2Bto%2Bhave%2Bmethod%2B%2560marshal_load%26hl%3Den%26safe%3Doff%26tbo%3Dd&sa=X&ei=joPTUP7gHoWAhQfh7oC4BA&ved=0CDoQ7gEwAA
weasels has quit [Ping timeout: 260 seconds]
<alexspeller>
"I think you may wish to give up on this heart, then go mounted Octopress :-)"
_sillymarkets has quit [Ping timeout: 245 seconds]
JohnTeddy has quit [Changing host]
JohnTeddy has joined #ruby
qwerxy has quit [Quit: offski]
kn330 has quit [Remote host closed the connection]
banisterfiend has quit [Ping timeout: 255 seconds]
axl_ has quit [Quit: axl_]
timonv has quit [Read error: Connection reset by peer]
<alexspeller>
This seems to be a bug report for rubygems that had a similar problem
<alexspeller>
It could be a rubygems bug that you can open an issue for...
<alexspeller>
Sorry I can't be of more help
timonv has joined #ruby
havenn has quit [Remote host closed the connection]
Squarepy has quit [Changing host]
Squarepy has joined #ruby
ewag has quit [Ping timeout: 248 seconds]
joeycarmello has quit [Remote host closed the connection]
havenn has joined #ruby
horofox has joined #ruby
buibex has quit [Remote host closed the connection]
cakehero has quit [Quit: Computer has gone to sleep.]
buibex has joined #ruby
<Tumulte>
alexspeller: good news is that I got no error
<Tumulte>
bad news is that it still doesn't work
<Tumulte>
:/
nkts has quit []
axl_ has joined #ruby
<jcrawford>
thanks alexspeller
havenn has quit [Ping timeout: 248 seconds]
banisterfiend has joined #ruby
lenovodroid has quit [Read error: Connection reset by peer]
buibex has quit [Ping timeout: 248 seconds]
kstephens has quit [Ping timeout: 252 seconds]
<atmosx>
anyone good with haml/sass and sinatra?
<alexspeller>
Tumulte: doesn't work how?
<alexspeller>
Blank page?
kstephens has joined #ruby
<Tumulte>
alexspeller: still got the 500 error
madhadron has joined #ruby
<alexspeller>
But ./dispatch.fcgi is working?
colonolGron has joined #ruby
<madhadron>
When I get a message like "uninitialized constant Nokogiri::XML::Sax (NameError)", what should I be checking to figure out what's causing it?
main_ has quit [Remote host closed the connection]
<alexspeller>
atmosx: I've done haml/sass/sinatra a few times
gregorg has quit [Read error: Connection reset by peer]
<alexspeller>
That setenv thing might not be working
daniel_- has joined #ruby
<Tumulte>
alexspeller: I've put the same config to development
jkarayusuf has quit [Remote host closed the connection]
<alexspeller>
if you do:
<alexspeller>
tail -f logs/*.log
walkslow has joined #ruby
walkslow has quit [Remote host closed the connection]
<alexspeller>
and hit the page, do you get any error now?
<alexspeller>
If you get a 500 error, it should show up in some log
unsymbol has joined #ruby
<alexspeller>
either apache error log or rails error log
<Tumulte>
alexspeller: where are those ?
<alexspeller>
hunt down that error in one of those two logs to find the next stop
<alexspeller>
did you say you're on debian?
<Tumulte>
alexspeller: the ruby logs I mean
unsymbol has quit [Client Quit]
<Tumulte>
the server is a centOS
miskander has quit [Quit: miskander]
unsymbol has joined #ruby
axl_ has quit [Quit: axl_]
burgestrand has joined #ruby
unsymbol has quit [Client Quit]
axl_ has joined #ruby
<alexspeller>
on centos I think it will be /var/log/httpd/
<alexspeller>
try ls /var/log/httpd
thmzlt has quit [Remote host closed the connection]
gregorg has joined #ruby
gregorg has quit [Changing host]
gregorg has joined #ruby
speakingcode has quit [Quit: getting drunk]
<Tumulte>
alexspeller: I've checked that already : SetEnv
<nipara>
dear rubyists, this is a totally off topic query, but rubyists being generally awesome and technical people, i'll ask it anyway.
AndChat| has joined #ruby
<nipara>
in 30 minutes, my months pay will be visible on my bank account (but it will be untouchable for a few hours)
<nipara>
I need to restrict access to my bank through internet during those hours, so my spouse wont see the actual pay before I am able to quickly steal 500 euro for her gift
<jcrawford>
LMAO
<jcrawford>
are you on windows mac or linux
<nipara>
windows, with a pretty capable router
<jcrawford>
no need on the router
luckyruby has joined #ruby
<jcrawford>
what version of windows
<nipara>
this will possibly have to go through router though, since we have 3 PC's and 1 iphone
<jcrawford>
you just have to edit your hosts file to make the bank domain point to google or something :)
<nipara>
she could be using any of them
track7 has quit [Read error: Connection reset by peer]
<jcrawford>
ahh
<jcrawford>
that is going to be dependant on your router
<jcrawford>
google router model block website
<nipara>
yeah the problem is that blocked websites show a very clear 'THIS DOMAIN IS BLOCKED LOL' type of message
<alexspeller>
You could try some social engineering and ask her to watch a film with you for a few hours or something ;)
<nipara>
in 'general router terms', what is redirection called?
<jcrawford>
haha alexspeller
Banistergalaxy has quit [Ping timeout: 250 seconds]
<nipara>
alexspeller, and make her not think of money? she's a woman
<nipara>
:/
<jcrawford>
ROFL
track7 has joined #ruby
<jcrawford>
nipara: edit the hosts file on all 3 computers, hide the phone... Done
rondale_sc has quit [Quit: rondale_sc]
ryanlecompte has quit [Remote host closed the connection]
<alexspeller>
Now now, as a community we have a real problem with lack of diverse participants, no need to make sexist jokes
<nipara>
hm
<jcrawford>
it will probably take longer to figure out how to make your router do this than just editing the hsots file :)
<nipara>
f* it im pulling internet
<jcrawford>
that's not sexist, that's proven women love money more than men
<nipara>
"Technical issues"
<jcrawford>
nipara: there ya go :)
rondale_sc has joined #ruby
<jcrawford>
but what about the phone
<nipara>
i'll leave the router on
axl_ has quit [Quit: axl_]
<nipara>
it will still connect to the network
<alexspeller>
[citation needed]
<nipara>
just not have internet access
<jcrawford>
what about 3/4G service?
havenn has joined #ruby
<nipara>
she wont turn off wi-fi on it
<jcrawford>
ah ok
xnm has joined #ruby
Divinite_ has joined #ruby
lenovodroid has quit [Read error: Connection reset by peer]
mmitchell has quit [Remote host closed the connection]
_nitti has quit [Remote host closed the connection]
<alexspeller>
nipara: won't she just be able to see that you took out the money on the statement anyways if she can access the account?
samuel02 has quit [Remote host closed the connection]
aldodelgado has quit [Quit: aldodelgado]
kiyoura has joined #ruby
<luckyruby>
xnm: I don't know but I think it has something to do with the world ending tomorrow.
stopbit has quit [Quit: Leaving]
ltsstar has joined #ruby
lordnaz has quit [Quit: WeeChat 0.3.8]
theRoUS has quit [Ping timeout: 260 seconds]
<xnm>
hmmm... I noticed it in javascript when trying to format currency values (even widely used javascript libraries like accounting.js don't format them correctly), but seems to also be an issue in ruby. Why don't higher level languages try to abstract this behavior out?
<ryanf>
mostly performance I think
<swarley>
xnm; the thing i hate most about floats, i discovered in assembly
<ryanf>
and the fact that floating-point numbers work pretty much the same way everywhere
<ryanf>
so it's not surprising that they're quirky in any given language
stevechiagozie has joined #ruby
ninegrid has joined #ruby
<swarley>
I tried to write atof in x86, turned the string "1234.56" into the number