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

  • Home
  • SEARCH
  • 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 3432882
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:30:17+00:00 2026-05-18T07:30:17+00:00

I am trying to set up an environment as per this tutorial http://railstutorial.org/book#sec:1.2.2.3 however

  • 0

I am trying to set up an environment as per this tutorial http://railstutorial.org/book#sec:1.2.2.3 however I get the below error when running ‘rails -v’

bash-3.2$ rails -v
/Users/sandbox1/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:762:in `report_activate_error': Could not find RubyGem rails (>= 0) (Gem::LoadError)
        from /Users/sandbox1/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:219:in `activate'
        from /Users/sandbox1/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:1065:in `gem'
        from /usr/bin/rails:18:in `<main>'

Has anyone had this before?

  • 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-18T07:30:18+00:00Added an answer on May 18, 2026 at 7:30 am

    Incase anyone else has this problem and the marked answer doesn’t solve it, here is what fixed it for me:

    Don’t use sudo.

    • “When you do sudo you are running
      commands as root, another user in
      another shell and hence all of the
      setup that RVM has done for you is
      ignored while the command runs under
      sudo (such things as GEM_HOME,
      etc…). So to reiterate, as soon as
      you ‘sudo’ you are running as the
      root system user which will clear out
      your environment as well as any files
      it creates are not able to be
      modified by your user and will result
      in strange things happening. (You
      will start to think that someone has
      a voodoo doll of your
      application…)”

    Taken from here

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

Sidebar

Related Questions

In Visual Studio 2003, I am trying to set an environment variable in the
I am trying to set my DOS environment variable in Ruby, and have it
I'm trying to write a shell script that, when run, will set some environment
Im trying to set up a session and i am getting a header error,
I'm trying to use APPCMD to set debug=false in web.config , per the documentation
I'm trying to set up an environment with interprolog and SWI prolog, interprolog needs
I'm trying to set up my environment for developing, debugging and deploying Windows Desktop
I am trying to set up a development environment to play around with developing
I'm trying to grovel through some other processes environment to get a specific env
I am trying to use delayed_job on heroku and I get the following error:

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.