一些经常用到的Gemfile

gem 'unicorn'
gem 'nokogiri'
gem 'sqlite3-ruby', :require => 'sqlite3'
gem 'haml', '3.1.2'
gem 'haml-rails'
gem 'rspec-rails'
gem 'rails3-generators'
gem 'factory_girl_rails'
gem 'whenever'
gem 'spreadsheet'
gem 'mysql2', '< 0.3'
gem 'mongrel'
gem 'passenger'
gem 'jquery-rails', '>= 0.2.6'
gem 'require_relative'
gem 'nifty-generators'
gem "mocha", :group => :test


rails 3.1.1 ruby 1.9.2 cucumber rspec haml


#完了要运行generate
source 'http://rubygems.org'

gem 'rails', '3.1.1'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'sqlite3'


# 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'
gem 'json'
# Deploy with Capistrano
gem 'capistrano'

# To use debugger
gem 'ruby-debug19', :require => 'ruby-debug'
#gem 'ruby-debug'
gem 'nokogiri'
gem 'rails3-generators'
gem 'haml'
gem 'haml-rails'
gem 'whenever'
gem 'mysql2'
gem 'mongrel','~> 1.2.0.pre2'
gem 'passenger'
gem 'require_relative'
group :test,:development do
# Pretty printed test output
gem 'database_cleaner'
gem 'cucumber-websteps'
gem 'spork'
gem 'launchy'
gem 'machinist', '>= 2.0.0.beta1'
gem 'faker'
gem 'nifty-generators'
gem 'rspec-rails'
gem 'cucumber-rails','1.0.6'
gem 'turn', '< 0.8.3'#:require => false
gem "webrat"
gem "capybara"
gem 'factory_girl_rails'
gem 'mocha'
gem 'ZenTest'
end

你可能感兴趣的:(RubyOnRails)