Unable to update gems on production server

后端 未结 7 1671
攒了一身酷
攒了一身酷 2021-01-31 03:17

Can not update gems on production server.

I\'ve tried bundle install --deployment and bundle install --without development test

But kee

7条回答
  •  暖寄归人
    2021-01-31 03:59

    This can be caused by an old version of the bundler gem on the server you're deploying to (in this case production). Logging into the server and running a gem update bundler resolved the issue for me. The server I was deploying to was running version 1.7.4 and the current version was 1.9.

提交回复
热议问题