Skip to content

Instantly share code, notes, and snippets.

@matalangilbert
Created January 5, 2012 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matalangilbert/1566029 to your computer and use it in GitHub Desktop.
Save matalangilbert/1566029 to your computer and use it in GitHub Desktop.
Mat G's Base Rails Files
require 'autotest/growl' # enable pop-up windows
require 'autotest/restart' # optional: forces autotest to pick the changes to this file
require 'autotest/timestamp' # optional: shows timestamps for test runs
require 'win32console'
#prevent triggering when certain files modified
Autotest.add_hook :initialize do |at|
%w{.svn .hg .git vendor public log .idea .komodoproject .komodotools}.each {|exception| at.add_exception(exception)}
end
# do not clear console before running tests
Autotest::Growl::clear_terminal = false
.bundle
db/*.sqlite3
log/*.log
tmp/
.sass-cache/
*.log
source 'http://rubygems.org'
gem 'rails'
group :development do
gem 'sqlite3'
gem 'rspec-rails','2.6.1'
#annotate gem commented out as breaks deployment to Heroku. Uncomment and bundle install to use.
#gem 'annotate',
# :git => "git://github.com/jeremyolliver/annotate_models.git",
# :branch => 'rake_compatibility'
gem 'taps'
gem 'heroku'
gem 'therubyracer', :platform => :ruby #required for Rails 3
end
group :test do
gem 'rspec-rails','2.6.1'
gem 'webrat', '0.7.1'
gem 'spork', '0.9.0.rc9'
gem 'autotest' #4.4.6 or 4.2.10
gem 'autotest-growl' #0.2.16 or 0.2.4
gem 'autotest-rails','4.1.0'
gem 'win32console'
gem 'factory_girl_rails', '1.0'
end
group :production do
gem 'pg'
gem 'thin'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.1.4'
gem 'coffee-rails', '~> 3.1.1'
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
# Use unicorn as the web server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment