Created
May 8, 2012 23:30
-
-
Save juandazapata/2640387 to your computer and use it in GitHub Desktop.
Basic Gemfile for new projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/.bundle | |
/db/*.sqlite3 | |
/log/*.log | |
/tmp | |
/public/uploads | |
/.sass-cache | |
coverage/ | |
.rvmrc | |
/public/assets/*.png | |
/public/assets/*.jpg | |
/public/assets/*.gif | |
/public/assets/*.css | |
/public/assets/*.js | |
/public/assets/*.gz | |
/public/assets/*.ico | |
/public/assets/*.svg | |
/public/assets/*.svgz | |
/public/assets/*.eot | |
/public/assets/*.woff | |
/public/assets/*.ttf | |
/public/assets/*.md | |
/public/assets/twitter | |
.DS_Store | |
*.rdb | |
*.hprof |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rvm gemset use xxxxxxxxx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source :rubygems | |
gem 'rails', '3.2.3' | |
# ============================== | |
# App monitoring | |
# ============================== | |
gem 'newrelic_rpm' # Performance monitor | |
gem 'airbrake' # Exception notifier service | |
gem 'marginalia' # Log the sql queries and who triggered them | |
# ============================== | |
# Background jobs | |
# ============================== | |
gem 'resque', :require => 'resque/server' # Enqueue background jobs | |
gem 'resque-scheduler', :require => 'resque_scheduler' # Schedule background jobs | |
# ============================== | |
# User authentication | |
# ============================== | |
gem 'devise' # User authentication | |
gem 'omniauth' # Authenticate with onmiauth | |
gem 'omniauth-facebook' # Connect with Facebook | |
gem 'fb_graph' # Interact with Facebook | |
# ============================== | |
# NET | |
# ============================== | |
gem 'faraday' # HTTP connections to consume web resources | |
gem 'fog', '~> 1.3.1' # Upload stuff to Amazon S3 | |
gem 'geocoder' # Geolocalization | |
gem 'roadie' # Emails with inline styles | |
# ============================== | |
# Utils | |
# ============================== | |
gem 'dalli' # Memcached adapter for Rails Cache | |
gem 'json' # Parse and manage JSON data | |
gem 'will_paginate' # Paginate stuff | |
gem 'active_decorator' # Decorate models | |
# ============================== | |
# Image handling | |
# ============================== | |
gem 'carrierwave' # Upload images to server or S3 | |
gem 'rmagick', '2.12.0', :require => 'RMagick' # Process the uploaded images to obtain thumbnails and effects | |
# ============================== | |
# Assets | |
# ============================== | |
group :assets do | |
gem 'sass-rails', '~> 3.2.3' | |
gem 'coffee-rails', '~> 3.2.1' | |
gem 'uglifier', '>= 1.0.3' | |
gem 'less-rails' # Less rocks | |
gem 'twitter-bootstrap-rails' # Bootstrap the CSS of the app | |
end | |
group :development do | |
gem 'mysql2' # Use Mysql locally | |
gem 'foreman' # Manage proceses locally | |
gem 'letter_opener' # View emails in browser so you can debug the HTML | |
gem 'guard' # Watch for file changes and trigger stuff | |
gem 'guard-rspec' # Trigger rspec when a file changes | |
gem 'guard-livereload' # Reload the browser when some file changes | |
gem 'thin' # Run thin instead of Webrick in development mode | |
gem 'ruby-debug19', :require => 'ruby-debug' # Debug stuff | |
end | |
group :test do | |
gem 'growl' # Notify via growl | |
gem 'rb-fsevent' # Used by guard | |
gem 'factory_girl_rails' # Factories not fixtures! | |
gem 'capybara' # Simulate the browser | |
gem 'resque_spec' # Mock resque | |
gem 'webmock' # Mock HTTP requests | |
gem 'simplecov', :require => false # Test coverage | |
end | |
group :development, :test do | |
gem 'rspec-rails' # Rspec | |
gem 'launchy' # Open stuff from command line | |
gem 'database_cleaner' # Clean database when testing | |
gem 'faker' # Generate fake data for seed data and tests | |
end | |
# Required by Heroku | |
group :production do | |
gem 'pg' # Run Postgre in Heroku | |
gem 'thin' # Run thin in Heroku | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run locally with: | |
# foreman start -f Procfile.dev | |
web: rails s thin | |
memcached: memcached -vv | |
redis: redis-server | |
worker: bundle exec rake jobs:work | |
scheduler: bundle exec rake resque:scheduler |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment