Pedro Assunção

Installing Ruby on Rails on OSX (snow leopard)

Just some notes i might update while going through the procedure.

To start with, gem might complain that bundler requires a higher version. Something like this might happen, when you run “sudo gem install rails”:

ERROR:  Error installing bundler:
bundler requires RubyGems version >= 1.3.6
ERROR:  Error installing bundler:        bundler requires RubyGems version >= 1.3.6

If you run into that, you need to ask gem to update itself:

sudo gem update --system

Then rails’ installation should work. Actually i get errors installing the documentation for some gems. Should look into that…

Related:

  1. Sproutcore on OSX snow leopard It recently came to my attention the existence of this...
  2. Recover iSync after removing it from OSX One of these days, accidentally, I removed isync from my...


Categorised as: computers, observations, software development, tips


5 Comments

  1. Gustavo Mendoza says:

    Thanks! it worked perfect!

  2. Agreed, perfect. Worked on my 2010 Macbook Air running 10.6.8. I had to install XCode to fix my other error related to sqllite.

  3. Greg Werner says:

    Yep,

    Installing ri documentation for rails-3.0.9…
    file 'lib' not found

    and

    Installing RDoc documentation for rails-3.0.9…
    file 'lib' not found

    are quite common, there seem to be lots of posts regarding this issue, as it leads to sqlite3 errors, among others. If I find anything I'll let you know.

  4. ares says:

    god bless you

  5. Jman says:

    Thanks! that was excatly what I was looking for !

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>