lib/common.rb in six-updater-web-0.12.7 vs lib/common.rb in six-updater-web-0.13.1

- old
+ new

@@ -1,8 +1,8 @@ +require 'fileutils' + module SixUpdaterWeb - DEFAULT_PORT = 16333 - DEFAULT_IP = '127.0.0.1' OLDLOCATION = if defined?(TAR2RUBYSCRIPT) oldlocation else ENV['BASE_PATH'] ? ENV['BASE_PATH'] : Dir.pwd end @@ -10,11 +10,10 @@ unless ENV['BASE_PATH'] ENV['BASE_PATH'] = OLDLOCATION end SPECIAL = true - SIX_ADMIN = true end case RUBY_PLATFORM when /-mingw32$/, /-mswin32$/ @@ -45,5 +44,7 @@ rescue puts "ERROR: #{$!}" end ENV["RAILS_ENV"] = "production" + +require 'config/six-updater-web'