-
Notifications
You must be signed in to change notification settings - Fork 25
/
Gemfile
134 lines (118 loc) · 3.63 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# -*- coding: utf-8 -*-
#
# Some gems cannot/should not be installed on heroku and/or travis, but
# `bundle --without` cannot be used. Put these gems into group :development
# in such situations
# should work until heroku changes the HOME directory location
is_heroku = ['/app/','/app'].include?(ENV['HOME']) # ENV['HOME'] = '/app' in rails console or rake
sqlite3_group = is_heroku ? :development : :sqlite3
mysql2_group = is_heroku ? :development : :mysql2
# Uncomment following lines to deploy 19wu to heroku
# https://devcenter.heroku.com/articles/rails4
# ruby '2.0.0'
# gem 'rails_12factor', group: :production
if ENV['TRAVIS']
source 'https://rubygems.org'
else
source 'http://ruby.taobao.org'
end
# if not encoding, `bundle install` command would be error. (Invalid byte sequence in GBK)
# see http://bit.ly/12VbO9n
if RUBY_VERSION =~ /1.9/
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
end
gem 'rails', '~> 4.0.0'
gem 'slim-rails', '~> 1.1.1'
gem 'simple_form', '~> 3.0.0.rc'
gem 'ransack'
gem 'html-pipeline'
# html-pipeline depends on escape_utils, lock its version for Windows
gem 'escape_utils', '0.2.4'
gem 'has_html_pipeline'
gem 'kramdown', :platform => [:jruby]
gem 'gravtastic'
gem 'cancan'
gem 'cohort_me'
gem 'acts_as_follower', github: 'flingbob/acts_as_follower'
gem "angularjs-rails"
gem "rabl"
gem 'whenever', :require => false
gem "tabs_on_rails"
gem "china_sms"
gem 'china_city'
gem 'alipay', github: 'saberma/alipay'
gem 'priceable', github: 'saberma/priceable' # fixed: migration break.
gem 'jbuilder'
gem 'state_machine'
gem 'state_machine-audit_trail'
gem 'axlsx_rails'
group :pg do
gem 'pg', :platform => [:ruby, :mswin, :mingw]
gem 'activerecord-jdbcpostgresql-adapter', :platform => [:jruby]
end
group sqlite3_group do
gem 'sqlite3'
end
group mysql2_group do
gem 'mysql2', '0.3.11'
end
gem 'devise', '~> 3.0.1'
gem 'devise_invitable', github: 'scambra/devise_invitable'
gem 'settingslogic'
gem "delayed_job", "~> 4.0.0.beta2"
gem 'delayed_job_active_record', '~> 4.0.0.beta3'
gem 'daemons'
gem 'carrierwave'
gem 'friendly_id', github: 'norman/friendly_id', branch: 'master'
gem 'mini_magick', '3.5.0'
gem 'rails-timeago'
group :production do
# Use unicorn as the app server
gem 'unicorn', :platforms => :ruby
gem 'exception_notification'
end
group :development do
gem 'rvm-capistrano'
gem 'mails_viewer'
gem 'quiet_assets'
gem 'guard-delayed', github: 'jasl/guard-delayed'
gem 'guard-rails'
gem 'guard-zeus'
# Export state_machine transition diagram
gem 'ruby-graphviz', :require => 'graphviz'
end
group :development, :test do
gem 'rspec-rails'
gem 'jasmine-rails', github: 'searls/jasmine-rails'
gem 'factory_girl_rails', '~> 4.0' # generator will use it in development.
gem 'thin', '~> 1.5.0', :platform => [:ruby, :mswin, :mingw] # thin cannot run under jruby
gem 'pry-rails'
gem 'pry-nav'
gem 'guard-livereload'
end
group :test do
gem 'capybara'
gem 'capybara-email'
gem 'database_cleaner', '1.0.1'
gem 'selenium-webdriver'
gem 'poltergeist'
gem 'simplecov', :require => false
gem 'coveralls', require: false
gem 'timecop'
end
# group :assets do
gem 'sass-rails', '~> 4.0.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'bootstrap-sass', '~> 2.3.2.0'
gem 'uglifier', '>= 1.3.0'
gem 'jquery-rails'
gem 'bootstrap-datepicker-rails'
gem 'jquery-fileupload-rails'
gem 'bootstrap-timepicker-rails-addon'
# 推荐安装 node.js,而不要 therubyracer
#gem 'libv8', '3.11.8.3', :platforms => :ruby # therubyracer 从 0.11 开始没有依赖 lib8. http://git.io/EtMkCg
#gem 'therubyracer', :platforms => :ruby
# end
# fallback
gem 'rails-observers'