2014-03-28 21:31:21 +08:00
|
|
|
if ENV['RAILS_ENV'] == 'production'
|
|
|
|
source 'https://rubygems.org'
|
|
|
|
else
|
|
|
|
source 'http://ruby.taobao.org'
|
|
|
|
end
|
|
|
|
ruby '2.0.0'
|
2012-06-23 06:19:03 +08:00
|
|
|
|
2014-03-28 21:31:21 +08:00
|
|
|
gem 'rails', '4.0.4'
|
|
|
|
gem 'sass-rails', '~> 4.0.2'
|
|
|
|
gem 'coffee-rails', '~> 4.0.1'
|
|
|
|
gem 'uglifier', '>= 1.3.0'
|
|
|
|
gem 'jquery-rails'
|
2014-03-29 09:50:35 +08:00
|
|
|
gem 'foundation-rails', '~> 5.2.1'
|
2012-06-23 06:19:03 +08:00
|
|
|
|
|
|
|
gem "mongoid"
|
2013-07-21 23:56:12 +08:00
|
|
|
gem "mongoid-pagination"
|
2014-03-28 21:31:21 +08:00
|
|
|
gem "redcarpet"
|
2014-03-28 22:55:18 +08:00
|
|
|
gem 'slim-rails'
|
2014-03-28 21:31:21 +08:00
|
|
|
gem "simple_form"
|
|
|
|
gem "mini_magick"
|
|
|
|
gem 'carrierwave-mongoid'
|
|
|
|
gem 'html_truncator'
|
|
|
|
gem 'nokogiri'
|
2012-06-23 06:19:03 +08:00
|
|
|
|
2014-03-28 21:31:21 +08:00
|
|
|
group :development do
|
|
|
|
gem 'quiet_assets'
|
|
|
|
gem 'guard'
|
|
|
|
gem 'guard-rails'
|
|
|
|
gem 'guard-rspec', require: false
|
|
|
|
gem 'guard-bundler', require: false
|
2012-06-23 06:19:03 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
group :test do
|
2014-03-28 21:31:21 +08:00
|
|
|
gem 'capybara'
|
|
|
|
gem 'factory_girl'
|
|
|
|
gem 'mongoid-rspec', :require => false
|
|
|
|
gem 'database_cleaner'
|
2012-06-23 06:19:03 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
group :test, :development do
|
2012-06-23 12:07:24 +08:00
|
|
|
gem "rspec-rails", ">= 2.8.1"
|
2012-06-23 06:19:03 +08:00
|
|
|
end
|