[Locomotive-users] rmagick not working
Steven Talcott Smith
steve at talcottsystems.com
Sun Jul 23 03:18:11 GMT 2006
I am also having problems getting RMagick working...
I have checked that the appropriate libraries are in place and
ImageMagick was built and installed correctly.
After a successful build of RMagick, this is what I get when I try to
install:
steve at sprezzatura ~/Development/MyApp/vendor/RMagick-1.13.0> sudo
make install
/Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/ruby
setup.rb install
/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/
1.8/i686-darwin8.6.1/rbconfig.rb:7: ruby lib version (1.8.4) doesn't
match executable version (1.8.2) (RuntimeError)
from setup.rb:785:in `require'
from setup.rb:785:in `load_rbconfig'
from setup.rb:768:in `invoke'
from setup.rb:1578
make: *** [install] Error 1
steve at sprezzatura ~/Development/MyApp/vendor/RMagick-1.13.0> which ruby
/Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/ruby
steve at sprezzatura ~/Development/MyApp/vendor/RMagick-1.13.0> `which
ruby` -version
ruby 1.8.4 (2005-12-24) [i686-darwin8.6.1]
-e:1: undefined local variable or method `rsion' for main:Object
(NameError)
steve at sprezzatura ~/Development/MyApp/vendor/RMagick-1.13.0>
Does anyone have a suggestion? It looks like I am running the
correct ruby version. Where is it picking up this 1.8.2 business?
rbconfig.rb looks for some constant RUBY_VERSION which apparently is
1.8.2. It tests to make sure it is 1.8.4. Where is it getting that?
Here is my environment:
steve at sprezzatura ~/Development/MyApp/vendor/RMagick-1.13.0> env
MANPATH=/sw/share/man:/usr/share/man:/usr/X11R6/man
TERM_PROGRAM=iTerm.app
DYLD_FALLBACK_LIBRARY_PATH=/Applications/Locomotive2/Bundles/
rails112.locobundle/i386/lib
TERM=ansi
SHELL=/bin/bash
PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
OLDPWD=/Users/steve/Development/MyApp
SGML_CATALOG_FILES=/sw/etc/sgml/catalog
USER=steve
SSH_AUTH_SOCK=/tmp/501/nl.uu.phil.SSHAgent.socket
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PATH=/opt/local/bin:/Applications/Locomotive2/Bundles/
rails112.locobundle/i386/bin:/Applications/Locomotive2/Bundles/
rails112.locobundle/i386/sbin:/Users/steve/bin:/usr/local/bin:/usr/
bin:/bin:/usr/sbin:/sbin:/usr/local/mysql/bin
XML_CATALOG_FILES=/sw/etc/xml/catalog
PWD=/Users/steve/Development/MyApp/vendor/RMagick-1.13.0
PS1=\u at sprezzatura \w>
SHLVL=1
HOME=/Users/steve
LOGNAME=steve
INFOPATH=/sw/share/info:/sw/info:/usr/share/info
RUBYLIB=/Applications/Locomotive2/Bundles/rails112.locobundle/i386/
lib/ruby/site_ruby/1.8:/Applications/Locomotive2/Bundles/
rails112.locobundle/i386/lib/ruby/site_ruby/1.8/i686-darwin8.6.1:/
Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/
1.8:/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/
ruby/1.8/i686-darwin8.6.1
SECURITYSESSIONID=598f50
_=/usr/bin/env
More information about the Locomotive-users
mailing list