Skip to content

Instantly share code, notes, and snippets.

@PhilippePerret
Created November 7, 2011 06:47
Show Gist options
  • Save PhilippePerret/1344345 to your computer and use it in GitHub Desktop.
Save PhilippePerret/1344345 to your computer and use it in GitHub Desktop.
Gemfile pour application Rails 3.1
source 'http://rubygems.org'
gem 'rails', '3.1.0'
gem 'sqlite3'
gem 'sqlite3-ruby', '1.3.2', :require => 'sqlite3'
gem "rubyzip", '0.9.4'
gem 'json'
gem 'haml'
gem 'haml-rails'#, :group => :development
gem 'simple_form'
# Pour enregistrer de grosses quantités de données d'un seul coup
# liste = []
# props_des_trucs.each { |props_truc| liste << Truc.new( props_truc ) }
# Truc.import liste[, :validate => false]
gem "activerecord-import", ">= 0.2.0"
gem 'kaminari' # Au lieu de paginate
# Pour dumper/loader la base de données (vers YAML) avec :
# cf. : https://github.com/ludicast/yaml_db
# rake db:data:dump
# rake db:data:load
gem 'yaml_db'
gem "jasmine" # Pour tests javascript
gem 'devise' # Pour le système d'authentification
# Pour les cron jobs
# Cf. https://github.com/javan/whenever
gem 'whenever', :require => false
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', " ~> 3.1.0"
gem 'coffee-rails', "~> 3.1.0"
gem 'uglifier'
end
gem 'jquery-rails'
# Use unicorn as the web server
# gem 'unicorn'
# Deploy with Capistrano
gem 'capistrano'
# To use debugger
# gem 'ruby-debug'
group :development do
gem 'annotate-models', '1.0.4'
end
group :development, :test do
gem 'rspec-rails'
gem 'capybara', :git => 'git://github.com/jnicklas/capybara.git'
gem 'launchy'
gem 'database_cleaner'
end
group :test do
gem 'rails3-generators' #mainly for factory_girl & simple_form at this point
gem 'factory_girl_rails', '1.0'
gem 'cucumber-rails'
# Pretty printed test output
gem 'turn', :require => false
gem 'webrat', '0.7.1'
gem 'spork', '0.8.4'
gem 'selenium' # Pour les test js/ajax (utilisé par défaut par Capybara)
gem 'selenium-client' # Idem
end
@PhilippePerret
Copy link
Author

Ajout du gem 'devise' pour le système d'authentification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment