diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-09-28 21:32:16 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-09-28 21:32:16 -0400 |
commit | a07365736e1887c28745490e0b96f7e387a0941f (patch) | |
tree | 70edf24adc206d0128fdb02d07aad5e2125898ee | |
parent | v5 v6: version & changelog (diff) |
qi (quick installer) minor
-rwxr-xr-x | qi | 9 | ||||
-rw-r--r-- | setup/qi_libs_base.rb | 2 |
2 files changed, 7 insertions, 4 deletions
@@ -42,8 +42,13 @@ begin rescue LoadError puts 'thor (package ruby-thor) not found' end -require_relative 'setup/sisu_version' # setup/sisu_version.rb - include SiSUversion +begin + require './setup/sisu_version' # ./setup/sisu_version.rb + include SiSUversion +rescue LoadError + puts 'this does not appear to be a SiSU development directory' + exit +end require_relative 'setup/qi_libs' # setup/qi_libs.rb require 'find' require 'fileutils' diff --git a/setup/qi_libs_base.rb b/setup/qi_libs_base.rb index 430ec0c5..ec01af19 100644 --- a/setup/qi_libs_base.rb +++ b/setup/qi_libs_base.rb @@ -1,6 +1,4 @@ module Project_details - require_relative 'sisu_version' - include SiSUversion def self.name 'SiSU' end |