Sha256: 9e6349d9951d0fd63b454f161217f6f9e18f21fbd41551a29ed3d4f95f3b8bac
Contents?: true
Size: 745 Bytes
Versions: 4
Compression:
Stored size: 745 Bytes
Contents
# $stdout, $stderr = # File or String in Memory (any cleanup measures?) #require 'RubyGems' puts "Starting the web client... please be patient..." puts "This window needs to remain running during GUI operations" puts "" require 'common' module SixUpdaterWeb OPEN_BROWSER = true SIX_PORT = if ARGV.to_s[/--port=([0-9]*)|-p/] $1 else ARGV << "--port=#{DEFAULT_PORT}" DEFAULT_PORT end unless ARGV.to_s[/--binding=|-b/] ARGV << "--binding=#{DEFAULT_IP}" end end puts "Checking for required Database migrations..." Dir.chdir(File.dirname(__FILE__)) do system "ruby -rubygems \"_rake.rb\" db:migrate" # goldberg:migrate end puts "" # Kick off Rails load 'script/server'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
six-updater-web-0.12.7 | lib/init.rb |
six-updater-web-0.12.6 | lib/init.rb |
six-updater-web-0.12.5 | lib/init.rb |
six-updater-web-0.12.4 | lib/init.rb |