osx 10.8.5 - Ruby on Rails - rmagick error on rails s -
i'm trying run project uses rmagick, bundle
running fine on rails s
get:
=> booting webrick => rails 4.0.3 application starting in development on http://0.0.0.0:3000 => run `rails server -h` more startup options => ctrl-c shutdown server exiting /users/evo/.rvm/gems/ruby-2.1.1/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in `require': dlopen(/users/evo/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-12/2.1.0-static/rmagick-2.13.2/rmagick2.bundle, 9): library not loaded: /usr/local/lib/liblzma.5.dylib (loaderror) referenced from: /usr/local/lib/libmagickcore-6.q16.2.dylib reason: image not found - /users/evo/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-12/2.1.0-static/rmagick-2.13.2/rmagick2.bundle (you may need install rmagick gem)
the error indicates you’re missing dependency on liblzma, in homebrew contained in xz formula. try this:
brew install xz
Comments
Post a Comment