Find file History
Pull request Compare This branch is 560 commits behind sonatype:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src
pom.xml
readme.md

readme.md

target platform

nexus >=1.9.2 or 1.9.2-SNAPSHOT from https://github.com/sonatype/nexus

build plugin

needs access to http://rubygems-proxy.torquebox.org/releases/ which cannot be mirrored by nexus since it does not have browsable directories.

mvn install

install

just unzip the plugin bundle target/nexus-ruby-plugin-1.0.0-SNAPSHOT-bundle.zip in $NEXUS_HOME/runtime/apps/nexus/plugin-repository/

now you can add a new ruby repository inside the admin-GUI.

lazy gem materialization

add the lazyGemMaterialization tag in $NEXUS_HOME/../sonatype-work/nexus/conf/nexus.xml

<repositories>
  . . . . .
  <repository>
    <id>ruby</id>
    <name>ruby</name>
    . . . . .
    <externalConfiguration>
      <lazyGemMaterialization>true</lazyGemMaterialization>
      . . . . .
    </externalConfiguration>
  </repository>
</repositories>