2016-06-01 11 views
0

私はRuby on Railsでの勉強、私は私の最初のプロジェクトを作成しましたし、私はこのエラーを得た:ルビー:互換性のないライブラリのバージョン

/Users/Anton/.rvm/gems/ruby-2.3.0/gems/debug_inspector-0.0.2/lib/debug_inspector.rb:6:in `require': incompatible library version - /Users/Anton/.rvm/gems/ruby-2.3.0/gems/debug_inspector-0.0.2/lib/debug_inspector.bundle (fatal) 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/debug_inspector-0.0.2/lib/debug_inspector.rb:6:in `<top (required)>' 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/binding_of_caller-0.7.2/lib/binding_of_caller/mri2.rb:1:in `require' 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/binding_of_caller-0.7.2/lib/binding_of_caller/mri2.rb:1:in `<top (required)>' 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/binding_of_caller-0.7.2/lib/binding_of_caller.rb:9:in `require' 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/binding_of_caller-0.7.2/lib/binding_of_caller.rb:9:in `<top (required)>' 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web_console.rb:1:in `require' 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web_console.rb:1:in `<top (required)>' 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web-console.rb:1:in `require' 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web-console.rb:1:in `<top (required)>' 
from /Users/Anton/.rvm/gems/[email protected]/gems/bundler-1.12.5/lib/bundler/runtime.rb:86:in `require' 
from /Users/Anton/.rvm/gems/[email protected]/gems/bundler-1.12.5/lib/bundler/runtime.rb:86:in `block (2 levels) in require' 
from /Users/Anton/.rvm/gems/[email protected]/gems/bundler-1.12.5/lib/bundler/runtime.rb:81:in `each' 
from /Users/Anton/.rvm/gems/[email protected]/gems/bundler-1.12.5/lib/bundler/runtime.rb:81:in `block in require' 
from /Users/Anton/.rvm/gems/[email protected]/gems/bundler-1.12.5/lib/bundler/runtime.rb:70:in `each' 
from /Users/Anton/.rvm/gems/[email protected]/gems/bundler-1.12.5/lib/bundler/runtime.rb:70:in `require' 
from /Users/Anton/.rvm/gems/[email protected]/gems/bundler-1.12.5/lib/bundler.rb:102:in `require' 
from /Users/Anton/Work/2-Work/s-art-main/config/application.rb:7:in `<top (required)>' 
from /Users/Anton/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:78:in `require' 
from /Users/Anton/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:78:in `block in server' 
from /Users/Anton/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75:in `tap' 
from /Users/Anton/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75:in `server' 
from /Users/Anton/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!' 
from /Users/Anton/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/commands.rb:17:in `<top (required)>' 
from /Users/Anton/Work/2-Work/s-art-main/bin/rails:9:in `require' 
from /Users/Anton/Work/2-Work/s-art-main/bin/rails:9:in `<top (required)>' 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/client/rails.rb:28:in `load' 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/client/rails.rb:28:in `call' 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/client/command.rb:7:in `call' 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/client.rb:30:in `run' 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/spring-1.7.1/bin/spring:49:in `<top (required)>' 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/binstub.rb:11:in `load' 
from /Users/Anton/.rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/binstub.rb:11:in `<top (required)>' 
from /Users/Anton/Work/2-Work/s-art-main/bin/spring:13:in `require' 
from /Users/Anton/Work/2-Work/s-art-main/bin/spring:13:in `<top (required)>' 
from bin/rails:3:in `load' 
from bin/rails:3:in `<main>' 

あなたは私を助けてくださいことはできますか?私は似たようなエラーのトンを見つけたし、まだ正しい答えが見つかりませんでした。

Rails 4.2.6 
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15] 

ありがとうございました!

+2

あなたのRubyインストールがマングルされているようです。 'debug_inspector'を再インストールしてみてください。 'gem uninstall'とやり直し。 – tadman

+0

@ tadman wow ...ありがとう!作品 –

答えて

0

.bundleに関するエラーが表示された場合は、一般に、更新または削除された共有ライブラリのバージョンに対してgemがコンパイルされている場合があります。

通常の修正は、問題のある宝石をアンインストールして再インストールすることです。それはあなたが持っている現在のバージョンにリンクします。

+0

ありがとうございました!多くの助け:) –

関連する問題