small medium large xlarge

06 Mar 2013, 01:56
Paul Haddad (1 post)

I do not understand the proper way to update the additional dependencies for OSX after installing rvm and typing “rvm requirements” in section 1.2. I got the following response:

Requirements for osx/10.8/x86_64

NOTE: ‘ruby’ represents Matz’s Ruby Interpreter (MRI) (1.8.X, 1.9.X) This is the original / standard Ruby Language Interpreter ‘ree’ represents Ruby Enterprise Edition ‘rbx’ represents Rubinius

Additional Dependencies: # For update-system: Always update your system first!

For rvm:

Install: bash curl git patch

For ruby:

Install: osx-gcc-installer libksba openssl libreadline git zlib1g libyaml libsqlite3 sqlite3 libxml2 libxslt autoconf libc6 libgdbm ncurses automake libtool bison pkg-config

For jruby:

Install: openjdk ant

How do I go about installing these dependencies? I can’t find any information on the rvm website.

06 Mar 2013, 03:05
Sam Ruby (632 posts)

I’m going to update the instructions in the book to match the following:

While these instructions will currently install Ruby 1.9.3 instead of Ruby 2.0, all of the examples work with Ruby 1.9.3, and this gets you up and running the quickest.

06 Mar 2013, 20:39
Sam Ruby (632 posts)

I checked with Michal Papis (rvm developer) and here is is advice on how to install Ruby 2.0.0 using RVM without needing RailsInstaller:

The next update will contain both set of instructions.

06 Mar 2013, 21:50
Daniel Kehoe (1 post)

Sam, if you want, you could include a link to the article “Installing Rails”:

I kept the article current as many of the developers using the RailsApps examples run into installation issues. It goes into detail and offers depth.

08 Mar 2013, 11:58
Sam Ruby (632 posts)

Daniel, I’m looking into it. We seem to be converging on similar recommendations, but at the moment, my thinking is that we are targetting different audiences. For example, in my Windows instructions, I tell the reader how to open a command window. I’m considering doing likewise for Mac OS X.

I’m more likely to add a link to in my chapter which covers gems as that goes beyond where the book takes you, but at the moment the focus of that page is Rails 3.2.

You must be logged in to comment