【发布时间】:2012-05-18 03:57:04
【问题描述】:
我已经安装了 Ruby 1.9.2 以及安装 rails gem。我现在尝试创建一个新的 Rails 应用程序:
$ rails new foo -T
我会立即收到提示
Thor is not available.
If you ran this command from a git checkout of Rails, please make sure thor is installed
我已经安装了雷神,但我不知道该怎么做。请帮忙。
警告,我是这方面的新手。
【问题讨论】:
-
您在 Windows 上吗?苹果电脑? Linux?你怎么知道你安装了雷神?
-
抱歉,我使用的是 Mac。我 gem 安装了 thor,我可以查看 Thor 的 --help 和 -v。我认为这意味着它已安装。
标签: ruby-on-rails thor