Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Trying to install Redmine

Discussion in 'General Discussion' started by criley, Jan 31, 2018.

  1. criley

    criley Registered

    Joined:
    Aug 15, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    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?
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,553
    Likes Received:
    40
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    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.
     
  3. THWSLLC

    THWSLLC Registered

    Joined:
    Aug 2, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    St. Louis
    cPanel Access Level:
    Root Administrator
    I am doing it as the user although I am doing a SU to the user could that be giving me grief?
     
  4. THWSLLC

    THWSLLC Registered

    Joined:
    Aug 2, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    St. Louis
    cPanel Access Level:
    Root Administrator
    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
     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,553
    Likes Received:
    40
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page