I have a 32 bit server that I wish to deploy an application to. I have the deploy branch checked out on an i86_64 bit machine. What is the proper way to deploy the application and its gems from the i86_64 machine?
Do I configure a deployment specific Gemfile, send only that, and then run bundle package as a Capistrano task? What is the preferred way?
bundle install --deployment creates a vendor/bundle with architecture specific gem libraries. Some of these then have the wrong ELF when deployed to a different architecture, thus the question.