2012-06-27 72 views
2

當我嘗試啓動這個錯誤不斷出現錯誤,當我開始在Windows

C:\Arthur\Ruby\Aplicações em ruby\blog>rails server 
=> Booting WEBrick 
=> Rails 3.2.6 application starting in development on http://0.0.0.0:3000 
=> Call with -d to detach 
=> Ctrl-C to shutdown server 
Exiting 
C:/Arthur/Ruby/Aplicações em ruby/blog/config.ru:4:in `require': cannot load such file -- 
C:/Arthur/Ruby/Aplicações em ruby/blog/config/environment (LoadError) 
    from C:/Arthur/Ruby/Aplicações em ruby/blog/config.ru:4:in `block in <main>' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `ins 
tance_eval' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `ini 
tialize' 
    from C:/Arthur/Ruby/Aplicações em ruby/blog/config.ru:1:in `new' 
    from C:/Arthur/Ruby/Aplicações em ruby/blog/config.ru:1:in `<main>' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eva 
l' 
. 
. 
. 

什麼,我需要做的,在軌道上使用Ruby Rails服務器導軌服務器???

回答

3

我想建議你在目錄中創建你的應用程序,其中路徑只有英文符號。 Ruby可能無法理解像這樣的符號'Aplicaçõesem ruby​​'

+0

非常感謝你,現在rails服務器工作! – Arthurmoreno