Skip to content

Commit

Permalink
mini_racer 0.2 requires ruby >= 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Jul 23, 2018
1 parent 2a238e9 commit 1f229da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: ruby

# https://github.com/discourse/mini_racer#travis-ci
sudo: required

dist: trusty

addons:
Expand Down
8 changes: 7 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ gem 'tilt', tilt_version if tilt_version
gem 'sprockets', sprockets_version if sprockets_version

group :repl do
gem 'mini_racer', platform: :mri, require: false
if RUBY_VERSION.to_f >= 2.3
gem 'mini_racer', platform: :mri, require: false
else
gem 'mini_racer', '< 0.2.0', platform: :mri, require: false
gem 'libv8', '~> 6.3.0', platform: :mri, require: false
end

gem 'therubyrhino', platform: :jruby, require: false
end

Expand Down

0 comments on commit 1f229da

Please sign in to comment.