From 1936b6d75a534e16c2898065828087ed510d280e Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Thu, 2 Jan 2014 23:13:12 +0200 Subject: [PATCH] use :platforms to differentiate gems in gemfile --- Gemfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index 6104f29..033b59a 100644 --- a/Gemfile +++ b/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 +