2011-02-06 8 views
0

Windows XPでmongrelを使ってレールアプリケーションを起動しようとしています。wndowsのmongrelでrailsアプリケーションを起動するとエラーが発生するxp

私は(宝石は、おそらく見落としや互換性のないバージョン?)次のエラーがバージョン固有であると考えていますが不足している、まさにピンポイントで特定することはできません

マイルビーバージョン
C:\ルビー-v
ルビー1.9 .2p136(2010-12-25)[I386-MINGW32]

* LOCAL GEMS *

抽象(1.0.0)
actionmailerの(3.0。 (3.0.4.rc1,3.0.3,2.2.3)
actionpack(3.0.4.rc1,3.0.3,2.2.3)
activemodel(3.0.4.rc1,3.0.3)
activerecord(3.0。 (3.0.4.rc1,3.0.3,2.2.3)
activeresource(3.0.4.rc1,3.0.3,2.2.3)
activesupport(3.0.4.rc1,3.0.3,2.2.3)
AREL(2.0.7)
ビルダー(2.1.2)
バンドラ(1.0.10)
cgi_multipart_eof_fix(2.5.0)
erubis(2.6.6)
gem_plugin(0.2.3)(0.5.0)
メール(2.2.15)
MIMEタイプ(1.16)
minitest(1.6.0)
雑種(1.2.0.pre2のx86 MINGW32、1.1.5 x86ベース I18N MINGW32)
mongrel_service(0.4.0)
ポリグロット(0.3.1)
ラック(1.2.1)
ラックマウント(0.6.13)
ラック試験(0.5.7)
レール( 3.0.4.rc1,3.0.3,2.2.3)
railties(3.0.4.rc1,3.0.3)
レーキ(0.8.7)
RDOC(2.5.8)
RubyGemsの更新(1.5.0)
トール(0.14.6)
梢(1.4.9)
tzinfoの(0.3.24)

私は、このコマンドを使用してアプリを起動しようとすると、私の作業ディレクトリに

mongrel_rails start -e development -b 127.0.0.1 -p 3000 

エラーは次のとおりです。
C:\て、myApp> mongrel_railsは-a 127.0.0.1 -p 3000 -e開発を開始します
**雑種犬は、開発環境でのRailsの起動127.0.0.1:3000
**で聞いて開始しています...

:29:/て、myApp /設定/ブート:require': no such file to load--
C:/myApp/config/../vendor/rails/railties/lib/initializer (LoadError)
from <internal:lib/rubygems/custom_require>:29:in
にCから」
が必要です。 rb:45:load_initializer'
from C:/myApp/config/boot.rb:38:in
では、C:/ myApp/config/bootの '
を実行します。RB:11:boot!'
from C:/myApp/config/boot.rb:109:in
で '
から:29:require'
from <internal:lib/rubygems/custom_require>:29:in
は必要に':/myApp/config/environment.rb:11:
Cから <top (required)>'
from <internal:lib/rubygems/custom_require>:29:in
に必要
から」から
:29 require'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-mingw32/ lib/mongrel/rails.rb:147:in
レールにC:/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-mingw32/ bin/mongrel_rails:116:block (2 levels) in run'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-mingw32/ lib/mongrel/configurator.rb:149:in
で '
をC:/ Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-mingw32/ lib/mongrel/configurator.rb:149:実行中ブロック
C:/ Ruby192/lib/ruby​​のlistener'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-mingw32/ bin/mongrel_rails:102:in
ブロック/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-mingw 32/ LIB /雑種/ configurator.rb:50:call'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-mingw32/ lib/mongrel/configurator.rb:50:in
初期の」
Cから:/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-mingw32/ bin/mongrel_rails:86:new'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-mingw32/ bin/mongrel_rails:86:in
'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-mingw32/ lib/mongrel/command.rb :210:run'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-mingw32/ bin/mongrel_rails:282:in
':/ Ruby192/binに/ mongrel_rails:19:Cから
load'
from C:/Ruby192/bin/mongrel_rails:19:in
で' 中

上の任意のアイデアや方向どのようにこれは多くのappreciated.Ifは、私はファイルが欠落しています解決についてのか宝石、またはifそれはバージョンの競合です、どちらがそれであるかは明らかではありません。

同じ宝石の異なるバージョンがインストールされている場合、使用するバージョンを正確に指定してmongrelでレールアプリを起動するにはどうすればよいですか?

ありがとうございます!

答えて

0

宝石ファイルの内容を貼り付けてください。

あなたが持っていることを確認してください。その後、

gem 'mongrel', '>= 1.2.0.pre2' 

あなたの宝石を更新するためにbundle installを実行します。

実行サーバー:rails server mongrel

関連する問題