activerecord-hackery--ransack/Gemfile

54 lines
1.2 KiB
Ruby

source 'https://rubygems.org'
gemspec
gem 'rake'
rails = ENV['RAILS'] || '6-1-stable'
rails_version = case rails
when /\// # A path
File.read(File.join(rails, "RAILS_VERSION"))
when /^v/ # A tagged version
rails.gsub(/^v/, '')
else
rails
end
gem 'faker'
gem 'sqlite3'
gem 'pg'
gem 'pry'
gem 'byebug'
case rails
when /\// # A path
gem 'activesupport', path: "#{rails}/activesupport"
gem 'activemodel', path: "#{rails}/activemodel"
gem 'activerecord', path: "#{rails}/activerecord", require: false
gem 'actionpack', path: "#{rails}/actionpack"
gem 'actionview', path: "#{rails}/actionview"
when /^v/ # A tagged version
git 'https://github.com/rails/rails.git', tag: rails do
gem 'activesupport'
gem 'activemodel'
gem 'activerecord', require: false
gem 'actionpack'
end
else
git 'https://github.com/rails/rails.git', branch: rails do
gem 'activesupport'
gem 'activemodel'
gem 'activerecord', require: false
gem 'actionpack'
end
end
gem 'mysql2'
group :test do
gem 'machinist', '~> 1.0.6'
gem 'rspec'
gem 'simplecov', require: false
end
gem 'rubocop', require: false