aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/sisu3
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-10-03 00:11:08 -0400
committerRalph Amissah <ralph@amissah.com>2012-10-03 00:11:08 -0400
commit804a103722aa7731ca7f2062ee2ebf533607e6aa (patch)
treea480caebb78925848807692c57c017b3ae5e6839 /bin/sisu3
parentv3: 3.3.3 version & changelog, dates touched (diff)
v4: 4.0.0 new branch & version & changelog "opened"
Diffstat (limited to 'bin/sisu3')
-rw-r--r--bin/sisu312
1 files changed, 5 insertions, 7 deletions
diff --git a/bin/sisu3 b/bin/sisu3
index f840f8bb..f479fedc 100644
--- a/bin/sisu3
+++ b/bin/sisu3
@@ -45,24 +45,22 @@ WOK
$KCODE='u' if RUBY_VERSION < '1.9'
argv=$*
SiSU_version_dir=case argv.inspect
- when /"(?:--v2)"/
- check_sisu_legacy_ruby_version?
- 'v2'
when /"(?:--v3)"/
check_sisu_stable_ruby_version?
'v3'
+ when /"(?:--v4)"/
+ check_sisu_stable_ruby_version?
+ 'v4'
when /"(?:--dev)"/
check_sisu_dev_ruby_version?
- 'v3'
+ 'v4'
else
check_sisu_stable_ruby_version?
'v3'
end
SiSU_lib="sisu/#{SiSU_version_dir}"
require "#{SiSU_lib}/hub"
- unless SiSU_version_dir == 'v2'
- SiSU::HubMaster.new(argv)
- end
+ SiSU::HubMaster.new(argv)
rescue
STDERR.puts 'ERROR'
STDERR.puts $!