diff --git a/Rakefile b/Rakefile index 2017653..1b8c5ab 100644 --- a/Rakefile +++ b/Rakefile @@ -39,6 +39,11 @@ Rake::TestTask.new do |t| t.test_files = FileList['tests/test*.rb'] end +desc "Test using Ruby 1.9" +task :'test:19' do + system "rake19 test" +end + desc "Generate documentation" task :rdoc do FileUtils.rm_rf('doc') @@ -55,6 +60,11 @@ namespace :gem do task :install => [:package] do sh %{sudo gem install pkg/#{GEM}-#{GEM_VERSION}} end + + desc "Install the gem locally with ruby 1.9" + task :'19:install' => [:package] do + sh %{sudo gem19 install pkg/#{GEM}-#{GEM_VERSION}} + end desc "Create a gemspec file" task :make_spec do