Gemfile
source 'https://rubygems.org'
# Specify your gem's dependencies in signed_form.gemspec
gemspec
rails_version = ENV['RAILS_VERSION'] || 'master'
case rails_version
when /master/
gem 'rails', github: 'rails/rails'
gem 'arel', github: 'rails/arel'
when /-stable$/
gem 'rails', github: 'rails/rails', branch: rails_version
else
gem 'rails', rails_version
end