Error starting server

Sébastien Clément
Mon, 22 Feb 2010 17:37:34 -0000

OS: Windows Server 2008
Ruby: ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
Rails: Rails 2.3.5
Rails app created with: Rails 1.2.5
-------

When I try to start the server, a window pops up with the following
message:
==========================================================================="This
application has failed to start because msvcrt-ruby18.dll was not
found. Re-installing the application may fix this problem."


Here is the output in the DOS console:
=====================================
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>cd c:\rails_apps\aaa_arb

c:\rails_apps\aaa_arb>ruby script/server -e production
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/depend
encies.rb:156:in `require'':
C:/Ruby19/lib/ruby/gems/1.9.1/gems/gettext-1.10.0/li
b/gettext/iconv.rb:88: invalid multibyte char (US-ASCII) (SyntaxError)
C:/Ruby19/lib/ruby/gems/1.9.1/gems/gettext-1.10.0/lib/gettext/iconv.rb:88:
inval
id multibyte char (US-ASCII)
C:/Ruby19/lib/ruby/gems/1.9.1/gems/gettext-1.10.0/lib/gettext/iconv.rb:88:
synta
x error, unexpected $end, expecting '')''
  puts Iconv.iconv("EUC-JP", "UTF-8",
"πü╗πüÆ").join
                                         ^
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `block in require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:521:in `new_constants_in''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/gettext-1.10.0/lib/gettext/mo.rb
:18:in `<top (required)>''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `block in require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:521:in `new_constants_in''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/gettext-1.10.0/lib/gettext.rb:18
:in `<top (required)>''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `block in require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:521:in `new_constants_in''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/gettext-1.10.0/lib/gettext/cgi.r
b:13:in `<top (required)>''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `block in require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:521:in `new_constants_in''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/gettext-1.10.0/lib/gettext/rails
.rb:12:in `<top (required)>''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `block in require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:521:in `new_constants_in''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `require''
        from c:/rails_apps/aaa_arb/config/environment.rb:17:in `<top
(required)>
''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `block in require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:521:in `new_constants_in''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_s
upport/dependencies.rb:156:in `require''
        from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/commands/server.
rb:84:in `<top (required)>''
        from script/server:3:in `require''
from script/server:3:in ` ''

c:\rails_apps\aaa_arb>

Attachments:
http://www.ruby-forum.com/attachment/4508/rails_error_lauching_server.gif

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at