0

私はこれに非常に慣れていないので、簡単な修正がある場合は申し訳ありません。回答していただける場合は、段階的に具体的にしてください。

これは私が得ているものです...ありがとう!!!

$ rails -v
/usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/config_file.rb:195:in `merge': can't convert String into Hash (TypeError)
    from /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/config_file.rb:195:in `initialize'
    from /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems.rb:364:in `new'
    from /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems.rb:364:in `configuration'
    from /usr/local/rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.2.4/lib/bundler/rubygems_integration.rb:25:in `configuration'
    from /usr/local/rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.2.4/lib/bundler/rubygems_integration.rb:5:in `initialize'
    from /usr/local/rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.2.4/lib/bundler/rubygems_integration.rb:380:in `new'
    from /usr/local/rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.2.4/lib/bundler/rubygems_integration.rb:380:in `<module:Bundler>'
    from /usr/local/rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.2.4/lib/bundler/rubygems_integration.rb:1:in `<top (required)>'
    from /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/local/rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.2.4/lib/bundler.rb:7:in `<top (required)>'
    from /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
    from /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
    from /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
    from /usr/local/rvm/gems/ruby-1.9.3-p392@global/gems/rubygems-bundler-1.1.0/lib/rubygems-bundler/noexec.rb:20:in `<top (required)>'
    from /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
    from /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
    from /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
    from /usr/local/rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:9:in `<main>'
4

2 に答える 2

1

「 rvm reload 1.9.3-p392 」を試すことができると思います...それが機能するかどうかはわかりませんが、試してみる価値はあります。これを回答ではなく単なるコメントとして作成しますが、まだそれを行うのに十分な担当者がいないと思います.

于 2013-05-12T20:47:04.503 に答える
0

~/.gemrc ファイルにタイプミスがある可能性が高く、次のようになります。

install: --no-rdoc --no-ri
update: --no-rdoc --no-ri
于 2013-05-19T15:27:01.637 に答える