If you are using an earlier version of Mac OS like 10.3 or 10.4, try following any directions at Ruby Gems to see if your version is still supported officially or not, plus there many community workarounds and tips for those wishing to still make use of OS X or Pure Darwin sometimes registers here too on older machines or newer machines both.
Test to ensure that the gem command is in your path: $ which gem If the command is not found, then update your PATH variable accordingly.
For this new project I wanted to have a clean installation for Ruby and Rails.
It should remove all previous installed gems and downloaded libraries so that I now exactly what will happen.
It’s also possible that you’ll have to install developer tools on newer versions of Windows.)As this book was going to print, an initial version of Rails Installer appeared for Mac OS X at You will eventually also need to install SQLite, My SQL, or another relational database, though SQLite is already present on the Mac and in many Linux distributions.
As this book was going to print, an initial version of Rails Installer appeared for Mac OS X at
Can somebody point me to tutorial or explain the best method to update Ruby on my mac from 1.8 to 1.9.2?It can be installed by running Setting all of this up on Mountain Lion takes a lot of patience.If you run into an error "Error running 'env GEM_PATH=/Users/..." it's not your paths, and you will see in the log that it's that openssl (which is probably installed) is busted in RVM and they provide a page on working through it rvm.io/packages/opensslwas doing : installing to another location and setting up the path there to my environment variable ...It's worth checking out both and seeing which works best for your needs.( installs the current stable release - at time of writing ruby-2.3.1 - please update this wiki when new versions released ) Note on Compiling Ruby: In my case I also had to install Homebrew to get the I needed (RSpec) which in turn forces you to install Xcode (if you haven't already) https://itunes.apple.com/us/app/xcode/id497799835 AND/OR install the GCC package from: https://github.com/kennethreitz/osx-gcc-installer to avoid errors running " you can choose to install only the Xcode command line tools instead of the whole Xcode package, which comes with gcc and lots of other things you might need for building packages.