耙不起作用,缺少宝石

时间:2013-12-06 14:36:53

标签: ruby-on-rails sass rake

我的佣金功能不再起作用了

$rake routes
Could not find sass-rails-4.0.1 in any of the sources
Run `bundle install` to install missing gems.

当我运行bundle install时,它说:

Errno::EACCES: Permission denied - /Users/kaibakker/dewortel/vendor/bundle/bin/ri
An error occurred while installing rdoc (3.12.2), and Bundler cannot continue.
Make sure that `gem install rdoc -v '3.12.2'` succeeds before bundling.

sudo bundle install工作正常

我已经取消并重新安装了gem sass

这可能是一个简单的问题(我是铁杆新手)

提前致谢

系统(OSX 10.7,rails 4.0.1,ruby 2.0.0)

1 个答案:

答案 0 :(得分:0)

似乎我修好了,毕竟是非常简单的解决方案: 将vender/bundle移至回收站并运行bundle install