Could not find rake-10.1.0 in any of the sources

前端 未结 5 1740
感动是毒
感动是毒 2021-01-03 08:02

I have been working with rails and have been trying to setup passenger with rake 10.1.0 and it sends back me this errors.

Here is the link to the error.Website LInk

5条回答
  •  Happy的楠姐
    2021-01-03 08:21

    The problem is that when you run the ruby command from the web server, it does not add /home/rails/.rvm/gems/ruby-2.0.0-p353@global/gems to your GEM_PATH, only /usr/local/rvm/.../gems. Your rake gem is installed in /home/rails/.rvm/gems. You need to add /home/rails/.rvm/gems/ruby-2.0.0-p353@global/gems to GEM_PATH.

提交回复
热议问题