Trying to install Redmine
I am trying to install redmine according to the instructions at How to Install Redmine - cPanel Knowledge Base - cPanel Documentation however when I get to step 4 and from within the redmine directory I run:
scl enable ea-ruby24 'bundle install'
I get the following response:
/var/tmp/sclj3uyCD: line 8: bundle: command not found
I ran scl enable ea-ruby24 'bundle install' as the user and had no issues at all
Suggestions?
-
Hi, Everything from step 1 through step 9 need performed as the cPanel user. Only the Pre-Install and step 10 are performed as the root user. 0 -
I am doing it as the user although I am doing a SU to the user could that be giving me grief? 0 -
Here is my gems environment when I am the user: RubyGems Environment: - RUBYGEMS VERSION: 2.6.13 - RUBY VERSION: 2.4.2 (2017-09-14 patchlevel 198) [x86_64-linux] - INSTALLATION DIRECTORY: /home/thwsllc/ruby/gems - USER INSTALLATION DIRECTORY: /home/thwsllc/.gem/ruby - RUBY EXECUTABLE: /opt/cpanel/ea-ruby24/root/usr/bin/ruby - EXECUTABLE DIRECTORY: /home/thwsllc/ruby/gems/bin - SPEC CACHE DIRECTORY: /home/thwsllc/.gem/specs - SYSTEM CONFIGURATION DIRECTORY: /opt/cpanel/ea-ruby24/root/etc - RUBYGEMS PLATFORMS: - ruby - x86_64-linux - GEM PATHS: - /home/thwsllc/ruby/gems - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :backtrace => false - :bulk_threshold => 1000 - "gem" => "--remote --gen-rdoc --run-tests" - "gemhome" => "/home/thwsllc/ruby/gems" - "gempath" => [] - "rdoc" => "--inline-source --line-numbers" - REMOTE SOURCES: - RubyGems.org | your community gem host - SHELL PATH: - /opt/cpanel/ea-ruby24/root/usr/bin - /opt/cpanel/ea-ruby24/root/usr/sbin - /usr/local/cpanel/3rdparty/lib/path-bin - /usr/local/jdk/bin - /usr/local/cpanel/3rdparty/lib/path-bin - /usr/local/jdk/bin - /usr/local/cpanel/3rdparty/lib/path-bin - /usr/local/cpanel/3rdparty/lib/path-bin - /usr/local/sbin - /usr/local/bin - /usr/sbin - /usr/bin - /opt/cpanel/composer/bin - /usr/local/bin - /usr/X11R6/bin - /root/bin - /usr/local/bin - /usr/X11R6/bin 0 -
When you su to the user, make certain you are doing it like this: su - user The inclusion of - instructs su to create an environment as if the user logged in directly. I find that solves a number of problems that stem from use of su. If you are using the - then I am out of suggestions at the moment. 0
Please sign in to leave a comment.
Comments
4 comments