rmagickをインストールしてもインストールした情報が読み込まれずに結構はまってしまいました

解決方法

まずはrmagickをアンインストールします
その後、bundle installして以下のような画面が出てこればおっけーです!

$ rbenv global system
$ gem list 
$ sudo gem uninstall rmagick
$ bundle install
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Rubygems 2.0.14.1 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
Using rake 10.5.0
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using rack 1.5.5
Using mime-types 2.99
Using arel 5.0.1.20140414130214
Using debug_inspector 0.0.2
Using byebug 8.2.2
Using coderay 1.1.0
Using coffee-script-source 1.10.0
Using execjs 2.6.0
Using thor 0.19.1
Using deep_merge 1.0.1
Using daemons 1.2.3
Using hike 1.2.3
Using multi_json 1.11.2
Using kgio 2.10.0
Using method_source 0.8.2
Using mini_portile2 2.0.0
Using multipart-post 2.0.0
Using pg 0.18.4
Using phantomjs 1.9.8.0
Using slop 3.6.0
Using yard 0.8.7.6
Using bundler 1.13.7
Using tilt 1.4.1
Using raindrops 0.15.0


Your user account isn't allowed to install to the system Rubygems.
  You can cancel this installation and run:

      bundle install --path vendor/bundle

  to install the gems into ./vendor/bundle/, or you can enter your password
  and install the bundled gems to Rubygems using sudo.

  Password: 
Installing rmagick 2.14.0 with native extensions
Using sass 3.2.19
Using spring 1.6.3
Using sqlite3 1.3.11
Using rdoc 4.2.1
Using tzinfo 1.2.2
Using rack-test 0.6.3
Using mail 2.6.3
Using binding_of_caller 0.7.2
Using coffee-script 2.4.1
Using uglifier 2.7.2
Using nokogiri 1.6.7.2
Using pry 0.10.3
Using sprockets 2.12.4
Using unicorn 5.0.1
Using sdoc 0.4.1
Using activesupport 4.1.14.1
Using pry-byebug 3.3.0
Using pry-doc 0.8.0
Using pry-rails 0.3.4
Using pry-stack_explorer 0.4.9.2
Using actionview 4.1.14.1
Using activemodel 4.1.14.1
Using config 1.0.0
Using delayed_job 4.1.1
Using jbuilder 2.4.0
Using actionpack 4.1.14.1
Using activerecord 4.1.14.1
Using actionmailer 4.1.14.1
Using railties 4.1.14.1
Using sprockets-rails 2.3.3
Using delayed_job_active_record 4.1.0
Using coffee-rails 4.0.1
Using jquery-rails 3.1.4
Using rails 4.1.14.1
Using sass-rails 4.0.5
Bundle complete! 22 Gemfile dependencies, 67 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.

参考にした記事

解決に導いてくれた記事

How can I correctly uninstall gems from OSX’s system ruby 1.8.x while using rbenv + different ruby version?

試したこと一覧の記事

ImageMagick unable to start because of incompatible version of liblzma

RMagick complaining about libMagickCore.5.dylib not found in OSX
Rails – Can’t install RMagick 2.16.0. Can’t find MagickWand.h
RMagick installation: Can’t find MagickWand.h
Can’t install RMagick 2.13.1. Can’t find MagickWand.h.
RMagick errors when running Rake Tasks in OS X Maverick
Mountain Lionにアップグレード後にRMagickがエラーになる場合の対応
rmagickのインストールに失敗したときの対処方法
Library not loaded: /usr/local/lib/libMagickCore.4.dylib (LoadError) #9

warning: already initialized constant APP_PATH #259

bin/rails:6: warning: already initialized constant APP_PATH

コメントをどうぞ

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

CAPTCHA