<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]
<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?
<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]
<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>
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
<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
<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
<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
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