Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

"Thor is not available" and `ruby /path/to/rails new myapp --dev`

#4915

When trying to use the Rails generators without having Thor installed, you get this message:

Thor is not available.
If you ran this command from a git checkout of Rails, please make sure thor is installed,
and run this command as `ruby /path/to/rails myapp --dev`

I've included a patch that simply changes ruby /path/to/rails myapp --dev to ruby /path/to/rails new myapp --dev (adding "new"). :)

Reported by Jeff Kreeftmeijer · June 20th, 2010 @ 11:51 PM

State: resolved
Milestone: 3.0.2
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. Jeff Kreeftmeijer
  2. Rohit Arondekar
    Rohit Arondekar
    • Milestone cleared.
    • State changed from new to verified
    • Assigned user set to José Valim

    +1 applies cleanly, and a nice find :)

    June 21st, 2010 @ 02:15 AM

  3. Repository
    Repository
    • State changed from verified to resolved

    (from [ead72b319f781ae3767a8695e3e29e9249388f7f]) Changed ruby /path/to/rails myapp --dev to ruby /path/to/rails new myapp --dev in the "Thor is not avalable" message. [#4915 state:resolved]

    Signed-off-by: José Valim jose.valim@gmail.com
    http://github.com/rails/rails/commit/ead72b319f781ae3767a8695e3e29e...

    June 21st, 2010 @ 10:10 AM

  4. Ryan Bigg
    Ryan Bigg
    • Tag cleared.
    • Importance changed from to Low

    Automatic cleanup of spam.

    October 11th, 2010 @ 10:56 AM

  5. Jeremy Kemper