2

Railsサーバーを起動しようとすると、このエラーが表示されます

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'
.
.
.

RailsでRubyを使用するために何をする必要がありますか?

4

1 に答える 1

3

パスが英語の記号のみであるディレクトリにアプリケーションを作成することをお勧めします。Ruby はおそらくこの 'Aplicações em ruby​​' のような記号を理解できません。

于 2012-06-27T16:28:50.583 に答える