Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

When trying to run rails g migration a, I get the following 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 script/rails

Now few days this did work, and I did check my gemfile and I find thor like this

thor (0.16.0)

but it doesn't seem to work, what should I do?

share|improve this question
Have you done gem install thor? –  N.N. Feb 15 '13 at 17:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.