Skip to content

Commit

Permalink
Pin execjs for ruby 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Apr 9, 2015
1 parent b6bf4a3 commit 1a45813
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ group :test do
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
end

gem 'execjs', '< 2.5.0' if RUBY_VERSION < '2.0'

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`
Expand Down

0 comments on commit 1a45813

Please sign in to comment.