Closed Katee closed 7 years ago
I'm a little worried about doing a bundle update on the production server mid-flight on my own. Maybe we should arrange a time to get on chat so I can poke at it and make sure it goes smoothly?
Future dev work should happen in master, but first I need to create a stable prod branch that I can pull the server from. (the server has a private branch prod-2017 that pulls from ywwg/master. I'll repoint it to the new stable branch) All easy to do, just not doing it this second ;-).
ps thanks for getting on this so quickly! much appreciated
I'm happy to help update the production server (and set up a staging one if you don't have one yet).
ok I made a prod-2017 branch that we'll keep the big changes out of (and pull to the prod server from), so I can merge this
see this is what I don't get, I do "bundle update" on my local install and I get:
Warning: the running version of Bundler (1.13.2) is older than the version that created the lockfile (1.13.7). We suggest you upgrade to the latest version of Bundler by running gem install bundler
.
but do I want to do that, or do I want to do sudo gem install bundler? When do I do stuff as sudo vs not? I'd prefer to do it the right way on the actual server
You probably want to update bundler using gem install bundler
. Usually you don't want to run gem
or bundler
with sudo
.
In this case it is probably okay to ignore that warning.
then I get:
$ gem install bundler Fetching: bundler-1.14.6.gem (100%) ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/2.3.0 directory.
Which makes sense to me, a regular user shouldn't be able to write to /var/lib
I worry about upgrading stuff on the prod server if something like bundler is usually managed by a deb or rpm package
Oh, I'm not sure how you have things set up, I don't usually use the
managed package. I use rbenv
on my machine to handle multiple versions of
ruby.
On Sun, Mar 26, 2017 at 6:41 PM, Owen Williams notifications@github.com wrote:
I worry about upgrading stuff on the prod server if something like bundler is usually managed by a deb or rpm package
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ywwg/ffagc/pull/60#issuecomment-289322462, or mute the thread https://github.com/notifications/unsubscribe-auth/AAE4xewMNSlZIi4TKWWdib-QoTFh1hItks5rpumpgaJpZM4MnkjV .
-- http://kate.io @kategeek https://twitter.com/kategeek Signal: +1 416 556 4203 Google Voice: +1 941 999 1337
I followed only the finest tutorials on stackoverflow, sometimes multiple simultaneously
:sob:
https
scheme instead ofgit
to loadjudge-formtastic
gem.