apeiros changed the topic of #ruby-lang to: Ruby 2.1.3; 2.0.0-p576; 1.9.3-p547: http://ruby-lang.org || Paste code on http://gist.github.com
torrieri has quit [Quit: Leaving...]
wallerdev_ has joined #ruby-lang
moogs has quit [Ping timeout: 258 seconds]
wallerdev has quit [Ping timeout: 244 seconds]
wallerdev_ is now known as wallerdev
|jemc| has quit [Ping timeout: 260 seconds]
torrieri has joined #ruby-lang
yfeldblum has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hahuang65 has quit [Ping timeout: 240 seconds]
symm- has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
imkmf has quit [Ping timeout: 240 seconds]
torrieri has quit [Quit: Leaving...]
seanosaur has quit [Remote host closed the connection]
momomomomo has quit [Quit: adios!]
jbardin has quit [Quit: jbardin]
hahuang65 has joined #ruby-lang
AmBienCeD has quit [Ping timeout: 260 seconds]
jdecuirm_ has joined #ruby-lang
emmesswhy has joined #ruby-lang
thagomizer has quit [Quit: Leaving.]
tkuchiki has quit [Remote host closed the connection]
marcwright has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
skammer has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
yatish27 has joined #ruby-lang
gix has quit [Ping timeout: 258 seconds]
skammer has quit [Ping timeout: 260 seconds]
ikrima has joined #ruby-lang
marcwright has quit [Remote host closed the connection]
yatish27 has quit [Ping timeout: 244 seconds]
marcwright has joined #ruby-lang
<jdecuirm_> Hi!!! anyone here uses Kubuntu? i want to know if anyone uses kdevelop for Ruby and Rails!
jbardin has joined #ruby-lang
amsi has quit [Quit: Leaving]
bantic has joined #ruby-lang
gix has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
bantic has quit [Client Quit]
rickyrickyrice has joined #ruby-lang
rickyrickyrice has quit [Client Quit]
tkuchiki has joined #ruby-lang
marcwright has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby-lang
bantic has joined #ruby-lang
<centrx> negatory
bantic has quit [Client Quit]
mistym has quit [Remote host closed the connection]
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crankharder has quit [Remote host closed the connection]
emmesswhy has joined #ruby-lang
|jemc| has joined #ruby-lang
marcwright has joined #ruby-lang
sk_0 has joined #ruby-lang
jordanbsanders has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bsvineeth has quit [Remote host closed the connection]
bsvineeth has joined #ruby-lang
moogs has joined #ruby-lang
bsvineeth has quit [Ping timeout: 258 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jbardin has quit [Quit: jbardin]
hahuang65 has quit [Read error: Connection reset by peer]
seanosaur has joined #ruby-lang
hahuang65 has joined #ruby-lang
tectonic has joined #ruby-lang
tectonic has quit [Max SendQ exceeded]
lewix has joined #ruby-lang
lewix has quit [Changing host]
lewix has joined #ruby-lang
jhass is now known as jhass|off
marcwright has quit [Remote host closed the connection]
marcwright has joined #ruby-lang
mistym has joined #ruby-lang
skammer has joined #ruby-lang
hahuang65 has quit [Ping timeout: 272 seconds]
skammer has quit [Ping timeout: 244 seconds]
dorei has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
yatish27 has joined #ruby-lang
bruno- has joined #ruby-lang
karamazov has joined #ruby-lang
bruno- has quit [Ping timeout: 246 seconds]
diegoviola has joined #ruby-lang
spastorino has quit [Quit: Connection closed for inactivity]
wallerdev has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
macscam1 has joined #ruby-lang
<macscam1> what is the rails channel?
<centrx> #rubyonrails
<centrx> You may need to register or identify your nick to enter
Randroid has joined #ruby-lang
yfeldblum has joined #ruby-lang
migbar has quit [Ping timeout: 260 seconds]
macscam1 has quit [Client Quit]
max1 has joined #ruby-lang
max1 has quit [Client Quit]
newprofileuserna has joined #ruby-lang
newprofileuserna has quit [Client Quit]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
seanosaur has quit [Remote host closed the connection]
dknox-lunch has quit [Quit: Textual IRC Client: www.textualapp.com]
ikrima has quit [Read error: Connection reset by peer]
ikrima has joined #ruby-lang
moogs has quit [Remote host closed the connection]
hagabaka has quit [Ping timeout: 260 seconds]
memocool has quit []
pabs has quit [Ping timeout: 245 seconds]
pabs has joined #ruby-lang
hagabaka has joined #ruby-lang
skammer has joined #ruby-lang
bantic has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 0.4.3]
skammer has quit [Ping timeout: 258 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
bantic has quit [Quit: bantic]
moogs has joined #ruby-lang
crankharder has joined #ruby-lang
SuMo_D has joined #ruby-lang
|jemc| has joined #ruby-lang
gix has quit [Ping timeout: 260 seconds]
gix has joined #ruby-lang
sepp2k has joined #ruby-lang
FiXato has quit [Ping timeout: 250 seconds]
FiXato has joined #ruby-lang
marcwright has quit [Remote host closed the connection]
marcwright has joined #ruby-lang
marcwright has quit [Ping timeout: 272 seconds]
kgrz has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
wkoch has quit [Quit: wkoch]
karamazov has joined #ruby-lang
lsegal has joined #ruby-lang
hagabaka has quit [Ping timeout: 258 seconds]
karamazov has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
ikrima has quit [Ping timeout: 272 seconds]
hagabaka has joined #ruby-lang
DEac- has quit [Read error: Connection reset by peer]
DEac- has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
skammer has joined #ruby-lang
Randroid has quit [Quit: Randroid]
tdy has quit [Ping timeout: 272 seconds]
skammer has quit [Ping timeout: 258 seconds]
tdy has joined #ruby-lang
tdy has quit [Client Quit]
tdy has joined #ruby-lang
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
shubhamgoyal has quit [Remote host closed the connection]
shennyg__ has quit [Ping timeout: 260 seconds]
shubhamgoyal has joined #ruby-lang
shennyg__ has joined #ruby-lang
jordanbsanders has joined #ruby-lang
shubhamgoyal has quit [Ping timeout: 245 seconds]
ItSANgo has quit [Quit: Leaving...]
hagabaka has quit [Ping timeout: 260 seconds]
|jemc| has quit [Ping timeout: 240 seconds]
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
hagabaka has joined #ruby-lang
yatish27_ has joined #ruby-lang
jordanbsanders has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yatish27 has quit [Ping timeout: 272 seconds]
araujo has quit [Quit: Leaving]
seanosaur has joined #ruby-lang
yatish27_ has quit []
charliesome has quit [Quit: zzz]
seanosaur has quit [Ping timeout: 272 seconds]
yatish27 has joined #ruby-lang
charliesome has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
toretore has quit [Quit: This computer has gone to sleep]
skammer has joined #ruby-lang
skammer has quit [Ping timeout: 272 seconds]
kgrz has quit [Remote host closed the connection]
tectonic has joined #ruby-lang
oleo__ has quit [Quit: Verlassend]
crankharder has quit [Quit: Lost terminal]
bruno- has joined #ruby-lang
bruno- has quit [Ping timeout: 260 seconds]
shubhamgoyal has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
koderok has joined #ruby-lang
emmesswhy has joined #ruby-lang
kgrz has quit [Ping timeout: 260 seconds]
justinmburrous has joined #ruby-lang
havenwood has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
kyb3r_ has joined #ruby-lang
bsvineeth has joined #ruby-lang
arooni-mobile has joined #ruby-lang
[spoiler] has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
apeiros has quit [Ping timeout: 250 seconds]
spuk has quit [Ping timeout: 260 seconds]
spuk has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ItSANgo has joined #ruby-lang
SuMo_D has joined #ruby-lang
kimegede has joined #ruby-lang
mistym has quit [Quit: Leaving...]
riffraff has joined #ruby-lang
moogs has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
mistym has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo_ has joined #ruby-lang
helgeblod has joined #ruby-lang
drbrain has quit [Ping timeout: 245 seconds]
wnd_ has joined #ruby-lang
dvorkbjel has quit [Remote host closed the connection]
xvqq17 has quit [Ping timeout: 245 seconds]
joevandyk has quit [Ping timeout: 245 seconds]
drbrain has joined #ruby-lang
xvqq17 has joined #ruby-lang
wnd has quit [Ping timeout: 240 seconds]
joevandyk has joined #ruby-lang
dvorkbjel has joined #ruby-lang
tbuehlmann has joined #ruby-lang
ikrima has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 260 seconds]
kgrz has joined #ruby-lang
lun_ has quit [Read error: Connection reset by peer]
wnd_ is now known as wnd
gjaldon has quit []
kgrz_ has joined #ruby-lang
kwd has joined #ruby-lang
lun_ has joined #ruby-lang
kgrz_ has quit [Remote host closed the connection]
kgrz has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: zzz]
arooni-mobile has quit [Ping timeout: 272 seconds]
kgrz has joined #ruby-lang
mistym has quit [Remote host closed the connection]
_ht has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
skammer has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby-lang
skammer has quit [Ping timeout: 260 seconds]
kgrz_ has joined #ruby-lang
ikrima has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Silex has quit [Ping timeout: 260 seconds]
kgrz has quit [Ping timeout: 260 seconds]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
benlovell has joined #ruby-lang
Gabri has joined #ruby-lang
tectonic has quit []
bsvineet_ has joined #ruby-lang
helgeblod has quit [Quit: Leaving...]
riffraff has quit [Quit: This computer has gone to sleep]
tylersmith has quit [Remote host closed the connection]
bsvineeth has quit [Ping timeout: 272 seconds]
tylersmith has joined #ruby-lang
riffraff has joined #ruby-lang
tylersmith has quit [Ping timeout: 245 seconds]
dvorkbjel has quit [Remote host closed the connection]
koderok has quit [Quit: koderok]
dvorkbjel has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
robbyoconnor has quit [Ping timeout: 272 seconds]
bizarrosandwich has quit [Read error: Connection reset by peer]
esmet__ has quit [Quit: Connection closed for inactivity]
mkaesz has joined #ruby-lang
DEac- has quit [Read error: Connection reset by peer]
DEac-_ has joined #ruby-lang
symm- has joined #ruby-lang
ikrima has joined #ruby-lang
tdy has quit [Ping timeout: 244 seconds]
symm- has quit [Ping timeout: 272 seconds]
justinmburrous has quit []
yatish27 has quit [Remote host closed the connection]
skade has joined #ruby-lang
relix has joined #ruby-lang
qba73 has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
futilegames has joined #ruby-lang
bruno- has joined #ruby-lang
bsvineet_ has quit [Remote host closed the connection]
bsvineeth has joined #ruby-lang
arooni-mobile has joined #ruby-lang
sepp2k has joined #ruby-lang
arBmind has joined #ruby-lang
bin7me has joined #ruby-lang
bsvineeth has quit [Ping timeout: 260 seconds]
robbyoconnor has joined #ruby-lang
charliesome has quit [Quit: zzz]
amerine has quit [Ping timeout: 245 seconds]
tdy has joined #ruby-lang
Suchit has joined #ruby-lang
mikecmpbll has joined #ruby-lang
yfeldblum has joined #ruby-lang
Suchit has quit [Read error: Connection reset by peer]
Suchit has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 240 seconds]
Suchit has quit [Read error: Connection reset by peer]
allomov has joined #ruby-lang
Suchit has joined #ruby-lang
yfeldblum has quit [Ping timeout: 260 seconds]
vvikus has joined #ruby-lang
ikrima has quit [Ping timeout: 272 seconds]
multi_io has quit [Ping timeout: 244 seconds]
lewix has quit [Remote host closed the connection]
elia has joined #ruby-lang
Gabri has quit [Remote host closed the connection]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
vvikus has quit [Quit: WeeChat 0.4.2]
yfeldblum has joined #ruby-lang
fusillicode has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
<yorickpeterse> morning
yfeldblum has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<tbuehlmann> moin
Suchit has quit [Read error: Connection reset by peer]
Suchit has joined #ruby-lang
dvorak has quit [Ping timeout: 245 seconds]
marr has joined #ruby-lang
dvorak has joined #ruby-lang
emrox has joined #ruby-lang
<benlovell> MORNIN'
<maloik_> o/
michd is now known as MichD
skammer has joined #ruby-lang
skammer has quit [Ping timeout: 258 seconds]
zarubin has quit []
workmad3 has joined #ruby-lang
riffraff has quit [Quit: This computer has gone to sleep]
charliesome has joined #ruby-lang
Technodrome has quit [Quit: Technodrome]
riffraff has joined #ruby-lang
dagda1 has joined #ruby-lang
vvikus has joined #ruby-lang
vvikus has quit [Client Quit]
vvikus has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
relix has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
relix has quit [Read error: Connection reset by peer]
vvikus has quit [Client Quit]
relix has joined #ruby-lang
vvikus has joined #ruby-lang
vvikus has quit [Client Quit]
vvikus has joined #ruby-lang
relix has quit [Client Quit]
vvikus has quit [Client Quit]
<tbuehlmann> benlovell, I think it'll be too expensive for me :(
relix has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
arBmind has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
Gabri has joined #ruby-lang
stamina has joined #ruby-lang
charliesome has quit [Quit: zzz]
ngw has joined #ruby-lang
postmodern has quit [Quit: Leaving]
bsvineeth has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
bsvineeth has quit [Ping timeout: 272 seconds]
migbar has joined #ruby-lang
Blaguvest has joined #ruby-lang
stef_204 has joined #ruby-lang
gjaldon has joined #ruby-lang
charliesome has joined #ruby-lang
skade has joined #ruby-lang
<benlovell> tbuehlmann: shame
hellangel7 has joined #ruby-lang
nertzy2 has quit [Quit: This computer has gone to sleep]
nofxx has joined #ruby-lang
ItSANgo has quit [Quit: Leaving...]
havenwood has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
workmad3 has quit [Quit: Lost terminal]
jhass|off is now known as jhass
fusillicode has quit [Ping timeout: 244 seconds]
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #ruby-lang
gjaldon has quit []
workmad3 has joined #ruby-lang
apeiros has joined #ruby-lang
elia has quit [Client Quit]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elia has joined #ruby-lang
skade has joined #ruby-lang
skade has quit [Remote host closed the connection]
kwd has quit [Read error: Connection reset by peer]
kwd has joined #ruby-lang
Silex has joined #ruby-lang
moogs has joined #ruby-lang
jds has joined #ruby-lang
moogs has quit [Ping timeout: 240 seconds]
shubhamgoyal has quit [Remote host closed the connection]
shubhamgoyal has joined #ruby-lang
toretore has joined #ruby-lang
shubhamgoyal has quit [Ping timeout: 272 seconds]
Squarepy has joined #ruby-lang
kyb3r_ has quit [Read error: Connection reset by peer]
Suchit has quit [Quit: Computer has gone to sleep.]
Suchit has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
relix has joined #ruby-lang
elia has joined #ruby-lang
bsvineeth has joined #ruby-lang
kimegede has quit [Quit: Leaving...]
kimegede has joined #ruby-lang
elia has quit [Client Quit]
benlovell has quit [Ping timeout: 244 seconds]
chills42 has joined #ruby-lang
GarethAdams has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 244 seconds]
gianlucadv_ has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
arBmind1 has joined #ruby-lang
solars has joined #ruby-lang
arBmind has quit [Ping timeout: 240 seconds]
moogs has joined #ruby-lang
moogs has quit [Remote host closed the connection]
skade has joined #ruby-lang
skade has quit [Client Quit]
<yorickpeterse> right, time to update a bunch of servers for this shellshock crap
GarethAdams has joined #ruby-lang
<yorickpeterse> good thing we're not running CGI/DHCP or anything else that just takes env vars and passes them to bash
ItSANgo has joined #ruby-lang
<workmad3> yorickpeterse: same
<workmad3> yorickpeterse: should probably check that automatic security upgrades have picked up the shellshock fix
arBmind has joined #ruby-lang
<yorickpeterse> Sadly this also means I have to re-image 5 fucking AMIs
<yorickpeterse> then update a dozen launch configurations and autoscaling groups
<yorickpeterse> Then rotate every single instance
arBmind1 has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby-lang
marcwright has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<maloik_> I think my colleagues fixed them using https://github.com/openminds/bunka
yalue has joined #ruby-lang
yfeldblum has quit [Ping timeout: 250 seconds]
<DefV> yorickpeterse: can't you automate that?
yfeldblu_ has quit [Ping timeout: 244 seconds]
<yorickpeterse> DefV: ops normally does it in a semi-automated way
relix has joined #ruby-lang
<yorickpeterse> I'm currently hacking together some stuff so I don't have to do that myself
<yorickpeterse> maloik_: Ah, we don't use cHef
<yorickpeterse> * Chef
<yorickpeterse> "1 to 50 of 193 Launch Configurations" lol
ItSANgo has quit [Quit: Leaving...]
marcwright has quit [Remote host closed the connection]
marcwright has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
fusillicode has joined #ruby-lang
elia has joined #ruby-lang
marcwright has quit [Ping timeout: 246 seconds]
<maloik_> oooh right I'd forgotten about knife
marcwright has joined #ruby-lang
skade has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
JoshuaPaling has joined #ruby-lang
Gabri has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riffraff has quit [Quit: Leaving]
elia has quit [Quit: Computer has gone to sleep.]
Gabri has joined #ruby-lang
dorei has joined #ruby-lang
Suchit has quit [Ping timeout: 246 seconds]
Suchit has joined #ruby-lang
jgpawletko has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
karamazov has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
error404 has quit [Quit: leaving]
rcvalle_ has joined #ruby-lang
<maloik_> this is the best thing I've seen in weeks: https://twitter.com/bradcolbow/status/514944517230047232
rcvalle has quit [Ping timeout: 245 seconds]
rcvalle_ is now known as rcvalle
elia has joined #ruby-lang
kimegede has quit [Quit: Leaving...]
skade has quit [Quit: Computer has gone to sleep.]
elia has quit [Client Quit]
kwd has quit [Quit: Leaving.]
shubhamgoyal has quit [Ping timeout: 260 seconds]
marcwright has quit [Remote host closed the connection]
marcwright has joined #ruby-lang
elia has joined #ruby-lang
benlovell has joined #ruby-lang
marcwright has quit [Ping timeout: 240 seconds]
dm78 has quit []
workmad3 has quit [Ping timeout: 258 seconds]
ItSANgo has joined #ruby-lang
kimegede has joined #ruby-lang
skammer has joined #ruby-lang
oleo has joined #ruby-lang
nonmadden has joined #ruby-lang
marcwright has joined #ruby-lang
yfeldblum has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
tkuchiki has quit [Remote host closed the connection]
elia has joined #ruby-lang
dwknoxy has joined #ruby-lang
marcwright has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: zzz]
yfeldblum has quit [Ping timeout: 260 seconds]
elia has quit [Client Quit]
havenwood has joined #ruby-lang
elia has joined #ruby-lang
benlovell has quit [Ping timeout: 246 seconds]
charliesome has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
shubhamgoyal has quit [Read error: Connection reset by peer]
shubhamgoyal has joined #ruby-lang
shubhamgoyal has quit [Client Quit]
skade has joined #ruby-lang
dangerousdave has joined #ruby-lang
workmad3 has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
dangerousdave has quit [Client Quit]
dangerousdave has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
elia has joined #ruby-lang
dangerousdave has quit [Client Quit]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
wkoch has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #ruby-lang
kirin` has quit [Ping timeout: 260 seconds]
spastorino has joined #ruby-lang
kirin` has joined #ruby-lang
tkuchiki has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has quit [Ping timeout: 240 seconds]
elia has quit [Quit: Computer has gone to sleep.]
<oldsparky3520> hi
<oldsparky3520> I am trying to run this
<oldsparky3520> dist = food_entry.try(:address).distance_from(address)
<oldsparky3520> but getting error at distance_From
<oldsparky3520> and it happens when address is nil
<oldsparky3520> what I want is not to continue to execute when that try fails
<oldsparky3520> how do I do that?
<oldsparky3520> (without using ifs and what not)
elia has joined #ruby-lang
<canton7> use ifs and what not
<canton7> or I think there's a gem called andand
<oldsparky3520> :(
<oldsparky3520> so there is no built in way
<oldsparky3520> I also have rails framework?
<oldsparky3520> but present doesn't work either
benlovell has joined #ruby-lang
<oldsparky3520> can I do this somehow in one line?
<yorickpeterse> oldsparky3520: you use ifs and what not
<yorickpeterse> and you stop calling.methods.on.each.other.like.this
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
<yorickpeterse> There are some Option type like gems and what not that let you do things such as try('foo.bar.baz.another.method'), but honestly I'd just check if there's a value
<oldsparky3520> ok
<oldsparky3520> I am getting an array error btw
<yorickpeterse> "an array error" ?
stamina has quit [Remote host closed the connection]
<oldsparky3520> Wait hang on
<oldsparky3520> just fixed it
<oldsparky3520> dammit silly me
<oldsparky3520> it was my_arr.append = something
[spoiler] has quit [Quit: Leaving]
<oldsparky3520> sort by function doesn't work
<oldsparky3520> This is the entire function
<oldsparky3520> and the returned list is not sorted
<oldsparky3520> BTW I got this style from this question
<oldsparky3520> the most accepted one with 135 upvotes
yfeldblum has joined #ruby-lang
dangerousdave has joined #ruby-lang
<oldsparky3520> yorickpeterse do you know that problem?
nofxx has quit [Ping timeout: 245 seconds]
<yorickpeterse> Problem is on line #13
bin7me has quit [Ping timeout: 260 seconds]
<oldsparky3520> Yes I noticed that
yfeldblum has quit [Ping timeout: 260 seconds]
<canton7> indeed
<oldsparky3520> but why is it not sorting it?
<canton7> it does
<yorickpeterse> oldsparky3520: again, read what line #13 does
<yorickpeterse> canton7: ssssh
<canton7> but what happens to the sorted result?
<canton7> sorry :P
<oldsparky3520> Nothing happens
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<yorickpeterse> ah, I thought you were going to spoil the fun like usually happens in here :P
<yorickpeterse> oldsparky3520: run this in a terminal:
dangerousdave has joined #ruby-lang
<oldsparky3520> Before sort it,s like 0.3, 1.2, 0
<oldsparky3520> and after sort it's the same!
<canton7> sorry, I thought I'd given it away there... turns out not
<yorickpeterse> ri Array#sort_by
<canton7> oldsparky3520, maybe it's time to read the docs for sort_by again?
<yorickpeterse> meh fukit
<yorickpeterse> oldsparky3520: you're sorting the array, but you're throwing away the result
<yorickpeterse> (= you're not assigning it to food_list)
<yorickpeterse> Array#sort_by / Array#sort doesn't modify the array in place, it returns a new one
<yorickpeterse> (RDoc is shit on this)
<canton7> yeah, I was hoping the docs' first line would be "sorts and array, and returns the sorted result" or something :P
<oldsparky3520> A new one?
<oldsparky3520> hmm
<canton7> there's a difference between #sort_by and #sort_by!
<canton7> actually, does sort_by! event exist...
torrieri has joined #ruby-lang
<yorickpeterse> canton7: yes
<oldsparky3520> That's so memory inefficient
tkuchiki has quit [Remote host closed the connection]
<yorickpeterse> oldsparky3520: it's not
<oldsparky3520> Is there a way to do this in place?
<canton7> ah, yeah it does
<oldsparky3520> What's sort_by?
<oldsparky3520> quick sort?
<yorickpeterse> The internal values are the exact same, you only allocate 1 extra array
<oldsparky3520> hmm ok
<yorickpeterse> also, sort_by! still allocates a new array
<oldsparky3520> ok
<yorickpeterse> since it basically does a sort on a new array, then replaces the current one
<yorickpeterse> and yes, I believe sort_by uses quicksort, not sure though
<oldsparky3520> ok thanks
ht_ has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nofxx has joined #ruby-lang
nofxx has quit [Remote host closed the connection]
_ht has quit [Ping timeout: 250 seconds]
kgrz_ has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
workmad3 has quit [Ping timeout: 244 seconds]
whippythellama has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
j4cknewt has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
benlovell has quit [Ping timeout: 272 seconds]
<oldsparky3520> is there an easy way to convert miles to kms?
<oldsparky3520> and vice versa?
<Mon_Ouie> Multiply/divide by 1.60934
elia has joined #ruby-lang
ledestin_ has joined #ruby-lang
chouhoulis has joined #ruby-lang
j4cknewt has quit [Ping timeout: 245 seconds]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
hellangel7 has quit [Remote host closed the connection]
<oldsparky3520> hmm
tkuchiki has joined #ruby-lang
elia has quit [Client Quit]
ledestin has quit [Ping timeout: 245 seconds]
ledestin_ is now known as ledestin
DEac-_ has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby-lang
DEac- has joined #ruby-lang
old_black has joined #ruby-lang
<oldsparky3520> I cannot iterate food_list = []
<oldsparky3520> by doing <% @food_list.all.each { |food_entry| %>
<oldsparky3520> *@food_list = []
<oldsparky3520> I get undefined method all error
<oldsparky3520> I thought that's how I should iterate list?
<chills42> if it's just a plain old array, you should be able to do @food_list.each {|food_entry| ...}
<oldsparky3520> ah cool
<chills42> all is typically used with activemodel models (or similar) to get a full array
SuMo_D has joined #ruby-lang
workmad3 has joined #ruby-lang
<oldsparky3520> how can I get the iterator number?
<oldsparky3520> like index number?
<oldsparky3520> you know like for (int i = 0; i < arr.length; i++) in various languages where you can use i as the index
<yorickpeterse> oldsparky3520: each_with_index
Gabri has quit []
diegoviola has quit [Remote host closed the connection]
Suchit has quit [Quit: Computer has gone to sleep.]
Suchit has joined #ruby-lang
yfeldblum has joined #ruby-lang
cmhobbs_ has joined #ruby-lang
elia has joined #ruby-lang
benlovell has joined #ruby-lang
bsvineeth has quit [Remote host closed the connection]
elia has quit [Client Quit]
bsvineeth has joined #ruby-lang
Suchit has quit [Ping timeout: 260 seconds]
marcwright has joined #ruby-lang
elia has joined #ruby-lang
tenderlove has joined #ruby-lang
yfeldblum has quit [Ping timeout: 272 seconds]
j4cknewt has joined #ruby-lang
bsvineeth has quit [Ping timeout: 244 seconds]
diegoviola has joined #ruby-lang
j4cknewt_ has joined #ruby-lang
<oldsparky3520> how can you start it from 1
<oldsparky3520> instead of 0?
j4cknewt has quit [Ping timeout: 272 seconds]
GBrawl has joined #ruby-lang
ledestin_ has joined #ruby-lang
futilegames has quit [Quit: futilegames]
ledestin has quit [Ping timeout: 260 seconds]
ledestin_ is now known as ledestin
_ht has joined #ruby-lang
<oldsparky3520> Anyway I solved that problem
<oldsparky3520> I am looking for a function
<oldsparky3520> the input is non negative numbers
<oldsparky3520> such as 0.0, 0.3, 1.3 etc
<oldsparky3520> I want to take ceiling of these numbers
<oldsparky3520> with the exception of 0.0, where it should be 1.0
ht_ has quit [Ping timeout: 250 seconds]
<oldsparky3520> so for 0.0 => 1..0, 0.3 => 1.0, 1.3 => 2.0, 1.0 => 1.0 and so on
<oldsparky3520> is there a method for that?
havenwood has joined #ruby-lang
Technodrome has joined #ruby-lang
<apeiros> >> 0.3.ceil
<eval-in_> apeiros => 1 (https://eval.in/198990)
<apeiros> >> result = []; 1.upto(10) do |i| result << i end; result
<eval-in_> apeiros => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] (https://eval.in/198991)
bizarrosandwich has joined #ruby-lang
<apeiros> >> result = []; (1..10).each do |i| result << i end; result
<eval-in_> apeiros => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] (https://eval.in/198992)
<apeiros> oldsparky3520: ^
<workmad3> apeiros: result = (1..10).to_a
emrox has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
j4cknewt_ has quit []
havenwood has quit [Remote host closed the connection]
ducklobster has quit [Ping timeout: 246 seconds]
SuMo_D has quit [Remote host closed the connection]
bin7me has joined #ruby-lang
kgrz has joined #ruby-lang
solars has quit [Ping timeout: 260 seconds]
kgrz has quit [Remote host closed the connection]
bantic has joined #ruby-lang
memocool has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
Suchit has joined #ruby-lang
karamazov has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
cmhobbs_ has quit [Ping timeout: 240 seconds]
karamazov has joined #ruby-lang
<darix> workmad3: that is too short!
GBrawl has quit [Quit: Computer has gone to sleep.]
<workmad3> darix: sorry... imagine I put 10000 spaces at the end, maybe? :)
banister is now known as banisterfiend
qba73 has quit []
tkuchiki has quit [Remote host closed the connection]
finitoo has joined #ruby-lang
mistym has joined #ruby-lang
karamazov has quit [Ping timeout: 250 seconds]
<darix> :D
GBrawl_ has joined #ruby-lang
Suchit has quit [Quit: Computer has gone to sleep.]
marcwright has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
Suchit has joined #ruby-lang
marcwright has joined #ruby-lang
charliesome has quit [Quit: zzz]
Suchit has quit [Ping timeout: 245 seconds]
marcwright has quit [Ping timeout: 260 seconds]
forgottenleaf has joined #ruby-lang
cmhobbs_ has joined #ruby-lang
<forgottenleaf> Hello
marcwright has joined #ruby-lang
yfeldblum has joined #ruby-lang
marcwright has quit [Remote host closed the connection]
marcwright has joined #ruby-lang
sarkyniin has joined #ruby-lang
yfeldblum has quit [Ping timeout: 272 seconds]
GBrawl_ has quit [Quit: Lingo - http://www.lingoirc.com]
skammer has quit [Ping timeout: 272 seconds]
kgrz has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 245 seconds]
ruby-lang611 has joined #ruby-lang
<ruby-lang611> sorry if this is bad form (first time in here) but i was hoping someone could help with something
karamazov has joined #ruby-lang
<ruby-lang611> i'm trying to produce identical results in ruby to pythons "string".decode('utf-8', 'replace')
<ruby-lang611> cannot seem to accomplish
<ruby-lang611> anyone have insight?
<Mon_Ouie> Well, what does the python line do?
karamazov has quit [Read error: No route to host]
nofxx has joined #ruby-lang
karamazov has joined #ruby-lang
karamazov has quit [Client Quit]
havenwood has joined #ruby-lang
__butch__ has joined #ruby-lang
workmad3 has quit [Ping timeout: 244 seconds]
havenwood has quit [Client Quit]
fusillicode has quit [Ping timeout: 260 seconds]
rippa has joined #ruby-lang
wallerdev has joined #ruby-lang
<ruby-lang611> from what i've read it takes a utf8 string
<ruby-lang611> and returns the unicode representation
<ruby-lang611> the 'replace' param tells it how to deal with characters out of range
mikecmpbll has quit [Ping timeout: 258 seconds]
forgottenleaf has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
solars has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 1.0]
diegoviola has joined #ruby-lang
<Mon_Ouie> ? utf-8 is one way to represent unicode strings
<ruby-lang611> yeah i know it doesn't make a ton of sense
<ruby-lang611> lemme grab you a link
jgpawletko is now known as jgpawletko_away
<ruby-lang611> first answer there is the closest i've found to what decode actually returns
<ruby-lang611> "decoded strings are unicode and have a type of unicode"
<ruby-lang611> i think this is python specific but i'm not so well versed there
<Mon_Ouie> Maybe something like force_encoding, if you have a string with UTF-8 data and want to mark it as such
<apeiros> Mon_Ouie: afaik python does not have an encoding attribute on strings
enebo has joined #ruby-lang
* apeiros tries to make sense of that python decode
<ruby-lang611> apeiros i believe you are right
<ruby-lang611> my main issue is that i have some code writing strings to a file from python
<ruby-lang611> calling decode('utf-8', 'replace') before it does
<ruby-lang611> and i cannot maintain consistent results reading the same input in ruby before writing
klmlfl has quit [Remote host closed the connection]
<apeiros> I don't really understand what decode does, though. it seems more like scrub. i.e. the name makes little sense to me.
emmesswhy has joined #ruby-lang
<apeiros> I'm missing *from what* it decodes it as utf-8
<apeiros> oh… it's decode(*from encoding*) as utf-8
<apeiros> i.e. result is always utf-8
<apeiros> so decode('utf-8', replace) is indeed scrub
yfeldblum has joined #ruby-lang
<apeiros> ruby-lang611: see String#scrub (as of ruby 2.1, for olders, best use a backport of it)
skade has joined #ruby-lang
kgrz has joined #ruby-lang
<apeiros> and for scrub to work properly, make sure the encoding is correctly set (if must be via force_encoding as Mon_Ouie said - but IMO that's indicative of a problem)
<ruby-lang611> i thought it meant decode from utf-8
<ruby-lang611> it's coming from a mysql col with utf8 encoding
<ruby-lang611> so should be ok
<ruby-lang611> i haven't tried scrub yet
<ruby-lang611> so i'll check that
<ruby-lang611> fingers crossed
<apeiros> ruby-lang611: rubys string have an encoding attribute. to *translate* a string from one encoding to another (i.e., change the bytes used to represent characters) you use the String#encode method
<apeiros> it will translate the string from its current encoding (visible via String#encoding) to the encoding you specify. and you can instruct it on how to deal with unmappable characters.
yfeldblum has quit [Ping timeout: 244 seconds]
yatish27 has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
yatish27 has joined #ruby-lang
|jemc| has joined #ruby-lang
<ruby-lang611> ah scrub is post 1.9.3
<ruby-lang611> hence my undefined method errors
<apeiros> 18:16 apeiros: ruby-lang611: see String#scrub (as of ruby 2.1, for olders, best use a backport of it)
<ruby-lang611> yup you did say that
Derander_ is now known as Derander
<ruby-lang611> sorry
<apeiros> yup. I did :)
mistym has joined #ruby-lang
yatish27 has quit [Ping timeout: 272 seconds]
<ruby-lang611> is scrub different from encode with undef: :replace, invalid: :replace?
<Mon_Ouie> Yes, that's not going to work if the target encoding is the string's current encoding
<Mon_Ouie> Because when that's the case, encode is a no-op
skade has quit [Ping timeout: 272 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 260 seconds]
apeiros has quit [Ping timeout: 245 seconds]
tdy has quit [Ping timeout: 250 seconds]
wallerdev has quit [Quit: wallerdev]
nofxx has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
<ruby-lang611> got you
<ruby-lang611> that makes sense
<ruby-lang611> scrub backport it is
<ruby-lang611> i'll report back thanks all
rramphal has joined #ruby-lang
rramphal has left #ruby-lang [#ruby-lang]
elia has joined #ruby-lang
sepp2k has quit [Quit: Konversation terminated!]
enebo has quit [Quit: enebo]
arooni-mobile has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
mkaesz has quit [Quit: Leaving...]
fragamus has joined #ruby-lang
enebo has joined #ruby-lang
jbardin has joined #ruby-lang
solars has quit [Ping timeout: 260 seconds]
marcwright has quit [Remote host closed the connection]
mksl has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 0.4.3]
gjaldon has quit [Read error: Connection reset by peer]
gix has quit [Ping timeout: 245 seconds]
gjaldon has joined #ruby-lang
tdy has joined #ruby-lang
imkmf has joined #ruby-lang
mikecmpbll has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
fragamus has joined #ruby-lang
wallerdev has joined #ruby-lang
marcwright has joined #ruby-lang
klmlfl has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
gix has joined #ruby-lang
old_black has left #ruby-lang [#ruby-lang]
klmlfl has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
rcvalle has quit [Quit: rcvalle]
old_black has joined #ruby-lang
yfeldblum has joined #ruby-lang
elia has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
yfeldblum has quit [Ping timeout: 258 seconds]
gjaldon has quit [Read error: Connection reset by peer]
wkoch1 has joined #ruby-lang
gjaldon_ has joined #ruby-lang
wkoch has quit [Ping timeout: 260 seconds]
rutnop has joined #ruby-lang
ikrima has joined #ruby-lang
symm- has joined #ruby-lang
marcwright has quit [Remote host closed the connection]
marcwright has joined #ruby-lang
thagomizer has joined #ruby-lang
fragamus has quit [Ping timeout: 244 seconds]
tylersmith has joined #ruby-lang
marcwright has quit [Ping timeout: 258 seconds]
elia has quit [Ping timeout: 272 seconds]
arooni-mobile has quit [Ping timeout: 245 seconds]
Voker57 has quit [Read error: Connection reset by peer]
koderok has joined #ruby-lang
gjaldon_ has quit []
mksl has quit [Ping timeout: 244 seconds]
arBmind has quit [Ping timeout: 245 seconds]
arBmind has joined #ruby-lang
koderok has quit [Quit: koderok]
sepp2k has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
necro has joined #ruby-lang
yatish27 has joined #ruby-lang
marr has quit [Ping timeout: 258 seconds]
<necro> can anyone help me understand the error message I am receiving? I understand that it is telling me I am trying to apply the capitalize method on nil - but I don't understand why? Shouldn't I be calling the capitalize method on "each" item from "words"? what am I missing?
kgrz has joined #ruby-lang
Suchit has joined #ruby-lang
RobertBirnie has joined #ruby-lang
arooni-mobile has joined #ruby-lang
rsl has quit [Quit: Textual IRC Client: www.textualapp.com]
kgrz has quit [Ping timeout: 260 seconds]
diegoviola has quit [Quit: WeeChat 1.0]
mksl has joined #ruby-lang
Suchit has quit [Quit: Computer has gone to sleep.]
Suchit has joined #ruby-lang
klmlfl has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
sferik has joined #ruby-lang
klmlfl has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 245 seconds]
ikrima has quit [Ping timeout: 240 seconds]
sferik has quit [Read error: Connection reset by peer]
bantic has quit [Quit: bantic]
karamazov has joined #ruby-lang
sferik has joined #ruby-lang
futilegames has joined #ruby-lang
marcwright has joined #ruby-lang
migbar has quit [Remote host closed the connection]
sferik has quit [Client Quit]
sferik has joined #ruby-lang
waxjar has quit [Ping timeout: 245 seconds]
<wallerdev> necro: your syntax for each is wrong
ruby-lang280 has joined #ruby-lang
<wallerdev> should be caps = words.each do |x|
<necro> oh, thank you
<wallerdev> then x.capitalize!
<necro> right, thanks so much
waxjar has joined #ruby-lang
migbar has joined #ruby-lang
ruby-lang280 has quit [Client Quit]
ruby-lang083 has joined #ruby-lang
ruby-lang083 has quit [Client Quit]
ruby-lang102 has joined #ruby-lang
memocool has quit []
achiu2 has quit [Ping timeout: 246 seconds]
achiu2 has joined #ruby-lang
kgrz has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
bantic has joined #ruby-lang
chouhoul_ has joined #ruby-lang
sferik has quit [Read error: Connection reset by peer]
sferik has joined #ruby-lang
forgottenleaf has joined #ruby-lang
enebo has quit [Quit: enebo]
apeiros has joined #ruby-lang
migbar has quit [Ping timeout: 272 seconds]
chouhoulis has quit [Ping timeout: 272 seconds]
kgrz has quit [Ping timeout: 260 seconds]
elia has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
jgpawletko_away is now known as jgpawletko
chouhoul_ has quit [Read error: Connection reset by peer]
amsi has joined #ruby-lang
chouhoulis has joined #ruby-lang
tdy has quit [Ping timeout: 240 seconds]
knu0 has quit [Remote host closed the connection]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shinnya has quit [Ping timeout: 260 seconds]
dkoubs__ has joined #ruby-lang
mksl has quit [Quit: Lost terminal]
dkoubs__ has quit [Client Quit]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knu has joined #ruby-lang
danielkouba has joined #ruby-lang
danielkouba has left #ruby-lang [#ruby-lang]
banister has joined #ruby-lang
dkoubs has joined #ruby-lang
banisterfiend has quit [Ping timeout: 246 seconds]
hellangel7 has joined #ruby-lang
arBmind has joined #ruby-lang
<dkoubs> is anyone familiar with rspec?
chouhoulis has quit []
ruby-lang102 has quit [Ping timeout: 246 seconds]
cmhobbs_ has quit [Remote host closed the connection]
crankharder has joined #ruby-lang
snoopybbt has joined #ruby-lang
chouhoulis has joined #ruby-lang
Johz has joined #ruby-lang
robbyoconnor has joined #ruby-lang
marcwright has quit [Read error: Connection reset by peer]
emmesswhy has quit [Quit: Leaving]
marcwright has joined #ruby-lang
marcwright has quit [Client Quit]
marr has joined #ruby-lang
ledestin_ has joined #ruby-lang
tdy has joined #ruby-lang
ledestin has quit [Ping timeout: 272 seconds]
ledestin_ is now known as ledestin
face has quit [Remote host closed the connection]
face has joined #ruby-lang
<oddmunds> dkoubs: a lot of people in here are familiar with rspec. just ask your question and if someone knows the answer they'll answer.
matp has joined #ruby-lang
old_black has left #ruby-lang [#ruby-lang]
<dkoubs> cool thanks oddmunds
old_black has joined #ruby-lang
<dkoubs> I have a NoMethodError that I cant get rid of heres the gists http://gist.github.com/danielkouba
centrx has joined #ruby-lang
old_black has left #ruby-lang [#ruby-lang]
<dkoubs> I feel like I have tried everything to define the ‘seconds=‘ method but it keeps throwing this error
DEac- has quit [Ping timeout: 244 seconds]
Suchit has quit [Quit: Computer has gone to sleep.]
migbar has joined #ruby-lang
hotpancakes has joined #ruby-lang
<matp> Just took a quick glance, I think you've only defined a reader for seconds with attr_reader?
Suchit has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
<matp> attr_reader only gives you a seconds method, if you want seconds= you can add attr_writer or you can use attr_accessor to get both.
yatish27 has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
Suchit has quit [Ping timeout: 244 seconds]
sepp2k has quit [Read error: Connection reset by peer]
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
dagda1 has joined #ruby-lang
amsi has quit [Ping timeout: 244 seconds]
migbar has quit [Ping timeout: 245 seconds]
<dkoubs> matp thanks! for some reason that doesnt work either. I dont understand it.
ItSANgo has quit [Quit: Leaving...]
elia has quit [Quit: Computer has gone to sleep.]
fusillicode has joined #ruby-lang
<matp> I don't have rspec installed but I have a seconds= if I replace attr_reader with attr_accessor.
enebo has joined #ruby-lang
stef_204 has joined #ruby-lang
hellangel7 has quit [Remote host closed the connection]
DEac- has joined #ruby-lang
jds has quit [Quit: Connection closed for inactivity]
gianlucadv_ has quit [Ping timeout: 260 seconds]
Voker57 has joined #ruby-lang
chills42 has quit [Ping timeout: 244 seconds]
yatish27 has quit [Remote host closed the connection]
hotpancakes has quit [Remote host closed the connection]
oleo__ has joined #ruby-lang
oleo is now known as Guest94473
ItSANgo has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oleo__ has quit [Read error: Connection reset by peer]
tenderlove has quit [Quit: Leaving...]
Guest94473 has quit [Ping timeout: 272 seconds]
finitoo has quit [K-Lined]
Squarepy has quit [Quit: Leaving]
dagda1_ has joined #ruby-lang
oleo__ has joined #ruby-lang
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
oleo__ is now known as oleo
ledestin has quit [Ping timeout: 244 seconds]
DEac- has quit [Ping timeout: 245 seconds]
skammer has joined #ruby-lang
<dkoubs> matp I am new to ruby, how do I run this spec without rspec? Thanks for all your help
momomomomo has joined #ruby-lang
<matp> I didn't, I was just testing your class in irb.
jbardin has quit [Quit: jbardin]
nertzy2 has joined #ruby-lang
ledestin has joined #ruby-lang
<dkoubs> oh i see. Thanks matp
postmodern has joined #ruby-lang
futilegames has quit [Quit: futilegames]
hellangel7 has joined #ruby-lang
yalue has quit [Quit: Leaving]
forgottenleaf has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
banister_ has joined #ruby-lang
banister has quit [Ping timeout: 258 seconds]
solars has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
dr_toboggan has joined #ruby-lang
nertzy2 has quit [Quit: This computer has gone to sleep]
forgottenleaf has joined #ruby-lang
Johz has quit [Quit: Leaving]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
relix has joined #ruby-lang
imkmf has quit [Ping timeout: 246 seconds]
jbardin has joined #ruby-lang
migbar has joined #ruby-lang
<klmlfl> Hey all, can someone tell me how to fix this code so that i can get a T/F for each element in arr1 compared to the respective (same index) element in array 2: https://gist.github.com/anonymous/fbf56ebec4e14f8c2421
old_black has joined #ruby-lang
<apeiros> klmlfl: strand1.chars.zip(strand2.chars).map { |a,b| a == b }
<klmlfl> apeiros: can you tell me if I can do it my way
<klmlfl> like minimal use of fancy methods
<apeiros> define "fancy method"
<klmlfl> .zip .map
<apeiros> and which attribute makes them fancy?
<centrx> those are pretty core normal Ruby
<apeiros> they're both core methods
<klmlfl> apeiros: to someone brand new to Ruby they are fancy
<centrx> klmlfl, You can write a while loop with indexes, access each array like arr1[i] and arr2[i]
<klmlfl> centrx: something like that would be cool.
<apeiros> klmlfl: to someone brand new to ruby, all methods are fancy
<apeiros> klmlfl: so that's not really an argument
<centrx> klmlfl, That is basically what the zip does, it puts the values with the same indexes side by side
yatish27 has joined #ruby-lang
<klmlfl> ok
<klmlfl> centrx: let me think through your proposed solution.
<klmlfl> centrx: i need more loops and conditionals practice any
<klmlfl> anyway*
jkyle has quit [Remote host closed the connection]
skammer has quit [Ping timeout: 240 seconds]
lun__ has joined #ruby-lang
imkmf has joined #ruby-lang
<dr_toboggan> so, the answer on this is kind of off (for my purposes anyway): https://stackoverflow.com/questions/7958594/how-to-run-a-ruby-script-within-bundler-context
migbar has quit [Ping timeout: 260 seconds]
<dr_toboggan> is there any easy way to just run a ruby script and have it pick up the bundler environment?
cmhobbs has joined #ruby-lang
<dr_toboggan> like: ../foo/bar/whatever.rb
cmhobbs has quit [Client Quit]
lun_ has quit [Ping timeout: 258 seconds]
cmhobbs has joined #ruby-lang
cmhobbs has joined #ruby-lang
cmhobbs has quit [Changing host]
<centrx> dr_toboggan, some kind of #! line at the top of your script file would do it
<centrx> dr_toboggan, This tells the shell how to run the file
<dr_toboggan> hmm, let me give that a try
<wallerdev> yeah dont forget to chmod +x after too
<dr_toboggan> oh yeah, no, i had the script running
<dr_toboggan> i just need root to be able to run it from anywhere
<wallerdev> #!/usr/bin/env ruby
yatish27_ has joined #ruby-lang
<wallerdev> probably
<dr_toboggan> but i would prefer to avoid having to do: cd directory ; ./script.rb
<dr_toboggan> it's not picking up on the gemfile
<wallerdev> ohh bundler
<dr_toboggan> there are environment variables and things that'll work. i'm just wondering if this is a common occurence
<centrx> dr_toboggan, you could also make a shell script that handles that set-up and then runs/passes off to the ruby script
<dr_toboggan> yeah, that's probably what i'll end up doing
<dr_toboggan> ok, thanks
r0bby_ has joined #ruby-lang
r0bby_ has quit [Changing host]
r0bby_ has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 258 seconds]
ikrima has joined #ruby-lang
yatish27 has quit [Ping timeout: 272 seconds]
shinnya has joined #ruby-lang
Blaguvest has quit []
cmhobbs has quit [Ping timeout: 272 seconds]
mistym has quit [Remote host closed the connection]
spuk has quit [Read error: Connection reset by peer]
old_black has left #ruby-lang [#ruby-lang]
karamazov has quit [Remote host closed the connection]
hotpancakes has joined #ruby-lang
hotpancakes has quit [Ping timeout: 272 seconds]
cmhobbs has joined #ruby-lang
<klmlfl> centrx: i found another way
<centrx> eh?
<klmlfl> centrx: srry. i was in a moment of excitement. https://gist.github.com/anonymous/38a08913bbe5ffb21307
<klmlfl> centrx: i found another way to do it is all i meant to say.
<centrx> I see yes
<klmlfl> centrx: thanks for your help.
<klmlfl> :)
<centrx> good work
<centrx> you should think about sometime figuring how this solution equates to the fancy Ruby operators like zip and map
pr0ton has joined #ruby-lang
dagda1_ has quit [Ping timeout: 272 seconds]
amsi has joined #ruby-lang
solars has quit [Ping timeout: 260 seconds]
dagda1 has joined #ruby-lang
dkoubs has left #ruby-lang [#ruby-lang]
<klmlfl> centrx: i tried strand1.chars.zip(strand2.chars).map {|a,b,| a !=b}
karamazov has joined #ruby-lang
<klmlfl> apeiros: ^
<klmlfl> centrx: apeiros: The thing is I wanted to avoid the extra step of counting the Falses
<klmlfl> centrx: apeiros: can either of you guys show me how I can edit the above line to give me a number (tally of falses) instead of true or false. that would look better i think.
<centrx> klmlfl, use #count instead of #map
<centrx> klmlfl, it's similar to what you did above, except the combined/composed array is pre-built before the map/count
hotpancakes has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> klmlfl: well, your question was: "so that i can get a T/F for each element"
<apeiros> and the rest - what centrx said
tkuchiki has joined #ruby-lang
Missphoenix has joined #ruby-lang
enebo has quit [Quit: enebo]
bin7me has quit [Quit: Leaving]
dagda1 has joined #ruby-lang
Miphix has quit [Ping timeout: 258 seconds]
ruby-lang611 has quit [Ping timeout: 246 seconds]
spuk has joined #ruby-lang
MichD is now known as michd
hotpancakes has quit [Remote host closed the connection]
ledestin has quit [Ping timeout: 245 seconds]
spuk has quit [Read error: Connection reset by peer]
isjaylee has joined #ruby-lang
<klmlfl> apeiros: true. sorry
<klmlfl> apeiros: is .zip a method available to strings?
<klmlfl> in the Ruby docs it doesnt appear to be.
<apeiros> klmlfl: no
<apeiros> it's on Enumerable
<apeiros> and String is not Enumerable
<apeiros> that's why I used .chars
<klmlfl> but 'string'.methods shows that it is
forgottenleaf has quit [Ping timeout: 260 seconds]
<klmlfl> 'string'.methods.sort will make it super easy to find ;)
spuk has joined #ruby-lang
<klmlfl> apeiros: can you explain that to me please.
<apeiros> hm? how does 'string'.methods show that it is Enumerable?
<apeiros> >> "string".is_a?(Enumerable)
<eval-in_> apeiros => false (https://eval.in/199098)
<apeiros> >> ["some", "array"].is_a?(Enumerable)
<eval-in_> apeiros => true (https://eval.in/199099)
hotpancakes has joined #ruby-lang
<klmlfl> >> "string".is_a?(Enumerable)
<eval-in_> klmlfl => false (https://eval.in/199100)
<klmlfl> i dont understand.
<centrx> >> "string".each_char.class
<eval-in_> centrx => Enumerator (https://eval.in/199101)
<centrx> >> "string".chars.class
<eval-in_> centrx => Array (https://eval.in/199102)
__butch__ has quit [Quit: Leaving.]
migbar has joined #ruby-lang
havenwood has joined #ruby-lang
<apeiros> klmlfl: you say 'string'.methods shows it was enumerable - I ask you how it shows that
<apeiros> and the code above is ruby saying that string is not enumerable
hotpancakes has quit [Remote host closed the connection]
whippythellama has quit [Quit: whippythellama]
<klmlfl> >> "string".methods.sort
<eval-in_> klmlfl => [:!, :!=, :!~, :%, :*, :+, :<, :<<, :<=, :<=>, :==, :===, :=~, :>, :>=, :[], :[]=, :__id__, :__send__, :ascii_only?, :b, :between?, :bytes, :bytesize, :byteslice, :capitalize, :capitalize!, :casecmp, : ... (https://eval.in/199103)
<klmlfl> "string".respond.to?('zip')
<klmlfl> >> "string".respond.to?('zip')
<eval-in_> klmlfl => undefined method `respond' for "string":String (NoMethodError) ... (https://eval.in/199104)
<klmlfl> >> "string".respond_to?('zip')
<eval-in_> klmlfl => false (https://eval.in/199105)
hotpancakes has joined #ruby-lang
migbar has quit [Ping timeout: 272 seconds]
hotpancakes has quit [Read error: Connection reset by peer]
hotpancakes has joined #ruby-lang
<klmlfl> >> "string".respond_to?('zip')
<eval-in_> klmlfl => false (https://eval.in/199106)
<klmlfl> apeiros: weird!
<apeiros> yeah, ancient ruby
<klmlfl> oh ok
<apeiros> in 1.8, String had #each and included Enumerable. so yes, in 1.8, strings are enumerable.
<centrx> 2008-05-31 patchlevel 0
<apeiros> as of 1.9, that's no longer true. and if you start with ruby now, you shouldn't use anything before 2.1 really.
pr0ton has quit [Quit: pr0ton]
DEac- has joined #ruby-lang
<centrx> 1.9 has a lot of changes from 1.8, that is the seismic split
<apeiros> yes, within the last ten years, the change from 1.8 to 1.9 the largest by quite a margin.
emmesswhy has joined #ruby-lang
skammer has joined #ruby-lang
elia has joined #ruby-lang
hotpancakes has quit [Remote host closed the connection]
<darix> tbh strings still have enumerable parts
<darix> chars, bytes
<darix> codepoints, lines
<centrx> yeah it's enumerable conceptually but not strictly Enumerable
s1kx has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> darix: yes. string has methods which return enumerable objects.
<apeiros> but string itself is not.
isjaylee has quit [Quit: Page closed]
r0bby_ has quit [Ping timeout: 246 seconds]
<klmlfl> i see
cmhobbs has quit [Remote host closed the connection]
skammer1 has joined #ruby-lang
existensil has joined #ruby-lang
skammer has quit [Ping timeout: 250 seconds]
hagabaka has quit [Ping timeout: 250 seconds]
<klmlfl> anyone know of a site beter than http://repl.it for practicing ruby exercises
<centrx> irb on your local machine :)
<klmlfl> basically something as fast with newer ruby
<klmlfl> yea i know but sometimes thats not do-able
<klmlfl> like at work
<klmlfl> on my lunch break
<klmlfl> yea of course irb is awesome. but thats when i have access to my machine
<centrx> ok we believe you
hagabaka has joined #ruby-lang
<klmlfl> lol
<klmlfl> im on my lunch break -- hurry!
<klmlfl> ;)
banister has joined #ruby-lang
banister_ has quit [Ping timeout: 272 seconds]
chouhoulis has quit [Ping timeout: 260 seconds]
torrieri_ has joined #ruby-lang
torrieri has quit [Read error: Connection reset by peer]
<klmlfl> @here, how important is a good memory for being a good programmer?
<pipework> klmlfl: Good memory is essential Imagine only having 32kb of ram.
<centrx> RAM, hard drive, wetware?
<klmlfl> i find myself always having to go back to code that i previously wrote -- even it was just seconds ago -- to make sure im doing something right / not wrong
<apeiros> klmlfl: it definitively helps
<apeiros> it saves you time navigating docs and code
<klmlfl> for example..
<apeiros> but it's not an essential IMO
<klmlfl> strand1.chars.zip(strand2.chars).count { |a,b| a!=b }
<klmlfl> i had to go back to ruby docs and see what .chars does
<klmlfl> and then how .zip affects that
<centrx> yeah I do that all the time
<zenspider> klmlfl: but... naming...
<zenspider> it DESCRIBES what it does. that's the point of good api
<zenspider> graph version 2.7.1 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2014/09/graph-version-2-7-1-has-been-released.html
<centrx> The real memory you need is being able to hold the objects you created in your headin your head
<klmlfl> and then when i was analyzing the arguments(strand2.chars) i had to go back and be like.. um wait what does .chars do again lol
<klmlfl> well, not really, but something like that
<apeiros> klmlfl: of course you'll do that a lot at the beginning
<apeiros> klmlfl: but think about it - how many words in the english language do you know? and then compare it to the couple of dozen words you need to know in a programming language.
<apeiros> and add on top of that what zenspider said - the methods usually have quite mnemonic names
yatish27_ has quit [Ping timeout: 246 seconds]
<apeiros> but take it as a reason for why you should build predictable, consistent APIs. it helps you cut down such cognitive costs.
<klmlfl> Ok, i just wanted to make sure i'm not way behind on the inherent skills than you all
<zenspider> minitest-gcstats version 1.1.0 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2014/09/minitest-gcstats-version-1-1-0-has-been-released.html
<klmlfl> because apeiros gave me the solution to my problem in a jiffy
<klmlfl> and im over here thinking like.. um wow, you must be able to do a lot of this in your head
<apeiros> klmlfl: I'm coding for >20y
<centrx> ^
<apeiros> I touched my first computer when I was five.
<klmlfl> yikes
<centrx> Reader Rabbit
<klmlfl> I've been a power user for almost 18
<klmlfl> windows mostly
<apeiros> you're lost :-p
<klmlfl> im kind of mad at myself that i didn't start programming earlier
<apeiros> just kidding
<klmlfl> i didnt have friends -- i would come home and use the computer for hoursss
<klmlfl> from 6th grade
<klmlfl> i learned the ins and outs of windows and html and stuff
<centrx> you could have programmed some friends!
<klmlfl> i never really *knew what programming was
<klmlfl> *really knew*
Johz has joined #ruby-lang
<klmlfl> yea, those were my aol bots loll
<klmlfl> eh, anyway. Ruby makes me happy :)
<klmlfl> I work in a rails shop
<klmlfl> PT
<klmlfl> and i may become full time soon
<klmlfl> QA dude :)
<apeiros> good luck then
<klmlfl> pardon the broken sentences.
<klmlfl> Yea, I hope to move to a jr. rails dev
<klmlfl> I was offered the opportunity actually
<klmlfl> the CTO said that he would move me to that position if I pick up some of the basics by the end of the year before they start hiring again
<klmlfl> Ruby makes sense to me (although I need quite a bit of practice) .. Rails is umm. too magic-y
<klmlfl> its like "whoa.. i just typed in rails new whatever.. and all this stuff came out of nowhere! what do i do with it?"
<apeiros> rails is quite a universe on its own
<apeiros> don't be intimidated by it. you can't learn all of it at once. you can get productive quickly. but it'll take quite long to get a "full" picture
<klmlfl> in theory if i wanted to move into that jr rails position - which would help me and my family out a lot - should I be learning more Ruby stuff or move Web dev stuff like Javascript, html, css
emmesswhy has quit [Quit: This computer has gone to sleep]
mistym has joined #ruby-lang
<klmlfl> move to*
banister is now known as banisterfiend
<pipework> klmlfl: Depends on whether you're getting into a 'full stack' role or a more front or back end role.
<klmlfl> There is a ton of material out on the web for all these thigs. i just kind of stuck to ruby because its makes me happy lol
migbar has joined #ruby-lang
<klmlfl> Oh, definitely Jr. regardless.. I doubt it will be full stack
<klmlfl> Probably back end though
<klmlfl> I say that because our UI team isn't based in my office theyre remote in Denver
<klmlfl> pipework: if its back end or full stack .. any recommendations?
<centrx> klmlfl, Learn as much as you can, both areas of skill are useful
<pipework> klmlfl: Well, if it's backend, you can pretty much just worry about making APIs in rails without any browser frontend work necessary.
<pipework> klmlfl: Not to say that you shouldn't learn frontend more, it's just prioritizing.
ledestin has joined #ruby-lang
<pipework> If it's frontend or 'full stack', you typically need to know rails and browser stuff.
skammer1 has quit [Ping timeout: 258 seconds]
<klmlfl> Ok.
<klmlfl> So to give you a bit of background
<klmlfl> I have read Learn to Program (chris pine)
<klmlfl> and i understand everything in that book
emmesswhy has joined #ruby-lang
lun__ has quit [Remote host closed the connection]
chills42 has joined #ruby-lang
<klmlfl> that is namely from variables to methods to classes and objects and proc/lamz (need a little more practice on the procs n stuff)
<centrx> and then
<klmlfl> I know that I can come up with solutions that will be required from me at my work place. The work will be trivial mostly. Make sure this matches that. Move these here and there.
<pipework> klmlfl: The question to ask, I guess, is "Does the position I'm hoping for require any frontend work?".
<klmlfl> The question for me is what is the connecting point between Ruby and Rails
<pipework> If so, then you might want to determine how much frontend work are you looking at and what kind of output is expected.
<klmlfl> When I think about rails stuff..its totally foreign
<klmlfl> i'm not dealing with logic puzzles anymore
<pipework> klmlfl: Rails is ruby for prototyping web applications and beyond.
<klmlfl> its more like.. files n crap
<klmlfl> right.
emmesswhy has quit [Client Quit]
<klmlfl> pipework: What is a good starting point for me to delve into Rails territory you think?
migbar has quit [Ping timeout: 245 seconds]
<klmlfl> And I have to be honest. I hate HTML stuff
<pipework> klmlfl: The rails getting started guide or michael hartl's guide.
<klmlfl> pipework: i hate css and html. its just so boring to look at
<pipework> I'd also suggest you look for more backend work than full stack or frontend. If you prefer backend, then just level up your backend skills first.
<klmlfl> its easy to understand..just.so.boring
<klmlfl> i started messing with HTML and CSS before ruby.. years back. like early 2000's
karamazov has quit [Remote host closed the connection]
<klmlfl> never really liked it.
chills42 has quit [Ping timeout: 244 seconds]
<klmlfl> pipework: Great. so what does that mean - as far as what I should pick up to learn
karamazov has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
<pipework> klmlfl: Probably the same things I mentioned before. I'd caution you to learn rails and take that knowledge and put it in a rails context. Keep leveling up your ruby knowledge as well.
<pipework> klmlfl: my favorite ruby book for new people is the first half of the metaprogramming ruby book.
<klmlfl> pipework: oh and the awesome thing is we have that book at wokr
<klmlfl> the one by Pablo Perrotta right
karamazov has quit [Ping timeout: 258 seconds]
<pipework> yeah
kgrz has joined #ruby-lang
hotpancakes has joined #ruby-lang
btiefert has joined #ruby-lang
zenspider has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 240 seconds]
<klmlfl> pipework: seems a little bit above my head
elia has quit [Quit: Computer has gone to sleep.]
kgrz has quit [Ping timeout: 260 seconds]
|jemc| has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
emmesswhy has joined #ruby-lang
tkuchiki has joined #ruby-lang
<pipework> klmlfl: The first half is about the basics of ruby's object model. It's essential to understand.
<pipework> Don't worry about the second half as much.
<klmlfl> i dont know what a module is
<klmlfl> i dont know much about inheritance
<klmlfl> this makes no sense to me: "bob can now subclass Entity to map to a specific table. For example, class Movie maps to a database table named movies'"
<centrx> what is bob
seanosaur has joined #ruby-lang
<klmlfl> this is foreign: attr_reader :table, :ident
<klmlfl> Bob is a dude
tkuchiki has quit [Ping timeout: 245 seconds]
<klmlfl> ok so yea, i need a primer before getting to this. lol
<klmlfl> getters setters
sarkyniin has quit [Ping timeout: 258 seconds]
karamazov has joined #ruby-lang
imkmf has quit [Quit: Textual IRC Client: www.textualapp.com]
nonmadden has quit [Quit: Leaving...]
klmlfl has quit [Ping timeout: 258 seconds]
karamazov has quit [Remote host closed the connection]
karamazov has joined #ruby-lang
elia has joined #ruby-lang
banister has joined #ruby-lang
yatish27 has joined #ruby-lang
Johz has quit [Quit: Leaving]
bantic has quit [Quit: bantic]
bruno- has joined #ruby-lang
marr has quit [Ping timeout: 258 seconds]
karamazov has quit [Ping timeout: 245 seconds]
mistym has quit [Ping timeout: 245 seconds]
banisterfiend has quit [Ping timeout: 246 seconds]
mistym has joined #ruby-lang
danijoo_ has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
memocool has joined #ruby-lang
bruno- has quit [Ping timeout: 272 seconds]
tkuchiki has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
skammer1 has joined #ruby-lang
douglass_ has joined #ruby-lang
elia has joined #ruby-lang
<douglass_> is this the right place to go with a question about installing rmagick on debian?
migbar has joined #ruby-lang
skammer1 has quit [Ping timeout: 272 seconds]
torrieri_ has quit [Quit: Leaving...]
hotpancakes has quit []
zenspider has joined #ruby-lang
<zenspider> hoe version 3.13.0 has been released! | software releases by ryan davis - http://t.co/7DllFPwX1f
<douglass_> I get the following in my mkmf.log: "gcc -E -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -I/usr/include/GraphicsMagick -fopenmp -Wall -g -fno-strict-aliasing -O2 -Wall -pthread conftest.c -o conftest.i"
<douglass_> conftest.c:3:29: fatal error: wand/MagickWand.h: No such file or directory #include <wand/MagickWand.h>
<douglass_> I have a file /usr/include/ImageMagick-6/wand/MagickWand.h but evidently it is not looking for it there
<zenspider> doesn't have a -I for that dir
<zenspider> minitest version 5.4.2 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2014/09/minitest-version-5-4-2-has-been-released.html
migbar has quit [Ping timeout: 245 seconds]
<douglass_> how do I add it? alternatively, is there a better way to intall imagemagick than installing the various relevant debian packages?
<douglass_> is --with-opt-include=${opt-dir}/include the thing I want?
x0f has quit [Ping timeout: 246 seconds]
elia has quit [Quit: Computer has gone to sleep.]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
stef_204 has joined #ruby-lang
x0f has joined #ruby-lang