2016-06-11 12 views
1

railsサーバーを起動しようとすると、次の出力が表示され、サーバーが開かない。ルビーとレールの両方に新しい。互換性のないライブラリのバージョン

/Users/Seth/.rvm/gems/ruby-2.2.4/gems/json-1.8.3/lib/json/ext.rb:13:in require': incompatible library version - /Users/Seth/.rvm/gems/ruby-2.2.4/gems/json-1.8.3/lib/json/ext/parser.bundle (fatal) from /Users/Seth/.rvm/gems/ruby-2.2.4/gems/json-1.8.3/lib/json/ext.rb:13:in「 /Users/Seth/.rvmから/gems/ruby-2.2.4/gems/json-1.8.3/lib/json/ext.rb:12:in <module:JSON>' from /Users/Seth/.rvm/gems/ruby-2.2.4/gems/json-1.8.3/lib/json/ext.rb:9:in ' /Users/Seth/.rvm/gems/ruby-2.2.4/gems/ json-1.8.3/lib/json.rb:58:require' from /Users/Seth/.rvm/gems/ruby-2.2.4/gems/json-1.8.3/lib/json.rb:58:in ' /Users/Seth/.rvm/gems/ruby-2.2.4/gems/json-1.8.3/lib/json.rb:54 :<top (required)>' from /Users/Seth/.rvm/gems/[email protected]/gems/activesupport-4.2.6/lib/active_support/core_ext/object/json.rb:2:inで ' が必要/Users/Seth/.rvm/gems/[email protected]/gems/activesupport-4.2.6/lib/active_support/core_ext/object/json.rb:2:in <top (required)>' from /Users/Seth/.rvm/gems/[email protected]/gems/activesupport-4.2.6/lib/active_support/core_ext/object.rb:12:inが必要です' /Users/Seth/.rvm/gems/[email protected]/gems/activesupport-4.2.6/lib/active_support/core_ext/object.rb:12:in <top (required)>' from /Users/Seth/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/configuration.rb:2:inには '/Users/Seth/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/configuration.rb:2:inの が必要です。<top (required)>' from /Users/Seth/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/railtie.rb:2:inには' /ユーザー/ Seth /.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/railtie.rb:2:<top (required)>' from /Users/Seth/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/engine.rb:1:inで ' が必要です/Users/Seth/.rvm/gems/rubyから[email protected]/gems/railties-4.2.6/lib/rails/engine.rb:1:<top (required)>' from /Users/Seth/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/application.rb:7:inから「 /Users/Seth/.rvm/gems/[email protected]bal/gems」が必要です/railties-4.2.6/lib/rails/application.rb:7:in <top (required)>' from /Users/Seth/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails.rb:11:in「/Users/Seth/.rvm/gems/[email protected]/gems/railties-4.2.6/lib」の が必要です/rails.rb:11:in <top (required)>' from /Users/Seth/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/commands/server.rb:4:in /Users/Seth/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/commands/server.rb:4の ' が必要です:<top (required)>' from /Users/Seth/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:123:inのrequi re ' /Users/Seth/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:123:in require_command!' from /Users/Seth/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:73:inサーバー' /ユーザーからの /Seth/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in run_command!' from /Users/Seth/.rvm/gems/[email protected]/gems/railties-4.2.6/lib/rails/commands.rb:17:in ' /Users/Seth/railsbridge/test_app /ビン/レール:9:require' from /Users/Seth/railsbridge/test_app/bin/rails:9:in ' /Users/Seth/.rvm/gems/ruby-2.2.4/gems/spring-1.7.1/lib/spring/client/rails.rb:28:in load' from /Users/Seth/.rvm/gems/ruby-2.2.4/gems/spring-1.7.1/lib/spring/client/rails.rb:28:inから' from /Users/Seth/.rvm/gems/ruby-2.2.4/gems/spring-1.7.1/lib/spring/client/command.rb:7:in call' from /Users/Seth/.rvm/gems/ruby-2.2.4/gems/spring-1.7.1/lib/spring/client.rb:30:in' /Users/Seth/.rvm/gems/ruby​​-2.2.4/gems/spring-1.7.1/bin/spring:49:<top (required)>' from /Users/Seth/.rvm/gems/ruby-2.2.4/gems/spring-1.7.1/lib/spring/binstub.rb:11:inからロード ' /Users/Seth/.rvm/gems/ruby-2.2.4/gems/spring -/users/Seth/railsbridge/test_app/bin/spring:13:<top (required)>' from bin/rails:3:inで ' 'を読み込みます。

+0

あなたは、その宝石、またはそのバージョンのRubyを 'rvm'でアンインストールして再インストールしてみてください。 – tadman

+0

問題が解決しない場合は、[railsinstaller](http://railsinstaller.org/ja) – mrvncaragay

答えて

0

ビルド時とは別のlibをリンクしようとしています。 他の場所からビルドをコピーしたか、あなたのライブラリを更新しましたか? とにかく、再インストールすると再インストールされるはずです。

関連する問題