Created
May 10, 2015 11:39
-
-
Save erickguan/8cee16b781693032a917 to your computer and use it in GitHub Desktop.
common gemfile
This file contains 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 'https://rubygems.org' | |
gem 'rails', '4.2.1' | |
gem 'pg' | |
gem 'sass-rails', '~> 5.0' | |
gem 'sprockets', '~> 3.0.3' | |
gem 'sprockets-es6' | |
gem 'pundit' | |
gem 'refile' | |
gem 'hamlit' | |
gem 'hiredis' | |
gem 'redis', require: ['redis', 'redis/connection/hiredis'] | |
#gem 'logster' | |
gem 'therubyracer', platforms: :ruby | |
# Use jquery as the JavaScript library | |
gem 'jquery-rails' | |
gem 'semantic-ui-sass' | |
gem 'turbolinks' | |
# Use ActiveModel has_secure_password | |
gem 'bcrypt', '~> 3.1.7' | |
# Use Unicorn as the app server | |
# gem 'unicorn' | |
# Use Capistrano for deployment | |
# gem 'capistrano-rails', group: :development | |
gem 'thin', require: false | |
gem 'rack-mini-profiler', require: false | |
group :development do | |
gem 'annotate' | |
end | |
group :development, :test do | |
gem 'spring' | |
gem 'awesome_print', require: false | |
gem 'brakeman', require: false | |
gem 'rails_best_practices', require: false | |
gem 'rubocop', require: false | |
gem 'better_errors' | |
gem 'byebug' | |
gem 'web-console', '~> 2.0' | |
gem 'guard-rspec', require: false | |
# gem 'spring-commands-rspec' # 加速测试 | |
# gem 'email_spec' # email测试 | |
# gem 'timecop' # 时间冻结,rails4.1后activesupport有提供 | |
gem 'simplecov', require: false # 测试覆盖率 | |
# for test | |
gem 'rspec-rails' # rspec | |
gem 'factory_girl_rails' # 测试数据 | |
gem 'database_cleaner' # 清理测试数据库 | |
end | |
group :test do | |
gem 'shoulda' # 测试model,非常省代码 | |
gem 'capybara' # 功能/feature测试 | |
gem 'poltergeist' # capybara phantomjs driver | |
gem 'selenium-webdriver' # capybara selenium driver 打开firefox进行测试,速度慢 | |
gem 'capybara-screenshot' # 测试截图 | |
gem 'show_me_the_cookies' # 主要是在功能测试过程中操作cookie,例如显示cookie | |
gem 'launchy' # 启动浏览器 | |
gem 'ffaker' # 生成假数据,faker重构版本 | |
gem 'timecop' | |
gem 'rspec', '~> 3.2.0' | |
gem 'rspec-rails', require: false | |
gem 'fabrication', require: false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment