forked from fatfreecrm/fat_free_crm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
86 lines (71 loc) · 2.22 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
source :rubygems
# Uncomment the database that you have configured in config/database.yml
# ----------------------------------------------------------------------
# gem 'mysql2', '0.3.10'
# gem 'sqlite3'
gem 'pg', '~> 0.13.2'
# 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_/]
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, :test do
# Uncomment the following two gems to deploy via Capistrano
gem 'capistrano'
gem 'capistrano_colors'
gem 'rspec-rails', '~> 2.9.0'
gem 'headless'
unless ENV["CI"]
gem 'ruby-debug', :platform => :mri_18
gem 'debugger', :platform => :mri_19
end
gem 'pry-rails'
end
group :test do
gem 'capybara'
gem 'spork'
gem 'database_cleaner'
gem 'fuubar'
gem "acts_as_fu", "~> 0.0.8"
if RUBY_VERSION.to_f >= 1.9
gem 'factory_girl_rails', '~> 3.0.0'
else
gem 'factory_girl_rails', '~> 1.7.0'
end
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 'execjs'
gem 'therubyracer', :platform => :ruby # C Ruby (MRI) or Rubinius, but NOT Windows
gem 'uglifier', '>= 1.0.3'
end
gem 'turbo-sprockets-rails3'