templates/default/start.rb in Soks-1.0.0 vs templates/default/start.rb in Soks-1.0.1

- old
+ new

@@ -9,16 +9,18 @@ #Add the required libraries to the search path begin require 'rubygems' require_gem 'Soks', '~> <%= settings[:version] %>' - $LOG.info 'Loaded Soks <%= settings[:version] %> from gem' + $LOG.info 'Loaded Soks from gem' rescue LoadError $LOG.info "Soks Gem version <%= settings[:version] %> could not be found" $:.push( "<%= settings[:soks_libraries].join('","') %>" ) require 'soks' $LOG.info 'Loaded Soks libraries from <%= settings[:soks_libraries].join('","') %>' end + +$LOG.info "Running Soks version #{SOKS_VERSION}" root_directory = File.expand_path( File.dirname( __FILE__) ) $MESSAGES = YAML.load( IO.readlines("#{root_directory}/views/messages.yaml").join ) banned_titles = IO.readlines("#{root_directory}/banned_titles.txt").map { |title| title.strip } \ No newline at end of file