Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.66 KB

File metadata and controls

44 lines (31 loc) · 1.66 KB

ruby-on-rails-development-install

ruby-on-rails-development-install is a fork of set of https://github.com/thoughtbot/laptop scripts to get our Matmon computers set up for development.

Mac OS X

First, install GCC for OS X. (requires OS X 10.6 or higher)

Then, run this one-liner:

bash < <(curl -s https://raw.github.com/Matmon/ruby-on-rails-development-install/master/mac)

Ubuntu

First, install Ubuntu.

Then, run this one-liner:

bash < <(curl -s https://raw.github.com/Matmon/ruby-on-rails-development-install/master/ubuntu)

If you're setting up Ubuntu for one of our workshops, we recommend you also install gEdit for your text editor. You can customize it with these instructions.

What it sets up

  • SSH public keys (for authenticating with services like Github and Heroku)
  • Homebrew or apt-get (for managing operating system libraries)
  • Ack (for finding things in files)
  • Tmux (for saving project state and switching between projects)
  • MySQL (for storing relational data)
  • Redis (for storing key-value data)
  • ImageMagick (for cropping and resizing images)
  • RVM (for managing versions of the Ruby programming language)
  • Ruby 1.9.2 stable (for writing general-purpose code)
  • Bundler gem (for managing Ruby libraries)
  • Heroku gem (for interacting with the Heroku API)
  • Taps gem (for pushing and pulling SQL databases between environments)
  • Mysql gem (for making Ruby talk to SQL databases)

It should take about 30 minutes for everything to install, depending on your machine.