Skip to content

Instantly share code, notes, and snippets.

@jwhitmire
Created November 11, 2012 00:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwhitmire/4053138 to your computer and use it in GitHub Desktop.
Save jwhitmire/4053138 to your computer and use it in GitHub Desktop.
Rails 3 templates of interest to me
#
# Install mysql2 gem with local brew settings which normally fails during regular rails install
#
puts "Installing mysql2 gem"
run "gem install mysql2 -- --with-mysql-include=/usr/local/Cellar/mysql/5.5.27/include --with-mysql-lib=/usr/local/Cellar/mysql/5.5.27/lib"
#
# Install and setup rspec
#
puts "Installing rspec"
gem 'rspec-rails'
run './script/generate rspec:install'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment