aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/param.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v5/param.rb')
-rw-r--r--lib/sisu/v5/param.rb11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/sisu/v5/param.rb b/lib/sisu/v5/param.rb
index e8eb3fc6..ba75bfb0 100644
--- a/lib/sisu/v5/param.rb
+++ b/lib/sisu/v5/param.rb
@@ -61,8 +61,12 @@
=end
module SiSU_Param
- require 'uri'
- require 'pstore'
+ begin
+ require 'uri'
+ require 'pstore'
+ rescue LoadError
+ SiSU_Utils::CodeMarker.new(__LINE__,__FILE__,:fuchsia).error('uri or pstore NOT FOUND (LoadError)')
+ end
require_relative 'sysenv' # sysenv.rb
include SiSU_Env
require_relative 'param_make' # param_make.rb
@@ -95,8 +99,7 @@ module SiSU_Param
# you may need to change Dir.pwd to @opt.f_pth[:pth] where the latter
# has a path value that is different, however, f_pth is not always set!
Dir.chdir(@opt.f_pth[:pth])
- p '-- bug alert -- '
- p __FILE__ + ':' + __LINE__.to_s
+ SiSU_Utils::CodeMarker.new(__LINE__,__FILE__,:fuchsia).error('-- bug alert --')
p 'f_pth ' + @opt.f_pth[:pth]
p 'pwd ' + Dir.pwd
end