deepinder
deepinder

Reputation: 131

rails best in place forces bundle install always

I have a rails project and I started used best in place gem. In order to make it work i had to put this line as

gem 'best_in_place', github: 'bernat/best_in_place', branch: "rails-4"

in my Gemfile.

Now whenver I deploy the project I am forced to do a bundle install because if I dont I get a Phusion error saying that

git://github.com/bernat/best_in_place.git (at rails-4) is not checked out. Please run bundle install (Bundler::GitError)

I also tried to bundle install --deployment and then symlink the vendor/bundle folder into my shared directory but that also does not solve the problem. I have the symlink after a fresh deployment but somehow it does not take. I have to do a bundle install every time i deploy.

Please help. This takes a good 20 minutes to deploy now as against the 3-4 minutes it used to take earlier.

Upvotes: 0

Views: 160

Answers (1)

Related Questions