Jump to content

The ultimate community for Ruby on Rails developers.


Is there a tutorial about installing Ruby, Rails on Mac OS X Mavericks

rails mac os X mavericks tutorial

  • Please log in to reply
6 replies to this topic

#1 jim_2002



  • Members
  • 13 posts

Posted 28 December 2013 - 12:14 AM

Hi everyone

Is there a tutorial about  installing Ruby, Rails on Mac OS X Mavericks  ?



#2 Ohm



  • Moderators
  • 529 posts
  • LocationCopenhagen

Posted 28 December 2013 - 01:19 PM   Best Answer

I run Mac OS X myself. I've installed rbenv via homebrew to take care of my Ruby setup.


Rails is just a gem for Ruby, so you'll install that afterwards with

gem install rails 

or create a Gemfile in your project folder to take care of it. A Gemfile could look like this:

source 'https://rubygems.org'

ruby '2.0.0'

gem 'rails'

gem 'actionpack-action_caching'
gem 'asset_sync'
gem 'authlogic', github: 'binarylogic/authlogic'
gem 'bootstrap-sass'
gem 'coffee-rails'
gem 'dalli'
gem 'exception_notification'
gem 'font-awesome-rails'
gem 'highcharts-rails'
gem 'iron_worker_ng'
gem 'jbuilder'
gem 'jquery-rails'
gem 'memcachier'
gem 'newrelic_rpm'
gem 'pg'
gem 'prawn', '>= 1.0.0.rc2'
gem 'prawn_rails'
gem 'rack-timeout'
gem 'rails-i18n'
gem 'sass-rails'
gem 'uglifier'
gem 'unf'
gem 'yui-compressor'

group :production do
  gem 'justonedb'
  gem 'passenger'
  gem 'rails_12factor' # required by Heroku

group :development do
  gem 'annotate'
  gem 'better_errors'
  gem 'binding_of_caller'
  gem 'bullet'
  gem 'foreman'
  gem 'hirb'
  gem 'lol_dba' # To find table in need of indexes run 'lol_dba db:find_indexes'
  gem 'mailcatcher'
  gem 'pry'
  gem 'quiet_assets'
  gem 'rubocop'

group :test do
  gem 'capybara'
  gem 'capybara-webkit'
  gem 'factory_girl_rails', require: false
  gem 'fuubar'
  gem 'rspec-rails'

Instead of running 

gem install <gem-name> 

for each of these, we can run 

bundle install 

(after we've installed it with gem install bundler).


Now everythings is setup and ready.

Blog: http://ohm.sh | Twitter: @madsohm | Work: Lokalebasen.dk

#3 jim_2002



  • Members
  • 13 posts

Posted 02 January 2014 - 04:59 AM


#4 james



  • Members
  • 223 posts
  • LocationLeeds, U.K.

Posted 04 January 2014 - 05:43 AM

jim_2002, if you want to say thanks, and saying thanks is always appreciated, then hit the "like this" button and or accept the answer by hitting the "Mark Solved" button on the relevant post.

  • Jamie likes this
Programming is just about problem solving!

#5 NicoSchuele



  • Members
  • 2 posts
  • LocationSwitzerland

Posted 14 January 2014 - 11:22 PM

Have a look here: http://www.nicoschue...x-mountain-lion


It's a step-by-step guide I wrote for installing a complete Ruby/Rails environment on OS X. Originally written for Mountain Lion, it also works fine with Mavericks (tested more than once).

#6 creativouae



  • Members
  • 1 posts
  • LocationDubai Internet City

Posted 23 January 2014 - 11:51 AM

this also has helped me..thank you.


#7 mark74



  • Members
  • 5 posts

Posted 19 February 2014 - 08:35 AM

Great post. Thanks for sharing links

Also tagged with one or more of these keywords: rails, mac, os X, mavericks, tutorial

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users