Hi, trying to get ror-e up on Cloud9 IDE. I cloned from
github and have been following the getting started instructions. I seem to be stumbling on getting rmagick installed correctly.
I managed to get imagemagick installed following these
helpful instructions on StackOverflow, and confirmed that it was installed as follows:
$ identify -version
Version: ImageMagick 6.7.7-10 2014-03-06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
Still, when I run $ bundle install, I get the following error:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-2.1.5/bin/ruby -r ./siteconf20160608-66745-1rggucw.rb extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... no
Can't install RMagick 0.0.0. Can't find Magick-config in /usr/local/rvm/gems/ruby-2.1.5/bin:/usr/local/rvm/gems/ruby-2.1.5@global/bin:/usr/local/rvm/rubies/ruby-2.1.5/bin:/usr/local/rvm/bin:/home/ubuntu/.nvm/versions/node/v4.4.5/bin:/mnt/shared/bin:/home/ubuntu/workspace/node_modules/.bin:/home/ubuntu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/mnt/shared/sbin:/opt/gitl:/opt/go/bin:/mnt/shared/c9/app.nw/bin
I've tried the following configurations in my GemFile:
- The default from the github clone: gem 'rmagick', '= 2.13.3', :require => 'RMagick'
- And another one that was suggested by another member of this group: gem 'rmagick', '~> 2.13.3', :platforms => :ruby
- note that I've tried with both 2.13.3 and 2.13.2
No luck in getting it up and running.
Any help is appreciated!