您好,我使用谷歌云实例来运行我的代码,techonepl@instance-1:/opt/wpscan$ sudo gem install bundler && bundle install --without test
Fetching: bundler-1.14.6.gem (100%)
Successfully installed bundler-1.14.6
Parsing documentation for bundler-1.14.6
Installing ri documentation for bundler-1.14.6
Done installing documentation for bundler after 7 seconds
1 gem installed
There was an error while trying to write to
/opt/wpscan/.bundle/config. It is likely that you need to grant write permissions for that path.
即使我使用 sudo 运行它,我还需要授予什么?
系统信息:Ubuntu 14.04 Trusty
2GB 内存
在 Google Cloud 上运行。
我试图安装“wpscan”
通过修复它curl -sSL https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
rvm install 2.2.3
rvm use 2.2.3 --default
echo "gem: --no-ri --no-rdoc" > ~/.gemrc
gem install bundler
And sudo chmod -R 777 /opt/wpscan/.bundle
效果很好,谢谢。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)