2016-06-01 4 views
0

Ich lerne, Ruby on Rails, also habe ich mein erstes Projekt erstellt, und ich habe diesen Fehler:Rubin: inkompatible Version der Bibliothek

/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>' 

Können Sie mir bitte helfen? Ich habe viele ähnliche Fehler gegoogelt und immer noch nicht die richtige Antwort gefunden.

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

Vielen Dank!

+2

Sieht aus wie Ihre Ruby-Installation verstümmelt ist. Versuchen Sie, 'debug_inspector' erneut zu installieren. 'Gem uninstall' und wiederholen. – tadman

+0

@tadman wow ... vielen Dank! Works –

Antwort

0

Wenn Sie einen Fehler in Bezug auf .bundle sehen, ist es in der Regel der Fall, dass Ihr Gem gegen eine Version einer gemeinsam genutzten Bibliothek kompiliert wurde, die aktualisiert oder entfernt wurde.

Die normale Lösung für dieses Problem ist die Deinstallation und Neuinstallation des fehlerhaften Gem. Dadurch wird es mit der aktuellen Version verknüpft.

+0

Danke! Hat viel geholfen :) –