2017-03-19 15 views
1

MacにRailsをインストールしようとしています。私は、ソートのJRubyのエラーか何かを得続ける:私は、NetBeansをインストールするには、Javaをインストールした後、私が起こったと思いruby​​ gemをインストールできない

gem install rails 
Loading jruby-openssl in a non-JRuby interpreter 
Error loading RubyGems plugin "/Users/User/.rvm/gems/[email protected]/gems/executable-hooks-1.3.2/lib/rubygems_plugin.rb": cannot load such file -- jruby (LoadError) 
Loading jruby-openssl in a non-JRuby interpreter 
Error loading RubyGems plugin "/Users/User/.rvm/gems/[email protected]/gems/gem-wrappers-1.2.7/lib/rubygems_plugin.rb": cannot load such file -- jruby (LoadError) 
Loading jruby-openssl in a non-JRuby interpreter 
ERROR: Loading command: install (LoadError) 
cannot load such file -- jruby 
ERROR: While executing gem ... (NoMethodError) 
undefined method `invoke_with_build_args' for nil:NilClass 

私はJRubyのがインストールされているように見えます。私はRVMを使って2.4にルビーを更新しました。宝石のインストールに戻るにはどうすればいいですか?

おかげ

+1

することはでき常に 'RVMのimplode'、あなたがRVMを再インストールしてする必要がある場合は、最初からやり直します。 – tadman

答えて

0
rvm get stable --auto-dotfiles 
関連する問題