Skip to content

Commit

Permalink
Use bundler platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Jun 7, 2011
1 parent 72a43b6 commit 11da868
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Gemfile
Expand Up @@ -2,9 +2,11 @@ source :rubygems
gemspec

if ENV['CI']
if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
gem 'therubyrhino'
else
platforms :ruby do
gem 'therubyracer'
end

platforms :jruby do
gem 'therubyrhino'
end
end

0 comments on commit 11da868

Please sign in to comment.