apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
mikepack has quit [Remote host closed the connection]
chriskk has joined #ruby
sambao21 has joined #ruby
<pontiki> w3pm: also look at methadone: https://github.com/davetron5000/methadone
twoism_ has quit [Remote host closed the connection]
mklappstuhl has quit [Remote host closed the connection]
twoism has joined #ruby
<xybre> No I don't know why they're all named after drugs.
nhhagen_ has joined #ruby
ssvo_ has quit [Ping timeout: 245 seconds]
sambao21 has quit [Ping timeout: 264 seconds]
cody-- has quit [Quit: Computer has gone to sleep.]
iliketurtles has quit [Quit: zzzzz…..]
ISO8601 has joined #ruby
dmiller has joined #ruby
PaulePanter has joined #ruby
mikeg has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
twoism has quit [Ping timeout: 276 seconds]
iliketurtles has joined #ruby
frem has joined #ruby
senayar has quit [Remote host closed the connection]
Stygia has quit [Quit: Leaving]
carlyle has joined #ruby
<frem> question: I have a file called 'ftp-driver.rb' containing a class called FTPDriver. I'm in a pry terminal in the same directory, trying to require it. `require 'ftpdriver'` and `require 'ftp-driver'` don't work.
DanKnox is now known as DanKnox_away
Klotho1 has quit [Ping timeout: 248 seconds]
<pontiki> is it in your load path?
nhhagen_ has quit [Ping timeout: 264 seconds]
<pontiki> current directory isn't usually in your load path
<frem> i guess it isn't then.
<pontiki> you should be able to do `require './ftp-driver.rb'` or `require_relative './ftp-driver.rb'`
mando has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
mercwithamouth has joined #ruby
<pontiki> note if you want to be changing this file, you should load it instead of require it, so you can load it again
headius has quit [Quit: headius]
<frem> require './ftp-driver.rb' works. require_relative says it can't infer the base path
randomdrake has quit [Quit: randomdrake]
<pontiki> ok
quoin has joined #ruby
jezen has quit [Ping timeout: 260 seconds]
saarinen has quit [Quit: saarinen]
jezen has joined #ruby
tyman has joined #ruby
<xybre> frem: require_relative?
<xybre> Ah
<ryanf> require_relative doesn't work from repls
hogeo has joined #ruby
<ryanf> by definition
<xybre> Yeah, that won't work from pry..
iliketurtles has joined #ruby
iliketurtles has quit [Remote host closed the connection]
* xybre is too slow
Davey has quit [Quit: Computer has gone to sleep.]
tealmage has joined #ruby
<frem> ugh. so now require works from pry, but not when i try to load the driver in em-ftpd.
azcodex has quit [Quit: azcodex]
<shevy> require_relative must die with a fire
tylersmith has quit [Remote host closed the connection]
snovak has joined #ruby
<shevy> frem how about $LOAD_PATH << Dir.pwd does that work when you then load anything
zastern has joined #ruby
<pontiki> frem: check it's on em-ftpd's load path then
tealmage has quit [Remote host closed the connection]
lfox has joined #ruby
alekst has quit [Quit: Leaving...]
<onewheelskyward> I rather like require_relative
<onewheelskyward> especially for tests.
<pontiki> i have never used it
<onewheelskyward> wysiwyg
<frem> I think I got it. Used `ruby -Ilib ftp-driver.rb`. :P
<pontiki> that's such a lie
dayepa has quit [Quit: dayepa]
anonymuse has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 264 seconds]
mmlac-bv has quit [Quit: mmlac-bv]
jezen has quit [Remote host closed the connection]
jeebster has quit [Quit: Leaving.]
mmlac-bv has joined #ruby
kindjal has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
lukec has quit [Quit: lukec]
jcromartie has joined #ruby
T_T has quit [Remote host closed the connection]
quoin has quit [Ping timeout: 246 seconds]
spap has quit []
dalton_ has joined #ruby
<dalton_> Is there a way to update rubygems for all versions in rvm to patch CVE-2013-4287? (blog.rubygems.org/2013/09/09/CVE-2013-4287.html)
tealmage has joined #ruby
<pontiki> yeaahhh....
mansi has joined #ruby
<pontiki> but i'm not remembering it
jibi has quit [Quit: .]
<pontiki> pop over to #rvm and ask, maybe?
<dalton_> thanks, I'll do that
ISO8601 is now known as yano
tealmage has quit [Remote host closed the connection]
dougireton has joined #ruby
dougireton1 has joined #ruby
dougireton has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
Ziarkaen has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
blackmesa has quit [Ping timeout: 240 seconds]
DonRichie has quit [Read error: Operation timed out]
sambao21 has quit [Ping timeout: 264 seconds]
DonRichie has joined #ruby
kaspergrubbe has quit [Ping timeout: 240 seconds]
DrCode has quit [Ping timeout: 240 seconds]
dayepa has joined #ruby
wmoxam has quit [Quit: leaving]
dougireton1 has quit [Quit: Leaving.]
nari has quit [Ping timeout: 256 seconds]
axl_ has quit [Quit: axl_]
DrCode has joined #ruby
Spami has quit [Ping timeout: 276 seconds]
cj3kim has joined #ruby
jp- has joined #ruby
axl_ has joined #ruby
dougireton has joined #ruby
ffranz has quit [Quit: Leaving]
mootpointer has joined #ruby
cpruitt has quit [Quit: cpruitt]
duggiefresh has quit [Remote host closed the connection]
pwh has joined #ruby
axl_ has quit [Client Quit]
cj3kim has quit [Ping timeout: 246 seconds]
Davey has joined #ruby
sambao21 has joined #ruby
pairup has quit [Quit: I'm asleep.]
burlyscudd has joined #ruby
kvirani has joined #ruby
mando has joined #ruby
sambao21 has quit [Client Quit]
BRMatt has quit [Ping timeout: 264 seconds]
dankest has quit [Quit: dankest]
s00pcan has quit [Quit: Lost terminal]
ryandeussing has quit [Remote host closed the connection]
sambao21 has joined #ruby
burlyscudd has quit [Ping timeout: 276 seconds]
kvirani has quit [Ping timeout: 276 seconds]
zorg24 has joined #ruby
carlyle has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
pwh has quit [Quit: pwh]
choobie has quit [Ping timeout: 264 seconds]
eiight has quit [Remote host closed the connection]
prakriti has joined #ruby
T_T has joined #ruby
mando has quit [Remote host closed the connection]
tkuchiki has joined #ruby
cpruitt has joined #ruby
cpruitt has quit [Client Quit]
funburn has quit [Quit: funburn]
dougireton has quit [Quit: Leaving.]
mmlac-bv has quit [Quit: mmlac-bv]
dankest has joined #ruby
ileosigmoidostom has joined #ruby
nari has joined #ruby
randomdrake has joined #ruby
Michael_ has joined #ruby
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mfridh has quit [Read error: Operation timed out]
okinomo has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sailias has joined #ruby
brianpWins has quit [Quit: brianpWins]
m00nlight has joined #ruby
lukec has joined #ruby
mikepack has joined #ruby
jdolitsky1 has quit [Quit: Leaving.]
c0rn has quit [Ping timeout: 246 seconds]
pwh has joined #ruby
froy has quit [Ping timeout: 260 seconds]
funburn has joined #ruby
Collin has quit [Ping timeout: 256 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
mootpointer has quit [Ping timeout: 256 seconds]
saarinen has joined #ruby
tyman has quit [Quit: tyman]
Guest18692 has quit [Quit: Bye]
Gnubie has joined #ruby
sambao21 has joined #ruby
dhruvasagar has joined #ruby
Gnubie is now known as Guest74935
Guest74935 is now known as Gnubie_
Voodoofish430 has quit [Quit: Leaving.]
jtgiri_ has quit [Quit: jtgiri_]
snovak has joined #ruby
rcosta_ has joined #ruby
tomzx_mac has joined #ruby
ylluminate has joined #ruby
okinomo has quit [Ping timeout: 264 seconds]
randomautomator has quit [Ping timeout: 245 seconds]
lukec has quit [Quit: lukec]
mercwithamouth has quit [Ping timeout: 264 seconds]
rcosta has quit [Ping timeout: 276 seconds]
mmitchell has quit [Remote host closed the connection]
quoin has joined #ruby
<ylluminate> I'm using typhoeus to pull down a lot of data; probably about 50gb worth of data. i'm having a problem where i'm only getting about 1000 records per hour and it seems as though it is perhaps not using enough threads. does anyone know how to control the curl threads that are spawned by typhoeus in order to maximize threading?
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
snovak has quit [Ping timeout: 261 seconds]
Tomasso has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
iliketurtles has joined #ruby
lukec has joined #ruby
chimmy has joined #ruby
beneggett has joined #ruby
randomdrake has quit [Quit: randomdrake]
mansi has quit [Ping timeout: 260 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
lembacon has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
ixti has quit [Ping timeout: 256 seconds]
T_T has quit [Remote host closed the connection]
kindjal has quit [Quit: Computer has gone to sleep.]
Domon has joined #ruby
simoz has joined #ruby
quazimodo has quit [Ping timeout: 260 seconds]
sambao21 has joined #ruby
i8igmac has joined #ruby
julweber has quit [Remote host closed the connection]
nwertman has joined #ruby
dodosan has quit [Remote host closed the connection]
bluebie has joined #ruby
<bluebie> is there any way to get a gamepad in to ruby on mac
<bluebie> or joystick or something like that?
<bluebie> there seem to be very few gems >_<
<Nilium> You could use GLFW 3.
suzaku_l has joined #ruby
quoin has quit [Ping timeout: 260 seconds]
<bluebie> smart!
<bluebie> thanks :D
* Nilium wrote the Ruby bindings, so he gets to promote it.
zastern has quit [Remote host closed the connection]
havenwood has joined #ruby
quazimodo has joined #ruby
zastern has joined #ruby
mikepack has quit [Remote host closed the connection]
sailias has quit [Read error: Connection reset by peer]
sailias has joined #ruby
nwertman has quit [Remote host closed the connection]
zets has joined #ruby
tealmage has joined #ruby
dorei has quit []
saarinen has joined #ruby
cj3kim has joined #ruby
simoz2 has joined #ruby
robbyoconnor has joined #ruby
seoaqua has joined #ruby
zastern has quit [Ping timeout: 245 seconds]
simoz has quit [Ping timeout: 264 seconds]
AlHafoudh has joined #ruby
AlHafoudh has quit [Max SendQ exceeded]
_whitelogger has joined #ruby
seoaqua has quit [Client Quit]
<bluebie> Nilium: I can't get glfw3 to install with homebrew >_<
<bluebie> why is joysticks so hard >_<
<Nilium> Install it from source.
<bluebie> rubygame doesn't work with ruby 2.0 either!
cj3kim has quit [Ping timeout: 264 seconds]
tealmage has quit [Ping timeout: 264 seconds]
AlHafoudh has quit [Client Quit]
<prometheanfire> /part/win 19
<prometheanfire> oops :D
burlyscudd has joined #ruby
lukec has quit [Quit: lukec]
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
kvirani has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
vlad_starkov has joined #ruby
Monie has joined #ruby
mercwithamouth has joined #ruby
T_T has joined #ruby
ggg111 has joined #ruby
burlyscudd has quit [Ping timeout: 248 seconds]
T_T has quit [Remote host closed the connection]
kindjal has joined #ruby
chrisja has quit [Quit: leaving]
kvirani has quit [Ping timeout: 276 seconds]
robbyoconnor has quit [Ping timeout: 260 seconds]
<banisterfiend> bluebie gosu
r0bby_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Ping timeout: 245 seconds]
chimmy has quit [Read error: Connection reset by peer]
yacks has joined #ruby
ggg111 has quit [Remote host closed the connection]
kindjal has quit [Client Quit]
agent_white has quit [Quit: brb]
jtgiri_ has joined #ruby
ttt has joined #ruby
funburn_ has joined #ruby
funburn has quit [Ping timeout: 246 seconds]
funburn_ is now known as funburn
robbyoconnor has joined #ruby
robbyoconnor has quit [Client Quit]
mrsolo has joined #ruby
r0bby_ has quit [Ping timeout: 264 seconds]
Michael_ has quit [Remote host closed the connection]
dodosan has joined #ruby
dodosan has quit [Remote host closed the connection]
Klotho1 has joined #ruby
brianpWins has joined #ruby
froy has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dodosan has joined #ruby
ccbn has quit [Quit: Page closed]
pyrac has quit [Ping timeout: 264 seconds]
newUser1234 has joined #ruby
lembacon has quit [Ping timeout: 260 seconds]
mercwithamouth has quit [Quit: Lost terminal]
<bluebie> banisterfiend: oh yes! :D
lembacon has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
Bry8Star{T2 has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
pyrac has joined #ruby
TIJ has joined #ruby
mwmnj has joined #ruby
funburn has quit [Quit: funburn]
TIJ has quit [Ping timeout: 264 seconds]
TIJ has joined #ruby
ssvo has joined #ruby
Ox6abe has joined #ruby
TIJ has quit [Client Quit]
TIJ has joined #ruby
funburn has joined #ruby
cooldman224 has joined #ruby
diegoviola has joined #ruby
sevenseacat has joined #ruby
TIJ has quit [Ping timeout: 240 seconds]
TIJ has joined #ruby
macmartine has joined #ruby
Ox6abe has quit [Remote host closed the connection]
fuhgeddaboudit has joined #ruby
vxxr has joined #ruby
snovak has joined #ruby
dankest has quit [Quit: Peace]
JumpMast3r has quit [Quit: JumpMast3r]
newUser1234 has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
BrianJ has joined #ruby
lukec has joined #ruby
wykydtron has quit [Quit: ZNC - http://znc.sourceforge.net]
snovak has quit [Ping timeout: 276 seconds]
tyman has joined #ruby
jtgiri_ has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
rcosta_ has quit [Remote host closed the connection]
dougireton has joined #ruby
T_T has joined #ruby
ianclarksmith has joined #ruby
quoin has joined #ruby
ianclarksmith is now known as ics
bluebie has quit [Quit: bluebie]
newUser1234 has joined #ruby
newUser1234 has quit [Remote host closed the connection]
tealmage has joined #ruby
okinomo has joined #ruby
ewnd9 has joined #ruby
agent_white has joined #ruby
burlyscudd has joined #ruby
mary5030 has joined #ruby
dougireton has quit [Quit: Leaving.]
burlyscudd has quit [Client Quit]
ewnd9_ has joined #ruby
ewnd9 has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
echevemaster has quit [Quit: Leaving]
echevemaster has joined #ruby
echevemaster has joined #ruby
echevemaster has quit [Changing host]
tealmage has quit [Remote host closed the connection]
intuxicated has quit [Ping timeout: 256 seconds]
machuga|away is now known as machuga
cooldman224 has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 245 seconds]
kvirani has joined #ruby
quoin has quit [Ping timeout: 260 seconds]
iliketurtles has quit [Quit: zzzzz…..]
c0mrade has joined #ruby
TIJ has quit [Quit: Konversation terminated!]
zastern has joined #ruby
lukec has quit [Quit: lukec]
tyman has quit [Quit: tyman]
macmartine has quit [Ping timeout: 245 seconds]
aryaching has quit [Ping timeout: 245 seconds]
fuhgeddaboudit has quit [Ping timeout: 248 seconds]
newUser1234 has joined #ruby
kvirani has quit [Ping timeout: 276 seconds]
taternuts has quit []
mrsolo has quit [Quit: This computer has gone to sleep]
s00pcan has joined #ruby
jtgiri_ has joined #ruby
cads has joined #ruby
macmartine has joined #ruby
[1]tufflax has joined #ruby
sailias has quit [Ping timeout: 264 seconds]
nisstyre has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
tufflax has quit [Read error: Operation timed out]
yxhuvud has quit [Ping timeout: 240 seconds]
BrianJ has quit [Quit: Computer has gone to sleep.]
zaltekk has joined #ruby
yxhuvud has joined #ruby
tyman has joined #ruby
rdxc has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seoNinjaWarrior has quit [Ping timeout: 264 seconds]
mootpointer has joined #ruby
huoxito has quit [Quit: Leaving]
saarinen has quit [Quit: saarinen]
narcan has joined #ruby
peregrine81 has joined #ruby
daysahead5 has joined #ruby
daysahead5 has quit [Client Quit]
[[thufir]] has joined #ruby
mary5030 has quit [Remote host closed the connection]
tyman_ has joined #ruby
<funburn> is there any difference between these two approaches? https://gist.github.com/mtuckerb/fe27d2f82354302e5374
haxrbyte has quit [Read error: Connection reset by peer]
tyman has quit [Ping timeout: 245 seconds]
tyman_ is now known as tyman
haxrbyte has joined #ruby
greenride has left #ruby [#ruby]
<wallerdev> funburn: like in terms of performance?, they both do the same thing, although it will have to call to_sym on "mark="
<funburn> okay, that's what I thought
freerobby has joined #ruby
<funburn> I'm trying to go a little deeper with Ruby and understand a little more about what I'm doing, rather than just copy pasting all the time :)
<wallerdev> cool :)
<funburn> this is one where I couldn't quite tell if there was a performance difference
Targen has quit [Ping timeout: 260 seconds]
<wallerdev> you should write it using a symbol like send(:mark=, true)
<funburn> okay, I actually had that in the gist, and changed it
<funburn> because I thought it was wrong :)
snovak has joined #ruby
<funburn> oh but I didn't have the =
<funburn> that helps :)
<wallerdev> yeah
<wallerdev> haha
mrsolo has joined #ruby
peregrine81 has quit []
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
mrsolo has quit [Client Quit]
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
haxrbyte has quit [Remote host closed the connection]
snovak has quit [Read error: Operation timed out]
ssvo has quit [Ping timeout: 245 seconds]
lusory has quit [Read error: Connection reset by peer]
lfox has quit []
ccbn has joined #ruby
r4nd0m1_ has quit []
girija_ has joined #ruby
mrsolo has joined #ruby
mwmnj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duggiefresh has joined #ruby
dalton_ has quit [Remote host closed the connection]
mansi has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
c0mrade has quit [Quit: Konversation terminated!]
alexju has joined #ruby
duggiefresh has quit [Remote host closed the connection]
<bricker`LA> Okay - I fully understand the difference between && and "and", but I'm trying to think of a concrete example to showcase that difference. An example where using one or the other would produce an incorrect or unexpected result. Any ideas? Every example I think of can use the two interchangably
sayan has joined #ruby
dougireton has joined #ruby
haxrbyte has joined #ruby
duggiefresh has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
haxrbyte_ has joined #ruby
burlyscudd has joined #ruby
lembacon has quit [Quit: Leaving...]
Lewix has quit [Remote host closed the connection]
ccbn_ has joined #ruby
cj3kim has joined #ruby
<ccbn_> I don't know if my previous post went through so I'll post again. I'm looking to accomplish this: http://pastebin.com/raw.php?i=aUCCYXVw
hoffna67 has joined #ruby
haxrbyte has quit [Ping timeout: 245 seconds]
tylersmith has joined #ruby
ccbn has quit [Ping timeout: 250 seconds]
yxhuvud2 has joined #ruby
quoin has joined #ruby
yxhuvud has quit [Ping timeout: 245 seconds]
burlyscudd has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
reactormonk has joined #ruby
hoffna67 has quit [Quit: Page closed]
saarinen has joined #ruby
girija_ has quit [Ping timeout: 245 seconds]
cj3kim has quit [Ping timeout: 260 seconds]
dougireton has quit [Quit: Leaving.]
dhruvasagar has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
vlad_starkov has joined #ruby
kvirani has joined #ruby
dougireton has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
rezzack has quit [Ping timeout: 276 seconds]
iliketurtles has joined #ruby
youcallme has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
dodosan has quit [Remote host closed the connection]
arietis has joined #ruby
braincrash has joined #ruby
kvirani has quit [Ping timeout: 276 seconds]
zastern has quit [Remote host closed the connection]
stormbytes has joined #ruby
fridim_ has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
youcallme has quit [Ping timeout: 276 seconds]
braincra- has quit [Ping timeout: 245 seconds]
quoin has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
lukec has joined #ruby
mikepack has joined #ruby
axisys has quit [Ping timeout: 264 seconds]
Targen has joined #ruby
mikepack has quit [Remote host closed the connection]
ssvo has joined #ruby
JumpMast3r has joined #ruby
JumpMast3r has quit [Client Quit]
polaco is now known as polaco_zZz
okinomo has quit [Ping timeout: 246 seconds]
iliketurtles has quit [Ping timeout: 264 seconds]
<ryanf> bricker`LA: "a = 1 && 2" vs "a = 1 and 2"
<ryanf> >> a = 1 && 2; a
<eval-in> ryanf => 2 (https://eval.in/47829)
<ryanf> >> a = 1 and 2; a
<eval-in> ryanf => 1 (https://eval.in/47830)
iliketurtles has joined #ruby
alexju has quit [Remote host closed the connection]
okinomo has joined #ruby
vxxr has quit [Quit: leaving]
newUser1234 has quit [Remote host closed the connection]
Splourian has joined #ruby
tomzx_mac has quit [Ping timeout: 260 seconds]
kindjal has joined #ruby
kadoo has joined #ruby
kadoo has quit [Max SendQ exceeded]
kadoo has joined #ruby
yacks has quit [Quit: Leaving]
lukec has quit [Quit: lukec]
snovak has joined #ruby
araujo has quit [Read error: Connection reset by peer]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
DanKnox_away is now known as DanKnox
suzaku_l has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 256 seconds]
<diegoviola> i'm trying to debug some ruby code, i ported a script from rmagick to minimagick but it's not working properly and i'm trying to debug it to see where the issue is
Cheos has joined #ruby
<diegoviola> is there something like sh -x in ruby
iliketurtles has quit [Ping timeout: 245 seconds]
<diegoviola> something to increment the verbose level or something like that, but during execution
T_T has quit [Remote host closed the connection]
mootpointer has quit [Quit: ENOCAFFEINE.]
i8igmac has quit [Quit: Leaving]
fuhgeddaboudit has joined #ruby
<jrobeson> you could just a real debugger
<jrobeson> perhaps pry and friends
<diegoviola> thanks
mrsolo has quit [Quit: This computer has gone to sleep]
duggiefresh has quit [Remote host closed the connection]
iliketurtles has joined #ruby
browndawg has joined #ruby
burlyscudd has joined #ruby
okinomo has quit [Ping timeout: 245 seconds]
bricker`LA is now known as bricker`away
Cheos has quit [Quit: Leaving...]
mrsolo has joined #ruby
cj3kim has joined #ruby
Lewix has joined #ruby
beneggett has joined #ruby
burlyscudd has quit [Ping timeout: 256 seconds]
tacos1de has joined #ruby
dodosan has joined #ruby
cj3kim has quit [Ping timeout: 245 seconds]
bean has joined #ruby
ewnd9_ has quit [Ping timeout: 276 seconds]
cads has quit [Ping timeout: 256 seconds]
Bish has quit [Ping timeout: 268 seconds]
JonathanNeal has left #ruby [#ruby]
Cheos has joined #ruby
Bish has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
browndawg has quit [Quit: Leaving.]
kvirani has joined #ruby
parzo has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jtgiri_ has joined #ruby
quoin has joined #ruby
stormbytes has quit [Quit: Leaving...]
bean has quit [Quit: Textual IRC Client: www.textualapp.com]
kvirani has quit [Ping timeout: 276 seconds]
stormbytes has joined #ruby
narcan has joined #ruby
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
procrastinat0r has joined #ruby
tyman has quit [Quit: tyman]
procrastinat0r has quit [Remote host closed the connection]
procrastinat0r has joined #ruby
sayan is now known as Guest76042
thesheff17 has quit [Ping timeout: 264 seconds]
procrastinat0r has quit [Read error: Connection reset by peer]
simoz2 has quit [Ping timeout: 240 seconds]
Guest76042 has quit [Ping timeout: 276 seconds]
cads has joined #ruby
T_T has joined #ruby
sayan_ has joined #ruby
wmoxam has joined #ruby
quoin has quit [Ping timeout: 245 seconds]
sayan_ is now known as sayan
aagdbl has joined #ruby
sayan has quit [Changing host]
sayan has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
kadoo has quit [Ping timeout: 264 seconds]
Xiti has joined #ruby
codecop has joined #ruby
r0bglees0n has quit [Ping timeout: 256 seconds]
aryaching has joined #ruby
dougireton has quit [Quit: Leaving.]
stormbytes has quit [Read error: Connection reset by peer]
prakriti has quit [Read error: Operation timed out]
stormbytes has joined #ruby
wallerdev has quit [Quit: wallerdev]
yllox has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
dash_ has joined #ruby
DonRichie has quit [Quit: Verlassend]
ehc has quit [Quit: ehc]
chinkung has quit [Quit: Bye!]
snovak has joined #ruby
pyrac has quit [Quit: pyrac]
pootler has quit [Ping timeout: 245 seconds]
agent_white has quit [Quit: leaving]
ylluminate has quit [Ping timeout: 256 seconds]
pootler has joined #ruby
newUser1234 has joined #ruby
buzzybron has joined #ruby
<pontiki> diegoviola: there's the -d flag, but WHOBOY is it verbose
dmiller has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
<diegoviola> thanks
yllox has quit [Read error: Operation timed out]
snovak has quit [Ping timeout: 260 seconds]
wallerdev has joined #ruby
nhhagen_ has joined #ruby
newUser1234 has quit [Ping timeout: 256 seconds]
threeturn has joined #ruby
stkowski has quit [Quit: stkowski]
chrishough has joined #ruby
hakunin has joined #ruby
mansi has joined #ruby
clov3r has joined #ruby
ssvo has quit [Ping timeout: 264 seconds]
ukd1 has quit [Remote host closed the connection]
mmozuras has quit [Quit: leaving]
mmozuras has joined #ruby
T_T has quit [Remote host closed the connection]
osvico has quit [Ping timeout: 248 seconds]
narcan has joined #ruby
relix has joined #ruby
mansi has quit [Ping timeout: 246 seconds]
clov3r has quit [Remote host closed the connection]
tagrudev has joined #ruby
burlyscudd has joined #ruby
kobain has quit []
ananthakumaran has joined #ruby
browndawg has joined #ruby
[[thufir]] has quit [Ping timeout: 245 seconds]
cj3kim has joined #ruby
wallerdev has quit [Quit: wallerdev]
dhruvasagar has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
jtgiri_ has quit [Quit: jtgiri_]
wallerdev has joined #ruby
intuxicated has joined #ruby
sleetdrop has joined #ruby
burlyscudd has quit [Ping timeout: 248 seconds]
dawkirst has quit [Ping timeout: 260 seconds]
cj3kim has quit [Ping timeout: 246 seconds]
dawkirst has joined #ruby
jonkri has joined #ruby
haxrbyte has joined #ruby
apeiros has joined #ruby
sleetdrop has quit [Client Quit]
mrsolo has joined #ruby
obs has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
codecop has joined #ruby
noopq has joined #ruby
gstamp has quit [Quit: Computer has gone to sleep.]
ttt has quit [Remote host closed the connection]
ttt has joined #ruby
haxrbyte_ has quit [Ping timeout: 260 seconds]
kindjal has quit [Quit: Computer has gone to sleep.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kvirani has joined #ruby
T_T has joined #ruby
tvw has joined #ruby
stormbytes has quit [Quit: Leaving...]
Splourian has quit [Quit: Leaving]
apeiros has quit [Remote host closed the connection]
evelyette_ has joined #ruby
kvirani has quit [Ping timeout: 276 seconds]
kilophoton has quit [Ping timeout: 240 seconds]
aryaching has joined #ruby
kadoo has joined #ruby
ayaz has joined #ruby
kadoo has quit [Max SendQ exceeded]
kadoo has joined #ruby
dangerousdave has joined #ruby
kadoo has quit [Max SendQ exceeded]
kadoo has joined #ruby
kadoo has quit [Max SendQ exceeded]
kadoo has joined #ruby
kadoo has quit [Max SendQ exceeded]
solrize has quit [Ping timeout: 249 seconds]
kadoo has joined #ruby
<buzzybron> does anyone here use ruby not only for rails?
havenwood has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 264 seconds]
Elhu has joined #ruby
havenwood has joined #ruby
wallerdev has quit [Quit: wallerdev]
arturg has joined #ruby
quoin has joined #ruby
<jrobeson> buzzybron, lots of people do that
<arturg> anyone here can help with getting capistrano to work on OS X?
<jrobeson> buzzybron, i am writing a rails app, but i've written other plain ruby apps in the past
aagdbl has quit [Ping timeout: 248 seconds]
mmozuras has quit [Quit: leaving]
mmozuras has joined #ruby
aagdbl has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
havenwood has quit [Ping timeout: 276 seconds]
simoz has joined #ruby
gsvolt has quit [Quit: No Ping reply in 180 seconds.]
gsvolt has joined #ruby
Guedes has quit [Ping timeout: 260 seconds]
seich- has quit [Ping timeout: 260 seconds]
pyrac has joined #ruby
awestroke has joined #ruby
Guedes has joined #ruby
obs has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
obs has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
T_T has quit [Remote host closed the connection]
seich- has joined #ruby
threeturn has quit [Quit: threeturn]
gstamp has joined #ruby
cogitokat has quit [Ping timeout: 245 seconds]
sayan has quit [Ping timeout: 264 seconds]
okinomo has joined #ruby
quoin has quit [Ping timeout: 264 seconds]
decoponio has joined #ruby
badquanta has joined #ruby
ananthakumaran has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Read error: Connection reset by peer]
stormbytes has joined #ruby
dhruvasagar has joined #ruby
Dave has joined #ruby
ananthakumaran has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
mrsolo has joined #ruby
Dave is now known as Guest17217
kaspergrubbe has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
dawkirst has quit [Ping timeout: 276 seconds]
snovak has joined #ruby
flagg0204 has quit [Read error: Connection reset by peer]
tonni has quit [Remote host closed the connection]
apeiros has joined #ruby
companion is now known as Companion
flagg0204 has joined #ruby
robbyoconnor has joined #ruby
snovak has quit [Read error: Operation timed out]
JohnBat26 has joined #ruby
alepore has joined #ruby
axisys has joined #ruby
mmozuras has quit [Remote host closed the connection]
tvw has quit []
randomdrake has joined #ruby
DrCode has joined #ruby
zorg24 has quit [Ping timeout: 248 seconds]
zoee has joined #ruby
razi has joined #ruby
s0ny123 has joined #ruby
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mansi has joined #ruby
quazimodo has quit [Ping timeout: 256 seconds]
<pontiki> i've been using ruby for lots of non-railsy things
<pontiki> and rails
flagg0204 has quit [Read error: Connection reset by peer]
flagg0204 has joined #ruby
<davidcelis> if you're writing rails, you're writing ruby
<davidcelis> GET OVER IT, SHEEPLE
<pontiki> eh?
dagobah has joined #ruby
diego has joined #ruby
intuxicated has quit [Ping timeout: 240 seconds]
diegoviola has quit [Ping timeout: 260 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
<pontiki> anyway, i've kinda switched over from writing bash and perl scripts
<pontiki> which is crazy
chriskk has quit [Quit: chriskk]
<jrobeson> davidcelis, i think the point is wondering whehter anybody who writes ruby is only using it rails
<sevenseacat> lol
Wiz_KeeD has joined #ruby
dkamioka has joined #ruby
<Wiz_KeeD> hello everyone
<pontiki> hello wiz
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
mansi has quit [Ping timeout: 240 seconds]
<pontiki> where do ppl come up with their nicks, anyway?
<davidcelis> i wish people would stop caring about "rails vs. plain ruby"
<davidcelis> pontiki: guess!
<pontiki> pfft
parzo has quit [Ping timeout: 240 seconds]
<pontiki> tempest in a teapot
<Wiz_KeeD> I have never ever worked with ruby in my life, I don't even know how to do a hello world, and I tried to install this application and got an error: http://pastebin.com/88EvrgUA
tonni has joined #ruby
dEPz has joined #ruby
<jrobeson> pontiki, i've always wondered that for a nick like AntelopeSalad
<Wiz_KeeD> Hope one of you knows the issue and would be kind enough to help
<pontiki> well there you are then
<sevenseacat> well when doing basic rails stuff you only get exposed to a very limited subset of ruby functionality
<jrobeson> and yours pontiki , but you alreayd told us
<Wiz_KeeD> Never had contact with the ruby community either :)
<sevenseacat> and you dont even have to understand it to work withit
<apeiros> davidcelis: if rails wasn't warping the laws of thermodynamics and gravity itself, sure
<davidcelis> Wiz_KeeD: did you google the error?
<davidcelis> Wiz_KeeD: "cannot load such file -- mkmf"
* pontiki discovers that by minute and excrutiatingly careful adjustment of her whiskers, she can manipulate the fine structure constant
<davidcelis> guarantee you if you search that, tons of people have answered it ;P
<pontiki> and you talk about mere thermodynamics
<Wiz_KeeD> davidcelis, in truth no i have not
<jrobeson> hehe
<davidcelis> mkmfdynamics
gr33n7007h has joined #ruby
schaerli has joined #ruby
burlyscudd has joined #ruby
<jrobeson> and good day to you pontiki :)
<pontiki> wiz: are you running windows?
<davidcelis> pontiki: doubt it? they're using apt get
<Wiz_KeeD> pontiki, hell no! :D
<pontiki> that would have required me to look, wouldn't it
<Wiz_KeeD> ubuntu 12.04
<pontiki> the next thing is, have you installed build-essential, wiz?
aggregatebot has joined #ruby
gstamp has quit [Quit: Computer has gone to sleep.]
<Mnemon> you need the ruby -dev package too.
cj3kim has joined #ruby
<davidcelis> jesus
<davidcelis> honestly
<davidcelis> first result for doing what i said :P
<sevenseacat> sif google
nhhagen_ has quit [Remote host closed the connection]
<bnagy> davidcelis: I didn't read your link, but did you try installing the -dev ruby package?
<Wiz_KeeD> I did the other one davidboy
nhhagen_ has joined #ruby
<Wiz_KeeD> davidcelis,
tjad has quit [Ping timeout: 264 seconds]
<davidcelis> the other one?
<davidcelis> bro
<davidcelis> that's from
<davidcelis> 2006
<davidcelis> and isn't even the ruby version you initially installed
<Wiz_KeeD> whops, my bad
<Wiz_KeeD> So how is ruby? :D
<Wiz_KeeD> Compared to, python for example
<Wiz_KeeD> since if I say php i might be shot I guess :D
<davidcelis> uhhhh
zorg24 has joined #ruby
<davidcelis> they're both scripting languages
<pontiki> why do you ask?
<davidcelis> you can pretty much do the same thing in either one
<davidcelis> it's a matter of preference
<davidcelis> but you're asking in #ruby so of course most people in here are going to prefer ruby over python
krz has joined #ruby
<zaltekk> i'd also recommend perl over python
burlyscudd has quit [Ping timeout: 260 seconds]
<davidcelis> ^
endash has quit [Quit: endash]
<zaltekk> but asking that question, it sounds like maybe python is the place you should start
flagg0204 has quit [Read error: Connection reset by peer]
<zaltekk> the language is much less complex
flagg0204 has joined #ruby
<Wiz_KeeD> Indeed it is zaltekk
cj3kim has quit [Ping timeout: 264 seconds]
<Wiz_KeeD> now I got...http://pastebin.com/tqH8M8SX
<Wiz_KeeD> :\
<zaltekk> obviosuly need sqlite3
<davidcelis> ^
Macaveli has quit [Quit: Computer has gone to sleep.]
<davidcelis> install sqlite3
<zaltekk> can you read?
<sevenseacat> apparently not
<pontiki> enabling or helping?
<Wiz_KeeD> but before sqlite3 it has another error
<pontiki> wiz, what are you intentions?
<Wiz_KeeD> don't be mean :)
nhhagen_ has quit [Ping timeout: 246 seconds]
<jrobeson> hmm.. this is a tough one for me
<pontiki> i'm actually trying to find out
<zaltekk> it's the same error message
<davidcelis> shit like this is why i find it impossible to believe in a benevolent, loving/caring deity
Xeago has joined #ruby
<pontiki> really?
<davidcelis> it's just not possible
<pontiki> what could possibly cause you to believe in such?
<jrobeson> davidcelis, that people don't know how to ready verbose ruby output ?
<davidcelis> that people don't read what their CLI outputs
stormbytes has quit [Quit: Linkinus - http://linkinus.com]
<davidcelis> pontiki: nothing, but this certainly doesn't help
<jrobeson> well you know exatly where to look
<pontiki> none of us came from the womb being able to read CLI errors
<davidcelis> i did!
ehaliewicz has quit [Remote host closed the connection]
<davidcelis> my womb was xterm-256
<pontiki> see, now *that* might make me believe in a deity
<davidcelis> legit
<jrobeson> i remember when i got involved in linux and had to figure out errors
<pontiki> immaculate programmer
okinomo has quit [Ping timeout: 264 seconds]
<jrobeson> but.. somehow.. i knew that i should googl everything first
<jrobeson> that i feel like is the missing piece here
flagg0204 has quit [Read error: Connection reset by peer]
maveonair has joined #ruby
tatsuya_o has joined #ruby
<Wiz_KeeD> I've never used ruby, don't know the package names
okinomo has joined #ruby
<jrobeson> i would just keep gooling the error, and then parts of the error
<Wiz_KeeD> It's not neccesairy to be so aggresive :)
<jrobeson> and a million permutations
<davidcelis> Wiz_KeeD: you have to do research dude
<jrobeson> but fomr some reason.. other people don't seem to get that
flagg0204 has joined #ruby
<pontiki> it's because most linux chats everyone is a complete a-hole and contemptuous of anyone they feel has less linux-fu than they do
<davidcelis> you could have read the error and quickly searched "install sqlite3 ubuntu" or something
<jrobeson> that is the part i find confusing
<pontiki> i mean seriously ranking
<Mnemon> that error is quite obvious ... i mean it even has some instructions on how to fix it :|
<davidcelis> you don't need us for this shit
Macaveli has joined #ruby
<Wiz_KeeD> agreed
<jrobeson> pontiki, i didn't have that experience but a few times
<jrobeson> but.. the one thing i did learn.. is that people are less likely to go off .. if you prove that you did some research first
kvirani has joined #ruby
diego has quit [Quit: WeeChat 0.4.1]
<pontiki> yes
<jrobeson> and don't start with "it's broken"
<Wiz_KeeD> davidcelis, I did, and then after I install 3 packages it still doesn't work and now I get package errors when trying to install others
<Wiz_KeeD> so not that easy when you're not savy
jaimef has quit [Excess Flood]
<pontiki> there are no shortcuts to greatness
Macaveli has quit [Client Quit]
<pontiki> OTOH, just wanting to run someone else's script isn't that
<pontiki> which is why i ask your intentions, wiz
<pontiki> are you planning on learning how to program in ruby?
filipe has joined #ruby
<jrobeson> pontiki you are the best
intuxicated has joined #ruby
<Wiz_KeeD> pontiki, nono, just to install mailcatcher
tatsuya_o has quit [Remote host closed the connection]
<Wiz_KeeD> and the rest i was just curious
<jrobeson> i know i ran into varioius perl and python errors when i installed scripts in their relevant languages also
Macaveli has joined #ruby
<jrobeson> but i was able to figure it out eventually usually
<jrobeson> back in the day..
solrize has joined #ruby
<jrobeson> sometimes it did take all night
<jrobeson> or longer.. :(
<jrobeson> trying to fight systems had no idea about
<pontiki> installing on linux... you know the joke about OSen as airlines, right?
<Wiz_KeeD> right, okay I'll just stop asking for help in order to reduce your annoyance
<pontiki> wiz, PM me
<pontiki> i'll walk you through it
wildroman has joined #ruby
wildroman has quit [Remote host closed the connection]
<jrobeson> Wiz_KeeD, i just know what's it's like trying to deal with systems in various languages that you don't know. and forcing them to work
<jrobeson> after many many many errors..
kvirani has quit [Ping timeout: 276 seconds]
wildroman has joined #ruby
andikr has joined #ruby
flagg0204 has quit [Read error: Connection reset by peer]
wildroman has quit [Remote host closed the connection]
jaimef has joined #ruby
flagg0204 has joined #ruby
wildroman has joined #ruby
flagg0204 has quit [Read error: Connection reset by peer]
mmozuras has joined #ruby
Quashie has joined #ruby
monkegjinni has joined #ruby
wildroman has quit [Remote host closed the connection]
seyha has joined #ruby
threeturn has joined #ruby
aagdbl has quit [Quit: Leaving.]
maveonair has quit [Ping timeout: 276 seconds]
simoz2 has joined #ruby
aganov has joined #ruby
flagg0204 has joined #ruby
aagdbl has joined #ruby
ttt has quit [Read error: Connection reset by peer]
ttt has joined #ruby
sayan has joined #ruby
maveonair has joined #ruby
aagdbl has quit [Client Quit]
simoz has quit [Ping timeout: 256 seconds]
intuxicated has quit [Ping timeout: 245 seconds]
flagg0204 has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
cads has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby
dkamioka has quit [Remote host closed the connection]
GeissT has joined #ruby
wallerdev has quit [Client Quit]
dash_ has quit [Quit: dash_]
tjad has joined #ruby
freerobby has quit [Quit: Leaving.]
flagg0204 has joined #ruby
seyha has quit [Quit: Lost terminal]
burlyscudd has joined #ruby
threesome has joined #ruby
jonkri has quit [Ping timeout: 248 seconds]
avril14th has joined #ruby
havenwood has joined #ruby
jonkri has joined #ruby
nhhagen_ has joined #ruby
jonkri has quit [Max SendQ exceeded]
jonkri has joined #ruby
quoin has joined #ruby
burlyscudd has quit [Ping timeout: 260 seconds]
cj3kim has joined #ruby
Xeago has quit [Remote host closed the connection]
kaspergrubbe has quit [Remote host closed the connection]
jonkri has quit [Max SendQ exceeded]
okinomo has quit [Ping timeout: 256 seconds]
tylersmith has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 256 seconds]
randomdrake has quit [Quit: randomdrake]
tylersmith has joined #ruby
noopq has quit [Ping timeout: 256 seconds]
atno has quit [Ping timeout: 240 seconds]
jonkri has joined #ruby
funburn has quit [Quit: funburn]
jefflyne3 has quit [Ping timeout: 256 seconds]
timonv has joined #ruby
cj3kim has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 240 seconds]
nhhagen_ has quit [Ping timeout: 246 seconds]
akemrir has joined #ruby
Wiz_KeeD has quit [Ping timeout: 245 seconds]
Elhu has joined #ruby
raul782 has left #ruby [#ruby]
solrize has quit [Read error: Operation timed out]
<pontiki> i just assassinated wiz_keed
jbpros has joined #ruby
Xeago has joined #ruby
<jrobeson> hmm?
Wiz_KeeD has joined #ruby
<jrobeson> not sure what that means in the context or irc
<jrobeson> of irc*
snovak has joined #ruby
ghr has joined #ruby
intuxicated has joined #ruby
relix has joined #ruby
<Wiz_KeeD> nice one pontiki, thanks
youcallme has joined #ruby
jezen has joined #ruby
quoin has quit [Ping timeout: 264 seconds]
<badquanta> I just started a Ruby Gem for SDL2. https://github.com/BadQuanta/sdl2_ffi ; Any peer review appreciated. :)
alup has joined #ruby
Wiz_KeeD has quit []
<akemrir> hello, I want to handle data from app with pipe. But it gets first line and shut downs. Here is the script: https://gist.github.com/akemrir/6520375 . How can I make it work until I quit manually?
snovak has quit [Ping timeout: 248 seconds]
workmad3 has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Es0teric has joined #ruby
mansi has joined #ruby
Es0teric has quit [Client Quit]
mrsolo has quit [Quit: This computer has gone to sleep]
mrsolo has joined #ruby
atno has joined #ruby
cogitokat has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 245 seconds]
kaspergrubbe has joined #ruby
Zai00 has joined #ruby
pontiki has quit [Quit: now it's time to die]
arturg has quit [Quit: arturg]
arturg has joined #ruby
senayar has joined #ruby
vlad_starkov has joined #ruby
senayar has quit [Read error: Connection reset by peer]
senayar has joined #ruby
intuxicated has quit [Ping timeout: 245 seconds]
sr78ger has joined #ruby
jonkri has quit [Quit: jonkri]
Lewix has quit [Remote host closed the connection]
Coffers has joined #ruby
aryaching has joined #ruby
timonv has quit [Remote host closed the connection]
claymore has joined #ruby
Lewix_ has joined #ruby
Xeago has quit [Remote host closed the connection]
atno has quit [Ping timeout: 260 seconds]
troessner has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
kvirani has joined #ruby
tesuji has joined #ruby
varfoo has joined #ruby
tonni has quit [Remote host closed the connection]
shaunbak_ has joined #ruby
intuxicated has joined #ruby
beilabs_ has quit [Ping timeout: 245 seconds]
browndawg has quit [Quit: Leaving.]
kvirani has quit [Ping timeout: 276 seconds]
kaspergrubbe has quit [Remote host closed the connection]
__main__ has quit [Ping timeout: 264 seconds]
awestroke has quit [Remote host closed the connection]
xeon has joined #ruby
julweber has joined #ruby
xeon has quit [Max SendQ exceeded]
jprovazn has joined #ruby
__main__ has joined #ruby
Xeago has joined #ruby
xeon has joined #ruby
barratt has joined #ruby
beilabs_ has joined #ruby
varfoo has quit [Quit: WeeChat 0.4.0]
[[thufir]] has joined #ruby
kaspergrubbe has joined #ruby
bricker`away has quit [Read error: Connection reset by peer]
ewnd9_ has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
blaxter_ has joined #ruby
jonkri has joined #ruby
mklappstuhl has joined #ruby
mmozuras has quit [Quit: leaving]
mmozuras has joined #ruby
mmozuras has quit [Client Quit]
mmozuras has joined #ruby
<shevy> badquanta cool, do you also write games in ruby?
varfoo has joined #ruby
bricker`away has joined #ruby
dash_ has joined #ruby
zeel has joined #ruby
burlyscudd has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
zenon003 has joined #ruby
mmozuras has quit [Client Quit]
mmozuras has joined #ruby
<badquanta> shevy, I'm planning on doing just that.
simoz2 has quit [Ping timeout: 276 seconds]
tonni has joined #ruby
tonni has quit [Remote host closed the connection]
tonni has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
Davey has quit [Quit: Computer has gone to sleep.]
camilasan has joined #ruby
burlyscudd has quit [Ping timeout: 256 seconds]
mmozuras has quit [Client Quit]
mmozuras has joined #ruby
adambeynon has joined #ruby
yann_ck has joined #ruby
dkamioka has joined #ruby
DrCode has joined #ruby
Lewix has joined #ruby
schaerli has quit [Remote host closed the connection]
mmozuras has quit [Client Quit]
mmozuras has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
havenwood has joined #ruby
blackmesa has joined #ruby
ephemerian has joined #ruby
maveonair has quit [Ping timeout: 245 seconds]
julweber has quit [Remote host closed the connection]
dkamioka has quit [Ping timeout: 256 seconds]
elaptics`away is now known as elaptics
tatsuya_o has joined #ruby
julweber has joined #ruby
Lewix has quit [Ping timeout: 264 seconds]
bricker`away has quit [Ping timeout: 264 seconds]
Targen has quit [Ping timeout: 264 seconds]
blackmesa has quit [Remote host closed the connection]
bricker`away has joined #ruby
quazimodo has joined #ruby
camilasan has quit [Read error: No route to host]
camilasan has joined #ruby
blackmesa has joined #ruby
frem has quit [Ping timeout: 264 seconds]
quoin has joined #ruby
blueOxigen has joined #ruby
julweber has quit [Ping timeout: 256 seconds]
atno has joined #ruby
timonv has joined #ruby
yann_ck has quit [Quit: Textual IRC Client: www.textualapp.com]
snovak has joined #ruby
tylersmith has joined #ruby
arturg has left #ruby [#ruby]
jonkri has quit [Ping timeout: 264 seconds]
havenwood has quit [Remote host closed the connection]
blueOxigen has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
jonkri has joined #ruby
bluOxigen has joined #ruby
__GG has joined #ruby
xeon has quit [Ping timeout: 256 seconds]
lsmola has quit [Ping timeout: 256 seconds]
tylersmith has quit [Ping timeout: 264 seconds]
amitej has joined #ruby
snovak has quit [Ping timeout: 260 seconds]
zorg24 has quit [Ping timeout: 264 seconds]
mklappstuhl has quit [Remote host closed the connection]
optimusprimem has quit [Ping timeout: 245 seconds]
okinomo has joined #ruby
amitej has quit [Client Quit]
gregj has joined #ruby
dash_ has quit [Quit: dash_]
havenwood has quit [Ping timeout: 248 seconds]
<gregj> guys, I'm trying to use ruby with a project called calabash, but I get these errors - and since I never user ruby before - no idea how to resolve these: http://pastebin.com/V4AHtHEg
mansi has joined #ruby
Criztian has joined #ruby
dash_ has joined #ruby
quoin has quit [Remote host closed the connection]
noname001 has joined #ruby
quoin has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
<gregj> looks like 1.8 that comes with osx 10.8 is not good enough for these things
<gregj> matti: o/
mansi has quit [Ping timeout: 248 seconds]
quazimodo has quit [Ping timeout: 260 seconds]
lewiz has quit [Ping timeout: 260 seconds]
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
<matti> gregj: 1. Homebrew; -> 2. rbenv; -> 3. ruby-build
<matti> gregj: Then install whatever you need with rbenv.
<gregj> curl -L https://get.rvm.io|bash -s stable - is what I'm installing now
<matti> gregj: You need XCode console tools (for gcc et al).
<gregj> as an iOS dev, I do have xcode and the command line utils too
<gregj> thanks , I'll bug you's later -
<gregj> what did the world come to, I have to write things in ruby now
jlebrech has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
<jlebrech> if i have an method that sets an instance variable and returns it, it's the same as having an attr_accessor no?
Lewix_ has quit [Remote host closed the connection]
maveonair has joined #ruby
lsmola has joined #ruby
hamed_r has joined #ruby
lkba has quit [Ping timeout: 268 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
varfoo has quit [Quit: WeeChat 0.4.0]
Lewix has joined #ruby
apod has joined #ruby
maveonair has quit [Ping timeout: 245 seconds]
kvirani has joined #ruby
stack has quit [Ping timeout: 256 seconds]
<gregj> I like the wee beer:
nfk has joined #ruby
dawkirst has joined #ruby
stack has joined #ruby
lsmola has quit [Ping timeout: 245 seconds]
<shevy> jlebrech yes, if it has the same name as the ivar
<shevy> def foo; return @bla # would not be an attr_reader :foo
<shevy> def foo; return @foo # would be an attr_reader :foo
wildroman has joined #ruby
<shevy> attr_accessor just combines attr_reader and attr_writer
varfoo has joined #ruby
wildroman has quit [Remote host closed the connection]
kvirani has quit [Ping timeout: 276 seconds]
nari has quit [Ping timeout: 245 seconds]
adambeynon has joined #ruby
Lewix has quit [Remote host closed the connection]
lewiz has joined #ruby
wildroman has joined #ruby
shaunbaker has joined #ruby
sayan has quit [Ping timeout: 245 seconds]
tatsuya__ has joined #ruby
<gregj> matti: I'll do it the way you suggested mate
dawkirst has quit [Ping timeout: 245 seconds]
neo_ has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
blaxter_ has quit [Quit: foo]
funburn has joined #ruby
shaunbak_ has joined #ruby
dawkirst has joined #ruby
tatsuya_o has quit [Ping timeout: 276 seconds]
timonv has quit [Remote host closed the connection]
aganov has quit [Ping timeout: 246 seconds]
tagrudev has quit [Ping timeout: 264 seconds]
noopq has joined #ruby
rdxc has joined #ruby
shaunbaker has quit [Ping timeout: 245 seconds]
aaronmcadam has joined #ruby
<shevy> suggest to mate
<matti> shevy: !
<matti> shevy: Go make some coffee.
<shevy> :(
mikecmpbll has joined #ruby
<matti> shevy: sudo make coffee
<matti> Off you go.
<matti> gregj: brew install rbenv; brew install ruby-build;
<matti> gregj: rbenv then can build you Rubies.
simoz has joined #ruby
io_syl has quit []
browndawg has joined #ruby
cogitokat has quit [Read error: Operation timed out]
jonkri has quit [Ping timeout: 246 seconds]
lsmola has joined #ruby
burlyscudd has joined #ruby
greengriminal has joined #ruby
<gregj> is ruby .0.0-p247 the latest one ?
<gregj> 2.0.0-p247
Xeago has quit [Remote host closed the connection]
<sevenseacat> channel topic says yes
<gregj> duh!
<gregj> but that's a preview, isn't it ? (I'm not familiar with ruby's versioning policies)
<matti> gregj: This: 1.9.3-p448 or 2.0.0-p247
<sevenseacat> no, p is patch level
<gregj> got it
Xeago has joined #ruby
parzo has joined #ruby
dawkirst has quit [Ping timeout: 256 seconds]
jbpros_ has joined #ruby
burlyscudd has quit [Ping timeout: 246 seconds]
aganov has joined #ruby
jefflyne3 has joined #ruby
Xeago has quit [Remote host closed the connection]
cogitokat has joined #ruby
nhhagen_ has joined #ruby
skaflem has joined #ruby
jbpros has quit [Ping timeout: 276 seconds]
jbpros_ is now known as jbpros
anderson has quit [Read error: Connection reset by peer]
sevenseacat has quit [Quit: Leaving.]
blueOxigen has joined #ruby
dawkirst has joined #ruby
timonv has joined #ruby
anderson has joined #ruby
tagrudev has joined #ruby
bluOxigen has quit [Ping timeout: 245 seconds]
nhhagen_ has quit [Ping timeout: 256 seconds]
julweber has joined #ruby
nari has joined #ruby
dawkirst has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
yacks has joined #ruby
dawkirst has joined #ruby
dash_ has quit [Quit: dash_]
gyre007 has joined #ruby
schaerli has joined #ruby
Mephisto4 has joined #ruby
Mephisto3 has quit [Ping timeout: 245 seconds]
dash_ has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
snovak has joined #ruby
ics has quit [Ping timeout: 256 seconds]
sayan has joined #ruby
dash_ has quit [Ping timeout: 248 seconds]
snovak has quit [Ping timeout: 245 seconds]
MrZYX|off is now known as MrZYX
NealJ has joined #ruby
khushildep has joined #ruby
aagdbl has joined #ruby
Bry8Star{T2 has joined #ruby
avril14th has quit [Read error: Connection reset by peer]
Mephisto4 has quit [Ping timeout: 264 seconds]
mklappstuhl has joined #ruby
Companion is now known as companion
apeiros has quit [Remote host closed the connection]
avril14th has joined #ruby
Klotho1 has quit [Ping timeout: 260 seconds]
maveonair has joined #ruby
narcan has joined #ruby
bricker`away has quit [Ping timeout: 248 seconds]
kvirani has joined #ruby
maveonair has quit [Ping timeout: 264 seconds]
cascalheira has joined #ruby
swordsmanz has quit [Ping timeout: 264 seconds]
jbpros has quit [Quit: jbpros]
postmodern has quit [Quit: Leaving]
quazimodo has joined #ruby
kvirani has quit [Ping timeout: 276 seconds]
chrishough has quit [Quit: chrishough]
jibi has joined #ruby
quoin has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
aryaching has joined #ruby
__GG has quit [Quit: Leaving.]
bigkevmcd has quit [Ping timeout: 264 seconds]
Catbuntu has joined #ruby
threesome has quit [Quit: Leaving]
jtgiri_ has joined #ruby
tatsuya__ has quit [Remote host closed the connection]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
Wiz_KeeD has joined #ruby
apod has quit []
optimusprimem has joined #ruby
jezen has quit [Remote host closed the connection]
jezen has joined #ruby
atno__ has joined #ruby
vlad_starkov has quit [Ping timeout: 246 seconds]
burlyscudd has joined #ruby
vlad_starkov has joined #ruby
Kar- has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
atno has quit [Ping timeout: 264 seconds]
Quashie has quit [Ping timeout: 245 seconds]
Catbuntu is now known as unrar
pyrac has quit [Ping timeout: 260 seconds]
Cheos has quit [Quit: Leaving...]
jtgiri_ has quit [Quit: jtgiri_]
parzo has quit [Read error: Connection reset by peer]
zabojnar has joined #ruby
banisterfiend has joined #ruby
zabojnar has left #ruby [#ruby]
ccooke is now known as cccooke_
cccooke_ is now known as cccooke
burlyscudd has quit [Ping timeout: 260 seconds]
shaunbak_ has quit [Remote host closed the connection]
cccooke is now known as ccooke
parzo has joined #ruby
senayar_ has joined #ruby
BSaboia has joined #ruby
dodosan has quit [Remote host closed the connection]
dawkirst has quit [Ping timeout: 240 seconds]
hamed_r has quit [Quit: Ex-Chat]
funburn has quit [Quit: funburn]
senayar has quit [Ping timeout: 256 seconds]
jefflyne3 has quit [Ping timeout: 260 seconds]
zeel has quit [Quit: Sail]
Kar- has quit [Remote host closed the connection]
colonolGron has joined #ruby
Kar- has joined #ruby
rdark has joined #ruby
shaunbaker has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
Michael_ has joined #ruby
ismlages has joined #ruby
bigkevmcd has joined #ruby
pavilionXP has joined #ruby
julweber has quit [Remote host closed the connection]
snovak has joined #ruby
pavilionXP is now known as ScabbedSex\
atno__ has quit [Quit: Leaving]
BRMatt has joined #ruby
dawkirst has joined #ruby
blackmesa has joined #ruby
quoin has joined #ruby
eshy has quit [Quit: leaving]
atno has joined #ruby
snovak has quit [Ping timeout: 264 seconds]
GeissT has quit [Ping timeout: 260 seconds]
mansi has joined #ruby
BRMatt has quit [Quit: Leaving]
thesheff17 has joined #ruby
linux_noob_666 has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
Michael_ has quit [Remote host closed the connection]
rickmasta has quit [Quit: Leaving...]
Wiz_KeeD has quit [Quit: Page closed]
jezen has quit [Remote host closed the connection]
jezen has joined #ruby
rickmasta has joined #ruby
rickmasta has quit [Client Quit]
eshy has joined #ruby
mansi has quit [Ping timeout: 248 seconds]
krusader has quit [Read error: Connection reset by peer]
simoz has quit [Ping timeout: 264 seconds]
linux_noob_666 has quit [Read error: Connection reset by peer]
quoin has quit [Remote host closed the connection]
quoin has joined #ruby
buzzybron has left #ruby [#ruby]
relix has joined #ruby
wchun has quit [Quit: Leaving]
qqq111 has joined #ruby
Domon has quit [Remote host closed the connection]
Domon has joined #ruby
kvirani has joined #ruby
mklappstuhl has joined #ruby
alepore has quit [Quit: This computer has gone to sleep]
Domon has quit [Ping timeout: 264 seconds]
Kar- has quit [Remote host closed the connection]
newUser1234 has joined #ruby
jezen_ has joined #ruby
drugdiq has joined #ruby
<drugdiq> @variable is an instance variable inside the class ?
kvirani has quit [Ping timeout: 276 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
<aagdbl> drugdiq: what do you mean by "inside the class"?
<aagdbl> @variables are instance variables of objects
julweber has joined #ruby
jezen has quit [Ping timeout: 246 seconds]
julweber has quit [Remote host closed the connection]
lucazi has joined #ruby
julweber has joined #ruby
newUser1234 has quit [Ping timeout: 240 seconds]
m00nlight has quit [Quit: Konversation terminated!]
<drugdiq> aagdbl: ah ok can you explain this snippet to me http://pastebin.com/qQHqEsaH ?
shaunbaker has quit [Remote host closed the connection]
<aagdbl> initialize is called when the object is constructed
failshell has joined #ruby
YaNakilon has quit [Ping timeout: 256 seconds]
<drugdiq> ok so why do i have to use @something = something
failshell has quit [Remote host closed the connection]
<drugdiq> instead of something = something
shaunbaker has joined #ruby
tatsuya_o has joined #ruby
hakunin has quit [Remote host closed the connection]
<hoelzro> because that's how to address instance variables in Ruby
shaunbak_ has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
failshell has joined #ruby
<aagdbl> @xyz is the syntax to access instance variables
Kar- has joined #ruby
apeiros has joined #ruby
<aagdbl> xyz = pqr will 1. check for a local variable xyz, and if not found, will check for a _method_ "self.xyz="
YaNakilon has joined #ruby
<hoelzro> I thought that xyz = pqr would *always* create a local variable
shaunbaker has quit [Ping timeout: 245 seconds]
<apeiros> aagdbl: no
okinomo has quit [Ping timeout: 264 seconds]
<apeiros> xyz = pqr will *always* assign to the lvar xyz
<hoelzro> ok, good
<hoelzro> I'm not carzy
<hoelzro> or crazy
<apeiros> it will *never* call self.xyz = pqr
thesheff17 has quit [Ping timeout: 276 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
<apeiros> you may still be crazy, let us determine that independently of this issue :-p
<apeiros> aagdbl: there's a rationale behind that too - if it would call self.xyz=, you could never set a local variable (due to method_missing)
r0bglees0n has joined #ruby
<apeiros> or if you'd implement it as Object#method_missing (last stage in the method call order) and have code there to set an lvar, then you'd sacrifice a shitload of performance
burlyscudd has joined #ruby
<apeiros> since *every time* you set an lvar, you'd traverse the full ancestry twice.
<apeiros> method call alone is already heavy compared with lvar assign/read, but full traversing is even worse.
neo_ has quit [Quit: Leaving]
<apeiros> oh, and things like openstruct would be no end of fun :D
disgrntld has left #ruby [#ruby]
monkegjinni has quit [Remote host closed the connection]
<aagdbl> hoelzro: apeiros: yes, correct. i was incorrect
narcan has joined #ruby
qqq111 has quit [Ping timeout: 250 seconds]
burlyscudd has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby
threeturn has quit [Quit: threeturn]
Guest17217 has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
ldnunes has joined #ruby
simoz has joined #ruby
<workmad3> aagdbl: you were correct for what 'pqr' would do on the rhs though ;) accessing 'pqr' would check for a local-var and then call self.xyz if not found
alepore has joined #ruby
<workmad3> which can cause some 'awesome' annoyances... like 'a = a' (the local-var is created before the rest of the expression is evaluated)
<workmad3> >> def a; "foo"; end; a = a; puts a;
<eval-in> workmad3 => ... (https://eval.in/47883)
dash_ has joined #ruby
perry|dnd has quit [Ping timeout: 264 seconds]
BSaboia has quit [Ping timeout: 264 seconds]
ccooke is now known as ccooke_
ccooke_ is now known as ccooke
DonRichie has joined #ruby
jonkri has joined #ruby
jonkri has quit [Changing host]
jonkri has joined #ruby
<aagdbl> workmad3: you mean self.pqr
julweber has quit [Ping timeout: 256 seconds]
dodosan has joined #ruby
julweber has joined #ruby
dash_ has quit [Quit: dash_]
s0ny123 has quit [Quit: Lost terminal]
dodosan has quit [Ping timeout: 245 seconds]
nomenkun has joined #ruby
jerius has joined #ruby
<workmad3> aagdbl: yes, I do :)
kaspergrubbe has quit [Remote host closed the connection]
jerius has quit [Client Quit]
nomenkun_ has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
ScabbedSex\ has quit [Ping timeout: 256 seconds]
maveonair has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
mklappst_ has joined #ruby
yalue has joined #ruby
mklappstuhl has quit [Ping timeout: 240 seconds]
jezen_ has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
dash_ has joined #ruby
dEPz has quit [Remote host closed the connection]
aagdbl has quit [Ping timeout: 246 seconds]
Monie has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
AlHafoudh has joined #ruby
vlad_starkov has joined #ruby
moura has joined #ruby
moura has quit [Max SendQ exceeded]
moura has joined #ruby
sayan has quit [Quit: Leaving]
moura has quit [Max SendQ exceeded]
valio has joined #ruby
zarubin has joined #ruby
<valio> How to require Rakefile defined in gem in my own gem
<valio> Is there simple pattern to do that
dash_ has quit [Client Quit]
tatsuya_o has quit [Remote host closed the connection]
cody-- has joined #ruby
tatsuya_o has joined #ruby
ttt has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 256 seconds]
wh1t3l10n has joined #ruby
[[thufir]] has quit [Read error: Connection reset by peer]
IceyEC has joined #ruby
<wh1t3l10n> Anyone can help me, what's wrong in my code http://pastebin.com/EXF27QDs I'm playing with Class
kvirani has joined #ruby
<MrZYX> you use tabs for indentation? :P
<MrZYX> wh1t3l10n: so what is wrong with it? what do you expect, what do you get?
<zets> um, you're missing an end in the tax def
<wh1t3l10n> MrZYX: I just started learning Ruby!
<wh1t3l10n> zets: wow! my mistake :) let's see if it works!
<MrZYX> learning to understand syntax errors is part of that process ;)
varfoo has quit [Quit: WeeChat 0.4.0]
Guest71235 has quit [Changing host]
Guest71235 has joined #ruby
blackmesa has joined #ruby
Guest71235 is now known as z
dhruvasagar has quit [Ping timeout: 264 seconds]
rickmasta has joined #ruby
ehc has joined #ruby
kvirani has quit [Ping timeout: 276 seconds]
tk has joined #ruby
lucazi is now known as lucazi_away
lucazi_away is now known as lucazi
ntus1017 has joined #ruby
tk is now known as Guest30377
eka has joined #ruby
wh1t3l10n has quit [Ping timeout: 260 seconds]
shaunbaker has joined #ruby
monkegjinni has joined #ruby
snovak has joined #ruby
dawkirst has quit [Remote host closed the connection]
newUser1234 has joined #ruby
aagdbl has joined #ruby
tkuchiki has quit [Remote host closed the connection]
iamjarvo has joined #ruby
tkuchiki has joined #ruby
cads has joined #ruby
alepore has quit [Quit: This computer has gone to sleep]
Kar- has quit [Remote host closed the connection]
ntus1017 has quit [Remote host closed the connection]
osvico has joined #ruby
iamjarvo has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
cody-- has quit [Quit: Computer has gone to sleep.]
iamjarvo has joined #ruby
snovak has quit [Ping timeout: 276 seconds]
sevenseacat has joined #ruby
tkuchiki has quit [Ping timeout: 264 seconds]
cody-- has joined #ruby
Xeago has joined #ruby
gyre007 has quit [Remote host closed the connection]
parzo has quit [Ping timeout: 240 seconds]
burlyscudd has joined #ruby
lucazi is now known as lucazi_away
spap has joined #ruby
mark_locklear has joined #ruby
simoz has quit [Ping timeout: 260 seconds]
mmozuras has quit [Quit: leaving]
mmozuras has joined #ruby
burlyscudd has quit [Ping timeout: 260 seconds]
Galgorth has quit []
dawkirst has joined #ruby
jbpros has joined #ruby
sayan has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cads has quit [Ping timeout: 260 seconds]
dkamioka has joined #ruby
mmozuras has quit [Client Quit]
mmozuras has joined #ruby
jefflyne3 has joined #ruby
iamjarvo has quit [Remote host closed the connection]
sjltaylor has joined #ruby
duggiefresh has joined #ruby
iamjarvo has joined #ruby
havenwood has joined #ruby
Kar- has joined #ruby
lucazi_away is now known as lucazi
osvico has quit [Ping timeout: 260 seconds]
vlad_starkov has joined #ruby
rcosta has joined #ruby
xamut has joined #ruby
user258467 has quit [Remote host closed the connection]
iamjarvo has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 276 seconds]
lucazi is now known as lucazi_away
lucazi_away is now known as lucazi
companion is now known as Companion
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jp- has joined #ruby
zenon003 has quit [Ping timeout: 250 seconds]
threeturn has joined #ruby
browndawg has quit [Quit: Leaving.]
hogeo has quit [Remote host closed the connection]
<shevy> he will never be back
jprovazn has quit [Ping timeout: 264 seconds]
kristiandelay has left #ruby [#ruby]
m8 has joined #ruby
jprovazn has joined #ruby
duggiefresh has quit [Remote host closed the connection]
ewnd9_ has quit [Ping timeout: 245 seconds]
drugdiq has quit [Read error: Connection reset by peer]
justsee has joined #ruby
justsee has joined #ruby
adambeynon has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
razi has quit [Quit: Leaving.]
razi has joined #ruby
snath has quit [Read error: Operation timed out]
Banistergalaxy has joined #ruby
mansi has joined #ruby
kaldrenon has joined #ruby
pygospa has quit [Disconnected by services]
Macaveli has quit [Remote host closed the connection]
TheRealPygo has joined #ruby
AndChat| has quit [Ping timeout: 246 seconds]
JumpMast3r has joined #ruby
xamut has left #ruby [#ruby]
_bart has joined #ruby
azcodex has joined #ruby
razi has quit [Ping timeout: 256 seconds]
jaynewst_ has quit [Remote host closed the connection]
jaynewstrom has joined #ruby
buibex has joined #ruby
gyre007 has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
freerobby has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
dash_ has joined #ruby
mansi has joined #ruby
corpuscle has joined #ruby
Macaveli has joined #ruby
Kar- has quit [Remote host closed the connection]
mayday_jay has joined #ruby
axsuul has quit [Ping timeout: 260 seconds]
jkamenik has joined #ruby
alekst has joined #ruby
senayar_ has quit [Remote host closed the connection]
senayar has joined #ruby
mikecmpbll has joined #ruby
breakingthings has joined #ruby
gyre007 has quit [Ping timeout: 260 seconds]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Monie has joined #ruby
dougireton has joined #ruby
iamjarvo has joined #ruby
seynb has joined #ruby
kvirani has joined #ruby
Gacha has joined #ruby
ehc has quit [Quit: ehc]
yfeldblum has joined #ruby
iamjarvo has quit [Remote host closed the connection]
krz has quit [Quit: krz]
iamjarvo has joined #ruby
sambao21 has joined #ruby
zets has quit [Ping timeout: 240 seconds]
mwmnj has joined #ruby
lucazi has quit [Quit: lucazi]
greengriminal has quit [Ping timeout: 256 seconds]
kvirani has quit [Ping timeout: 276 seconds]
ttt has joined #ruby
AlHafoudh has quit [Ping timeout: 248 seconds]
greengriminal has joined #ruby
lyanchih has joined #ruby
snovak has joined #ruby
iamjarvo has quit [Ping timeout: 264 seconds]
anonymuse has joined #ruby
vlad_sta_ has joined #ruby
ewnd9_ has joined #ruby
d33tah has quit [Ping timeout: 240 seconds]
brbcoding has joined #ruby
ttt has quit [Ping timeout: 252 seconds]
lyanchih has quit [Client Quit]
snovak has quit [Ping timeout: 264 seconds]
lucazi has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
wuest_ is now known as wuest
vlad_starkov has joined #ruby
[1]tufflax has quit [Read error: Connection reset by peer]
dougireton has quit [Quit: Leaving.]
intuxicated has quit [Quit: Leaving]
rcosta has quit [Remote host closed the connection]
rickmasta has quit [Quit: Leaving...]
lembacon has joined #ruby
tkuchiki has joined #ruby
lembacon has quit [Remote host closed the connection]
mlpinit has joined #ruby
vlad_sta_ has quit [Ping timeout: 256 seconds]
beilabs_ has quit [Ping timeout: 240 seconds]
mansi has quit [Remote host closed the connection]
fgo has joined #ruby
aagdbl has quit [Quit: Leaving.]
mansi has joined #ruby
adambeynon has quit [Ping timeout: 276 seconds]
polaco_zZz is now known as polaco
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Criztian has quit [Remote host closed the connection]
adambeynon has joined #ruby
rrmartins has joined #ruby
wildroman has quit [Remote host closed the connection]
elux has joined #ruby
cody-- has joined #ruby
wildroman has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
kobain has joined #ruby
rickmasta has joined #ruby
Es0teric has joined #ruby
thesheff17 has joined #ruby
asobrasil has joined #ruby
sailias has joined #ruby
jefflyne3 has quit [Ping timeout: 256 seconds]
linusoleander has joined #ruby
<linusoleander> Is there a way to re-raise an exception under another class name?
Cheos has joined #ruby
<MrZYX> just raise that different exception?
<wuest> linusoleander: rescue the exception, raise the new exception in your rescue block?
tabolario has joined #ruby
<linusoleander> Yes, but I want all the arguments, like trace back from the original error
beilabs_ has joined #ruby
rrmartins has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
rcosta has joined #ruby
<linusoleander> Like this wuest , MrZYX https://gist.github.com/oleander/a6c2e742b4398e37e303
<MrZYX> what's the greater problem you want to solve here? convince for the caller so that he only has to rescue one class?
cpruitt has joined #ruby
<linusoleander> I don't want airbrake to log RestClient::RequestTimeout errors
<linusoleander> raised by this particular method
linux_noob_666 has joined #ruby
<MrZYX> so just abort the method?
<mikecmpbll> what's the problem with what you've got.
<linusoleander> MrZYX: No, I still want an error, otherwise sidekiq won't re-run it
<linusoleander> mikecmpbll: There is no original traceback
interactionjaxsn has joined #ruby
<mikecmpbll> i'm pretty sure there will be?
<linusoleander> How could it? I'm catching the first error on the row above
moura has joined #ruby
moura has quit [Max SendQ exceeded]
fuhgeddaboudit has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<mikecmpbll> tru.
wildroman has quit [Remote host closed the connection]
jtgiri_ has joined #ruby
mwmnj has quit [Quit: Textual IRC Client: www.textualapp.com]
ehc has joined #ruby
<MrZYX> I'd say just store the original exception in your new exception if you still need it
greengriminal has quit [Quit: Leaving]
geekbri has joined #ruby
<matti> How does one update default gems i 2.0.x?
havenwood has quit [Remote host closed the connection]
_bart has quit [Read error: Connection reset by peer]
parzo has joined #ruby
mattp_ has joined #ruby
mattp_ has quit [Max SendQ exceeded]
nisstyre has quit [Quit: Leaving]
_bart has joined #ruby
codecop has quit [Remote host closed the connection]
mattp_ has joined #ruby
duggiefresh has joined #ruby
xk_id has quit [Quit:
carlyle has joined #ruby
xk_id has joined #ruby
iamjarvo has joined #ruby
kvirani has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
lfox has joined #ruby
mattp_ has quit [Quit: WeeChat 0.3.0]
<mikecmpbll> linusoleander: this appears to work: https://gist.github.com/mikecmpbll/c78ac35ee8dc5b94a39c
<linusoleander> mikecmpbll: Perfect, thanks
Tricon has joined #ruby
peregrine81 has joined #ruby
devoldmx3 has joined #ruby
_bart has quit [Remote host closed the connection]
JumpMast3r has quit [Quit: JumpMast3r]
pwh has quit [Quit: pwh]
devoldmx has quit [Ping timeout: 248 seconds]
gyre007 has joined #ruby
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
drugdiq has joined #ruby
gyre007 has quit [Read error: Connection reset by peer]
<drugdiq> ok so what is this called in ruby |something|
<drugdiq> block ?
gyre007 has joined #ruby
<Xeago> |something| is just the variable declarations that the block accepts
<MrZYX> block parameter
<mikecmpbll> something is a block argument
<mikecmpbll> or block parameter, yeah.
wildroman has joined #ruby
<Xeago> object.work {|foo| bar(foo);}"is a block
sr78ger has quit [Quit: Textual IRC Client: www.textualapp.com]
<mikecmpbll> {|foo| bar(foo);} is the block, in my mind ;)
<mikecmpbll> actually, just bar(foo); probably.
ffranz has joined #ruby
thoraxe has quit [Ping timeout: 264 seconds]
alexju has joined #ruby
browndawg has joined #ruby
mattp_ has joined #ruby
<Xeago> well {|foo| bar(foo);} without something to pass it to is a syntax error :)
iamjarvo has quit [Remote host closed the connection]
<Xeago> but I should've said the {…} part is the block within that line
<mikecmpbll> well yeah, obviously.
schaerli has quit [Remote host closed the connection]
iamjarvo has joined #ruby
thoraxe has joined #ruby
<drugdiq> |something| is a bit cryptic for me oO
<mikecmpbll> drugdiq: why?
enebo has joined #ruby
<drugdiq> so it is a block parameter
<mikecmpbll> indeed it is.
<drugdiq> what is it good for ? where it is used ?
<Xeago> >> [1,2,3].each { |i| puts i }
<eval-in> Xeago => 1 ... (https://eval.in/47903)
<mikecmpbll> certain methods can take a block as an argument
<mikecmpbll> each, for example.
monkegjinni has quit [Remote host closed the connection]
<Xeago> i here is the element of the array
<Xeago> >> [4,5,6].map { |i| i * i }
<eval-in> Xeago => [16, 25, 36] (https://eval.in/47904)
__GG has joined #ruby
<heftig> >> [-4,5,-6].map(&:abs2)
<eval-in> heftig => [16, 25, 36] (https://eval.in/47905)
jdeeburke has joined #ruby
zoee has quit [Quit: zoee]
beilabs_ has quit [Ping timeout: 256 seconds]
<drugdiq> ok so certain methods / iterators can take block as an argument
pyrac has joined #ruby
<hoelzro> any method can, really
<heftig> but only some methods do something with it
<hoelzro> >> def foo ; puts 'hi'; end ; foo {|ok| puts(ok) }
<eval-in> hoelzro => hi ... (https://eval.in/47906)
<hoelzro> exactly
mmitchell has joined #ruby
s0ny123 has joined #ruby
<heftig> >> puts 4 do 3 end
<eval-in> heftig => 4 ... (https://eval.in/47907)
<drugdiq> ok let me continue with reading my book...will get back to you with more questions :-D
valio has quit [Quit: Leaving]
<mikecmpbll> drugdiq: yield and &block are useful and related things/concepts
<mikecmpbll> >> def do_summit; yield "hi u"; end; do_summit{|str| puts str.upcase}
<eval-in> mikecmpbll => HI U ... (https://eval.in/47908)
colonolGron has quit [Ping timeout: 264 seconds]
haxrbyte has quit [Read error: Connection reset by peer]
corpuscle has quit [Quit: WeeChat 0.4.1]
haxrbyte has joined #ruby
rcosta_ has joined #ruby
d33tah has joined #ruby
snovak has joined #ruby
rins has joined #ruby
tewmten has joined #ruby
<tewmten> hey guys, what would be the preferred method of executing a binary and capturing the exit status? I don't want the output, only exit code
burlyscudd has joined #ruby
<tewmten> if I use system('command') I also get the output.. :S
rcosta has quit [Ping timeout: 260 seconds]
robbyoconnor has quit [Read error: Operation timed out]
rhys has joined #ruby
vlad_starkov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<hoelzro> tewmten: use the optional parameters to system/spawn
tjad has quit [Ping timeout: 245 seconds]
<mikecmpbll> $?.exitstatus
<tewmten> ok thanks
optimusprimem has quit [Ping timeout: 245 seconds]
azcodex has quit [Quit: azcodex]
shaunbaker has quit [Remote host closed the connection]
<tewmten> where can I find the documentation for system() ? I must be blind but I can't find it on the ruby-lang.org website
shaunbaker has joined #ruby
<tewmten> awesome!
jbpros has quit [Quit: jbpros]
<mikecmpbll> "An error status is available in $?"
beilabs_ has joined #ruby
anderson has quit [Quit: Leaving]
<tewmten> yes I was googling around a bit but only found blogs.. got a little example working but it keeps spitting out the command output as well
<tewmten> I'm just starting out with ruby, more used to php and perl..
peregrine81 has quit []
<tewmten> anyway, I have some reading to do now, thanks guys :)
RORgasm has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
cmarques has joined #ruby
snovak has quit [Remote host closed the connection]
snovak has joined #ruby
nwertman has joined #ruby
devoldmx3 has quit [Ping timeout: 260 seconds]
monkegjinni has joined #ruby
devoldmx has joined #ruby
Es0teric has joined #ruby
thelamest has quit [Quit: leaving]
Speed has joined #ruby
jonkri has quit [Quit: jonkri]
RORgasm__ has joined #ruby
wildroman has quit [Remote host closed the connection]
mansi has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
a13x212 has left #ruby [#ruby]
RORgasm has quit [Ping timeout: 264 seconds]
jonathanwallace has joined #ruby
pentameter has joined #ruby
tomzx_mac has joined #ruby
monkegjinni has quit [Remote host closed the connection]
C0C0 has quit [Ping timeout: 276 seconds]
sami has joined #ruby
quoin has quit [Remote host closed the connection]
quoin has joined #ruby
jonkri has joined #ruby
jonkri has quit [Changing host]
jonkri has joined #ruby
MrThePlague has joined #ruby
MrThePlague has quit [Changing host]
MrThePlague has joined #ruby
kindjal has joined #ruby
tagrudev has quit [Remote host closed the connection]
beilabs_ has quit [Ping timeout: 256 seconds]
lukec has joined #ruby
awc737 has quit [Max SendQ exceeded]
gr33n7007h has quit [Ping timeout: 245 seconds]
Monie has joined #ruby
awc737 has joined #ruby
okinomo has joined #ruby
devoldmx has quit [Ping timeout: 248 seconds]
quoin has quit [Ping timeout: 264 seconds]
colonolGron has joined #ruby
AlHafoudh has joined #ruby
awc737 has quit [Excess Flood]
lucazi has quit [Ping timeout: 276 seconds]
Macaveli has quit [Quit: Computer has gone to sleep.]
schaerli has joined #ruby
jonathanwallace has quit [Quit: WeeChat 0.4.1]
rickmasta has quit [Quit: Leaving...]
awc737 has joined #ruby
greengriminal has joined #ruby
senayar_ has joined #ruby
okinomo has quit [Ping timeout: 264 seconds]
kpshek has joined #ruby
io_syl has joined #ruby
BillCriswell has joined #ruby
senayar has quit [Ping timeout: 245 seconds]
allaire has joined #ruby
senayar_ has quit [Remote host closed the connection]
senayar has joined #ruby
beilabs_ has joined #ruby
senayar_ has joined #ruby
vadviktor has joined #ruby
tatsuya__ has joined #ruby
tatsuya_o has quit [Ping timeout: 264 seconds]
mattp_ has quit [Quit: WeeChat 0.4.1]
mattp_ has joined #ruby
mary5030 has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
kilophoton has joined #ruby
senayar_ has quit [Remote host closed the connection]
mad_hatter_1 has joined #ruby
tonni has quit [Remote host closed the connection]
senayar_ has joined #ruby
toddWork_ has quit [Ping timeout: 245 seconds]
senayar has quit [Read error: Connection reset by peer]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axl_ has joined #ruby
codecop has joined #ruby
jprovazn has quit [Quit: Leaving]
mrsolo has joined #ruby
toddWork_ has joined #ruby
toddWork_ has quit [Remote host closed the connection]
momomomomo has joined #ruby
mad_hatter_1 has quit [Quit: Leaving.]
vadviktor has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jonathanwallace has joined #ruby
carlyle has quit [Remote host closed the connection]
linusoleander has quit [Quit: linusoleander]
peregrine81 has joined #ruby
nhhagen_ has joined #ruby
linusoleander has joined #ruby
linusoleander has quit [Client Quit]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Spami has joined #ruby
mikecmpbll has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
BeLucid has quit [Remote host closed the connection]
nhhagen_ has quit [Ping timeout: 240 seconds]
tjad has joined #ruby
noopq has quit [Ping timeout: 245 seconds]
_bart has joined #ruby
jefflyne3 has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
mklappst_ has quit [Remote host closed the connection]
ryandeussing has joined #ruby
ananthakumaran has joined #ruby
<shevy> yeah
<billy_ran_away> Is there a method like map, but only return the result of the first block that doesn't return false?
s0ny123 has quit [Quit: leaving]
<shevy> I came from perl and php as well
<apeiros> billy_ran_away: pretty much not like map :D
<shevy> billy_ran_away how about .select, then apply [0] on it?
<apeiros> billy_ran_away: Enumerable#find
Monie has joined #ruby
<billy_ran_away> apeiros: Find returns the element, not the result
<billy_ran_away> shevy: May have to do that...
<apeiros> aha, a "map find"
girija_ has joined #ruby
<billy_ran_away> Would be nice right?
<apeiros> lazy.map {}.find {} might work, not sure. haven't used lazy yet.
<apeiros> billy_ran_away: actually whenever I thought so, I noticed that I could do it better in a different way.
burlyscudd1 has joined #ruby
brianpWins has quit [Quit: brianpWins]
alex__c2022 has joined #ruby
<MrZYX> enum.find_map {|e| check(e) && foo(e) } -> foo(enum.find {|e| check(e) }), no?
<billy_ran_away> alesforce_contact = salesforce_accounts. { |a| a.database.contact.find params[:id] }
bluenemo has quit [Remote host closed the connection]
<billy_ran_away> Here's where I need that method...
jlast has joined #ruby
pwh has joined #ruby
<shevy> a database
burlyscudd1 has quit [Client Quit]
<apeiros> billy_ran_away: anyway, easy to implement. module Enumerable; def map_find; return enum_for(__method__) unless block_given?; each do |value| result = yield(value); return result if result; end; end; end
pwh has quit [Client Quit]
<apeiros> billy_ran_away: eeek. do that in the db, not in ruby.
<billy_ran_away> apeiros: Not possible… not direct DB access.
<apeiros> billy_ran_away: oh, API?
<apeiros> web API
<billy_ran_away> Yep
jefflyne3 has quit [Ping timeout: 276 seconds]
<apeiros> :-/
tonni has joined #ruby
JumpMast3r has joined #ruby
burlyscudd has quit [Ping timeout: 264 seconds]
shaunbaker has quit [Read error: Connection reset by peer]
carlyle has joined #ruby
<billy_ran_away> salesforce_contact = nil; salesforce_accounts.find { |a| salesforce_contact = a.database.contact.find params[:id] }
freerobby has joined #ruby
malkomalko has joined #ruby
hamakn has quit [Remote host closed the connection]
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
allsystemsarego has joined #ruby
eka has joined #ruby
eka has quit [Max SendQ exceeded]
hamakn has joined #ruby
<billy_ran_away> So ugly....
<billy_ran_away> But it works, only executes the block until it finds a non-nil result
eka has joined #ruby
eka has quit [Max SendQ exceeded]
<apeiros> billy_ran_away: map_find as shown above :-p
girija_ has quit [Ping timeout: 276 seconds]
eka has joined #ruby
eka has quit [Max SendQ exceeded]
allaire has quit []
<billy_ran_away> apeiros: Not a fan of making new methods that others won't be familiar with...
<billy_ran_away> apeiros: I appreciate the suggestion though.
eka has joined #ruby
eka has quit [Max SendQ exceeded]
<billy_ran_away> apeiros: I just don't want others to come across and be like wtf map_find
Gacha has quit [Read error: Operation timed out]
andikr has quit [Remote host closed the connection]
<billy_ran_away> apeiros: Just want it to be in ruby now! :)
eka has joined #ruby
<billy_ran_away> Great, it raises an error if the shit is not in salesforce!
rippa has joined #ruby
maletor has joined #ruby
<billy_ran_away> Provided external ID field does not exist or is not accessible: fml
<billy_ran_away> begin rescue my miserable life end
havenwood has joined #ruby
<apeiros> billy_ran_away: that's a silly argument
<shevy> that's like coding blind
snkcld has joined #ruby
<apeiros> unless you want to write *all* of your code without writing a single method…
<apeiros> but then you write either very short code, or very silly code :-p
<billy_ran_away> I'm saying if no record has an id then it raises an error
stevenm has quit [Ping timeout: 260 seconds]
hamakn has quit [Ping timeout: 276 seconds]
<billy_ran_away> So now in proc I need to rescue that
<billy_ran_away> Is there a one liner for rescuing and just return nil instead?
<apeiros> I was referring to "Not a fan of making new methods"
nyuszika7h has left #ruby ["WeeChat 0.4.2-rc1"]
<apeiros> writing code you will *inevitably* write new methods
beilabs_ has quit [Ping timeout: 260 seconds]
<billy_ran_away> apeiros: Yea, fair enough.
tesuji has quit [Ping timeout: 248 seconds]
<billy_ran_away> apeiros: I guess I mean new methods on the standard ruby objects, but even then my original point falls flat and yours is true.
<billy_ran_away> salesforce_accounts.find { |a| salesforce_contact = a.database.contact.find params[:id] rescue nil }
claymore_ has joined #ruby
<apeiros> billy_ran_away: nothing stops you from putting it into a module
rickmasta has joined #ruby
claymore has quit [Ping timeout: 240 seconds]
<apeiros> Utilities.map_find(enum) { … }
<billy_ran_away> apeiros: So I'm in a Rails app, so where would I put it in the directory structure?
<apeiros> IMO ugly and pointless, but if that's the only concern…
deception has joined #ruby
<billy_ran_away> Yea, now that is ugly.
hogeo has joined #ruby
bricker`away has joined #ruby
<billy_ran_away> I'd monkey patch Enumberable for sure
<apeiros> billy_ran_away: I put additions to core/stdlib into lib/ruby/–--name---.rb
<apeiros> and since I'm lazy I just require all of them in an initializer (lib isn't autoloaded, and without a constant, it couldn't be anyway)
<billy_ran_away> not bad….
<Xeago> why can't local variables end in a ?
timonv has quit [Remote host closed the connection]
<hoelzro> they can't?
<apeiros> Xeago: because definition
<Xeago> has_mobile_trial? = Addon.joins(:spec). ...
alup has quit [Quit: Leaving]
<billy_ran_away> apeiros: Thanks for your help!
<Xeago> well that helps..
<billy_ran_away> And thanks to shevy too!
<billy_ran_away> I really appreciate being able to come on here ask a question and get intelligent feedback in real time.
<shevy> I give morale support
<Xeago> apeiros: so methods can end in ?
<shevy> as everything sucks anyway, any attempt to want to change it is futile, hence why beer had to be invented
<billy_ran_away> The way my mind works it's hard for me to ask a question on Stackoverflow and be able to really understand the answer a day later...
<billy_ran_away> Anyone else experience that?
<shevy> Xeago perhaps matz didn't want to have it
<apeiros> Xeago: yes
<Xeago> but you can def question_mark?; true; end; question_mark?
vadviktor has joined #ruby
aryaching has joined #ruby
<Xeago> >> def question_mark?; true; end; question_mark?
<eval-in> Xeago => true (https://eval.in/47924)
<apeiros> "because definition" means: "because it was defined that way by the language designer (aka matz)"
robbyoconnor has joined #ruby
<shevy> billy_ran_away no, I have not even reached that point yet... I can't even get myself to ask on stackoverflow at all
<Xeago> >> def foo; def question_mark?; true; end; question_mark?; end; foo
<eval-in> Xeago => true (https://eval.in/47925)
<Xeago> aaargh, senseless!
robbyoconnor has quit [Client Quit]
Spami has quit [Quit: This computer has gone to sleep]
<shevy> billy_ran_away truthfully sometimes I am even too lazy (or I simply forget) that I asked something then look at an answer, there are just too many distractions for me to keep focused one but one thing
<Xeago> can you attr_accessor within a method?
<Xeago> doubt it
<billy_ran_away> shevy: I've asked three times and got an answer once months later and by then I figured out a better alternative.
huoxito has joined #ruby
girija_ has joined #ruby
timonv has joined #ruby
kaldrenon has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
<shevy> hehehehe
kaldrenon has joined #ruby
lyanchih has joined #ruby
<shevy> there is one thing I noticed on stackoverflow
<shevy> given a question, and assume that two guys have answered, the answers may all suck... and the result then usually is that no more answers happen
stevenm has joined #ruby
<shevy> so it's like almost trying to force a user to ask again at a later time
goshakkk has joined #ruby
havenwood has quit [Remote host closed the connection]
<shevy> Xeago dont think so, the scope will probably not allow it
havenwood has joined #ruby
thomasvs has quit [Quit: Coyote finally caught me]
vlad_starkov has quit [Remote host closed the connection]
thomasvs has joined #ruby
sevenseacat has quit [Quit: Leaving.]
Kabaka has quit [Ping timeout: 240 seconds]
ntus1017 has joined #ruby
baroquebobcat has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
JumpMast3r has quit [Quit: JumpMast3r]
acrussell has joined #ruby
carlyle has quit [Remote host closed the connection]
beilabs_ has joined #ruby
acrussell has left #ruby [#ruby]
quoin has joined #ruby
havenwood has quit [Ping timeout: 260 seconds]
girija_ has quit [Ping timeout: 245 seconds]
rickmasta has quit [Quit: Leaving...]
rickmasta has joined #ruby
rickmasta has quit [Read error: Connection reset by peer]
rickmasta has joined #ruby
rickmasta has quit [Read error: Connection reset by peer]
rickmasta has joined #ruby
rickmasta has quit [Read error: Connection reset by peer]
rickmasta has joined #ruby
addisaden has joined #ruby
beilabs_ has quit [Ping timeout: 245 seconds]
DrCode has joined #ruby
prakriti has joined #ruby
aganov has quit [Remote host closed the connection]
dAnjou has joined #ruby
T_T has joined #ruby
stevenm has quit [Quit: Leaving]
jefflyne3 has joined #ruby
wildroman has joined #ruby
stevechiagozie has joined #ruby
girija_ has joined #ruby
ewnd9_ has quit [Read error: Connection reset by peer]
ewnd9 has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
kpshek has quit []
havenwood has joined #ruby
nari has quit [Ping timeout: 256 seconds]
randomdrake has joined #ruby
<dAnjou> hey, linux guy invading your comfort zone here. i'm struggling with setting up a development environment. there is actually just one issue: how do i tell "gem" to install gems in my $HOME directory?
SHyx0rmZ has joined #ruby
jprovazn has joined #ruby
<apeiros> dAnjou: simplest way: install ruby via rvm, then that's the default
<fearoffish> or rbenv
lewiz has quit [Read error: Operation timed out]
<fearoffish> or chruby
robert_ has quit [Read error: Connection reset by peer]
dweeb has joined #ruby
<apeiros> otherwise I think guides.rubygems.org documents how you can configure rubygems
<MrZYX> one should also note the --user-install option to gem install
Lewix has joined #ruby
Lewix has joined #ruby
Lewix has quit [Changing host]
<dAnjou> MrZYX: nice. i will use that
<dAnjou> thanks
<dAnjou> thanks to the others as well
<workmad3> dAnjou: also, why is being a linux guy in any way invading our comfort zone? :)
jdolitsky1 has joined #ruby
robert_ has joined #ruby
robert_ has quit [Changing host]
robert_ has joined #ruby
DanKnox is now known as DanKnox_away
<shevy> because you use OSX
lewiz has joined #ruby
<Xeago> I rather have a linux guy than a windows guy :\
ixti has joined #ruby
<MrZYX> or a osx guy :P
<workmad3> shevy: for dev sure... I've deployed onto ubuntu, centos and solaris though, and I'm fine working in ubuntu as well as OSX ;)
quoin has quit [Ping timeout: 245 seconds]
<dAnjou> workmad3: i was playing with a prejudice/cliche there ;)
<dAnjou> no offense
kadoo has joined #ruby
<workmad3> dAnjou: I'm curious which one though ;)
<dAnjou> ruby people are mac users
<workmad3> fair enough :)
kadoo has quit [Client Quit]
drugdiq has quit [Read error: Connection reset by peer]
* workmad3 can't quite escape that stereotype
<workmad3> but if it helps... my screen is currently a full-screen 4-pane terminal with irssi, vim and two zsh prompts...
geggam_ has joined #ruby
dachi has joined #ruby
<dachi> hi everyone. do any of you know about any gem for command line that will produce a loading effect? something like \|/|\/ rotating symbols or similar please? thanks
beilabs_ has joined #ruby
<waxjar_> do; print "."; sleep 1; until done? :D
ixti has quit [Ping timeout: 240 seconds]
Wiz_KeeD has joined #ruby
wildroman has quit [Remote host closed the connection]
jkamenik has quit [Quit: Leaving.]
jtgiri_ has quit [Quit: jtgiri_]
youcallme has quit [Remote host closed the connection]
banisterfiend has quit [Quit: Computer has gone to sleep.]
<avril14th> If anyone has an hint on where to look for fixing this: https://gist.github.com/muichkine/efe5c59fb3849e1f9f3d I'll send free hugs by DCC
mrsolo has joined #ruby
<dachi> ok thanks, but I was reading some book, they said there was some gem, which I can't remember but thanks really
ixti has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> dachi: there's probably the ability to do that with readline or ncurses, and there are several gems that wrap around it
colonolGron has quit [Ping timeout: 246 seconds]
<workmad3> dachi: maybe highline can do it? no idea how maintained that is though
kadoo has joined #ruby
jtgiri_ has joined #ruby
kadoo has quit [Max SendQ exceeded]
<dachi> workmad3 i'll check that out thanks!
jtgiri_ has quit [Client Quit]
headius has joined #ruby
kadoo has joined #ruby
kadoo has quit [Max SendQ exceeded]
kadoo has joined #ruby
Targen has joined #ruby
shevy has quit [Ping timeout: 268 seconds]
greengriminal has quit [Quit: Leaving]
<dAnjou> hmmm, does --user-install just set GEM_HOME?
<dAnjou> looks like it
devdazed has quit [Quit: Bye]
pairup has joined #ruby
kindjal has quit [Quit: Computer has gone to sleep.]
<waxjar_> avril14th, FirstChild / SecondChild and Someclass never interact?
<avril14th> waxjar_: they have belongs_to has_many relations
<avril14th> between SomeClass and base
Guest30377 has quit [Quit: ばいばい]
devdazed has joined #ruby
<avril14th> it seems to be a race condition somewhere where some files don't get loaded do doing Base.descendants do not generate all the proper methods
RichardBaker has joined #ruby
newUser1234 has quit [Remote host closed the connection]
<avril14th> This is painful, since I have a real lot of children classes
dangerousdave has quit [Read error: Connection reset by peer]
ssvo has joined #ruby
Macaveli has joined #ruby
<waxjar_> what is Base#descendants supposed to return?
T_T has quit [Remote host closed the connection]
kpshek has joined #ruby
<avril14th> all the children classes of Base
<avril14th> it's a Rails ActiveSupport class
<avril14th> -class + module
<workmad3> avril14th: err, do you mean ActiveRecord::Base ?
<workmad3> avril14th: also, yes, rails in development mode does a lot of lazy code-loading
sayan has quit [Ping timeout: 256 seconds]
<avril14th> workmad3: but I still require all the files at the top so they should at least be loaded
<avril14th> it's worse than that
<avril14th> since you can call a method
<avril14th> it's there
<avril14th> then call again
<avril14th> you get UndefinedMethod
dagobah has quit [Remote host closed the connection]
<workmad3> avril14th: hmm, gonna need to see some code
newUser1234 has joined #ruby
<workmad3> avril14th: also, if this is rails code, you might want to join us in #rubyonrails ;)
<MrZYX> well I guess your class gets reloaded by rails without base getting reloaded
kraljev1 has joined #ruby
<MrZYX> or SomeClass or whatever
<avril14th> workmad3: I'm there, but it seems like a pure ruby mistake I'm doing here so I thought about posting here
T_T has joined #ruby
<avril14th> I might be wrong though
<kraljev1> Is it possible to write something like shorter?
<kraljev1> obj = hash[:key]
<kraljev1> obj.stop if obj
<workmad3> avril14th: no idea, and won't until you post some code :P
<waxjar_> the rails guys probably know a little more about the magic
<MrZYX> avril14th: I'm pretty sure rails reloading code is hitting you here
kiri has joined #ruby
<kraljev1> like
<avril14th> MrZYX & workmad3: well you already gave hinmts, I'll try playing with the eager loading configuration of rails and see if it removes the behavior
<kraljev1> hash[:key].?stop
<MrZYX> kraljev1: not with standard ruby
<kraljev1> jruby?
<workmad3> avril14th: unless you turn on cache_classes in development mode, you're not going to change any behaviour there
ace_striker has joined #ruby
wildroman has joined #ruby
wildroman has quit [Remote host closed the connection]
<workmad3> avril14th: and if you turn that on, then you'll need to restart your rails server every single time you make a code change in order to see it...
<avril14th> that's exactly what I wanted to do :)
<kraljev1> hash[:key].stop rescue 0
<kraljev1> what about this?
<MrZYX> kraljev1: if you happen to be inside rails there's #try. You might be interested in fetch with a block or Hash#default and null objects
beilabs_ has quit [Ping timeout: 264 seconds]
shevy has joined #ruby
ntus1017 has quit [Remote host closed the connection]
wildroman has joined #ruby
<avril14th> I just want to understand the issue and get sure it does not happen in production
<avril14th> if I KNOW it's eager loading it's fine
<workmad3> avril14th: fair enough :)
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
zeel has joined #ruby
<kraljev1> thanks!
havenwood has quit [Remote host closed the connection]
nhhagen_ has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
geggam has quit [Disconnected by services]
filipe has quit [Remote host closed the connection]
brianpWins has joined #ruby
geggam_ is now known as geggam
geggam_ has joined #ruby
<avril14th> thanks guys
dangerousdave has joined #ruby
<gregj> ;)
<gregj> matti: home time soon
ntus1017 has joined #ruby
threeturn has quit [Quit: threeturn]
julweber has quit [Remote host closed the connection]
cody-- has quit [Quit: Computer has gone to sleep.]
jetblack has joined #ruby
Lewix_ has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
beneggett has quit [Ping timeout: 245 seconds]
alexju has quit [Remote host closed the connection]
bricker`away has quit [Ping timeout: 245 seconds]
ixti has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
C0C0 has joined #ruby
ixti has joined #ruby
bricker`away has joined #ruby
jetblack has quit [Quit: leaving]
<shevy> what's with you two here... matti and gregj ...
tkuchiki has quit [Remote host closed the connection]
<shevy> I am becoming all jealous
akemrir has quit [Quit: WeeChat 0.4.1]
hamakn has joined #ruby
jtgiri_ has joined #ruby
pyrac_ has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.0]
mlpinit has quit [Remote host closed the connection]
pyrac has quit [Ping timeout: 256 seconds]
pyrac_ is now known as pyrac
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
fgo has quit [Remote host closed the connection]
beilabs_ has joined #ruby
alexju has joined #ruby
awc737 has quit [Quit: ZNC - http://znc.sourceforge.net]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
joonty has quit [Quit: WeeChat 0.4.1]
awc737_ has joined #ruby
Wiz_KeeD has quit [Quit: Page closed]
Voodoofish430 has joined #ruby
noopq has joined #ruby
dachi has quit [Quit: Page closed]
pyrac_ has joined #ruby
hamakn has quit [Ping timeout: 260 seconds]
pyrac has quit [Ping timeout: 268 seconds]
pyrac_ is now known as pyrac
senayar_ has quit [Remote host closed the connection]
ericmathison has quit [Quit: leaving]
jdeeburke1 has joined #ruby
Lewix has quit [Remote host closed the connection]
camilasa_ has quit [Remote host closed the connection]
<ace_striker> this channel is too quite..
jdeeburke1 has left #ruby [#ruby]
<ace_striker> when does activity usually happens.
_bart has quit [Read error: Connection reset by peer]
maveonair has quit [Ping timeout: 260 seconds]
pyrac has quit [Read error: Connection reset by peer]
ace_striker has left #ruby [#ruby]
thepumpkin has joined #ruby
vlad_starkov has joined #ruby
<eka> nevarrr
havenwood has joined #ruby
matchaw has joined #ruby
jdeeburke has quit [Ping timeout: 264 seconds]
maveonair has joined #ruby
noname001 has quit [Ping timeout: 256 seconds]
<kraljev1> valid? = true
<kraljev1> why is this a syntax error
<MrZYX> because local variables can't end in ?
iliketurtles has quit [Quit: zzzzz…..]
ewnd9 has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
hashpuppy has joined #ruby
timonv has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
vlad_starkov has quit [Ping timeout: 256 seconds]
Tricon has quit [Remote host closed the connection]
Tricon has joined #ruby
haxrbyte_ has joined #ruby
mikeg has joined #ruby
luke has joined #ruby
_bart has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
luke is now known as Guest67346
<shevy> kraljev1 hah someone else wanted this half an hour ago
kadoo has quit [Quit: Textual IRC Client: www.textualapp.com]
Criztian has joined #ruby
goodcodeguy has joined #ruby
arietis has joined #ruby
<shevy> <Xeago> why can't local variables end in a ?
<shevy> <Xeago> has_mobile_trial? = Addon.joins(:spec).
<shevy> that topic keeps on coming back over and over again
goshakkk has quit [Ping timeout: 264 seconds]
<shevy> apeiros, will halsbe 2.0 allow variables end with a "?"
avril14th has quit [Read error: Connection reset by peer]
<workmad3> I guess it's because in so many cases, local variables and method calls are pretty indistinguishable
beneggett has joined #ruby
goshakkk has joined #ruby
goshakkk has quit [Client Quit]
banisterfiend has joined #ruby
haxrbyte has quit [Ping timeout: 246 seconds]
hanmac has joined #ruby
ghr has quit [Quit: Computer has gone to sleep.]
Zolo has joined #ruby
<shevy> hmm
barratt has quit [Ping timeout: 246 seconds]
<shevy> why can't we use switches in .rb files to govern that behaviour? like in a comment:
<shevy> # ::use_extended_variables
pyrac has joined #ruby
buibex has quit [Remote host closed the connection]
<workmad3> shevy: probably because the parser doesn't allow it
<shevy> hmmm that makes sense
VTLob has joined #ruby
vlad_starkov has joined #ruby
Guest67346 has quit [Ping timeout: 260 seconds]
seynb has quit [Quit: Leaving]
baroquebobcat has quit [Read error: Connection reset by peer]
<r0bglees0n> workmad3: no more ambiguity than a local that shadows a method with the same name imo
blackmesa has quit [Ping timeout: 240 seconds]
buibex has joined #ruby
Criztian has quit [Remote host closed the connection]
ntus1017 has quit [Read error: Connection reset by peer]
<matti> gregj: Not for the wicked.
jso_ is now known as jso
baroquebobcat has joined #ruby
ntus1017 has joined #ruby
dhruvasagar has joined #ruby
cody-- has joined #ruby
jdeeburke has joined #ruby
quoin has joined #ruby
<workmad3> r0bglees0n: probably :)
<hanmac> r0bglees0n: there is a funny thing that you can (with def) define a method inside a method, :P (its more funny if the methods does have the same name)
jbpros has joined #ruby
fgo has joined #ruby
relix has joined #ruby
<dAnjou> now the obvious follow question after installing gems with --user-install: how do i add this directory to the path where ruby "requires" packages from?
nowthatsamatt has joined #ruby
<dAnjou> i need this because i'm deploying fcgi apps with apache
Kabaka has joined #ruby
<dAnjou> or for apache
maveonair has quit [Quit: Lost terminal]
fgo has quit [Remote host closed the connection]
Klotho1 has joined #ruby
Criztian has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
buibex has quit [Remote host closed the connection]
kobain_ has joined #ruby
kobain_ has quit [Changing host]
kobain_ has joined #ruby
kobain has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
razi has joined #ruby
vramana has joined #ruby
vramana has quit [Client Quit]
zeade has joined #ruby
maletor has joined #ruby
chairabanta has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
carraroj has joined #ruby
vlad_starkov has joined #ruby
hogeo has quit [Remote host closed the connection]
jbpros has quit [Ping timeout: 264 seconds]
momomomomo has quit [Quit: momomomomo]
newUser1234 has quit [Remote host closed the connection]
headius has quit [Quit: headius]
Nisstyre-laptop has joined #ruby
goshakkk has joined #ruby
Nisstyre-laptop is now known as nisstyre
jachymko is now known as jachymko[afk]
schaerli has quit [Remote host closed the connection]
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kaldrenon has quit [Remote host closed the connection]
mlpinit has joined #ruby
Soda has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
chrisja has joined #ruby
kaldrenon has joined #ruby
ixti has quit [Read error: Connection reset by peer]
Klotho1 has quit [Ping timeout: 248 seconds]
ixti has joined #ruby
dankest has joined #ruby
wolframio has joined #ruby
hackeron_ has joined #ruby
ephemerian has quit [Ping timeout: 256 seconds]
sayan has joined #ruby
<Morrolan> dAnjou: GEM_PATH I'd say. Your ruby version manager of choice should set that up for you, however.
goganchic has joined #ruby
quoin has quit [Ping timeout: 276 seconds]
zeel has quit [Quit: w0ng]
kaldrenon has quit [Ping timeout: 268 seconds]
hackeron has quit [Ping timeout: 260 seconds]
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
tonni has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby
shaunbaker has joined #ruby
pel_daniel has joined #ruby
snovak_ has joined #ruby
aaronmcadam has quit [Quit: Leaving...]
rads has joined #ruby
RichardBaker has joined #ruby
snovak has quit [Ping timeout: 248 seconds]
evenix has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
obs has quit [Quit: Konversation terminated!]
MrThePlague has quit [Read error: Connection reset by peer]
lukec has quit [Quit: lukec]
SirFunk has quit [Ping timeout: 240 seconds]
MrThePlague has joined #ruby
kidoz has joined #ruby
kindjal has joined #ruby
Zolo has quit [Remote host closed the connection]
carraroj has quit [Ping timeout: 268 seconds]
tyman has joined #ruby
corpuscle has joined #ruby
DanKnox_away is now known as DanKnox
<apeiros> shevy: no
spider-mario has joined #ruby
SirFunk has joined #ruby
stack has quit [Ping timeout: 264 seconds]
<dAnjou> Morrolan: not with apache. apache doesn't care.
Alina-malina has quit [Ping timeout: 245 seconds]
Davey has joined #ruby
<Morrolan> Why should apache care about 'require's in your Ruby script?
<Morrolan> Ruby will load these files, not apache.
stack has joined #ruby
nomenkun_ has quit [Ping timeout: 246 seconds]
ixti has quit [Read error: Connection reset by peer]
<dAnjou> well somehow i get this in apache's error log: /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- sinatra (LoadError)
colonolGron has joined #ruby
<dAnjou> it doesn't happen when i run the file as my user
<dAnjou> directly
mark_locklear has quit [Ping timeout: 256 seconds]
beilabs_ has quit [Ping timeout: 264 seconds]
ixti has joined #ruby
<onewheelskyward> That's because your ruby script is sending that to stderr and apache is intercepting the output.
x1337807x has joined #ruby
freerobby has joined #ruby
<hanmac> dAnjou then maybe the gem is installed into the wrong dir ? isnt it that apache & its ruby is started from another user?
<onewheelskyward> It also means that there's something different about how your code is being executed via apache than how you run it on the command line.
drugdiq has joined #ruby
<drugdiq> can anyone explain this code to me line by line ? thanks http://pastebin.com/6qbm4Vte
<dAnjou> onewheelskyward: obviously
kaldrenon has joined #ruby
<onewheelskyward> dAnjou What container is your sinatra app in?
<hanmac> dAnjou: "—user-install" may not work with apache because of this, or you need to install the gems with the apache user too
tonni has joined #ruby
baroquebobcat has quit [Read error: Connection reset by peer]
baroquebobcat_ has joined #ruby
<dobry-den> drugdiq: would help if you at least correctly indented the code
<drugdiq> dobry-den: i copied that from pdf
markus1337 has joined #ruby
Alina-malina has joined #ruby
<apeiros> drugdiq: well, you want help
<dobry-den> well right
<dAnjou> hanmac: actually we have suexec setup so that the apps run as the user
<onewheelskyward> Oh, fastcgi. I haven't messed with that yet. I use unicorn and a reverse proxy.
brianpWins has quit [Quit: brianpWins]
threeturn has joined #ruby
dodosan has joined #ruby
<dAnjou> reverse proxy is no option for this setup, sadly
<dobry-den> drugdiq: anyways, it's defining a << method so that you can update a score_keeper instance with score_keeper << 10, and it returns the updated instance.
lyanchih has quit [Quit: lyanchih]
ryandeussing has quit [Remote host closed the connection]
brianpWins has joined #ruby
mikepack has joined #ruby
<dobry-den> In fact, you can do score_keeper << 10 << 5 << 20 ie score_keeper.<<(10).<<(5).<<(20).average
brbcoding has quit [Ping timeout: 245 seconds]
<dAnjou> hanmac: but apache still doesn't care about the user's environment
thepumpkin has quit [Remote host closed the connection]
peregrine81 has quit []
<dAnjou> there has to be a way
mark_locklear has joined #ruby
BlakeRG has joined #ruby
<BlakeRG> is this a valid way to add stuff to a hash? https://gist.github.com/anonymous/850c5f4e31f04098619c
<drugdiq> dobry-den: ok so it is a kind of operator overloading ? oO
sambao21 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<apeiros> BlakeRG: yes. why?
<BlakeRG> apeiros: just making sure my syntax is correct
<apeiros> BlakeRG: you're mixing string and symbol keys, though
dodosan has quit [Ping timeout: 268 seconds]
<onewheelskyward> dAnjou what about environmental differences? Can you spew out the ENV and compare command line vs apache triggered?
<apeiros> which is usually not something you want to do
Tricon has quit [Quit: Bye!]
khushildep has quit [Ping timeout: 264 seconds]
rupee has joined #ruby
mmlac-bv has joined #ruby
iliketurtles has joined #ruby
<hanmac> BlakeRG: what about data.each {|k,v| notification_hash[k] = v if !v.empty? }
lele has quit [Ping timeout: 246 seconds]
<BlakeRG> hanmac: yeah, that would be better
<BlakeRG> apeiros: like this? notification_hash[:contentTitle]
iliketurtles has quit [Client Quit]
sambao21 has quit [Client Quit]
threeturn has quit [Quit: threeturn]
ntus1017 has quit [Remote host closed the connection]
ryandeussing has joined #ruby
<hanmac> BlakeRG: or: notification_hash = data.reject {|k,v| v.empty?}
shaunbaker has quit [Remote host closed the connection]
beilabs_ has joined #ruby
stevechiagozie has quit [Ping timeout: 260 seconds]
sambao21 has joined #ruby
<dAnjou> onewheelskyward: how do i do that?
<dAnjou> this doesn't seem to work: STDOUT.write $ENV
maz-dev has joined #ruby
lele has joined #ruby
<dobry-den> drugdiq: yeah
tylersmith has joined #ruby
mityaz has joined #ruby
<drugdiq> dobry-den:you cz/ sk ?
<dAnjou> neither does print ENV or puts ENV
<dobry-den> drugdiq: nah, just live there
<shevy> dAnjou ENV is always ENV, never $ENV
<BlakeRG> is there a doc bot?
<BlakeRG> !doc reject
<shevy> BlakeRG no but let's query matti :D
tatsuya__ has quit [Remote host closed the connection]
yacks has quit [Quit: Leaving]
Macaveli has quit [Remote host closed the connection]
brunoro has joined #ruby
mlpinit has quit [Remote host closed the connection]
randomautomator has joined #ruby
Xeago has quit [Remote host closed the connection]
rickmasta has quit [Quit: Leaving...]
Monie has joined #ruby
addisaden1 has joined #ruby
pairup has quit [Quit: I'm asleep.]
lukec has joined #ruby
elaptics is now known as elaptics`away
rcedillor has joined #ruby
rcedillor has left #ruby [#ruby]
rcedillor has joined #ruby
rcedillor has quit [Write error: Broken pipe]
germanstudent has quit [Quit: Requested.]
addisaden has quit [Ping timeout: 245 seconds]
Macaveli has joined #ruby
jaynewstrom has quit [Read error: Connection reset by peer]
mlpinit has joined #ruby
rcedillor has joined #ruby
JohnBat26 has joined #ruby
Andrevan has joined #ruby
jaynewstrom has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
newUser1234 has joined #ruby
julweber has joined #ruby
goganchic has quit []
nhhagen_ has quit [Remote host closed the connection]
<BlakeRG> how do i check if something exists in a hash?
Collin has joined #ruby
<BlakeRG> otification_hash['foo'].empty? gives an error
stevechiagozie has joined #ruby
<Andrevan> if notification_hash['foo'] == nil then it's emptyu
intuxicated has joined #ruby
<Andrevan> unless you're not sure if the hash is there either
<BlakeRG> NoMethodError: undefined method `empty?' for nil:NilClass
<Andrevan> yeah, it's nil
<Andrevan> nil doesn't have a .empty?
<Andrevan> but it is empty
<BlakeRG> so i should check if it is nil
<Morrolan> Depends on what you consider 'existing'.
lemonsparrow_ has joined #ruby
<BlakeRG> notification_hash['foo'].nil?
JohnBat26|2 has joined #ruby
<Morrolan> >> { :foo => nil }[:foo].nil?
<eval-in> Morrolan => true (https://eval.in/47963)
<Andrevan> right
<BlakeRG> existing, as the hash value was set
<Morrolan> >> { :foo => nil }.key? :foo
<eval-in> Morrolan => true (https://eval.in/47964)
Lewix has joined #ruby
lemonsparrow is now known as Guest27591
<BlakeRG> awesome, thanks Morrolan
<Morrolan> If 'nil' is a valid value in your case, then you'll probably want Hash#key?
<Andrevan> there's also has_key? and has_value?
lemonsparrow_ is now known as lemonsparrow
justsee has quit [Ping timeout: 264 seconds]
<Andrevan> or if you call .keys you'll get a list
kidoz has quit [Quit: Ухожу я от вас]
yacks has joined #ruby
dangerousdave has quit [Quit: Linkinus - http://linkinus.com]
dangerousdave has joined #ruby
lkba has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
<BlakeRG> ah, exactly what i needed Morrolan
<Morrolan> :)
Lewix has quit [Ping timeout: 245 seconds]
Xeago has joined #ruby
dangerousdave has quit [Client Quit]
dangerousdave has joined #ruby
kindjal has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
xeon has joined #ruby
dangerousdave has quit [Client Quit]
xeon has quit [Max SendQ exceeded]
dangerousdave has joined #ruby
xeon has joined #ruby
rcosta_ has quit [Remote host closed the connection]
iliketurtles has joined #ruby
rcosta has joined #ruby
beilabs_ has quit [Ping timeout: 264 seconds]
ehc has quit [Quit: ehc]
optimusprimem has joined #ruby
optimusprimem has quit [Changing host]
optimusprimem has joined #ruby
jerius has joined #ruby
parzo has quit [Ping timeout: 245 seconds]
pairup has joined #ruby
pairup has quit [Max SendQ exceeded]
gyre007 has quit [Remote host closed the connection]
Zolo has joined #ruby
smoores has joined #ruby
frem has joined #ruby
troessner has quit [Quit: Leaving]
malkomalko has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
kirun has joined #ruby
rezzack has joined #ruby
buibex has joined #ruby
xeon has quit [Ping timeout: 245 seconds]
dangerousdave has quit [Quit: Linkinus - http://linkinus.com]
<havenwood> Better to snake_case or headlessCamelCase JSON keys?
girija_ has quit [Ping timeout: 276 seconds]
dangerousdave has joined #ruby
iamjarvo_ has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
quoin has joined #ruby
interactionjaxsn has joined #ruby
<havenwood> Well, MsgPack keys technically. Depend on apps using the JSON or is there a rationale for one true way? :P
<onewheelskyward> I like snake case and that's good enough for me.
miskander has joined #ruby
nwertman has quit [Quit: leaving]
cj3kim has joined #ruby
nwertman has joined #ruby
Criztian has quit [Remote host closed the connection]
hanmac has quit [Quit: Leaving.]
<havenwood> I think i'm gunna snake case cause its my preference too and if the Objective-C folk balk I'll point em to that study that shows snake case is more readable. :P
iliketurtles has quit [Quit: zzzzz…..]
<havenwood> ^ the study
lukec has quit [Quit: lukec]
<onewheelskyward> I read it. I like that, too.
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
peregrine81 has joined #ruby
iamjarvo has quit [Ping timeout: 248 seconds]
<wuest> havenwood: snake_case_wins_always
iamjarvo_ has quit [Remote host closed the connection]
iamjarvo has joined #ruby
<wuest> Ruby's the first (and only) place I've adopted anything but.
ixti has quit [Read error: Connection reset by peer]
rads has quit [Quit: rads]
mvangal__ has quit [Ping timeout: 260 seconds]
snovak_ has quit [Remote host closed the connection]
interactionjaxsn has quit [Ping timeout: 268 seconds]
iliketurtles has joined #ruby
shaunbaker has joined #ruby
solidspark has left #ruby [#ruby]
ixti has joined #ruby
beilabs_ has joined #ruby
mvangala has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
<shevy> well ruby uses both no? snake_case for most method, except for stuff like Integer(), for class and module (all constants) upcased / CamelCased
blackmesa has joined #ruby
<havenwood> confused‾snake‾case
<shevy> snake_case is indeed more readable
<onewheelskyward> Where in ruby is there camel case?
mansi has quit [Remote host closed the connection]
newUser1234 has quit [Ping timeout: 245 seconds]
apeiros has quit [Remote host closed the connection]
<havenwood> onewheelskyward: Classes and Modules.
<havenwood> onewheelskyward: Never headless camel.
<onewheelskyward> Ah, true.
<wuest> shevy: yup. Hence me using CamelCase in ruby for class/module names.
<shevy> onewheelskyward ActiveRecord and some stuff like FOObar
<shevy> there is this method in rails that splits FOObar into foo_bar
scarolan has joined #ruby
<onewheelskyward> Haven't run into FOObar yet but yes, all of my models are camels.
<shevy> so apparently there must have been a use case
<onewheelskyward> visual differentiation?
<shevy> onewheelskyward I can't remember one right now either... but I think workmad showed one
mansi has joined #ruby
<shevy> I dont even remember the name of the method
<shevy> ah
<shevy> 'SSLError'.underscore.camelize # => "SslError"
snovak has joined #ruby
<shevy> and I think there was a reverse method for #camelize too ... http://api.rubyonrails.org/classes/ActiveSupport/Inflector.html it's not in rails per se, it's in active*
Loaft has joined #ruby
nhhagen_ has joined #ruby
<banisterfiend> onewheelskyward ruby also uses SCREAMING_SNAKE_CASE for constants
hashpuppy has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> found another one onewheelskyward:
<shevy> OpenSSL::OpenSSLError.class # => Class
pwh has joined #ruby
<havenwood> shevy: That is correct to convention though, leave initialisms and acronyms CAP in the Camel.
headius has joined #ruby
<havenwood> SSL not Ssl
germanstudent has joined #ruby
<havenwood> #camelize just isn't smart enough to know whats and acronym
<havenwood> make a pull request :P
<havenwood> acronym-finder, only Rails would consider such a thing! :P
<wuest> banisterfiend: I haven't heard it called "screaming" snake case. I love it. :)
<shevy> hmm... I thought there were examples of exceptions to that convention... but I don't quite remember...
kaspergrubbe has quit [Remote host closed the connection]
<havenwood> shevy: Exceptions would be evil to be shunned, i think.
ananthakumaran has quit [Ping timeout: 245 seconds]
<shevy> hehe
Xeago has quit [Remote host closed the connection]
<shevy> hmm... it has also #classify ... 'egg_and_hams'.classify # => "EggAndHam"
<shevy> and #humanize ... omg
<havenwood> so where can i find a list of initialisms and acronyms for my troll pull request?
<shevy> dunno... this one would be nice on class String perhaps though 'post'.pluralize # => "posts"
<havenwood> does Rails already have a #singularize method?
bigoldrock has joined #ruby
Lewix_ is now known as Lewix
Lewix has quit [Changing host]
Lewix has joined #ruby
<havenwood> yup
lukec has joined #ruby
<shevy> rails is like a swiss army knife
iliketurtles has quit [Quit: zzzzz…..]
<wuest> shevy: that is an appropriate analogy on so many levels.
skaflem has quit [Quit: Leaving]
baroquebobcat_ has quit [Read error: Connection reset by peer]
cj3kim has quit [Remote host closed the connection]
prometheanfire has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
prometheanfire has joined #ruby
tskaf has joined #ruby
quoin has quit [Ping timeout: 268 seconds]
<Eiam> if you are looking for a smaller knife
<Eiam> try Sinatra or Padrino
Ginalacrava has joined #ruby
postmodern has joined #ruby
Ginalacrava has left #ruby [#ruby]
nhhagen_ has quit [Ping timeout: 245 seconds]
ianclarksmith has joined #ruby
ianclarksmith is now known as ics
blackmesa has quit [Ping timeout: 240 seconds]
nwertman_ has joined #ruby
newUser1234 has joined #ruby
thepumpkin has joined #ruby
kraljev1 has left #ruby [#ruby]
tskaf has left #ruby [#ruby]
<onewheelskyward> sinatra++
<BlakeRG> there's no way to set a string key in a hash like this? notification_hash = { "alert": "foo" }
<MrZYX> no, just {"alert" => "foo"}
<BlakeRG> ugh, hah ok
<BlakeRG> always getting JSON mixed up with that
<MrZYX> you can mix the two forms btw: {"alert" => "foo", alert: "bar"}
rins_ has joined #ruby
<MrZYX> not that I'd recommend doing that... :P
<shevy> MrZYX do you mix the two forms
<BlakeRG> yes, but alert then would be a symbol with the alert: "bar" right?
<MrZYX> shevy: not on a regular basis
<onewheelskyward> I suspect there would also be an alert string with foo.
bean has joined #ruby
<shevy> BlakeRG that is very confusing to have two keys called "foo", and :foo in the same hash
tonni has quit [Remote host closed the connection]
<MrZYX> I had that list of language codes mapping to their native language names in new style hash form and needed to add a code with the the country code separated by dash and didn't care whether the key is a symbol or a string
rins_ has quit [Read error: Connection reset by peer]
<MrZYX> so I wasn't bored enough to convert the entire thing
<shevy> hehehe
<BlakeRG> {"alert" => "foo"} would be accessed as something['foo'] and {alert: "foo"} would be accessed as something[:foo] right?
rins has quit [Read error: Operation timed out]
<shevy> BlakeRG why would that work
<shevy> BlakeRG you must pass a key with []
<MrZYX> BlakeRG: yes
<BlakeRG> sorry, something[:alert]
<shevy> yeah
hanmac has joined #ruby
<MrZYX> oh, didn't even notice that :D
<shevy> ruby trained me to look closely
burlyscudd has joined #ruby
<MrZYX> I got really sad when I discovered that I can't do {'foo-bar': 'baz'} to get {:'foo-bar' => 'baz'}
cj3kim has joined #ruby
shaunbaker has quit [Remote host closed the connection]
<Lewix> MrZYX: -)
<shevy> I just dont use the foo: bar notation at all
deception has quit [Quit: Goodbye]
dweeb has quit [Quit: Computer has gone to sleep.]
Zolo has quit [Remote host closed the connection]
buibex has quit [Remote host closed the connection]
iliketurtles has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
thatRD has joined #ruby
mlpinit_ has joined #ruby
blackmesa has joined #ruby
saarinen has quit [Quit: saarinen]
Hobogrammer_ has quit [Quit: さようなら]
iliketurtles has quit [Client Quit]
alex__c2022 has quit [Quit: alex__c2022]
dodosan has joined #ruby
rins has joined #ruby
rcosta has quit [Remote host closed the connection]
Astralum has joined #ruby
senayar has joined #ruby
stkowski has joined #ruby
mlpinit has quit [Ping timeout: 248 seconds]
ryannielson has joined #ruby
snovak has quit [Remote host closed the connection]
snovak has joined #ruby
blackmesa has quit [Remote host closed the connection]
ics has quit [Ping timeout: 264 seconds]
apeiros has joined #ruby
blackmesa has joined #ruby
thatRD_ has joined #ruby
aryaching_ has joined #ruby
ics has joined #ruby
mmitchel_ has joined #ruby
iliketurtles has joined #ruby
thatRD has quit [Ping timeout: 260 seconds]
thatRD_ is now known as thatRD
mmitchell has quit [Read error: Operation timed out]
<havenwood> Anyone know if this change to Refinements in 2.1.0-dev is intentional? https://gist.github.com/havenwood/6527800
nwertman_ has quit [Quit: leaving]
gr33n7007h has joined #ruby
<havenwood> I can't seem to find any mention of it on the mailing list. Behavior definitely changed though, maybe I'm just missing it. Or a bug maybe?
kaspergrubbe has joined #ruby
aryaching has quit [Ping timeout: 276 seconds]
decoponio has quit [Quit: Leaving...]
pskosinski has joined #ruby
skaflem has joined #ruby
ehc has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
buibex has joined #ruby
mmlac-bv has quit [Ping timeout: 240 seconds]
wildroman has quit [Remote host closed the connection]
dangerousdave has joined #ruby
workmad3 has joined #ruby
Tuxist has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
Tuxist has quit [Read error: Connection reset by peer]
Zolo has joined #ruby
richiebkr has joined #ruby
schaerli has joined #ruby
scarolan has quit [Ping timeout: 268 seconds]
enebo has quit [Quit: enebo]
mityaz has quit [Quit: See ya!]
kpshek has quit []
thatRD has quit [Ping timeout: 245 seconds]
RichardBaker has quit [Read error: Connection reset by peer]
richiebkr is now known as RichardBaker
dweeb has joined #ruby
localredhead has joined #ruby
nisstyre has quit [Quit: Leaving]
baroquebobcat has quit [Read error: Connection reset by peer]
thatRD has joined #ruby
baroquebobcat has joined #ruby
skaflem has quit [Quit: Leaving]
lemonsparrow has quit [Ping timeout: 250 seconds]
wolframio has quit [Quit: Leaving]
skaflem has joined #ruby
burlyscudd has quit [Quit: Leaving.]
jtgiri_ has quit [Quit: jtgiri_]
jtgiri_ has joined #ruby
monkegjinni has joined #ruby
monkegjinni has quit [Remote host closed the connection]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
browndawg has quit [Quit: Leaving.]
iliketurtles has quit [Quit: zzzzz…..]
Notte has joined #ruby
<davidcelis> can you raise an exception with either no backgrace or a custom backtrace
Tuxist has joined #ruby
julweber has quit [Remote host closed the connection]
mephux has quit [Ping timeout: 264 seconds]
jachymko[afk] is now known as jachymko
unrar has quit [Quit: Leaving]
Zolo has quit [Remote host closed the connection]
Zolo has joined #ruby
<Eiam> MrZYX: wait what
schaerli has quit [Remote host closed the connection]
chriskk has joined #ruby
<Eiam> MrZYX: isn't that the supported notation?
<Eiam> >> {blah:'food'}
<eval-in> Eiam => {:blah=>"food"} (https://eval.in/47970)
<onewheelskyward> Yep that's fine
mmitchel_ has quit [Read error: Connection reset by peer]
mmitchell has joined #ruby
<Eiam> >> {:blah:'food'}
<eval-in> Eiam => /tmp/execpad-39b5edf7ce03/source-39b5edf7ce03:2: syntax error, unexpected ':', expecting => ... (https://eval.in/47971)
niklasb has joined #ruby
<havenwood> >> {"not fine": false}
<eval-in> havenwood => /tmp/execpad-f472d5e8baa5/source-f472d5e8baa5:2: syntax error, unexpected ':', expecting => ... (https://eval.in/47972)
rcosta has joined #ruby
<Eiam> >> {:blah:'food'}
<eval-in> Eiam => /tmp/execpad-6694f526bf1f/source-6694f526bf1f:2: syntax error, unexpected ':', expecting => ... (https://eval.in/47973)
Guest67332 has joined #ruby
<Eiam> damnit
Tricon has joined #ruby
<onewheelskyward> {:blah => 'food'} is also valid
<Eiam> ah so the key can't be a string
<Eiam> with : notation
<MrZYX> Eiam: for trying out stuff there's irb ;)
Monie has joined #ruby
aryaching has joined #ruby
<havenwood> Eiam: His example is a symbol like this: :"i too am a symbol"
<havenwood> Eiam: And it doesn't work.
<Eiam> MrZYX: yeah the second one was a mis-keystroke
<Eiam> MrZYX: also I pity the fool that uses irb
<Eiam> pry !
brunoro has quit [Ping timeout: 276 seconds]
thatRD_ has joined #ruby
Zolo has quit [Ping timeout: 245 seconds]
thatRD_ has quit [Client Quit]
<shevy> irb works just fine and is available the moment you install ruby (unless you are on debian... I dont know if they remove irb by default or not)
dangerousdave has quit [Read error: Connection reset by peer]
Dave has joined #ruby
Dave is now known as Guest21032
pwh has quit [Quit: pwh]
aryaching_ has quit [Ping timeout: 264 seconds]
interactionjaxsn has joined #ruby
freerobby has quit [Quit: Leaving.]
thatRD has quit [Quit: leaving]
<havenwood> `gem install pry` and a few seconds later a better repl emerges!
failshell has quit [Remote host closed the connection]
w3pm has quit [Quit: Leaving]
<workmad3> havenwood: 'gem install pry pry-debugger pry-stack_explorer pry-coolline' for even more betterness!
alvaro_o has joined #ruby
<havenwood> workmad3: what's the new pry step debugger called, i've been meaning to look at that one..
senayar has quit [Remote host closed the connection]
thatRD has joined #ruby
iliketurtles has joined #ruby
<banisterfiend> Eiam btw did your reinstall fix your pry issues?
<havenwood> Ah, I was thinking pry-byebug: https://github.com/deivid-rodriguez/pry-byebug#readme
<havenwood> banisterfiend: What do you think of byebug??
<banisterfiend> havenwood i think it works on 2.*, i don't think it offers any other features aside actually working on 2.0 (which is a good feature :P)
<banisterfiend> aside from*
iliketurtles has quit [Client Quit]
klaas has quit [Remote host closed the connection]
burlyscudd has joined #ruby
<banisterfiend> havenwood the old debuggers mix up step/next, apparently
saarinen has joined #ruby
<Eiam> yeah byebug
<banisterfiend> havenwood btw, slightly off-topic, did u post that thing? it's not urgent, just curious when i should be expecting it (so i can make sure i'm awake when it arrives ) :)
wildroman has joined #ruby
mlpinit_ has quit [Remote host closed the connection]
mlpinit has joined #ruby
snovak has quit [Remote host closed the connection]
nomenkun has joined #ruby
cads has joined #ruby
Kabaka has quit [Ping timeout: 240 seconds]
snath has joined #ruby
<havenwood> banisterfiend: yup, sure did! sec and i'll get the tracking #
rickmasta has joined #ruby
mlpinit_ has joined #ruby
<banisterfiend> havenwood awesome, thx :)
moneydouble has joined #ruby
thatRD has quit [Quit: leaving]
mansi has quit [Remote host closed the connection]
saarinen has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
<havenwood> banisterfiend: its in france
chriskk has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
snearch has joined #ruby
brunoro has joined #ruby
mlpinit has quit [Read error: Operation timed out]
zeade has quit [Quit: Leaving.]
<banisterfiend> havenwood haha jesus, that's incredible
<epochwolf> banisterfiend: any reason you highlighted me?
<banisterfiend> epochwolf did i ?
<epochwolf> oh, you said "jesus", nevermind.
chriskk has joined #ruby
<banisterfiend> hehe cute
<epochwolf> banisterfiend: I forgot I added a highlight for that for another channel.
miskander has quit [Quit: miskander]
alex__c2022 has joined #ruby
beilabs_ has quit [Ping timeout: 264 seconds]
askhader has left #ruby [#ruby]
quoin has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
mansi has quit [Read error: Connection reset by peer]
beneggett has joined #ruby
markus1337 has quit [Read error: Operation timed out]
beneggett has quit [Client Quit]
pairup has joined #ruby
mansi has joined #ruby
aryaching_ has joined #ruby
io_syl has quit []
<Eiam> banisterfiend: I rolled them off to a branch so I could unblock it from possibly impacting other more important issues
<Eiam> I'll get back to poking at it when my fires are out
senayar has joined #ruby
nhhagen_ has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
vlad_starkov has joined #ruby
beneggett has joined #ruby
Xeago has joined #ruby
aryaching has joined #ruby
aryaching_ has quit [Ping timeout: 256 seconds]
interactionjaxsn has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
iamjarvo has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
germanstudent has quit [Quit: ZNC - http://znc.in]
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
germanstudent has joined #ruby
malkomalko has joined #ruby
Kabaka has joined #ruby
senayar has quit [Remote host closed the connection]
kpshek has joined #ruby
pyrac has quit [Quit: pyrac]
svend has joined #ruby
newUser1234 has quit [Remote host closed the connection]
beilabs_ has joined #ruby
pwh has joined #ruby
allsystemsarego has quit [Quit: Leaving]
<svend> Is there a better way to set a variable if the right hand side is not nil? (a = b if b)
jdeeburke has left #ruby [#ruby]
<svend> not false, I mean
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
snearch has quit [Quit: Verlassend]
malkomalko has quit [Ping timeout: 248 seconds]
mrsolo has joined #ruby
<havenwood> svend: Hrm, maybe: b &&= a
<workmad3> havenwood: that'll set b if b isn't false
cson has joined #ruby
twoism has joined #ruby
<havenwood> oh, maybe i misunderstood the question - svend: nil test only or is truthiness what matters?
rafer is now known as `backtick`
dodosan has quit [Remote host closed the connection]
<workmad3> svend: a = b || a ;)
twoism has quit [Remote host closed the connection]
<workmad3> svend: although 'better' may be a dubious thing to call that
<apeiros> svend: what's bad about `a = b if b`? not unreadable enough?
twoism has joined #ruby
kraljev1 has joined #ruby
skaflem has quit [Quit: Leaving]
<svend> apeiros: nothing wrong, just wondering if there was shortcut (like ||=)
<kraljev1> Any shorter way to do this?
<kraljev1> Array.new(size, '?') * ','
<kraljev1> size times question mark, separated by comma
nhhagen_ has quit [Remote host closed the connection]
quoin has quit [Ping timeout: 264 seconds]
nhhagen_ has joined #ruby
dankest has quit [Quit: dankest]
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
<apeiros> shorter sure, nicer though? ('?,'*size).chop
jbpros has joined #ruby
mansi has quit [Remote host closed the connection]
<kraljev1> I'll stick with mine :D
mansi has joined #ruby
RichardBaker has joined #ruby
darkc0met has quit [Ping timeout: 260 seconds]
maz-dev has quit [Ping timeout: 240 seconds]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<apeiros> I'd do that too. I'd even write .join instead of *
<havenwood> unless you're code golfing :P
tonni has joined #ruby
<apeiros> then he wouldn't stick with his :-p
<fryguy> kraljev1: (['?'] * size).join(',')
<fryguy> maybe?
Nisstyre-laptop has joined #ruby
<apeiros> ['?']*size*','
mansi_ has joined #ruby
<apeiros> 2 chars shorter than mne
<apeiros> *mine
timonv has joined #ruby
nhhagen_ has quit [Ping timeout: 245 seconds]
<havenwood> [??]*size*','
zeade has joined #ruby
<havenwood> ^ one more char shaved
jlebrech has quit [Ping timeout: 256 seconds]
Nisstyre-laptop is now known as nisstyre
snovak has joined #ruby
burlyscudd has quit [Quit: Leaving.]
<apeiros> I have a yak for you
mansi has quit [Ping timeout: 245 seconds]
<apeiros> no, nice one :)
germanstudent has quit [Quit: ZNC - http://znc.in]
zets has joined #ruby
Macaveli has quit [Remote host closed the connection]
twoism_ has joined #ruby
cody-- has joined #ruby
mansi_ has quit [Read error: Connection reset by peer]
mansi has joined #ruby
jachymko is now known as jachymko[afk]
enebo has joined #ruby
twoism has quit [Ping timeout: 256 seconds]
interactionjaxsn has quit [Remote host closed the connection]
noopq has quit [Ping timeout: 245 seconds]
twoism_ has quit [Ping timeout: 245 seconds]
kpshek has quit []
burlyscudd has joined #ruby
kindjal has joined #ruby
oliver_ has joined #ruby
nomenkun has quit [Remote host closed the connection]
moneydouble has left #ruby [#ruby]
ehaliewicz has joined #ruby
klaas has joined #ruby
snovak has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 264 seconds]
pwh has quit [Quit: pwh]
Collin has quit [Ping timeout: 248 seconds]
jachymko[afk] is now known as jachymko
Banistergalaxy has quit [Ping timeout: 260 seconds]
jonathanwallace has quit [Ping timeout: 246 seconds]
dankest has joined #ruby
robustus has joined #ruby
oliver_ has quit [Remote host closed the connection]
kraljev1 has quit [Ping timeout: 264 seconds]
zarubin has quit [Read error: Operation timed out]
snovak has joined #ruby
oliver_ has joined #ruby
mansi has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby
axl_ has quit [Ping timeout: 245 seconds]
schaerli has joined #ruby
mansi has joined #ruby
rrmartins has joined #ruby
iliketurtles has quit [Client Quit]
axl_ has joined #ruby
germanstudent has joined #ruby
<germanstudent> reliveradio
Fuzai has quit [Read error: Connection reset by peer]
rupee has quit [Quit: Leaving]
<germanstudent> sorry. wrong channel.
Fuzai has joined #ruby
schaerli has quit [Remote host closed the connection]
snearch has joined #ruby
darkc0met has joined #ruby
_bart has quit [Remote host closed the connection]
sambao21 has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby
timonv has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 240 seconds]
blueOxigen has quit [Ping timeout: 256 seconds]
julweber has joined #ruby
dankest has quit [Quit: dankest]
<shevy> DIE IN A FIRE!!!
<shevy> damn... wrong channel
yacks has quit [Quit: Leaving]
bricker`work is now known as bricker
pskosinski_ has joined #ruby
<germanstudent> shevy, ^^
io_syl has joined #ruby
fenicks has joined #ruby
<shevy> germanstudent do you study german? or are you just in germany
Ripp__ has joined #ruby
saarinen has joined #ruby
kraljev1 has joined #ruby
pskosinski has quit [Read error: Operation timed out]
<germanstudent> shevy, when I first thought of a nick I was like: Well, I'm german and a student. Now the nick sticks and I regret it ^^
<shevy> lol
freerobby has quit [Quit: Leaving.]
snovak has quit [Remote host closed the connection]
mansi has quit [Read error: Connection reset by peer]
Companion is now known as RDash
mansi has joined #ruby
pskosinski_ has quit [Quit: Til rivido Idisti!]
mlpinit_ has quit [Remote host closed the connection]
saarinen has quit [Ping timeout: 260 seconds]
sambao21 has joined #ruby
mikeg has quit [Ping timeout: 276 seconds]
Norrin has quit [Excess Flood]
tyman has quit [Quit: tyman]
krawchyk has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
geekbri has quit [Remote host closed the connection]
dankest has joined #ruby
gyre007 has joined #ruby
Collin has joined #ruby
dodosan has joined #ruby
newbiehacker has joined #ruby
Norrin has joined #ruby
optimusprimem has quit [Ping timeout: 245 seconds]
cj3kim has quit [Remote host closed the connection]
snovak has joined #ruby
nhhagen_ has joined #ruby
mlpinit has joined #ruby
snovak has quit [Remote host closed the connection]
rrmartins has quit [Read error: Connection reset by peer]
x1337807x has joined #ruby
snovak has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexju has quit [Remote host closed the connection]
gyre007 has quit [Ping timeout: 276 seconds]
mansi has quit [Remote host closed the connection]
funburn has joined #ruby
mansi has joined #ruby
malkomalko has joined #ruby
kraljev1 has quit [Ping timeout: 245 seconds]
jefflyne3 has quit [Ping timeout: 276 seconds]
iliketurtles has quit [Quit: zzzzz…..]
smoores has quit [Quit: Page closed]
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
iamjarvo_ has joined #ruby
snearch has quit [Quit: Verlassend]
IceDragon has joined #ruby
cucumbrman has quit [Quit: No Ping reply in 180 seconds.]
cucumbrman has joined #ruby
iamjarvo_ has quit [Read error: Operation timed out]
iamjarvo has quit [Ping timeout: 256 seconds]
alexju has joined #ruby
dweeb has quit [Quit: Textual IRC Client: www.textualapp.com]
goshakkk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
quoin has joined #ruby
ruby_badger has joined #ruby
randomdrake has quit [Quit: randomdrake]
jonathancutrell has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
macmartine has joined #ruby
Zolo has joined #ruby
<jonathancutrell> Hey folks. I have the less gem as well as the node package lessc installed on my system, and I manage my ruby installs via RVM.
rcosta_ has joined #ruby
randomdrake has joined #ruby
<jonathancutrell> For some reason, I can't figure out how to load the RVM path at the end of my path; has anyone else had this issue?
splittingred has joined #ruby
sailias has quit [Quit: Leaving.]
<jonathancutrell> in other words, when I run which -a lessc, the rvm gem repo always overrides the npm version.
rcosta has quit [Ping timeout: 256 seconds]
yacks has joined #ruby
x1337807x has joined #ruby
geekbri has joined #ruby
freerobby has joined #ruby
<existensil> jonathancutrell: your PATH env variable likely has RVM listed before NPM. Should be simple enough to change the order. Might want to do it by modifying line RVM added to your .bashrc or similar which adds RVM to your PATH
RDash is now known as RDash[AW]
bigoldrock has quit [Ping timeout: 245 seconds]
ryannielson has quit [Quit: ryannielson]
jonathanwallace has joined #ruby
T_T has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 264 seconds]
Guest21032 has quit [Read error: Connection reset by peer]
blo has quit [Ping timeout: 260 seconds]
dangerousdave has joined #ruby
saarinen has joined #ruby
tonni has quit [Remote host closed the connection]
jbpros has quit [Quit: jbpros]
snovak_ has joined #ruby
Andrevan has quit [Read error: Connection reset by peer]
pushpak has joined #ruby
evenix_ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
T_T has joined #ruby
evenix has quit [Ping timeout: 264 seconds]
quoin has quit [Ping timeout: 245 seconds]
evenix_ has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 256 seconds]
axl_ has quit [Quit: axl_]
jdolitsky1 has quit [Quit: Leaving.]
evenix has joined #ruby
Tuxist has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby
optimusprimem has joined #ruby
dangerousdave has quit [Quit: Linkinus - http://linkinus.com]
yalue has quit [Quit: Leaving]
snovak_ has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
dallasm has joined #ruby
dallasm has quit [Remote host closed the connection]
dallasm has joined #ruby
snovak has joined #ruby
jonkri has quit [Quit: jonkri]
evenix has quit [Ping timeout: 245 seconds]
blo has joined #ruby
jprovazn has quit [Quit: Odcházím]
pel_daniel has quit [Ping timeout: 276 seconds]
pel_daniel1 has joined #ruby
tcgden has joined #ruby
frem has quit [Ping timeout: 248 seconds]
workmad3 has quit [Read error: Operation timed out]
Clooth has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
Fire-Dragon-DoL has joined #ruby
zarubin has joined #ruby
tomzx_mac has quit [Ping timeout: 245 seconds]
tomzx_mac has joined #ruby
wildroman has quit [Remote host closed the connection]
JumpMast3r has joined #ruby
kpshek has joined #ruby
geekbri has quit [Remote host closed the connection]
nomenkun has joined #ruby
headius has quit [Quit: headius]
senayar has joined #ruby
Cheos has quit [Ping timeout: 264 seconds]
mark_locklear has quit [Ping timeout: 240 seconds]
jerius has quit []
tomzx_mac has quit [Ping timeout: 264 seconds]
nomenkun has quit [Ping timeout: 245 seconds]
jonathanwallace has quit [Ping timeout: 276 seconds]
toddWork_ has joined #ruby
snovak has quit [Remote host closed the connection]
DanKnox is now known as DanKnox_away
tomzx_mac has joined #ruby
nhhagen_ has quit [Remote host closed the connection]
dash_ has quit [Quit: dash_]
nhhagen_ has joined #ruby
Clooth has quit [Read error: Connection reset by peer]
mayday_jay has quit [Remote host closed the connection]
mrsolo has quit [Quit: This computer has gone to sleep]
codecop has quit [Remote host closed the connection]
__GG has quit [Quit: Leaving.]
Squarepy has joined #ruby
Cheos has joined #ruby
nwertman has quit [Quit: leaving]
jdolitsky1 has joined #ruby
saarinen has quit [Quit: saarinen]
nhhagen_ has quit [Ping timeout: 245 seconds]
funburn has quit [Quit: funburn]
shafire has joined #ruby
<shafire> hi
<shafire> how are you doing concurrency in ruby2.0?
<shafire> is there an easy way?
cody-- has joined #ruby
kaldrenon has quit [Remote host closed the connection]
swills has quit [Quit: Coyote finally caught me]
<onewheelskyward> druby
<onewheelskyward> :D
<onewheelskyward> I say that a little tounge in cheek.
<havenwood> shafire: Celluloid is nice: http://celluloid.io/
IceyEC has quit [Quit: IceyEC]
<onewheelskyward> If I were doing it today, I'd have a small listener app I can spool up and do it with beanstalkd.
zarubin has quit [Ping timeout: 264 seconds]
burlyscudd has quit [Quit: Leaving.]
vxxr has joined #ruby
<onewheelskyward> or 0mq which it looks like celluloid uses.
jefflyne3 has joined #ruby
<shafire> you mean a messaging system?
<bnagy> tbh I wasn't a fan of 0mq
<shafire> or a queued tp?
Coolhand has joined #ruby
<bnagy> plus I think the main guys went to crossroads
<reactormonk> shafire, jruby
<shafire> reactormonk: nice idea - maybe, jruby with akka
danman has joined #ruby
<bnagy> beanstalkd is a good tool, and amqp works well as a messaging bus for pubsub etc
<bnagy> but there are any number of drop ins for both of those
MrThePlague has quit [Remote host closed the connection]
<havenwood> shafire: Celluloid on JRuby produces good results.
<onewheelskyward> How's jruby's 2.0 support other than unofficial?
<reactormonk> shafire, scala with akka.
dankest has quit [Quit: dankest]
<havenwood> shafire: Agent is interesting, Go-like channels: https://github.com/igrigorik/agent#readme
Niall has joined #ruby
<shafire> need to check, if there is already jruby 2 out...
mmitchell has quit [Read error: Operation timed out]
<havenwood> 1.7.4
<havenwood> shafire: But it has a 2.0 mode i believe.
<onewheelskyward> You can enable 2.0 support but it's a bit...unsupported I guess.
MrThePlague has joined #ruby
<onewheelskyward> http://jruby.org/2013/05/16/jruby-1-7-4 "Experimental Ruby 2.0 support (most features and stdlib included)"
<onewheelskyward> lol: "OpenSSL fixes and updated to newer Bouncy Castle library"
banisterfiend has joined #ruby
Es0teric has quit [Remote host closed the connection]
scarolan has joined #ruby
<shafire> okay, thanks guys
ldnunes has quit [Quit: Leaving]
<havenwood> shafire: Another neat one to note is the thread_safe gem: https://github.com/headius/thread_safe#readme
azcodex has joined #ruby
<havenwood> ^ atomic Hashes/Arrays for JRuby mainly
goodcodeguy has quit [Ping timeout: 264 seconds]
<bnagy> thinking in threads is the enemy of real concurrency imho :P
<onewheelskyward> totally
<onewheelskyward> You'll just trip over yourself
<onewheelskyward> unless someone invents unit concurrency testing.
Es0teric has joined #ruby
simoz has joined #ruby
TJNII_ has joined #ruby
<newbiehacker> 381 more authentication required
<newbiehacker> 200 News.GigaNews.Com
brianpWins has quit [Quit: brianpWins]
<newbiehacker> what
<havenwood> thinking in terms of locks, i'd agree - not sure why threads are the enemy?
banisterfiend has quit [Quit: Computer has gone to sleep.]
nisstyre has quit [Quit: Leaving]
ixti has quit [Read error: Connection reset by peer]
mansi has quit [Read error: Connection reset by peer]
<onewheelskyward> Aww. http://httpcats.herokuapp.com/381
<bnagy> cause shared memory access != explicit memory passing
mansi has joined #ruby
<bnagy> so caring if stuff is threadsafe is a red herring
Banistergalaxy has joined #ruby
<bnagy> also threads are heavy :/
ixti has joined #ruby
<havenwood> bnagy: combing threads with queues/channels/stm where appropriate seems reasonable
nomenkun has joined #ruby
<havenwood> bnagy: lighter than processes :O
<bnagy> yeah I like the goroutine stuff
<bnagy> I'm watching the guys working on those, but I dunno how fiber support is going in jruby either
snovak has joined #ruby
<bnagy> there is experimental jvm coroutine support, or was, a while ago
<bnagy> so hopefully they'll map fibers onto them etc etc
tjad has quit [Read error: Operation timed out]
buibex has quit [Remote host closed the connection]
<bnagy> but none of it scales outside one box, so it's not so interesting to me
jtgiri_ has left #ruby [#ruby]
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<havenwood> bnagy: looks like coroutine fibers shipped in 1.6.5
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
brianpWins has joined #ruby
Xeago has quit [Remote host closed the connection]
<bnagy> that was, afaik, an experimental jvm
<bnagy> but I'm googling :)
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
tonni_ has joined #ruby
<bnagy> yeah
ryannielson has joined #ruby
hadees has quit [Quit: hadees]
<bnagy> afaik it's still not in jdk7/8 but I'd love to be wrong
<TJNII_> I need to set a mirror for gem as I have servers that cannot reach rubygems.org. Is there a configuration file I can set this in? I'm trying to make this change for chef, and having a heck of a time finding information on it.
tacos1de has quit [Ping timeout: 240 seconds]
<bnagy> nice looks like openjdk has coros
swills has joined #ruby
tatsuya_o has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
kirun has quit [Quit: Client exiting]
buibex has joined #ruby
<havenwood> ^ just an interesting related paper
iliketurtles has quit [Quit: zzzzz…..]
<bnagy> I'm moving my single-node high intensity workers to golang, personally :/
Coolhand has quit [Read error: Connection reset by peer]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swills has left #ruby [#ruby]
mrsolo has joined #ruby
<havenwood> bnagy: I saw a funny little writeup on how to make a RubyGem extension in Go.
staafl has joined #ruby
snovak has quit [Remote host closed the connection]
<ericwood> oh goodness
iliketurtles has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<havenwood> To be fair, it was caveated with "don't do this".
dayepa has quit [Quit: dayepa]
dayepa has joined #ruby
robert_ has quit [Read error: Connection reset by peer]
nhhagen_ has joined #ruby
<havenwood> Interesting you can cross-compile Go for a bunch of platforms. Hardly a safe presumption that Go runtime will be installed though.
duggiefresh has quit [Remote host closed the connection]
x1337807x has joined #ruby
duggiefresh has joined #ruby
Lewis has joined #ruby
iliketurtles has quit [Client Quit]
spider-mario has quit [Remote host closed the connection]
tacos1de has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 276 seconds]
malkomalko has quit [Read error: Connection reset by peer]
mlpinit has quit [Remote host closed the connection]
malkomalko has joined #ruby
Astralum has quit [Ping timeout: 245 seconds]
duggiefresh has quit [Ping timeout: 245 seconds]
ryannielson has left #ruby [#ruby]
`backtick` is now known as f40ph
dash_ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
f40ph is now known as F40PH
krawchyk has quit [Remote host closed the connection]
dik_dak has joined #ruby
Ripp__ has quit []
cads has quit [Ping timeout: 240 seconds]
theRoUS has joined #ruby
cads has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
quoin has joined #ruby
<havenwood> RubyGems 2.1.1 is out too. :)
<havenwood> Smile for the minor version number, not the bugfix. >.>
nhhagen_ has quit [Ping timeout: 245 seconds]
<havenwood> TJNII_: Ah, change whole source, gotcha.
mikepack has quit [Remote host closed the connection]
tjbiddle has joined #ruby
kindjal has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kindjal has joined #ruby
Zolo has quit [Remote host closed the connection]
buibex has quit [Remote host closed the connection]
Lewis has quit [Remote host closed the connection]
iliketurtles has joined #ruby
drugdiq has quit [Read error: Connection reset by peer]
claymore_ has quit [Quit: Leaving]
maletor has joined #ruby
Squarepy has quit [Quit: Leaving]
peregrine81 has quit []
Inoperable has quit [Quit: Rectified]
dash_ has quit [Quit: dash_]
Inoperable has joined #ruby
iliketurtles has quit [Client Quit]
Coolhand has joined #ruby
fuhgeddaboudit has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
BillCriswell has quit [Remote host closed the connection]
bean has quit [Quit: Computer has gone to sleep.]
stevechiagozie has quit [Quit: Computer has gone to sleep.]
shafire has left #ruby [#ruby]
Nisstyre-laptop has joined #ruby
Klotho1 has joined #ruby
pwh has joined #ruby
brianpWins has quit [Quit: brianpWins]
DanKnox_away is now known as DanKnox
cody-- has quit [Quit: Computer has gone to sleep.]
Nisstyre-laptop is now known as nisstyre
cody-- has joined #ruby
NullEntity has joined #ruby
pwh has quit [Client Quit]
freerobby has quit [Quit: Leaving.]
theRoUS has quit [Quit: Leaving]
brianpWins has joined #ruby
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
quoin has quit [Ping timeout: 268 seconds]
<billy_ran_away> Can anyone think of a synonym for accessor?
havenwood has quit [Remote host closed the connection]
freerobby has joined #ruby
tcgden has quit [Quit: Page closed]
<billy_ran_away> Specifically something signifying that there's different kinds of accessors… almost like permissions
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
<NullEntity> I learned the basics of Ruby a while ago, and I'm trying to jump into Rails now. "render text: params[:post].inspect" Can someone explain to me what's going on here with "text:"?
snovak has joined #ruby
<billy_ran_away> text: is just the key to a key value pair
<billy_ran_away> could be written like render :text => params[:post].inspect
<billy_ran_away> NullEntity
Monie has joined #ruby
<NullEntity> ah, that's what I thought. Thanks.
<billy_ran_away> np
<apeiros> render({:text => params[:post].inspect})
<apeiros> to be as verbose as possible
ner0x has joined #ruby
corpuscle has quit [Quit: WeeChat 0.4.1]
<jrobeson> apeiros, did you get my comment about that readonly not working that way?
<apeiros> jrobeson: sorry, no, I only got your question whether I had an answer
goleldar has joined #ruby
<jrobeson> oh wait.. i think i might have tested it wrong anyways.. :(
<apeiros> ^^
<apeiros> I will know around end of next week
<apeiros> for now I'm happy with it not complaining
<jrobeson> well still let me know :(
havenwood has quit [Ping timeout: 264 seconds]
<goleldar> I went to an interview last Friday. I thought it went well. I sent a thank you letter on Monday but no response. Someone mentioned I could send a follow up email to them today if I did not hear from them Monday or Tuesday. What do you guys think?
Michael has joined #ruby
havenwood has joined #ruby
Michael is now known as Guest38942
julweber_ has joined #ruby
Inoperable has quit [Quit: Rectified]
kaspergrubbe has joined #ruby
NealJ has quit [Quit: :c]
SHyx0rmZ has quit [Ping timeout: 264 seconds]
hanmac has quit [Quit: Leaving.]
geggam has quit [Remote host closed the connection]
iliketurtles has joined #ruby
Xeago has joined #ruby
julweber has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
BlakeRG has left #ruby [#ruby]
<BraddPitt> what do you have to lose goleldar
nowthatsamatt has quit [Quit: nowthatsamatt]
Davey has quit [Quit: Computer has gone to sleep.]
Xaitec_______ has joined #ruby
VTLob has quit [Quit: VTLob]
duggiefresh has joined #ruby
<onewheelskyward> Is it an engineering position?
Notte has quit [Remote host closed the connection]
jefflyne3 has quit [Ping timeout: 248 seconds]
Xaitec_______ has quit [Remote host closed the connection]
Inoperable has joined #ruby
jonathancutrell has quit [Quit: jonathancutrell]
mary5030 has quit [Ping timeout: 256 seconds]
danman has quit [Quit: danman]
rhys has quit [Quit: Leaving]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
jonathancutrell has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
zarubin has joined #ruby
<goleldar> true.. thanks
snovak has quit [Ping timeout: 264 seconds]
jonathancutrell has quit [Client Quit]
Tricon has quit [Quit: Linkinus - http://linkinus.com]
mikepack has joined #ruby
Muz has quit [Read error: Operation timed out]
mrsolo has joined #ruby
tacos1de has quit [Ping timeout: 240 seconds]
bw_ has quit [Ping timeout: 264 seconds]
jeekl has quit [Ping timeout: 264 seconds]
sixteneighty has quit [Ping timeout: 264 seconds]
Muz has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
sixteneighty has joined #ruby
chairabanta has quit [Quit: Leaving...]
Andrevan has joined #ruby
bw_ has joined #ruby
jeekl has joined #ruby
rcosta_ has quit [Remote host closed the connection]
svend has quit [Remote host closed the connection]
tacos1de has joined #ruby
Bry8Star{T2 has joined #ruby
peregrine81 has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
BraddPitt has quit [Read error: Connection reset by peer]
BraddPitt has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
senayar has quit [Remote host closed the connection]
duggiefresh has quit [Remote host closed the connection]
elux has quit [Quit: Leaving...]
Cheos is now known as Clooth
Ripp__ has joined #ruby
nisstyre has quit [Quit: Leaving]
rdark has quit [Quit: leaving]
splittingred has quit [Quit: splittingred]
Senjai has joined #ruby
Senjai has joined #ruby
Senjai has quit [Changing host]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
addisaden1 has quit [Quit: Leaving.]
alexju has quit [Remote host closed the connection]
thinkclay has joined #ruby
beilabs_ has quit [Ping timeout: 256 seconds]
Zai00 has quit [Quit: Zai00]
ismlages has quit [Ping timeout: 256 seconds]
pentameter has quit [Read error: Connection reset by peer]
<thinkclay> Any ideas as to why this wouldn't work: DisableUI = 'GM::DisableUI'.freeze EnableUI.add_observer(self, :enable_notification)
<thinkclay> frozen string and then calling a method on that string should execute the string, right? Or has something in 2.0 changed that?
trinode_away is now known as trinode
atno has quit [Quit: Leaving]
maroloccio has joined #ruby
<thinkclay> you can see the file i'm having issues with here: https://github.com/thinkclay/graymatter/blob/master/lib/graymatter/tools/the_entire_ui.rb
zarubin has quit [Ping timeout: 245 seconds]
alex__c2022 has quit [Quit: alex__c2022]
freerobby has quit [Quit: Leaving.]
jonathancutrell has joined #ruby
jlast has quit [Remote host closed the connection]
freerobby has joined #ruby
snath has quit [Ping timeout: 264 seconds]
KobraKao has joined #ruby
kpshek has quit []
<thinkclay> nvm, determined it is properly executing, just not finding the method :P
iliketurtles has joined #ruby
kilophoton has quit [Ping timeout: 245 seconds]
Xeago has quit [Remote host closed the connection]
<bnagy> freezing has nothing to do with responding to methods
narcan has joined #ruby
kindjal has quit [Quit: Computer has gone to sleep.]
duggiefresh has joined #ruby
enebo has quit [Quit: enebo]
forced_request has joined #ruby
<havenwood> thinkclay: Indeed. I don't think freezing strings does what you think it does: http://ruby-doc.org/core-2.0.0/Object.html#method-i-freeze
saarinen has joined #ruby
apeiros has quit [Remote host closed the connection]
pel_daniel1 has left #ruby [#ruby]
zarubin has joined #ruby
snovak has joined #ruby
apeiros has joined #ruby
<thinkclay> i read the docs.. I'm just new to ruby.. so i wasn't sure if calling methods from dynamically created methods (via string.. and is there an actual term for this?) would actually interpret and execute.
<thinkclay> In the PHP world, I know that this works, but wasnt sure about ruby
beilabs_ has joined #ruby
<havenwood> thinkclay: you can 'eval' a string, but that is potentially unsafe so folks use other methods
Ripp__ has quit []
<havenwood> thinkclay: I think maybe what you're looking for is a proc or a lambda? I really can't tell.
<thinkclay> would you call this a lambda then: 'MyClass'.mymethod()
thepumpkin has quit [Remote host closed the connection]
<havenwood> no, that is a string with a method that doesn't exist - so a NoMethodError
Ripp__ has joined #ruby
breakingthings has quit []
<havenwood> thinkclay: Why are you putting your Class in a String?
<thinkclay> It's not my code :S
<thinkclay> so no clue is the answer
srji has joined #ruby
<bnagy> you can const_get using a string to get the actual class
<bnagy> >> Object.const_get('Array').new
<eval-in> bnagy => [] (https://eval.in/47980)
zarubin has quit [Ping timeout: 264 seconds]
mlpinit has joined #ruby
<bnagy> using whatever namespace the class you want is defined in
jonathancutrell has quit [Quit: jonathancutrell]
jefflyne3 has joined #ruby
prakriti has quit [Quit: Leaving]
peregrine81 has quit []
NullEntity has left #ruby ["Leaving"]
<havenwood> thinkclay: The `DisableUI = 'GM::DisableUI'.freeze` code makes zero sense to me. Why one'd want to do such a thing I mean.
yfeldblum has joined #ruby
rins has quit [Ping timeout: 276 seconds]
<thinkclay> I really don't know.. it's a ruby motion project, so maybe it has something to do with how scope and dependencies are managed? Sometimes with compiling things get moved around in weird orders, so there are lots of little bandaid fixes like that
m8 has quit [Quit: Sto andando via]
pairup has quit [Quit: I'm asleep.]
mlpinit has quit [Ping timeout: 264 seconds]
freerobby has quit [Quit: Leaving.]
zarul has quit [Ping timeout: 256 seconds]
freerobby has joined #ruby
cody-- has joined #ruby
justsee has joined #ruby
saarinen has quit [Quit: saarinen]
jonathancutrell has joined #ruby
quoin has joined #ruby
snovak has quit [Read error: Operation timed out]
Monie has joined #ruby
zarul has joined #ruby
<havenwood> thinkclay: looks to me to just be an error, that the code doesn't do what the author intended - but maybe it just is doing something i'm not getting, i admittedly have no clue what exactly is being done
Lewis has joined #ruby
Lewis has joined #ruby
ukd1 has joined #ruby
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
malkomalko has quit [Remote host closed the connection]
<havenwood> Setting a constant to a frozen string is odd, especially when CamelCase like a Class or Module not SCREAMING_SNAKE like a constant.
gstamp has joined #ruby
<havenwood> Though looks like methods here are interspersed with headlessCamelCase, looks like Obj-C is seeping in. :P
ixti has quit [Read error: Connection reset by peer]
<havenwood> Strengthen the levies!
zarubin has joined #ruby
jonathancutrell has quit [Client Quit]
ixti has joined #ruby
Monie has quit [Client Quit]
ewnd9 has joined #ruby
Lewis has quit [Ping timeout: 245 seconds]
<havenwood> maybe the headlessCamel is intentional cause it maps to Obj-C methods?
blackmesa has quit [Quit: WeeChat 0.4.1]
mansi has quit [Ping timeout: 276 seconds]
Kelet has quit [Read error: Connection reset by peer]
Kelet_ has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
srji_ has joined #ruby
Andrevan has quit [Quit: WeeChat 0.4.2-rc1]
funburn has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
lfox has quit [Quit: ZZZzzz…]
MrThePlague has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
srji has quit [Ping timeout: 264 seconds]
cooldman224 has joined #ruby
ewnd9 has quit [Ping timeout: 245 seconds]
HelloHello has joined #ruby
colonolGron has quit [Quit: Lost terminal]
quoin has quit [Ping timeout: 248 seconds]
osvico has joined #ruby
elux has joined #ruby
<HelloHello> i'm having problems getting dashing to work on osx 10.7.5 with ruby v 1.9.3, the error i'm getting is "undefined method `empty?' for nil:NilClass"
JohnBat26|2 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
dkamioka has quit [Remote host closed the connection]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
thepumpkin has joined #ruby
milardovich has joined #ruby
rcedillor has quit [Ping timeout: 245 seconds]
randomdrake has quit [Quit: randomdrake]
anonymuse has quit [Remote host closed the connection]
martianixor has joined #ruby
<HelloHello> I'm using it for Jenkins. This is the jenkins widget I want to use. https://github.com/edgeware/dashboard
Monie has joined #ruby
JohnBat26 has quit [Ping timeout: 245 seconds]
randomdrake has joined #ruby
snath has joined #ruby
nari has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
jp- has joined #ruby
snovak has joined #ruby
pairup has joined #ruby
<onewheelskyward> Don't forget the best jenkins plugin, ever: https://wiki.jenkins-ci.org/display/JENKINS/Green+Balls
pairup has quit [Max SendQ exceeded]
freerobby has joined #ruby
Lewix has quit [Remote host closed the connection]
<HelloHello> Thanks?but I need to get dashing working.
heidar has joined #ruby
bklane has joined #ruby
predator217 has joined #ruby
Tricon has joined #ruby
Tricon has quit [Client Quit]
alekst has quit [Quit: Leaving...]
banisterfiend has joined #ruby
mikepack has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
yekta has joined #ruby
KobraKao has quit [Quit: Saindo]
T_T has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
trinode is now known as trinode_away
predator117 has quit [Ping timeout: 260 seconds]
flagg0204 has quit [Quit: leaving]
iliketurtles has joined #ruby
<Eiam> does this plugin...
rupee has joined #ruby
iliketurtles has quit [Client Quit]
<Eiam> add green success balls to builds that pass tests?
<HelloHello> yes
<Eiam> christ...
<onewheelskyward> :D
<onewheelskyward> Beats blue balls
<HelloHello> https://github.com/edgeware/dashboard You can see the picture.
<onewheelskyward> That's pretty rad.
<Eiam> man I'd love to have a suite of tests
flagg0204 has joined #ruby
<Eiam> one day.. =0
<onewheelskyward> that day could be today.
T_T has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
localredhead has quit [Ping timeout: 248 seconds]
<Eiam> yeah. the day I hot fixed 4 things on production
<Eiam> and found out my deploy script is broken and I cannot deploy to production with it (hence the hotfix)
<Eiam> and the QA env is down.
<Eiam> good day for it, just like any other day =)
<Eiam> right after I learn rspec or some other unit test thing, then figure out travis ci or some other testing widget
<Eiam> =)
cody-- has joined #ruby
<onewheelskyward> it "will work" do
<onewheelskyward> funciton_call(params).should == x
<onewheelskyward> end
Lewix has joined #ruby
<onewheelskyward> ^^ That's rspec
<Eiam> looked to be quite a bit more than that when I last read =)
<onewheelskyward> Start small. :)
snovak has quit [Ping timeout: 256 seconds]
ibiwan has joined #ruby
<ibiwan> anyone know where I can find docs on batman.js bindings? apparently they're based on ruby's?
<Eiam> isn't batman.js based on coffeescript?
jachymko has quit [Quit: ZNC - http://znc.in]
Nahra has quit [Ping timeout: 256 seconds]
<Eiam> which has this pretty sweet dashboard widghet
<Eiam> I've been trying to find a use for it just to have an excuse to use it but alas, no such need
RichardBaker has quit [Quit: RichardBaker]
RichardBaker has joined #ruby
rupee has quit [Quit: Leaving]
RichardBaker has quit [Client Quit]
narcan has joined #ruby
RichardBaker has joined #ruby
mansi has joined #ruby
Monie has quit [Quit: Textual IRC Client: www.textualapp.com]
<HelloHello> The jenkins widget that I need is made from Dashing.
bklane has quit [Remote host closed the connection]
rubyguy has joined #ruby
jachymko has joined #ruby
staafl has quit [Ping timeout: 245 seconds]
zarubin has quit [Ping timeout: 256 seconds]
srji_ has quit [Ping timeout: 264 seconds]
badquanta has quit [Quit: Leaving]
endash has joined #ruby
iliketurtles has joined #ruby
DrShoggoth has quit [Remote host closed the connection]
Bish has quit [Ping timeout: 264 seconds]
tjbiddle has quit [Quit: tjbiddle]
newbiehacker has quit [Read error: Connection reset by peer]
ehc has quit [Quit: ehc]
lfox has joined #ruby
aryaching has quit []
justsee has quit [Ping timeout: 240 seconds]
cody-- has quit [Quit: Computer has gone to sleep.]
ehc has joined #ruby
Bish has joined #ruby
rupee has joined #ruby
scarolan has quit [Ping timeout: 264 seconds]