tallship has quit [Read error: Connection reset by peer]
dous has joined #ruby-lang
dous has quit [Changing host]
dous has joined #ruby-lang
dous_ has joined #ruby-lang
dous_ has quit [Changing host]
dous_ has joined #ruby-lang
justinseiter has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
toretore has quit [Quit: This computer has gone to sleep]
dous has quit [Ping timeout: 260 seconds]
sevvie has quit [Read error: Connection reset by peer]
sailias has quit [Quit: Leaving.]
troyack has joined #ruby-lang
sailias has joined #ruby-lang
sailias has quit [Client Quit]
sailias has joined #ruby-lang
sailias has quit [Client Quit]
orr22 has quit [Quit: orr22]
andrewhl has joined #ruby-lang
sailias has joined #ruby-lang
sailias has quit [Client Quit]
justinseiter has quit [Remote host closed the connection]
sailias has joined #ruby-lang
sailias has quit [Client Quit]
sailias has joined #ruby-lang
sailias has quit [Read error: Connection reset by peer]
htroyack has quit [Ping timeout: 240 seconds]
sailias has joined #ruby-lang
htroyack has joined #ruby-lang
troyack has quit [Ping timeout: 244 seconds]
htroyack has quit [Client Quit]
andrewhl has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 260 seconds]
<postmodern>
RickHull, zeromq also provides a cmake build script
neocoin has joined #ruby-lang
<RickHull>
i think i got it figured out
<RickHull>
i had to run the autogen.sh to get the configure script
<RickHull>
i usually stick to the package managers, been a while
tooky has joined #ruby-lang
mistym has joined #ruby-lang
tooky has quit [Ping timeout: 260 seconds]
<RickHull>
having trouble with zmq gem
<RickHull>
i can install it fine, but on requiring it: cannot open shared object file: No such file or directory - /home/rhull/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/zmq-2.1.4/lib/zmq.so (LoadError)
<RickHull>
it's installed to /usr/local/lib
<RickHull>
I tried this: gem install zmq --with-zmq-dir=/usr/local/lib
<RickHull>
i.e. /usr/local/lib/zmq.so
dous_ has quit [Remote host closed the connection]
jackhammer2022 has joined #ruby-lang
<RickHull>
drbrain: what is my major malfunction?
S2kx has quit [Read error: Connection reset by peer]
S2kx has joined #ruby-lang
yugui is now known as yugui_zzz
yugui_zzz is now known as yugui
nebbie has quit [Read error: No route to host]
Jay_Levitt has quit [Ping timeout: 264 seconds]
<RickHull>
sorry, i actually got did the right incantation: $ gem install zmq -- --with-zmq-dir=/usr/local/lib
<RickHull>
but it's still looking for the .so inside ~
<RickHull>
an rbenv thing?
gix has quit [Ping timeout: 240 seconds]
<RickHull>
ok, this was the trick: gem install zmq -- --with-zmq-dir=/usr/local
dous has joined #ruby-lang
dous has quit [Changing host]
dous has joined #ruby-lang
snorkdude has joined #ruby-lang
mrsolo has quit [Quit: Leaving]
snorkdude has quit [Remote host closed the connection]
cantonic has quit [Quit: cantonic]
kvirani has joined #ruby-lang
snorkdude has joined #ruby-lang
gix has joined #ruby-lang
kvirani has quit [Remote host closed the connection]
Denommus has left #ruby-lang [#ruby-lang]
towski has quit [Remote host closed the connection]
savage- has quit [Remote host closed the connection]
snorkdude has quit [Remote host closed the connection]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
JoelMcCracken has joined #ruby-lang
yugui is now known as yugui_zzz
dous has quit [Remote host closed the connection]
yugui_zzz is now known as yugui
mistym_ has joined #ruby-lang
mistym has quit [Read error: Connection reset by peer]
Z33K|Lux has joined #ruby-lang
htroyack has joined #ruby-lang
htroyack has quit [Client Quit]
yugui is now known as yugui_zzz
htroyack has joined #ruby-lang
orr22 has joined #ruby-lang
RickHull has left #ruby-lang [#ruby-lang]
orr22 has left #ruby-lang [#ruby-lang]
lcdhoffman has quit [Quit: lcdhoffman]
SuperSonicSound has joined #ruby-lang
mistym_ has left #ruby-lang [#ruby-lang]
mistym has joined #ruby-lang
yugui_zzz is now known as yugui
seanstickle has joined #ruby-lang
towski has joined #ruby-lang
neoesque has joined #ruby-lang
yugui is now known as yugui_zzz
abletony84 has joined #ruby-lang
dous_ has joined #ruby-lang
ryanf has joined #ruby-lang
dmwuw has quit [Ping timeout: 246 seconds]
snorkdude has joined #ruby-lang
tjadc has quit [Ping timeout: 248 seconds]
coryf has quit [Remote host closed the connection]
yumike has left #ruby-lang ["["Textual IRC Client: www.textualapp.com"]"]
s0ra_h is now known as sora_h
banisterfiend is now known as My_Hearing
My_Hearing is now known as banisterfiend
liqueurs has joined #ruby-lang
liqueurs has quit [Client Quit]
tailend has joined #ruby-lang
<tailend>
You know when you yield to a block ... is there any way to change what self is in the context of the block? Basically I want to avoid having to pass an argument explicitly into the block.
<banisterfiend>
tailend: instance_eval
Criztian has joined #ruby-lang
<tailend>
banisterfiend: Ah, nice. TY
<judofyr>
tailend: instance_eval or instance_exec (if you want to also pass arguments)
tooky has quit [Remote host closed the connection]
JohnBat26 has quit [Ping timeout: 264 seconds]
burgestrand has quit [Quit: Leaving.]
ryez has quit [Ping timeout: 245 seconds]
snorkdude has quit [Remote host closed the connection]
<rue>
That could be nice with a good syntax. I’m not sure about +
wallerdev has joined #ruby-lang
cdt has joined #ruby-lang
cha1tanya has joined #ruby-lang
cha1tanya has quit [Changing host]
cha1tanya has joined #ruby-lang
burgestrand has joined #ruby-lang
bfreeman has joined #ruby-lang
t4nkd has joined #ruby-lang
<t4nkd>
Hi ruby, I'm having trouble retrieving the value of an instance variable that's set inside a module method from the class where the module is required -- is there a way to do this?
<t4nkd>
So, there's an instance variable getting set in #send_notification_via_google
<t4nkd>
Which, as exampled by the bash.txt, I have no idea how to retrieve the value of
<banisterfiend>
t4nkd: this is creepy: "vipremobile(dev)"
<banisterfiend>
is that your irb prompt?
dhruvasagar has joined #ruby-lang
kain has quit [Quit: This computer has gone to sleep]
verbad has joined #ruby-lang
<t4nkd>
So I'm not sure if there's a different method that's not #instance_variable_get
<t4nkd>
Or what
<t4nkd>
Rails console
burgestrand has quit [Quit: Leaving.]
<banisterfiend>
t4nkd: shouldn't you be keeping the same instance rather than creating a new one?
solars has quit [Ping timeout: 246 seconds]
<t4nkd>
Well, that's becoming a bit of a different problem
kvirani has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
<banisterfiend>
t4nkd: but if it's setting it on the instance, then u have to keep that instance it's setting it on
<banisterfiend>
t4nkd: it looks like you're creating a new instance after you do the push_, so of course the ivar wont be set on a new instance
<t4nkd>
Well it's strange though because the first time I use the new object method, it's slow, like it's going and getting the auth_key, but each subsiquent request is very quick
snorkdude has joined #ruby-lang
verbad has quit [Quit: Computer has gone to sleep.]
ttilley is now known as ttilley_off
robbyoconnor has quit [Remote host closed the connection]
<banisterfiend>
t4nkd: does what i said work or not
<t4nkd>
I actually didn't glean a solution from what you had said
<bcardarella>
why is it working for 1 but not for -1
<bcardarella>
I'm on 1.9.3-p194
<bcardarella>
oh god, I'm an retard
<bcardarella>
nevermind
<bcardarella>
too tired :p
jrafanie has joined #ruby-lang
jtoy has quit [Quit: jtoy]
<kristofferrr>
I'm probably doing something stupid, but can anyone tell me why the ".first()" part doesn't work in the following part of my function? It's not being limited to whatever options[:limit] is set to. http://pastie.org/private/nxcgy1ekz5y6erldh7rqq
havenn has quit [Ping timeout: 252 seconds]
spuk has quit [Ping timeout: 260 seconds]
vbatts has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
<rue>
kristofferrr: Sure it’s the correct key?
<kristofferrr>
Yes :)
<rue>
Then there’s no reason.
benanne has joined #ruby-lang
<kristofferrr>
:/
<rue>
The simplest explanation would be that options either doesn’t have a :limit, or it’s not what you expect.
<imperator>
injekt, looking better, but still having issues; fh.extend PP::PPMethods; fh.pp [1,2,3] # => NoMethodError: undefined method `delete' for nil:NilClass
queuetue has joined #ruby-lang
<rue>
corundum: books?
<corundum>
books is "The Ruby Programming Language", "Eloquent Ruby", "Programming Ruby 1.9” (‘Pickaxe’) or see http://ruby-doc.org/bookstore/
s0ra_h is now known as sora_h
sandbags has quit [Remote host closed the connection]
sandbags has joined #ruby-lang
burgestrand has joined #ruby-lang
kain has quit [Quit: This computer has gone to sleep]
bglusman has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
bglusman has joined #ruby-lang
<imperator>
speaking of books, i seem to have lost my apache book
kain has joined #ruby-lang
<rue>
Sad
havenn has joined #ruby-lang
rutkla has quit [Ping timeout: 246 seconds]
jbsan has quit [Quit: jbsan]
lcdhoffman has quit [Quit: lcdhoffman]
jbsan has joined #ruby-lang
lcdhoffman has joined #ruby-lang
mjbamford has joined #ruby-lang
queuetue has quit [Ping timeout: 260 seconds]
jtoy has quit [Ping timeout: 246 seconds]
jtoy has joined #ruby-lang
ylluminate has joined #ruby-lang
havenn has quit [Remote host closed the connection]
lcdhoffman has quit [Read error: Connection reset by peer]
lcdhoffman has joined #ruby-lang
sockmonk has quit [Ping timeout: 246 seconds]
nofxxxx has joined #ruby-lang
kain has quit [Quit: This computer has gone to sleep]
nofxxx has quit [Ping timeout: 240 seconds]
queuetue has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
gsav has quit [Ping timeout: 246 seconds]
<imperator>
nope, found it :)
ryez has joined #ruby-lang
mjbamford has quit [Quit: Leaving...]
erpuds has quit [Quit: erpuds]
burgestrand has quit [Quit: Leaving.]
burgestrand has joined #ruby-lang
erics has quit [Remote host closed the connection]
Skif has joined #ruby-lang
nagato has joined #ruby-lang
bglusman has quit [Remote host closed the connection]
sora_h is now known as s0ra_h
sepp2k1 has quit [Remote host closed the connection]
dv310p3r has quit [Ping timeout: 260 seconds]
jrafanie has quit [Quit: jrafanie]
enebo has quit [Quit: enebo]
kain has joined #ruby-lang
flibitijibibo has joined #ruby-lang
wmoxam_ has quit [Quit: leaving]
diegoviola has joined #ruby-lang
BlackShadow has quit [Remote host closed the connection]
thisirs has quit [Remote host closed the connection]
verbad has quit [Quit: Computer has gone to sleep.]
mssola has quit [Quit: Konversation terminated!]
sandbags has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
alexkane has quit [Quit: alexkane]
kvirani has quit [Remote host closed the connection]
tonni has quit [Remote host closed the connection]
tonni has joined #ruby-lang
yugui is now known as yugui_zzz
banisterfiend has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
yugui_zzz is now known as yugui
<jtoy>
just wondering, what ec2 management libraries do you guys use? I've seen a bunch on ruby, fog.io, rudy, rightaws, etc
<jtoy>
mksm: oh cool, I'm thinking of using fog
<jtoy>
mksm: anything you didn't like about it?
woollyams has joined #ruby-lang
benanne has quit [Quit: kbai]
<zenspider>
HI! I AM PROCRASTINATING AGAIN!
woollyams has quit [Quit: Computer has gone to sleep.]
woollyams has joined #ruby-lang
ylluminate has quit [Ping timeout: 240 seconds]
nofxxxx has quit [Ping timeout: 255 seconds]
wallerdev has joined #ruby-lang
coryf has quit [Remote host closed the connection]
queuetue has quit [Quit: queuetue]
burgestrand has quit [Quit: Leaving.]
outoftime has quit [Quit: Leaving]
burgestrand has joined #ruby-lang
<erikh>
zenspider: hey, so am I
<erikh>
let's be procrastination bros
ylluminate has joined #ruby-lang
<zenspider>
I don't bro. sorry.
<erikh>
heheh
andrewhl has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
<burgestrand>
If a gem exists of a given version; one is platform-specific and one is platform-independent, which one gets precedence when installing?
<drbrain>
the one with the highest version for your platform
nofxxxx has joined #ruby-lang
ryez has quit [Quit: Page closed]
<drbrain>
mysql 2.7.1-mswin32 is preferred over mysql 2.7 (ruby) and mysql 2.8 (ruby) is preferred over both
<burgestrand>
Ah, so version > platform > ruby, more or less?
t4nkd has joined #ruby-lang
<drbrain>
more or less
<burgestrand>
drbrain: thanks :)
<flibitijibibo>
Anyone familiar with the libruby C/C++ library on OSX? We've got this game running on Windows/Linux with Ruby 1.9.3, but OSX isn't quite so happy... http://www.flibitijibibo.com/rubyFail.txt
Rezwan has joined #ruby-lang
<flibitijibibo>
anything special i need to be doing when building the OSX version? we get this when using gcc-llvm, gcc-4.2 and gcc-4.7
<drbrain>
flibitijibibo: where did you start ruby?
<drbrain>
previous to rb_protect in s_scripted_class::LaunchScript?
<flibitijibibo>
earlier in the application
<flibitijibibo>
we do a bunch of preparation before the launch
<zenspider>
I'm gonna assume that all warning flags are on and there are NO compiler warnings on any of your code... clang has much better analysis and output than gcc does
<flibitijibibo>
most of it is rb_respond_to to verify that the scripts are there... we call them where this crashes
<drbrain>
flibitijibibo: I suspect it'll be difficult to determine without a portion of the source to look at
<flibitijibibo>
i'd have to ask my client, but do you suppose OSX would have different behavior specifically?
s0ra_h is now known as sora_h
<drbrain>
I would be surprised, but it could be you get lucky on other platforms due to differences in memory layout or something
dous has quit [Remote host closed the connection]
<zenspider>
yeah
<zenspider>
its most likely that... osx malloc is different and the memory system can be harsher (this is a good thing)
<zenspider>
man malloc and look at the ENVIRONMENT section as well
srbartlett has joined #ruby-lang
<drbrain>
flibitijibibo: you should also try pulling your ruby VM setup into a standalone file you can reproduce the bug from
<drbrain>
hopefully that won't have any proprietary code in it so you can share it
Jay_Levitt has quit [Quit: Leaving...]
<zenspider>
in this case, having an object that has an invalid class pointer is really sketchy. back up and figure out what that object is to begin with and go from there
chimkan has joined #ruby-lang
<zenspider>
nice. I'm fixing bugs by procrastinating...
<zenspider>
as long as the thing you're procrastinating on is worse than the bugs you don't want to fix... they get fixed
salout has quit [Quit: Konversation terminated!]
knu has quit [Remote host closed the connection]
knu has joined #ruby-lang
savage- has quit [Remote host closed the connection]
savage- has joined #ruby-lang
JustinCampbell has quit [Remote host closed the connection]
chimkan has quit [Quit: chimkan]
qpingu has quit [Quit: Leaving.]
sora_h is now known as s0ra_h
dous has joined #ruby-lang
dous has quit [Changing host]
dous has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
seanstickle has joined #ruby-lang
JoelMcCracken has quit [Ping timeout: 260 seconds]