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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:26:28+00:00 2026-05-16T18:26:28+00:00

I installed Rails 3 by following this gist: http://gist.github.com/296055 But when I try rails

  • 0

I installed Rails 3 by following this gist: http://gist.github.com/296055

But when I try “rails” in terminal I get the following error:

/Users/yves/.rvm/gems/ruby-1.9.2-head/gems/activerecord-3.0.0/lib/rails: Is a directory - /Users/yves/.rvm/gems/ruby-1.9.2-head/gems/activerecord-3.0.0/lib/rails (Errno::EISDIR)
    from /usr/bin/rails:19:in `load'
    from /usr/bin/rails:19

Any ideas?

UPDATE

Ok, I figured out something. I can run the correct rails by going directly to the right executable:
/Users/yves/.rvm/gems/ruby-1.9.2-head/gems/rails-3.0.0/bin/rails

Apparantly my “rails” command is still linked another version, the one in usr/local/bin

How can I change this?

  • 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-16T18:26:29+00:00Added an answer on May 16, 2026 at 6:26 pm

    Check out my answer on this other question:

    (if this works for you, we should mark this as a duplicate question. But I don’t have enough points to do that myself)

    —

    Older versions of rvm had a bug that can cause your ruby versions to get crosswired because the OS can cache executable paths for the which command (particularly if you are using zsh). See this long, detailed, mind blowing post by Yehuda Katz on the subject.

    What I had to do this morning:

    rvm update && rvm reload # update rvm
    rvm gemset delete rails3 # delete old gemset
    rvm install 1.9.2
    rvm use 1.9.2
    rvm gemset create rails3
    rvm use 1.9.2@rails3
    which ruby          # check to be sure the ruby interpretter is properly set to 1.9.2
    hash -r             # if ruby interpretter is not pointing to 1.9.2
    gem install rails
    which rails         # check to be sure we are using rvm version of rails
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having significant trouble installing Ruby on Rails. I installed Ruby with apt-get When
I installed WSS Infrastructure Update and MOSS Infrastructure Update ( http://technet.microsoft.com/en-us/office/sharepointserver/bb735839.aspx ) and now
So I installed Ruby On Rails using the Windows Installer. Now the startup guides
I installed Ruby and Ruby on Rails yesterday on Vista 32bit using the directions
I have two versions of rails (2.1.0 and 2.2.2) installed in my computer. When
I am struggling with the route setup for a Rails application. I have installed
I have fresh Rails 2.2 install, thing is that everything work fine until I
I installed ActiveReports from their site. The version was labeled as .NET 2.0 build
I installed the wxWidgets source code, compiled it and am linking the libraries thus
I installed Visual Studio 2005 ( with SP1 ) and made the default settings

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.