Ruby Error: "No such file or directory -- script/generate (LoadError)"

Posted by Jenius on Stack Overflow See other posts from Stack Overflow or by Jenius
Published on 2011-02-07T23:18:05Z Indexed on 2011/02/07 23:25 UTC
Read the original article Hit count: 384

Filed under:
|
|

Hey all,

I know that this error has been discussed elsewhere on the web, and this may seem like a stupid question, but I've got a very strange situation on my hands here.

I'm running on Snow Leopard, with fully updated ruby and rails gems. I created a new rails project (ruby new testing), then navigated into that folder (cd ~/testing), and tried to create a basic scaffolding (ruby script/generate scaffold newtest name:string), and I got this error back:

"ruby: No such file or directory -- script/generate (LoadError)"

I have searched google thoroughly and tried to implement every solution that I could, but nothing has been working. I don't understand why I have this error or how to fix it. Can anyone help me, please?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby