From 38925ccca15ed27496896b8c6dfc903dfce04e3e Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Thu, 2 Jan 2014 22:24:42 +0200 Subject: [PATCH] continue trying to fixup rubinius build for travis --- .travis.yml | 1 - Gemfile | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 48729e7..036a453 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ rvm: - 1.9.2 - 1.9.3 - 1.8.7 - - rbx-2.1.1 - rbx-2.2.1 notifications: recipients: diff --git a/Gemfile b/Gemfile index 971e394..6104f29 100644 --- a/Gemfile +++ b/Gemfile @@ -2,9 +2,12 @@ source 'http://rubygems.org' gemspec +if Object.const_defined?(:RUBY_ENGINE) && RUBY_ENGINE == 'rbx' + gem "rubysl", "~> 2.0" +else + gem "gem-compiler" +end gem 'redjs', :git => 'https://github.com/cowboyd/redjs.git' gem "rake" gem "rspec", "~> 2.0" gem "rake-compiler" -gem 'gem-compiler' unless Object.const_defined?(:RUBY_ENGINE) && RUBY_ENGINE == 'rbx' -gem "rubysl", "~> 2.0" if RUBY_ENGINE == 'rbx'