User Tools

Site Tools


Sidebar


guides:install:ruby_on_rails_on_mac_os_x

Installing Ruby on Rails on Mac OS X

Make sure you install xCode Tools from your OS X disk.

First update Ruby Gems

sudo gem install rubygems-update
sudo update_rubygems

Then simply re-install Rails to get latest release

sudo gem update
sudo gem update --system
sudo gem install rails

Installing Plugins

Installing Mysql plugin for XAMPP:

sudo gem install mysql -- --with-mysql-dir=/Applications/XAMPP/xamppfiles/bin/

Install Capistrano for Deployments

gem install capistrano
gem install capistrano-ext

Installing Mysql gem for 64bit Arch

sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
guides/install/ruby_on_rails_on_mac_os_x.txt · Last modified: 2016/04/16 16:13 by michaelc