Skip to content

Commit

Permalink
Allow gemspec to be based on rails version for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Dec 21, 2015
1 parent 9221c50 commit 91f8eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flipper-active_record.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ Gem::Specification.new do |gem|
gem.version = Flipper::VERSION

gem.add_dependency 'flipper', "~> #{Flipper::VERSION}"
gem.add_dependency 'activerecord', '~> 4.2.0'
gem.add_dependency 'activerecord', "~> #{ENV["RAILS_VERSION"] || '4.2.0'}"
end

0 comments on commit 91f8eaa

Please sign in to comment.