lib/appengine-tools/boot.rb in appengine-tools-0.0.11 vs lib/appengine-tools/boot.rb in appengine-tools-0.0.12
- old
+ new
@@ -17,10 +17,12 @@
require 'appengine-sdk'
module AppEngine
module Development
+ BOOT_APP_RB = File.join(File.dirname(__FILE__), 'boot_app.rb')
+
class << self
def boot_jruby(root=nil, options={})
unless defined?(JRUBY_VERSION)
require 'appengine-jruby-jars'
@@ -51,10 +53,10 @@
def boot_app(root, args)
root = File.expand_path(root)
jars = AppEngine::SDK::RUNTIME_JARS
- jruby_args = %w(-rappengine_boot) + args
+ jruby_args = ["-r#{BOOT_APP_RB}"] + args
ENV['APPLICATION_ROOT'] = root
ENV.delete 'GEM_HOME'
exec_jruby(root, jars, jruby_args)
end