Error starting server

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 © 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:inblock 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:inrequire’
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:inrequire’
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:innew_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:inblock 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:inrequire’
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:inrequire’
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:innew_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:inblock 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:inrequire’
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:inrequire’
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:innew_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>

http://www.ruby-forum.com/topic/203527#886517

Sharagoz – wrote:

http://www.ruby-forum.com/topic/203527#886517

Thank you.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs