RVM and bash_profile

前端 未结 1 718
-上瘾入骨i
-上瘾入骨i 2020-12-21 20:31

I\'m having problems installing RVM on my mac. I took my computer in to have the fan repaired so I\'m using my wives trying to set up my environment to get some work done.

相关标签:
1条回答
  • 2020-12-21 21:18

    How accurate is your final bullet point? That is, does your bash_profile say:

    export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/sbin:/usr/sbin[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
    

    or

    export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/sbin:/usr/sbin
    [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
    

    They should be on separate lines, and based on your error message, I'd guess this is the problem.

    0 讨论(0)
提交回复
热议问题