/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby checking for Ruby version = 1.8.5... If you want to pull in the entire world of open source software and want every package, then you’re better off with Mac Ports or Fink. Can't find Magick-config in /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin:~/bin:/usr/local/bin:/usr/local/mysql/bin:/usr/local/pear/bin *** failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. --curdir --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1 for inspection.Ruby Gems from the main menu, and select the Ruby Platform to which you want to install the gem.
NOTE: Rbenv is incompatible with RVM because RVM overrides the First you’ll need to install a C compiler and some other command line tools to build Ruby from source.
Rbenv is a lightweight alternative to Ruby Version Manager (RVM).
Rbenv does not include a way to manage gems, like with RVM, though most people prefer to use Bundler gem management instead. Rbenv doesn’t work on Windows (and isn’t really necessary on Windows as there is no system Ruby on Windows).
It can be handy to have Xcode as well, but it is a rather large multi-gigabyte download and not really necessary for Ruby development.
$ sudo gem install rmagick Building native extensions. ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. Results logged to /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/ext/RMagick/gem_Homebrew is a reaction to the complexity of Mac Ports. Homebrew appears to be targeted more at individual packages.
Installing the latest version of Ruby Ruby is an object oriented scripting language that the Rails framework is built on top of.
I’m running OSX 10.6 (Snow Leopard) which comes with Ruby 1.8.7 , which is good enough to run Rails 3, but not preferred.
Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=$/include --with-opt-lib --without-opt-lib=$/lib --with-make-prog --without-make-prog --srcdir=.
But if you’re looking for the occasional tool or utility, Homebrew is for you.
Mac OS X 10.5 (Leopard) comes with Ruby Gems (and Ruby on Rails), so it is recommended to use them.
If you need to install from the source code distribution, use the following commands in the source code directory.