Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3608762
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:32:31+00:00 2026-05-18T21:32:31+00:00

I installed rvm as root to setup an Ubuntu LTS 8.04 as a web

  • 0

I installed rvm as root to setup an Ubuntu LTS 8.04 as a web hosting server for my rails apps.

rvm is installed in:

/usr/local/rvm

Everything works fine, gems installation included and users are able to use ruby and gem commands.

sudo gem install rails

My problem is that the gems EXECUTABLE DIRECTORY is not included in my PATH and thus I cannot use rails command.

Is there a way to dynamycally include gems executable directory in my PATH?

Can it be done directly through rvm?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T21:32:32+00:00Added an answer on May 18, 2026 at 9:32 pm

    I suspect you don’t have RVM setup correctly if it’s not in your path.

    First, If you run:

    type rvm | head -1
    

    and it returns anything other “rvm is a function” then you are not loading it correctly in your profiles.

    Second, you may want to include global definitions for the users profiles.

    In your users’ .bashrc or equivalent

    # Source global definitions
    if [ -f /etc/bashrc ]; then
        . /etc/bashrc
    fi
    

    And then in your /etc/bashrc, add your executable path.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A member of our team installed RVM using sudo. We removed ~/.rvm and /usr/local/rvm
Okay, so I installed rvm and everything as root. Then I installed Ruby Enterprise
I have installed RVM in my ubunut linux box and configured the Rails 3
I'm trying to run rails from my root directory (Im using RVM) and I
I'm trying to install RVM into /usr/local/rvm because I need the ability to run
Installed rvm gem installed passenger when I try to install passenger-install-apache2-module it gives? root@c2h2crawler:~#
My RVM is installed as root. When I'm trying to start unicorn socket, it
I have recently installed RVM on a fresh install of Ubuntu 11.10 and can
I've installed RVM successfully in Ubuntu 11.0. However when I'm up to the step
I am trying to set up RVM On Ubuntu 11.04 Server. Making use of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.