Last modified: 2014-11-17 21:35:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62320, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60320 - $GEM_HOME is different when provisioning and when using vagrant ssh
$GEM_HOME is different when provisioning and when using vagrant ssh
Status: UNCONFIRMED
Product: MediaWiki-Vagrant
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-22 03:24 UTC by Tisza Gergő
Modified: 2014-11-17 21:35 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tisza Gergő 2014-01-22 03:24:03 UTC
puppet/modules/misc/files/gem-home.sh sets $GEM_HOME to ~/.gem. This means that packages with the 'gem' provider will be installed in /home/root/.gem, but after logging in $GEM_HOME will be /home/vagrant/gem, so the gems will not be available.
Comment 1 Gerrit Notification Bot 2014-02-04 02:10:12 UTC
Change 111143 had a related patch set uploaded by Gergő Tisza:
Make sure gems are always installed for the vagrant user

https://gerrit.wikimedia.org/r/111143
Comment 2 Gerrit Notification Bot 2014-02-05 21:05:23 UTC
Change 111143 merged by jenkins-bot:
Make sure gems are always installed for the vagrant user

https://gerrit.wikimedia.org/r/111143
Comment 3 Tisza Gergő 2014-02-26 00:16:59 UTC
No patch to review anymore, and the fix works for me on a clean vagrant instance, but a more robust solution would be nice.
Comment 4 Bryan Davis 2014-08-20 00:22:17 UTC
Is this still a problem? We no longer set GEM_HOME at all. It looks to me like all gems are now installed via native system packages or globally for all users.
Comment 5 Bryan Davis 2014-11-17 21:35:34 UTC
Bulk unassigning bugs from Ori.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links