这个问题与几天前Neil Hoff 的帖子类似。我使用 Helicon Zoo 的 ruby 包下载了 Ruby On Rails。我正在使用 IIS Express 和 WebMatrix 在 Windows 7 上运行它。
就像,当我浏览该网站时,另一个问题是,我得到以下信息:
[tid-12570000] paths need to start with / (ArgumentError)
C:/Ruby19/lib/ruby/gems/1.9.1/gems/rack-1.3.6/lib/rack/urlmap.rb:33:in `block in remap'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/rack-1.3.6/lib/rack/urlmap.rb:25:in `each'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/rack-1.3.6/lib/rack/urlmap.rb:25:in `map'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/rack-1.3.6/lib/rack/urlmap.rb:25:in `remap'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/rack-1.3.6/lib/rack/urlmap.rb:18:in `initialize'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:128:in `new'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/rack-1.3.6/lib/rack/builder.rb:128:in `to_app'
C:/ZooExpress/Workers/ruby/lib/app.rb:45:in `build_app'
C:/ZooExpress/Workers/ruby/lib/app.rb:16:in `initialize'
C:/ZooExpress/Workers/ruby/lib/worker.rb:4:in `new'
C:/ZooExpress/Workers/ruby/lib/worker.rb:4:in `initialize'
C:/ZooExpress/Workers/ruby/zoorack.rb:30:in `new'
C:/ZooExpress/Workers/ruby/zoorack.rb:30:in `<module:Zack>'
C:/ZooExpress/Workers/ruby/zoorack.rb:12:in `<main>'
我知道 Windows 上的 RoR 没有大量追随者,但在过去 2 天里一直在寻找解决方案,并且通过谷歌,唯一远程相关的文本似乎是上面提到的另一个 SO 问题,没有答案。有人有什么想法吗?