This tutorial will show you how to install Ruby 1.9 with rbenv, but you can alternatively use RVM. The best way to upgrade is to install Ruby via a package manager. The default Ruby on Mac OS, version 1.8.7, is outdated for most Rails projects. You are now ready to install packages on your Mac: Restart your shell and run brew doctor again. The first time you run it, you will get an error like the following:Įrror: /usr/bin occurs before /usr/local/binĮdit your /etc/paths file to look like this: Once you’ve installed Homebrew, run the following command to make sure it is working correctly: Follow the simple instructions here to install it on your system. You will need it to get the rest of the packages in this guide. Homebrew is the best package manager for Mac OS X. This guide will show you how to setup your Mac environment for optimal Ruby on Rails development.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |