rvm

来源:互联网 发布:80端口被系统占用 编辑:程序博客网 时间:2024/05/18 15:06
#!/usr/bin/env bash


# modify the ruby string below
ruby_string="ruby-1.8.7-p374@daemon"


true ${rvm_path:="/usr/local/rvm"}


if [[ -s "$rvm_path/scripts/rvm" ]] ; then
  source "$rvm_path/scripts/rvm"
else
  printf "ERROR: An RVM installation was not found.\n"
  exit 1
fi


rvm "$ruby_string" && exec "$@"
0 0