Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Error on stdlib:install unless SOURCE/VERSION are passed in

  • Loading branch information...
commit a7c4f6da7ebac8271d81ba24db65a1ad214be9f3 1 parent 7eba423
@lsegal authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  Rakefile
View
2  Rakefile
@@ -68,6 +68,8 @@ end
namespace :stdlib do
desc 'Installs a standard library SOURCE=pathtolib VERSION=targetversion'
task :install do
+ raise 'Missing SOURCE path (SOURCE=pathtolib)' unless ENV['SOURCE']
+ raise 'Missing Ruby version (VERSION=targetversion)' unless ENV['VERSION']
require 'stdlib_installer'
StdlibInstaller.new(ENV['SOURCE'], ENV['VERSION']).install
end
Please sign in to comment.
Something went wrong with that request. Please try again.