Permalink
Browse files

Merge pull request #489 from petergoldstein/feature/rbx_green

Get specs running under Rubinius
  • Loading branch information...
2 parents 50eb65b + 752e258 commit 46300c3700e26b2ddec51662cd53114049197365 @amatsuda amatsuda committed Dec 15, 2013
View
@@ -30,13 +30,17 @@ namespace :spec do
end
end
-require 'rdoc/task'
+begin
+ require 'rdoc/task'
-Rake::RDocTask.new do |rdoc|
- require 'kaminari/version'
+ Rake::RDocTask.new do |rdoc|
+ require 'kaminari/version'
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "kaminari #{Kaminari::VERSION}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
+ rdoc.rdoc_dir = 'rdoc'
+ rdoc.title = "kaminari #{Kaminari::VERSION}"
+ rdoc.rdoc_files.include('README*')
+ rdoc.rdoc_files.include('lib/**/*.rb')
+ end
+rescue LoadError
+ puts 'RDocTask is not supported on this VM and platform combination.'
end
@@ -16,5 +16,11 @@ end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
end
+platforms :rbx do
+ gem 'rubysl', '~> 2.0'
+ gem 'racc'
+ gem 'rubysl-test-unit'
+ gem 'rubinius-developer_tools'
+end
gemspec :path => '../'
@@ -16,5 +16,11 @@ end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
end
+platforms :rbx do
+ gem 'rubysl', '~> 2.0'
+ gem 'racc'
+ gem 'rubysl-test-unit'
+ gem 'rubinius-developer_tools'
+end
gemspec :path => '../'
@@ -16,5 +16,11 @@ end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
end
+platforms :rbx do
+ gem 'rubysl', '~> 2.0'
+ gem 'racc'
+ gem 'rubysl-test-unit'
+ gem 'rubinius-developer_tools'
+end
gemspec :path => '../'
@@ -10,5 +10,11 @@ end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
end
+platforms :rbx do
+ gem 'rubysl', '~> 2.0'
+ gem 'racc'
+ gem 'rubysl-test-unit'
+ gem 'rubinius-developer_tools'
+end
gemspec :path => '../'
@@ -14,6 +14,12 @@ end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
end
+platforms :rbx do
+ gem 'rubysl', '~> 2.0'
+ gem 'racc'
+ gem 'rubysl-test-unit'
+ gem 'rubinius-developer_tools'
+end
gem 'rspec-rails', '>= 2.0'
@@ -21,5 +21,11 @@ end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '~> 1.2.0'
end
+platforms :rbx do
+ gem 'rubysl', '~> 2.0'
+ gem 'racc'
+ gem 'rubysl-test-unit'
+ gem 'rubinius-developer_tools'
+end
gemspec :path => '../'
@@ -10,4 +10,11 @@ gem 'nokogiri', '< 1.6'
gem 'rubyzip', '< 1'
gem 'mime-types', '< 2'
+platforms :rbx do
+ gem 'rubysl', '~> 2.0'
+ gem 'racc'
+ gem 'rubysl-test-unit'
+ gem 'rubinius-developer_tools'
+end
+
gemspec :path => '../'
@@ -11,4 +11,11 @@ gem 'rubyzip', '< 1'
gem 'mime-types', '< 2'
gem 'database_cleaner', '< 1.0.0'
+platforms :rbx do
+ gem 'rubysl', '~> 2.0'
+ gem 'racc'
+ gem 'rubysl-test-unit'
+ gem 'rubinius-developer_tools'
+end
+
gemspec :path => '../'
@@ -6,4 +6,11 @@ gem 'rspec-rails', '>= 2.0'
gem 'origin'
gem 'moped'
+platforms :rbx do
+ gem 'rubysl', '~> 2.0'
+ gem 'racc'
+ gem 'rubysl-test-unit'
+ gem 'rubinius-developer_tools'
+end
+
gemspec :path => '../'
@@ -6,4 +6,11 @@ gem 'rspec-rails', '>= 2.0'
gem 'origin'
gem 'moped'
+platforms :rbx do
+ gem 'rubysl', '~> 2.0'
+ gem 'racc'
+ gem 'rubysl-test-unit'
+ gem 'rubinius-developer_tools'
+end
+
gemspec :path => '../'
@@ -21,5 +21,11 @@ end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
end
+platforms :rbx do
+ gem 'rubysl', '~> 2.0'
+ gem 'racc'
+ gem 'rubysl-test-unit'
+ gem 'rubinius-developer_tools'
+end
gemspec :path => '../'
@@ -21,5 +21,11 @@ end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
end
+platforms :rbx do
+ gem 'rubysl', '~> 2.0'
+ gem 'racc'
+ gem 'rubysl-test-unit'
+ gem 'rubinius-developer_tools'
+end
gemspec :path => '../'

0 comments on commit 46300c3

Please sign in to comment.