Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Commit

Permalink
use bundler idioms for checking for platforms and groupings
Browse files Browse the repository at this point in the history
  • Loading branch information
joshk committed Jun 7, 2011
1 parent 12faf90 commit 1f277d8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions 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

0 comments on commit 1f277d8

Please sign in to comment.