Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't install Ruby on OS X
    primarykey
    data
    text
    <p>I'm trying to follow the installation instructions for Ruby on Rails <a href="http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/" rel="nofollow noreferrer">from Hivelogic.com</a>. I've done this before on previous installs of OSX without trouble. I'm having trouble this time installing on Snow Leopard. </p> <p>At the end of the "make" step installing Ruby, I get a number of errors related to readline. Not sure if this matters, but here they are:</p> <pre><code>readline.c: In function ‘username_completion_proc_call’: readline.c:730: error: ‘username_completion_function’ undeclared (first use in this function) readline.c:730: error: (Each undeclared identifier is reported only once readline.c:730: error: for each function it appears in.) make[1]: *** [readline.o] Error 1 make: *** [all] Error 1 </code></pre> <p>When I try to sudo make install, I get more errors. When I "which ruby", I get /usr/local/bin/ruby which is correct. But as soon as I try to use ruby, I get this message: "You need the Rosetta software to run ruby. The Rosetta installer is in Optional Installs on your Mac OS X installation disc." That's weird, but I installed Rosetta, and was able to proceed. </p> <p>Except: I still have Ruby1.8.6 installed (not 1.8.7). "ruby -v" reports 1.8.6. 1.8.6 was the version that was migrated (I assume) from the Leopard install on this machine. In other words: where's my new Ruby? How do I get 1.8.7 (required by the current version of Rails) installed correctly?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload