当我更新我的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
我应该做什么?