forked from samvera-deprecated/sufia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGemfile
32 lines (27 loc) · 1.12 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
source 'https://rubygems.org'
# Please see sufia.gemspec for dependency information.
gemspec
# Required for doing pagination inside an engine. See https://github.com/amatsuda/kaminari/pull/322
gem 'kaminari', github: 'jcoyne/kaminari', branch: 'sufia'
gem 'sufia-models', path: './sufia-models'
gem 'slop', '~> 4.2' # This just helps us generate a valid Gemfile.lock when Rails 4.2 is installed (which requires byebug which has a dependency on slop)
group :development, :test do
gem "simplecov", require: false
gem 'byebug' unless ENV['CI']
gem 'coveralls', require: false
gem 'rubocop', require: false
gem 'rubocop-rspec', require: false
end
file = File.expand_path("Gemfile", ENV['ENGINE_CART_DESTINATION'] || ENV['RAILS_ROOT'] || File.expand_path("../spec/internal", __FILE__))
if File.exists?(file)
puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
instance_eval File.read(file)
else
gem 'rails', ENV['RAILS_VERSION'] if ENV['RAILS_VERSION']
if ENV['RAILS_VERSION'] and ENV['RAILS_VERSION'] !~ /^4.2/
gem 'sass-rails', "< 5.0"
else
gem 'responders', "~> 2.0"
gem 'sass-rails', ">= 5.0"
end
end