Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Unable to upgrade to 3.4.0 #469

Closed
justinmartin opened this issue Apr 6, 2015 · 6 comments
Closed

Unable to upgrade to 3.4.0 #469

justinmartin opened this issue Apr 6, 2015 · 6 comments

Comments

@justinmartin
Copy link

My installation is running on DigitalOcean and was installed with the installer script. The last update installed just fine.

When I checkout 3.4.0 and run bundle install, I get the following message:

You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.

I'm not sure how to move forward.

Thanks.

@cessien
Copy link
Contributor

cessien commented Apr 6, 2015

Did you try running:
rm -rf /var/www/onebody/vendor/bundle

and then bundle install? There might be a bug in the script because of the change, but I don't use digital ocean

https://github.com/churchio/onebody/wiki/Manual-Installation#version-specific-upgrade-information

@justinmartin
Copy link
Author

I did remove the the vendor/bundle folder.

I followed the instructions at the link provided. I'm not sure what I did.

@cessien
Copy link
Contributor

cessien commented Apr 11, 2015

Hey @justinmartin, I was able to reproduce your issue. To get it working I had to do bundle install --no-deployment then bundle update then bundle install. The no deployment flag should allow you to get the right gems and the other commands will put you on the right track for the future.
I'm not sure at what level of a bug this should be classified @seven1m or if there's way to handle this?

@seven1m
Copy link
Owner

seven1m commented Apr 13, 2015

That's odd -- not sure why that's needed.

Oh well. I updated the wiki.

@seven1m seven1m closed this as completed Apr 13, 2015
@justinmartin
Copy link
Author

Awesome. Thanks so much.

@seven1m
Copy link
Owner

seven1m commented Apr 13, 2015

Thanks @cessien for tracking this down!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants