我已经安装了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
我安装了Thor,我不知道该怎么做。请帮忙。
警告,我是这方面的新手。
答案 0 :(得分:1)
我找到了自己问题的答案。
我在Mac OS 10.7和Xcode 4.2上安装了Ruby 1.9.2。 Thor与最新的Xcode不兼容,一旦我安装了Ruby 1.9.3,一切似乎都运行良好。