-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
81 lines (67 loc) · 2.04 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
source 'http://ruby.taobao.org'
# Uncomment the database that you have configured in config/database.yml
# ----------------------------------------------------------------------
# gem 'mysql2'
# gem 'sqlite3'
gem 'pg'
# Allows easy switching between locally developed gems, and gems installed from rubygems.org
# See README for more info at: https://github.com/ndbroadbent/bundler_local_development
gem 'bundler_local_development', :group => :development, :require => false
begin
require 'bundler_local_development'
Bundler.development_gems = [/^ffcrm_/, /ransack/]
rescue LoadError
end
# Removes a gem dependency
def remove(name)
@dependencies.reject! {|d| d.name == name }
end
# Replaces an existing gem dependency (e.g. from gemspec) with an alternate source.
def gem(name, *args)
remove(name)
super
end
# Bundler no longer treats runtime dependencies as base dependencies.
# The following code restores this behaviour.
# (See https://github.com/carlhuda/bundler/issues/1041)
spec = Bundler.load_gemspec(Dir["./{,*}.gemspec"].first)
spec.runtime_dependencies.each do |dep|
gem dep.name, *(dep.requirement.as_list)
end
# Remove premailer auto-require
gem 'premailer', :require => false
# Remove fat_free_crm dependency, to stop it from being auto-required too early.
remove 'fat_free_crm'
group :development do
gem 'thin'
gem 'quiet_assets'
# Uncomment the following two gems to deploy via Capistrano
gem 'capistrano'
gem 'capistrano_colors'
end
group :development, :test do
gem 'rspec-rails'
gem 'headless'
gem 'debugger' unless ENV["CI"]
gem 'pry-rails'
end
group :test do
gem 'capybara'
gem 'database_cleaner'
gem "acts_as_fu"
gem 'factory_girl_rails'
end
group :heroku do
gem 'unicorn', :platform => :ruby
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
gem 'execjs'
gem 'therubyracer', :platform => :ruby unless ENV["CI"]
end
gem 'turbo-sprockets-rails3'
gem 'mysql2'