Make bundler use different gems for different platforms

后端 未结 9 1418
甜味超标
甜味超标 2020-11-29 02:06

I\'m working on upgrading one of our Rails 2.3.8 apps to Rails 3, and have run into an annoying problem with bundler and deployment. I develop the application on a Windows m

9条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-29 02:36

    Don't commit Gemfile.lock and your gems to production. You have to run bundler install again in production.

提交回复
热议问题