lib/appengine-tools/dev_appserver.rb in appengine-tools-0.0.1 vs lib/appengine-tools/dev_appserver.rb in appengine-tools-0.0.2

- old
+ new

@@ -27,12 +27,10 @@ path = args[-1] || '.' if args.length > 0 and File::directory?(args[-1]) unless ENV['BOOTING_DEVAPPSERVER'] puts "=> Booting DevAppServer" puts "=> Press Ctrl-C to shutdown server" - print "=> " - $stdout.flush ENV['BOOTING_DEVAPPSERVER'] = 'true' end AppEngine::Admin.bundle_app(path) end AppEngine::Development.boot_jruby @@ -45,11 +43,11 @@ end def get_jruby_home(path) return unless path Dir.chdir("#{path}/WEB-INF/lib") do - jars = Dir.glob("jruby-abridged-*.jar").grep( - /^jruby-abridged-\d+[.]\d+[.]\d+[.]jar$/) + jars = Dir.glob("appengine-jruby-*.jar").grep( + /^appengine-jruby-\d+[.]\d+[.]\d+[.]jar$/) if !jars.empty? jar = File.expand_path(jars[0]) return "file:/#{jar}!/META-INF/jruby.home" end end