Ich versuche, ein Projekt auf meinem lokalen Computer auszuführen. Ich habe Ruby und Rails auf meinem Mac OS System installiert. Es funktioniert einwandfrei. Ich kann ein neues Projekt erstellen und es richtig ohne Fehler ausführen, aber wenn ich versuche, das vorhandene Projekt auszuführen, sagt es, dass wir bundle install
haben müssen. Wenn ich diesen Befehl ausführen, bekomme ich folgende Fehlermeldung:Fehler beim Installieren von rmagick: FEHLER: Fehler beim Erstellen der gem nativen Erweiterung
"An error occurred while installing rmagick (2.13.2), and Bundler cannot continue.
Make sure that `gem install rmagick -v '2.13.2'` succeeds before bundling."
Als ich gem install rmagick -v '2.13.2'
führen Sie es mir die folgende Fehlermeldung gibt:
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-1.9.3-p392/bin/ruby extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for gcc-4.2... yes
checking for Magick-config... no
Can't install RMagick 2.13.2. Can't find Magick-config in /usr/local/rvm/gems/ruby-1.9.3-p392/bin:/usr/local/rvm/gems/[email protected]/bin:/usr/local/rvm/rubies/ruby-1.9.3-p392/bin:/usr/local/rvm/gems/ruby-1.9.3-p392/bin:/usr/local/rvm/gems/[email protected]/bin:/usr/local/rvm/rubies/ruby-1.9.3-p392/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/opt/sm/pkg/active/sbin
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/rvm/rubies/ruby-1.9.3-p392/bin/ruby
Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.3-p392/gems/rmagick-2.13.2 for inspection.
Results logged to /usr/local/rvm/gems/ruby-1.9.3-p392/gems/rmagick-2.13.2/ext/RMagick/gem_make.out
ich gesucht habe und keine Antwort überall gefunden werden.
Sie müssen die rmagick dev-Bibliotheken installieren, wie in [http://stackoverflow.com/questions/5201689/rmagick-gem-install-cant-find-magick-config] beantwortet. –