Firstly, thanks for your reply.

Make sure you didn't .gitignore Gemfile.lock
>

No, I checked, and it is not included there.
 

> 'bundle install' locally and commit the result. 
>

I performed this action, and with a clean working directory the result was 
the same, unfortunately.

After further investigation into this and reading this little 
post<http://stackoverflow.com/a/6693102>, 
is my issue possibly related to ownership of the lock file on the server? 
Is is possible that the permission structures are mismatched?
 

> On Nov 1, 2013, at 6:09 PM, Gallagher Polyn 
> <[email protected]<javascript:>> 
> wrote:
>
> Hi,
>
> Using Capistrano v2.11.2 and Ruby 2.0.0p247 and attempting *cap 
> deploy:cold, *it seems I encounter a hiccup related to some improper 
> digestion of Gemfile.lock.
>
> Here is a gist with my Capfile, deploy.rb and the readout resulting from 
> the command: https://gist.github.com/gpolyn/0c7d35e52c81b8b53032
>
> …it seems to me that the problem is encountered here...
>
>     [localhost] sh -c 'cd /var/massiveapp/releases/20131102003502 && 
> bundle install --gemfile /var/massiveapp/releases/20131102003502/Gemfile 
> --path /var/massiveapp/shared/bundle --deployment --quiet --without 
> development test'
>  ** [out :: localhost] The --deployment flag requires a Gemfile.lock. 
> Please make sure you have checked
>  ** [out :: localhost] your Gemfile.lock into version control before 
> deploying.
>     command finished in 112ms
> *** [deploy:update_code] rolling back
>
> …though a (possibly unrelated) failure follows later...
>
> failed: "sh -c 'cd /var/massiveapp/releases/20131102003502 && bundle 
> install --gemfile /var/massiveapp/releases/20131102003502/Gemfile --path 
> /var/massiveapp/shared/bundle --deployment --quiet --without development 
> test'" on localhost
>
>
 

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to