lib/appengine-tools/bundler.rb in appengine-tools-0.0.12 vs lib/appengine-tools/bundler.rb in appengine-tools-0.0.13
- old
+ new
@@ -98,11 +98,10 @@
end
end
class AppBundler
- EXISTING_JRUBY = /^(jruby-abridged|appengine-jruby)-.*jar$/
EXISTING_APIS = /^appengine-api.*jar$/
def initialize(root_path)
@app = Application.new(root_path)
end
@@ -114,11 +113,10 @@
def bundle_deps(args=[])
confirm_appdir
create_webinf
bundle_gems(args)
- copy_jruby
copy_sdk
end
def bundle_gems(args)
return if defined? JRUBY_VERSION
@@ -173,14 +171,9 @@
EOF
File.open(app.config_ru, 'w') {|f| f.write(stock_rackup) }
end
generate_xml
create_public
- end
-
- def copy_jruby
- require 'appengine-jruby-jars'
- update_jars("JRuby", EXISTING_JRUBY, [AppEngine::JRubyJars.jruby_jar])
end
def copy_sdk
require 'appengine-sdk'
glob = "appengine-api-{1.0-sdk,labs}-*.jar"