1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

use :platforms to differentiate gems in gemfile

This commit is contained in:
Charles Lowell 2014-01-02 23:13:12 +02:00
parent 38925ccca1
commit 1936b6d75a

View file

@ -2,12 +2,10 @@ source 'http://rubygems.org'
gemspec
if Object.const_defined?(:RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
gem "rubysl", "~> 2.0"
else
gem "gem-compiler"
end
gem "rubysl", :platforms => :rbx
gem 'redjs', :git => 'https://github.com/cowboyd/redjs.git'
gem "rake"
gem "rspec", "~> 2.0"
gem "rake-compiler"
gem "gem-compiler", :platforms => :mri