Skip to content

Commit 1ddbd81

Browse files
committed
Added support for .rvmrc files in workspace
1 parent 3b5fd1b commit 1ddbd81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<concurrentBuild>false</concurrentBuild>
1414
<builders>
1515
<hudson.tasks.Shell>
16-
<command>rvm use default; bundle install; mkdir -p features/reports</command>
16+
<command>if [ -f $WORKSPACE/.rvmrc ]; then source $WORKSPACE/.rvmrc; else rvm use default; fi; bundle install; mkdir -p features/reports</command>
1717
</hudson.tasks.Shell>
1818
<hudson.plugins.rake.Rake>
1919
<rakeInstallation>(Default)</rakeInstallation>

0 commit comments

Comments
 (0)