Skip to content

Commit

Permalink
fix rvm sourcing in bash
Browse files Browse the repository at this point in the history
closes #402
  • Loading branch information
CamJN committed May 13, 2024
1 parent c950918 commit 252fa76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/ruby_support/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ run usermod -a -G rvm app
run install -o root /pd_build/ruby_support/system-rvm-exec.sh /usr/bin/rvm-exec

# Ensure bash always loads the RVM environment.
echo 'if [[ "$rvm_prefix" = "" ]]; then source /etc/profile.d/*rvm*; fi' >> /etc/bash.bashrc
echo 'if [[ "$rvm_prefix" = "" ]]; then for file in /etc/profile.d/*rvm*; do source $file; done; fi' >> /etc/bash.bashrc

## Install fake DPKG entry so that Passenger doesn't install Ruby from APT.
echo "+ In /tmp:"
Expand Down

0 comments on commit 252fa76

Please sign in to comment.