Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add spec_rubies task to run specs on 1.8.7 and 1.9.2

  • Loading branch information...
commit f3a366bd84109768f713b81d511927eb2db346c7 1 parent b5ea96f
@dburkes dburkes authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 Rakefile
View
6 Rakefile
@@ -4,5 +4,9 @@ Bundler::GemHelper.install_tasks
RSpec::Core::RakeTask.new(:spec)
-desc 'Default: run specs.'
+desc "runs specs on ruby 1.9.2 and ruby 1.8.7"
+task :spec_rubies do
+ system "rvm ruby-1.9.2-p180@databasedotcom,ruby-1.8.7-p302@databasedotcom --create rake spec"
+end
+
task :default => :spec
Please sign in to comment.
Something went wrong with that request. Please try again.