Skip to content

Instantly share code, notes, and snippets.

@marekjelen
Created May 14, 2012 11:42
Show Gist options
  • Save marekjelen/2693521 to your computer and use it in GitHub Desktop.
Save marekjelen/2693521 to your computer and use it in GitHub Desktop.
POM with Rubygems
<repositories>
<repository>
<id>rubygems-proxy</id>
<name>Rubygems Proxy</name>
<url>http://rubygems-proxy.torquebox.org/releases</url>
<layout>default</layout>
</repository>
</repositories>
<dependency>
<groupId>rubygems</groupId>
<artifactId>sinatra</artifactId>
<version>1.3.2</version>
<type>gem</type>
</dependency>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<webResources>
<resource>
<directory>${project.build.directory}/rubygems</directory>
<targetPath>WEB-INF/gems</targetPath>
</resource>
</webResources>
</configuration>
</plugin>
@bbrowning
Copy link

  <plugin>
    <groupId>de.saumya.mojo</groupId>
    <artifactId>jruby-maven-plugin</artifactId>
    <executions>
      <execution>
        <id>install-gem</id>
      </execution>
    </executions>
  </plugin>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment