由于权限,无法捆绑安装

时间:2013-06-14 16:12:02

标签: ruby-on-rails permissions

当我更新我的Gemfile并运行bundle install时,它会出现错误消息

There was an error while trying to write to Gemfile.lock. It is likely that you need to allow write permissions for the file at path: /var/www/archive/Gemfile.lock

所以我做sudo bundle install。现在它说

sudo: bundle: command not found

我应该做什么?

0 个答案:

没有答案