Path's issue with bundler, to change or not to change?

后端 未结 4 920
被撕碎了的回忆
被撕碎了的回忆 2021-01-15 02:47

I\'m trying to setup a new rails 3 project with bundler, but i ran into issues with bundler. I\'m on rails 3.0.3 with ruby 1.8.7

When trying to do

$          


        
4条回答
  •  自闭症患者
    2021-01-15 03:01

    I got the same error (I'm using rvm). It turned out that in both my .profile and .bashrc was the following statement:

    export PATH=~/.gem/ruby/1.8/bin:$PATH
    

    So this path was taken instead of the rvm path. I commented these lines out and now everything works fine

提交回复
热议问题