0

I have tried several times to install rails. Using RVM, then compiling the source myself, then using RVM again... every time the install looks like its worked fine but when i then try and run

rails -v

.. or any rails command, I get:

internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- /home/user/config/boot (LoadError)
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from script/rails:5:in `<main>'

ruby seems to work fine, as does gem. I have searched all over an cannot find information on what the issue could be. I am running Ubuntu 11.04 and have installed the latest release of the rails gem (not the RC)

1 Answer 1

3

Where are you running this command from? It looks like you are running it from your home directory where you've accidentally run rails new . and then deleted config/boot.rb but not deleted script/rails. Then, when you run rails -v that command is detecting there is a script/rails folder there and attempting to load the stack as if your home directory were a Rails application.

Remove script/rails from your home directory and try again.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.