Skip to content

Commit

Permalink
[build] do NOT inherit the JRUBY_OPTS from the executing environment
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
mkristian committed Nov 19, 2014
1 parent e63015b commit 1e98cb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
execute_goals( 'run',
:id => 'rake',
:phase => 'test',
:configuration => [ xml( '<target><exec dir="${jruby.home}" executable="${jruby.home}/bin/jruby" failonerror="true"><arg value="-S"/><arg value="rake"/><arg value="${task}"/></exec></target>' ) ] )
:configuration => [ xml( '<target><exec dir="${jruby.home}" executable="${jruby.home}/bin/jruby" failonerror="true"><env key="JRUBY_OPTS" value=""/><arg value="-S"/><arg value="rake"/><arg value="${task}"/></exec></target>' ) ] )
end

end
Expand Down
1 change: 1 addition & 0 deletions test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@
<configuration>
<target>
<exec dir="${jruby.home}" executable="${jruby.home}/bin/jruby" failonerror="true">
<env value="" key="JRUBY_OPTS" />
<arg value="-S" />
<arg value="rake" />
<arg value="${task}" />
Expand Down

0 comments on commit 1e98cb5

Please sign in to comment.