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:
parent
38925ccca1
commit
1936b6d75a
1 changed files with 3 additions and 5 deletions
8
Gemfile
8
Gemfile
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue