创建新的Rails应用程序时出错

时间:2015-08-11 05:41:53

标签: ruby-on-rails ruby devkit

我正在尝试创建一个新的Rails应用程序,但是我收到以下错误:

D:\>rails new blog
D:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require':
    cannot load such file -- D:/config/boot (LoadError)
      from D:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:5
5:in `require' from script/rails:5:in `<main>'

如果我将目录更改为C盘,我可以创建它。

1 个答案:

答案 0 :(得分:0)

D drive -

中进行
 gem install rails --include-dependencies

然后尝试 -

rails new blog