forked from samvera-deprecated/sufia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
29 lines (24 loc) · 1.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
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: 'harai/kaminari', branch: 'route_prefix_prototype'
gem 'sufia-models', path: './sufia-models'
gem 'slop', '~> 3.6.0' # 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']
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