diff --git a/Gemfile b/Gemfile index e0b3a91c8..9aa6195cf 100644 --- a/Gemfile +++ b/Gemfile @@ -1,10 +1,8 @@ source :rubygems + gemspec -if ENV['CI'] - if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby' - gem 'therubyrhino' - else - gem 'therubyracer' - end +group :test do + gem 'therubyrhino', :platform => :jruby + gem 'therubyracer', :platform => [:ruby, :mswin] end