Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails 3/ Git/ Bundler Fatal could not parse object

When attempting bundle install I recieve the following error

Fatal could not parse object '8c11dd........
Git error: command git reset --hard '8c11dd

If this error persists you can try removing the cache directory.

Have removed the cache directory with no success, has anyone seen this error before?

Windows 7 64-bit


2 Answers

Ran into the same error when I moved repositories across servers. Resolved it by deleting the Gemfile.lock and running bundle install. This generated an updated Gemfile.lock that helped resolve the error.

like image 114
user553620 Avatar answered Sep 13 '25 05:09

user553620


If you are using Capistrano removing the (shared/)cached-copy should solve the problem.

like image 23
Tomasz Wójcik Avatar answered Sep 13 '25 05:09

Tomasz Wójcik