我在我的 Windows 机器上安装了最新版本的 rails,当我尝试创建一个新应用程序时,我收到以下错误消息任何想法:
C:\Sites>rails new apexa C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.6/lib/rails/commands/application.rb: 12:in expand_path': non-absolute home (ArgumentError)
from C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.6/lib/rails/commands/application.rb:12
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
gem_original_require' 来自 C:/Ruby/ lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in require'
from C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.6/lib/rails/cli.rb:15
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
gem_original_require' 来自 C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in require'
from C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.6/bin/rails:7
from C:/Ruby/bin/rails:19:in
load' 来自 C:/Ruby/垃圾箱/导轨:19