Ruby on rails rake不';不行,失踪的宝石

Ruby on rails rake不';不行,失踪的宝石,ruby-on-rails,sass,rake,Ruby On Rails,Sass,Rake,我的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 occur

我的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安装
工作正常

我已经卸载并重新安装了gem
sass

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

提前谢谢


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

看起来我已经修复了它,毕竟这是一个非常简单的解决方案: 将
vender/bundle
移动到垃圾箱并运行
bundle安装