View previous topic :: View next topic |
Author |
Message |
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Fri Jun 28, 2013 3:19 am Post subject: bundle not found as users but as sudo is. |
|
|
git@mksrv ~ $ bundle
bash: bundle: command not found
mksrv # bundle
bash: bundle: command not found
mksrv # sudo -u git -H bundle
Bundler::GemfileNotFound
im trying to avoid sudo for a wiki page, what is going on with this strange behavior? im specifically updating the gitlab wiki from 4.1 to 5.3, and have 5.3 on my system but i required sudo and they didnt like it last time i put sudo into a wiki. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sun Jun 30, 2013 3:02 pm Post subject: |
|
|
that probably means it has been installed in /usr/sbin (could be /sbin but I doubt it).
/usr/sbin isn't in the general user PATH variable since binaries in that directory are usually for superuser usage.
if part of the command can be run as a normal user try: /usr/sbin/bundle _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
|