执行bundle install
出现以下错误 :
There was an error while trying to write to `/application/nginx/html/redmine/Gemfile.lock`. It is likely that you need to grant write permissions for that path.
我是使用非root用户执行的
然后这个Gemfile.lock文件是没有生成的
解决方法 :
切换到root用户下,进到redmine目录执行`bundle install`
然后再返回到其他用户执行`bundle install`就行了
不知道方法是否正确合规,但是问题是解决了
有人建议是给redmine赋予755权限, 我试了,没有用
如下:
chmod 755 -R /application/nginx/html/redmine/