You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2012/10/07 11:51:59 UTC
svn commit: r1395262 - /buildr/trunk/.rvmrc
Author: donaldp
Date: Sun Oct 7 09:51:58 2012
New Revision: 1395262
URL: http://svn.apache.org/viewvc?rev=1395262&view=rev
Log:
Restrict the creation of a new shell to the install
Modified:
buildr/trunk/.rvmrc
Modified: buildr/trunk/.rvmrc
URL: http://svn.apache.org/viewvc/buildr/trunk/.rvmrc?rev=1395262&r1=1395261&r2=1395262&view=diff
==============================================================================
--- buildr/trunk/.rvmrc (original)
+++ buildr/trunk/.rvmrc Sun Oct 7 09:51:58 2012
@@ -22,17 +22,17 @@ if [ "X" == "X${detected_version}" ]; th
fi
# Force the creation of the gemset
-bash rvm use "${BUILDR_RUBY_VERSION}@${BUILDR_GEMSET}" --create
+rvm use "${BUILDR_RUBY_VERSION}@${BUILDR_GEMSET}" --create
export JRUBY_OPTS="-J-XX:MaxPermSize=312m -J-Xmx1024M"
export JAVA_OPTS="-Xmx1024m -XX:MaxPermSize=312m"
if [ -f Gemfile ]; then
- bash rvm "${BUILDR_RUBY_VERSION}@${BUILDR_GEMSET}" exec gem list | grep 'bundler' &> /dev/null
+ rvm "${BUILDR_RUBY_VERSION}@${BUILDR_GEMSET}" exec gem list | grep 'bundler' &> /dev/null
if [ $? -gt 0 ]; then
echo "Installing bundler..."
bash rvm "${BUILDR_RUBY_VERSION}@${BUILDR_GEMSET}" exec gem install bundler
fi
rm -f Gemfile.lock
- bash rvm "${BUILDR_RUBY_VERSION}@${BUILDR_GEMSET}" exec bundle install --no-binstubs
+ rvm "${BUILDR_RUBY_VERSION}@${BUILDR_GEMSET}" exec bundle install --no-binstubs
fi