Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public class DefaultRubygemsGateway
*/
public DefaultRubygemsGateway(final ScriptingContainer container) {
this.container = container;
System.err.println("===========" + container.runScriptlet("JRUBY_VERSION"));
dependencyHelperImplClass = container.runScriptlet("require 'nexus/dependency_helper_impl';"
+ "Nexus::DependencyHelperImpl");
gemspecHelperImplClass = container.runScriptlet("require 'nexus/gemspec_helper_impl';"
Expand Down Expand Up @@ -83,4 +84,4 @@ public DependencyData newDependencyData(InputStream dependency, String name, lon
return container.callMethod(dependencyDataImplClass, "new", new Object[]{dependency, name, modified},
DependencyData.class);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
require 'maven/tools/pom'
# we do not need openssl, so let rubygems find the dummy
$LOAD_PATH.insert(0, '.')
warn JRUBY_VERSION
require 'rubygems/package'

java_import org.torquebox.mojo.rubygems.GemspecHelper
Expand Down