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 8127913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:42:07+00:00 2026-06-06T07:42:07+00:00

I installed RVM from scratch following the installation guide on the official website. I

  • 0

I installed RVM from scratch following the installation guide on the official website. I installed Rails, created a dummy app and everything worked fine.

I shut off my machine.

The next morning, I turned on the machine again (cold boot) and the tried running “rails -v” from the console, but I get the following error message:

sergio@Sergio-work ~ $ rails -v

The program ‘rails’ is currently not
installed. You can install it by typing: sudo apt-get install rails

I can run ruby -v just fine, and get the following message:

sergio@Sergio-work ~ $ ruby -v

ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]

I can also run gem list just fine, output:

sergio@Sergio-work ~ $ gem list

*** LOCAL GEMS ***

actionmailer (3.2.3)
actionpack (3.2.3)
activemodel (3.2.3)
activerecord (3.2.3)
activeresource (3.2.3)
activesupport (3.2.3)
arel (3.0.2)
builder (3.0.0)
bundler (1.1.4)
coffee-rails (3.2.2)
coffee-script (2.2.0)
coffee-script-source (1.3.3)
erubis (2.7.0)
execjs (1.4.0)
faraday (0.8.0)
google_drive (0.3.0)
hike (1.2.1)
httpauth (0.1)
i18n (0.6.0)
journey (1.0.3)
jquery-rails (2.0.2)
json (1.7.3)
libv8 (3.3.10.4 x86_64-linux)
mail (2.4.4)
mime-types (1.18)
multi_json (1.3.6, 1.3.5)
multipart-post (1.1.5)
mysql2 (0.3.11)
nokogiri (1.5.0)
oauth (0.4.6)
oauth2 (0.7.1)
polyglot (0.3.3)
rack (1.4.1)
rack-cache (1.2)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.2.3)
railties (3.2.3)
rake (0.9.2.2)
rdoc (3.12)
rubygems-bundler (1.0.2)
rvm (1.11.3.3)
sass (3.1.19, 3.1.18)
sass-rails (3.2.5)
sprockets (2.1.3)
sqlite3 (1.3.6)
therubyracer (0.10.1)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.33)
uglifier (1.2.4)

Why doesn’t my rails -v command work anymore? I used to have this “hack” where I would need to run a command in terminal, “source something something” once, before rails would be “recognized” as an actual command. I had to this once per terminal, meaning if I closed a terminal I had to re-run this after opening a new window terminal.

I can’t seem to find this command anymore on the Help section for RVM (where I originally found it) and since I’m kind of new to Linux, these advanced configurations are complex to me.

Any ideas?

  • 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-06-06T07:42:09+00:00Added an answer on June 6, 2026 at 7:42 am

    You need to type source ~/.rvm/scripts/rvm before attempting to use Rails.

    I believe the RVM installation suggests putting this line (or something similar) in your .bashrc.

    Run the following command in Terminal:

    echo "source \$HOME/.rvm/scripts/rvm" >> ~/.bashrc
    

    This appends the line source \$HOME/.rvm/scripts/rvm to the end of the .bashrc file.

    Doing so ensures that RVM is properly loaded each time you open up a terminal.

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

Sidebar

Related Questions

rebuilding a mac from scratch. Installed xcode and rvm then trying to install rubies
I have standard ruby-head and Rails 3.1rc4. I installed ruby-debug with following instructions from
Following instructions from http://web2linux.com/installing-rails-3-on-ubuntu-10-04-lucid-lynx/ I get to the following line: rvm install 1.9.2 returns:
I'm a newbie following the RailsTutorial.org program and have installed/setup rvm, ruby 1.9.2,rails, curl,
I just installed rvm + rails 3+ on centos 6.0 at Rackspace cloud server.
I am new to Rails and Linux and have installed RVM with sudo. sudo
I currently have Ruby on Rails installed via RVM in Ubuntu 12.04. The default
I had already installed rails 1.8.7, forgot about it, then installed 1.9.3 through RVM.
So I'm new to rails and am actually following a video tutorial from Lynda.com
I just installed RVM on OSX (which was a pain), entered Rails Console in

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.