forked from mazondo/Punchy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
53 lines (53 loc) · 1.47 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>au.com.mathew</groupId>
<artifactId>jruby-heroku</artifactId>
<version>1.0</version>
<name>webapp</name>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.jruby</groupId>
<artifactId>jruby-complete</artifactId>
<version>1.6.3</version>
</dependency>
<dependency>
<groupId>org.jruby.plugins</groupId>
<artifactId>jruby-rake-plugin</artifactId>
<version>1.6.3</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.jruby.plugins</groupId>
<artifactId>jruby-rake-plugin</artifactId>
<version>1.6.3</version>
<executions>
<execution>
<id>install-bundler</id>
<phase>process-resources</phase>
<goals>
<goal>jruby</goal>
</goals>
<configuration>
<args>-S gem install bundler --no-ri --no-rdoc --install-dir .gems</args>
</configuration>
</execution>
<execution>
<id>bundle-install</id>
<phase>process-resources</phase>
<goals>
<goal>jruby</goal>
</goals>
<configuration>
<args>
-e ENV['GEM_HOME']=File.join(Dir.pwd,'.gems');ENV['GEM_PATH']=File.join(Dir.pwd,'.gems');ENV['BUNDLE_GEMFILE']=File.join(Dir.pwd,'Jemfile');require'rubygems';require'bundler';require'bundler/cli';cli=Bundler::CLI.new;cli.install
</args>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>