あなたが私を助けてくれることを願っています。
Rails アプリをローカルで実行し、Heroku にアップロードして実行しました。すべてが順調でした。先週、私は仕事を再開し、思わぬ障害に遭遇しました。
一日の始まりに、ターミナルを開いて「rails s」を実行し、ローカル サーバーを起動しました。このエラーを受け取りました:
doug-naegeles-macbook-pro-17:elig_check dougnaegele$ rails s /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/resolver.rb:129:in resolve': Could not find gem 'polyglot', required by 'rails (= 3.0.3)', in any of the sources (Bundler::VersionConflict)
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/resolver.rb:127:in
catch' from /Library/Ruby /Gems/1.8/gems/bundler-1.0.7/lib/bundler/resolver.rb:127:in resolve'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/definition.rb:151:in
resolve' from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/definition. rb:90: specs'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/definition.rb:135:in
/Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/definition.rb:124 の specs_for内 : /Library/Ruby/Gems/1.8/gems/ のrequested_specs'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/environment.rb:23:in
requested_specs内bundler-1.0.7/lib/bundler/runtime.rb:11:/Users/dougnaegele/Sites/elig_check/config/boot.rb:8setup'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler.rb:100:in
からの setupレール:5
「gem list」を実行すると、Polyglot が一覧表示されます。
doug-naegeles-macbook-pro-17:elig_check dougnaegele$ gem リスト
* 地元の宝石 *
abstract (1.0.0) actionmailer (3.0.3, 2.3.5, 2.2.2, 1.3.6) actionpack (3.0.3, 2.3.5, 2.2.2, 1.13.6) actionwebservice (1.2.6) activemodel ( 3.0.3) activerecord (3.0.3, 2.3.5, 2.2.2, 1.15.6) activeresource (3.0.3, 2.3.5, 2.2.2) activesupport (3.0.3, 2.3.5, 2.2.2, 1.4.4) act_as_ferret (0.5.2, 0.4.3) arel (2.0.6, 2.0.4) authlogic (2.1.6) blythedunham-sms_on_rails (0.1.0) ビルダー (3.0.0, 2.1.2) バンドラー ( 1.0.7) カピストラーノ (2.5.19, 2.5.2) cgi_multipart_eof_fix (2.5.0) カラー (1.4.1) 設定 (1.2.0) クラック (0.1.8) デーモン (1.1.0, 1.0.10) 脱線- ziya (2.1.5) dnssd (1.4, 0.6.0) erubis (2.6.6) fastthread (1.0.7, 1.0.1) fcgi (0.8.8, 0.8.7) ferret (0.11.6) gem_plugin (0.2. 3) googlecharts (1.6.0) heroku (1.14.10, 1.14.3) highline (1.6.1, 1.5.0) hpricot (0.8.3, 0.6.164) httparty (0.6.1) i18n (0.5.0, 0.4.2) jk-ferret (0.11.8.2) json_pure (1.4.6) launchy (0.3.7) libxml-ruby (1.1.4, 1.1.2) little-plugger (1.1.2) ロギング (1.4.3) メール (2.2.12, 2.2.10) mattti-googlecharts (1.4.0) mime-types ( 1.16) 雑種 (1.1.5) mysql (2.8.1) 針 (1.3.0) net-scp (1.0.4, 1.0.1) net-sftp (2.0.5, 2.0.1, 1.1.1) net- ssh (2.0.23、2.0.4、1.1.4) net-ssh-gateway (1.0.1、1.0.0) nifty-generators (0.4.2) polyglot (0.3.1) ラック (1.2.1、1.0. 1) ラックマウント (0.6.13) ラックテスト (0.5.6) レール (3.0.3、2.3.5、2.2.2、1.2.6) レールタイ (3.0.3) レーキ (0.8.7、0.8. 3) RedCloth (4.2.3, 4.1.1) rest-client (1.6.1) ruby-openid (2.1.8, 2.1.2) ruby-yadis (0.3.4) rubygems-update (1.3.7, 1.3. 6) rubynode (0.1.5) 続編 (3.18.0, 3.17.0) sinatra (1.1.0, 1.0) sqlite3-ruby (1.3.2, 1.2.5, 1.2.4) static_record_cache (0.2.0) タップ ( 0.3.14) termios (0.9.4) トール (0.14.6) チルト (1.1) ツリートップ (1.4.9) twilio (2.9.0) twiliolib (2.0.7) tzinfo (0.3.23) xmpp4r (0.5, 0.4)7) libxml-ruby (1.1.4, 1.1.2) little-plugger (1.1.2) logging (1.4.3) メール (2.2.12, 2.2.10) mattti-googlecharts (1.4.0) mime-types ( 1.16) 雑種 (1.1.5) mysql (2.8.1) 針 (1.3.0) net-scp (1.0.4, 1.0.1) net-sftp (2.0.5, 2.0.1, 1.1.1) net- ssh (2.0.23、2.0.4、1.1.4) net-ssh-gateway (1.0.1、1.0.0) nifty-generators (0.4.2) polyglot (0.3.1) ラック (1.2.1、1.0. 1) ラックマウント (0.6.13) ラックテスト (0.5.6) レール (3.0.3、2.3.5、2.2.2、1.2.6) レールタイ (3.0.3) レーキ (0.8.7、0.8. 3) RedCloth (4.2.3, 4.1.1) rest-client (1.6.1) ruby-openid (2.1.8, 2.1.2) ruby-yadis (0.3.4) rubygems-update (1.3.7, 1.3. 6) rubynode (0.1.5) 続編 (3.18.0, 3.17.0) sinatra (1.1.0, 1.0) sqlite3-ruby (1.3.2, 1.2.5, 1.2.4) static_record_cache (0.2.0) タップ ( 0.3.14) termios (0.9.4) トール (0.14.6) チルト (1.1) ツリートップ (1.4.9) twilio (2.9.0) twiliolib (2.0.7) tzinfo (0.3.23) xmpp4r (0.5, 0.4)7) libxml-ruby (1.1.4, 1.1.2) little-plugger (1.1.2) logging (1.4.3) メール (2.2.12, 2.2.10) mattti-googlecharts (1.4.0) mime-types ( 1.16) 雑種 (1.1.5) mysql (2.8.1) 針 (1.3.0) net-scp (1.0.4, 1.0.1) net-sftp (2.0.5, 2.0.1, 1.1.1) net- ssh (2.0.23、2.0.4、1.1.4) net-ssh-gateway (1.0.1、1.0.0) nifty-generators (0.4.2) polyglot (0.3.1) ラック (1.2.1、1.0. 1) ラックマウント (0.6.13) ラックテスト (0.5.6) レール (3.0.3、2.3.5、2.2.2、1.2.6) レールタイ (3.0.3) レーキ (0.8.7、0.8. 3) RedCloth (4.2.3, 4.1.1) rest-client (1.6.1) ruby-openid (2.1.8, 2.1.2) ruby-yadis (0.3.4) rubygems-update (1.3.7, 1.3. 6) rubynode (0.1.5) 続編 (3.18.0, 3.17.0) sinatra (1.1.0, 1.0) sqlite3-ruby (1.3.2, 1.2.5, 1.2.4) static_record_cache (0.2.0) タップ ( 0.3.14) termios (0.9.4) トール (0.14.6) チルト (1.1) ツリートップ (1.4.9) twilio (2.9.0) twiliolib (2.0.7) tzinfo (0.3.23) xmpp4r (0.5, 0.4)4)4)4)4)1.1.2) little-plugger (1.1.2) logging (1.4.3) メール (2.2.12, 2.2.10) mattti-googlecharts (1.4.0) mime-types (1.16) mongrel (1.1.5) mysql ( 2.8.1) 針 (1.3.0) net-scp (1.0.4, 1.0.1) net-sftp (2.0.5, 2.0.1, 1.1.1) net-ssh (2.0.23, 2.0.4, 1.1.4) net-ssh-gateway (1.0.1, 1.0.0) nifty-generators (0.4.2) polyglot (0.3.1) ラック (1.2.1, 1.0.1) ラックマウント (0.6.13) rack-test (0.5.6) rails (3.0.3, 2.3.5, 2.2.2, 1.2.6) railties (3.0.3) rake (0.8.7, 0.8.3) RedCloth (4.2.3, 4.1. 1) rest-client (1.6.1) ruby-openid (2.1.8, 2.1.2) ruby-yadis (0.3.4) rubygems-update (1.3.7, 1.3.6) rubynode (0.1.5) 続編 ( 3.18.0、3.17.0) sinatra (1.1.0、1.0) sqlite3-ruby (1.3.2、1.2.5、1.2.4) static_record_cache (0.2.0) タップ (0.3.14) termios (0.9.4)トール (0.14.6) チルト (1.1) ツリートップ (1.4.9) twilio (2.9.0) twiliolib (2.0.7) tzinfo (0.3.23) xmpp4r (0.5, 0.4)1.1.2) little-plugger (1.1.2) logging (1.4.3) メール (2.2.12, 2.2.10) mattti-googlecharts (1.4.0) mime-types (1.16) mongrel (1.1.5) mysql ( 2.8.1) 針 (1.3.0) net-scp (1.0.4, 1.0.1) net-sftp (2.0.5, 2.0.1, 1.1.1) net-ssh (2.0.23, 2.0.4, 1.1.4) net-ssh-gateway (1.0.1, 1.0.0) nifty-generators (0.4.2) polyglot (0.3.1) ラック (1.2.1, 1.0.1) ラックマウント (0.6.13) rack-test (0.5.6) rails (3.0.3, 2.3.5, 2.2.2, 1.2.6) railties (3.0.3) rake (0.8.7, 0.8.3) RedCloth (4.2.3, 4.1. 1) rest-client (1.6.1) ruby-openid (2.1.8, 2.1.2) ruby-yadis (0.3.4) rubygems-update (1.3.7, 1.3.6) rubynode (0.1.5) 続編 ( 3.18.0、3.17.0) sinatra (1.1.0、1.0) sqlite3-ruby (1.3.2、1.2.5、1.2.4) static_record_cache (0.2.0) タップ (0.3.14) termios (0.9.4)トール (0.14.6) チルト (1.1) ツリートップ (1.4.9) twilio (2.9.0) twiliolib (2.0.7) tzinfo (0.3.23) xmpp4r (0.5, 0.4)1.2) ロギング (1.4.3) メール (2.2.12, 2.2.10) mattti-googlecharts (1.4.0) mime-types (1.16) mongrel (1.1.5) mysql (2.8.1) 針 (1.3.0) net-scp (1.0.4、1.0.1) net-sftp (2.0.5、2.0.1、1.1.1) net-ssh (2.0.23、2.0.4、1.1.4) net-ssh-gateway ( 1.0.1, 1.0.0) nifty-generators (0.4.2) polyglot (0.3.1) ラック (1.2.1, 1.0.1) ラックマウント (0.6.13) ラックテスト (0.5.6) レール ( 3.0.3、2.3.5、2.2.2、1.2.6) railties (3.0.3) rake (0.8.7、0.8.3) RedCloth (4.2.3、4.1.1) rest-client (1.6.1) ruby-openid (2.1.8, 2.1.2) ruby-yadis (0.3.4) rubygems-update (1.3.7, 1.3.6) rubynode (0.1.5) 続編 (3.18.0, 3.17.0) sinatra ( 1.1.0、1.0) sqlite3-ruby (1.3.2、1.2.5、1.2.4) static_record_cache (0.2.0) タップ (0.3.14) termios (0.9.4) トール (0.14.6) チルト (1.1) treetop (1.4.9) twilio (2.9.0) twiliolib (2.0.7) tzinfo (0.3.23) xmpp4r (0.5, 0.4)1.2) ロギング (1.4.3) メール (2.2.12, 2.2.10) mattti-googlecharts (1.4.0) mime-types (1.16) mongrel (1.1.5) mysql (2.8.1) 針 (1.3.0) net-scp (1.0.4、1.0.1) net-sftp (2.0.5、2.0.1、1.1.1) net-ssh (2.0.23、2.0.4、1.1.4) net-ssh-gateway ( 1.0.1, 1.0.0) nifty-generators (0.4.2) polyglot (0.3.1) ラック (1.2.1, 1.0.1) ラックマウント (0.6.13) ラックテスト (0.5.6) レール ( 3.0.3、2.3.5、2.2.2、1.2.6) railties (3.0.3) rake (0.8.7、0.8.3) RedCloth (4.2.3、4.1.1) rest-client (1.6.1) ruby-openid (2.1.8, 2.1.2) ruby-yadis (0.3.4) rubygems-update (1.3.7, 1.3.6) rubynode (0.1.5) 続編 (3.18.0, 3.17.0) sinatra ( 1.1.0、1.0) sqlite3-ruby (1.3.2、1.2.5、1.2.4) static_record_cache (0.2.0) タップ (0.3.14) termios (0.9.4) トール (0.14.6) チルト (1.1) treetop (1.4.9) twilio (2.9.0) twiliolib (2.0.7) tzinfo (0.3.23) xmpp4r (0.5, 0.4)10) mattti-googlecharts (1.4.0) mime-types (1.16) mongrel (1.1.5) mysql (2.8.1) needle (1.3.0) net-scp (1.0.4, 1.0.1) net-sftp ( 2.0.5、2.0.1、1.1.1) net-ssh (2.0.23、2.0.4、1.1.4) net-ssh-gateway (1.0.1、1.0.0) nifty-generators (0.4.2) polyglot (0.3.1) ラック (1.2.1, 1.0.1) ラックマウント (0.6.13) ラックテスト (0.5.6) レール (3.0.3, 2.3.5, 2.2.2, 1.2.6) railties (3.0.3) rake (0.8.7, 0.8.3) RedCloth (4.2.3, 4.1.1) rest-client (1.6.1) ruby-openid (2.1.8, 2.1.2) ruby-yadis ( 0.3.4) rubygems-update (1.3.7, 1.3.6) rubynode (0.1.5) 続編 (3.18.0, 3.17.0) sinatra (1.1.0, 1.0) sqlite3-ruby (1.3.2, 1.2. 5、1.2.4) static_record_cache (0.2.0) タップ (0.3.14) termios (0.9.4) トール (0.14.6) チルト (1.1) ツリートップ (1.4.9) twilio (2.9.0) twiliolib (2.0. 7) tzinfo (0.3.23) xmpp4r (0.5, 0.4)10) mattti-googlecharts (1.4.0) mime-types (1.16) mongrel (1.1.5) mysql (2.8.1) needle (1.3.0) net-scp (1.0.4, 1.0.1) net-sftp ( 2.0.5、2.0.1、1.1.1) net-ssh (2.0.23、2.0.4、1.1.4) net-ssh-gateway (1.0.1、1.0.0) nifty-generators (0.4.2) polyglot (0.3.1) ラック (1.2.1, 1.0.1) ラックマウント (0.6.13) ラックテスト (0.5.6) レール (3.0.3, 2.3.5, 2.2.2, 1.2.6) railties (3.0.3) rake (0.8.7, 0.8.3) RedCloth (4.2.3, 4.1.1) rest-client (1.6.1) ruby-openid (2.1.8, 2.1.2) ruby-yadis ( 0.3.4) rubygems-update (1.3.7, 1.3.6) rubynode (0.1.5) 続編 (3.18.0, 3.17.0) sinatra (1.1.0, 1.0) sqlite3-ruby (1.3.2, 1.2. 5、1.2.4) static_record_cache (0.2.0) タップ (0.3.14) termios (0.9.4) トール (0.14.6) チルト (1.1) ツリートップ (1.4.9) twilio (2.9.0) twiliolib (2.0. 7) tzinfo (0.3.23) xmpp4r (0.5, 0.4)0) net-scp (1.0.4、1.0.1) net-sftp (2.0.5、2.0.1、1.1.1) net-ssh (2.0.23、2.0.4、1.1.4) net-ssh-ゲートウェイ (1.0.1、1.0.0) nifty-generators (0.4.2) polyglot (0.3.1) ラック (1.2.1、1.0.1) ラックマウント (0.6.13) ラックテスト (0.5.6) rails (3.0.3, 2.3.5, 2.2.2, 1.2.6) railties (3.0.3) rake (0.8.7, 0.8.3) RedCloth (4.2.3, 4.1.1) rest-client (1.6. 1) ruby-openid (2.1.8, 2.1.2) ruby-yadis (0.3.4) rubygems-update (1.3.7, 1.3.6) rubynode (0.1.5) 続編 (3.18.0, 3.17.0) sinatra (1.1.0, 1.0) sqlite3-ruby (1.3.2, 1.2.5, 1.2.4) static_record_cache (0.2.0) タップ (0.3.14) termios (0.9.4) トール (0.14.6) チルト ( 1.1) ツリートップ (1.4.9) twilio (2.9.0) twiliolib (2.0.7) tzinfo (0.3.23) xmpp4r (0.5, 0.4)0) net-scp (1.0.4、1.0.1) net-sftp (2.0.5、2.0.1、1.1.1) net-ssh (2.0.23、2.0.4、1.1.4) net-ssh-ゲートウェイ (1.0.1、1.0.0) nifty-generators (0.4.2) polyglot (0.3.1) ラック (1.2.1、1.0.1) ラックマウント (0.6.13) ラックテスト (0.5.6) rails (3.0.3, 2.3.5, 2.2.2, 1.2.6) railties (3.0.3) rake (0.8.7, 0.8.3) RedCloth (4.2.3, 4.1.1) rest-client (1.6. 1) ruby-openid (2.1.8, 2.1.2) ruby-yadis (0.3.4) rubygems-update (1.3.7, 1.3.6) rubynode (0.1.5) 続編 (3.18.0, 3.17.0) sinatra (1.1.0, 1.0) sqlite3-ruby (1.3.2, 1.2.5, 1.2.4) static_record_cache (0.2.0) タップ (0.3.14) termios (0.9.4) トール (0.14.6) チルト ( 1.1) ツリートップ (1.4.9) twilio (2.9.0) twiliolib (2.0.7) tzinfo (0.3.23) xmpp4r (0.5, 0.4)13) ラックテスト (0.5.6) レール (3.0.3, 2.3.5, 2.2.2, 1.2.6) レールティー (3.0.3) レーキ (0.8.7, 0.8.3) RedCloth (4.2.3, 4.1.1) rest-client (1.6.1) ruby-openid (2.1.8, 2.1.2) ruby-yadis (0.3.4) rubygems-update (1.3.7, 1.3.6) rubynode (0.1.5)続編 (3.18.0、3.17.0) sinatra (1.1.0、1.0) sqlite3-ruby (1.3.2、1.2.5、1.2.4) static_record_cache (0.2.0) タップ (0.3.14) termios (0.9. 4) トール (0.14.6) チルト (1.1) ツリートップ (1.4.9) twilio (2.9.0) twiliolib (2.0.7) tzinfo (0.3.23) xmpp4r (0.5, 0.4)13) ラックテスト (0.5.6) レール (3.0.3, 2.3.5, 2.2.2, 1.2.6) レールティー (3.0.3) レーキ (0.8.7, 0.8.3) RedCloth (4.2.3, 4.1.1) rest-client (1.6.1) ruby-openid (2.1.8, 2.1.2) ruby-yadis (0.3.4) rubygems-update (1.3.7, 1.3.6) rubynode (0.1.5)続編 (3.18.0、3.17.0) sinatra (1.1.0、1.0) sqlite3-ruby (1.3.2、1.2.5、1.2.4) static_record_cache (0.2.0) タップ (0.3.14) termios (0.9. 4) トール (0.14.6) チルト (1.1) ツリートップ (1.4.9) twilio (2.9.0) twiliolib (2.0.7) tzinfo (0.3.23) xmpp4r (0.5, 0.4)6) チルト (1.1) ツリートップ (1.4.9) twilio (2.9.0) twiliolib (2.0.7) tzinfo (0.3.23) xmpp4r (0.5, 0.4)6) チルト (1.1) ツリートップ (1.4.9) twilio (2.9.0) twiliolib (2.0.7) tzinfo (0.3.23) xmpp4r (0.5, 0.4)
「gem sources」を実行すると、次のようになります。
doug-naegeles-macbook-pro-17:elig_check dougnaegele$ gem ソース * 現在のソース *
rubygems.org/ gems.github.com gems.github.com gems.github.com/ gems.github.com gems.rubyforge.org
それは正しいように見えます-それはPolyglotが住んでいるところです.
「bundle install」を実行すると、次のようになります。
doug-naegeles-macbook-pro-17:elig_check dougnaegele$ bundle install http://rubygems.org/のソース インデックスを取得して います 「rails (= 3.0.3)」で必要な gem「polyglot」がいずれかで見つかりませんでした情報源
何か案が?gem の再インストール、「bundle install」の実行などを試みましたが、うまくいきませんでした。
(これ -> rails (3.0.3, 2.3.5, 2.2.2, 1.2.6) が問題ではないかと疑っていますが、まだその道をたどりたくありません。アプリを実行していますRails 3.0用にリファクタリングされていない2.3.5で)
前もって感謝します!ダグ