When deploying my Rails App to Linode via Capistrano/Unicorn, when running this command "bundle exec cap deploy:cold" it's giving the error :
The --deployment flag requires a Gemfile.lock. Please make sure you have checked your Gemfile.lock into version control before deploying.
command finished in 495ms
*** [deploy:update_code] rolling back
I've searched around and can't seem to find a solution. Any one know any solutions? How do you check your gemfile.lock into version control
https://github.com/Ruekompa/itcinema.git
After a little while of running running countless commands and attempts, I now notice there is a folder called cached-copy residing in /home/USERNAME/apps/APPNAME, and it contains my app.
UPDATE: I have fixed everything. I simply rebuilt ubuntu server on linode and started over. This time my deployment worked. Thanks everyone
I have fixed everything. I simply rebuilt ubuntu server on linode and started over. This time my deployment worked. I changed Ubuntu 12.04 to 10.04. Perhaps it was something in my capistrano recipes, for I was piggy backing off of someone else's code that was using 10.04.