Why i am getting rubygems/core_ext/kernel_require.rb:55:in `require'(load error) when i am trying pod setup












-1















On mac os 10.14.2,when i am trying to setup pod by step by step i am getting this error.




  1. sudo gem update --system


  2. sudo gem install -n /usr/local/bin cocoapods



  3. pod setup-->In this step it shows error



    /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- rubygems/core_ext/kernel_warn (LoadError)
    from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'

    from /Library/Ruby/Site/2.3.0/rubygems.rb:1395:in `<top (required)>'
    from <internal:gem_prelude>:4:in `require'
    from <internal:gem_prelude>:4:in `<internal:gem_prelude>'



This load error when I try to pod install. How do I fix it?



RubyGems Environment:
- RUBYGEMS VERSION: 3.0.1




  • RUBY VERSION: 2.3.7 (2018-03-28 patchlevel 456) [universal.x86_64-darwin18]

  • INSTALLATION DIRECTORY: /Library/Ruby/Gems/2.3.0

  • USER INSTALLATION DIRECTORY: /Users/username/.gem/ruby/2.3.0

  • RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby

  • GIT EXECUTABLE: /usr/bin/git

  • EXECUTABLE DIRECTORY: /usr/bin

  • SPEC CACHE DIRECTORY: /Users/username/.gem/specs

  • SYSTEM CONFIGURATION DIRECTORY: /Library/Ruby/Site

  • RUBYGEMS PLATFORMS:


    • ruby

    • universal-darwin-18



  • GEM PATHS:


    • /Library/Ruby/Gems/2.3.0

    • /Users/username/.gem/ruby/2.3.0

    • /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/gems/2.3.0



  • GEM CONFIGURATION:


    • :update_sources => true

    • :verbose => true

    • :backtrace => false

    • :bulk_threshold => 1000



  • REMOTE SOURCES:


    • https://rubygems.org/



  • SHELL PATH:


    • /usr/local/bin

    • /usr/bin

    • /bin

    • /usr/sbin

    • /sbin












share|improve this question





























    -1















    On mac os 10.14.2,when i am trying to setup pod by step by step i am getting this error.




    1. sudo gem update --system


    2. sudo gem install -n /usr/local/bin cocoapods



    3. pod setup-->In this step it shows error



      /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- rubygems/core_ext/kernel_warn (LoadError)
      from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'

      from /Library/Ruby/Site/2.3.0/rubygems.rb:1395:in `<top (required)>'
      from <internal:gem_prelude>:4:in `require'
      from <internal:gem_prelude>:4:in `<internal:gem_prelude>'



    This load error when I try to pod install. How do I fix it?



    RubyGems Environment:
    - RUBYGEMS VERSION: 3.0.1




    • RUBY VERSION: 2.3.7 (2018-03-28 patchlevel 456) [universal.x86_64-darwin18]

    • INSTALLATION DIRECTORY: /Library/Ruby/Gems/2.3.0

    • USER INSTALLATION DIRECTORY: /Users/username/.gem/ruby/2.3.0

    • RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby

    • GIT EXECUTABLE: /usr/bin/git

    • EXECUTABLE DIRECTORY: /usr/bin

    • SPEC CACHE DIRECTORY: /Users/username/.gem/specs

    • SYSTEM CONFIGURATION DIRECTORY: /Library/Ruby/Site

    • RUBYGEMS PLATFORMS:


      • ruby

      • universal-darwin-18



    • GEM PATHS:


      • /Library/Ruby/Gems/2.3.0

      • /Users/username/.gem/ruby/2.3.0

      • /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/gems/2.3.0



    • GEM CONFIGURATION:


      • :update_sources => true

      • :verbose => true

      • :backtrace => false

      • :bulk_threshold => 1000



    • REMOTE SOURCES:


      • https://rubygems.org/



    • SHELL PATH:


      • /usr/local/bin

      • /usr/bin

      • /bin

      • /usr/sbin

      • /sbin












    share|improve this question



























      -1












      -1








      -1








      On mac os 10.14.2,when i am trying to setup pod by step by step i am getting this error.




      1. sudo gem update --system


      2. sudo gem install -n /usr/local/bin cocoapods



      3. pod setup-->In this step it shows error



        /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- rubygems/core_ext/kernel_warn (LoadError)
        from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /Library/Ruby/Site/2.3.0/rubygems.rb:1395:in `<top (required)>'
        from <internal:gem_prelude>:4:in `require'
        from <internal:gem_prelude>:4:in `<internal:gem_prelude>'



      This load error when I try to pod install. How do I fix it?



      RubyGems Environment:
      - RUBYGEMS VERSION: 3.0.1




      • RUBY VERSION: 2.3.7 (2018-03-28 patchlevel 456) [universal.x86_64-darwin18]

      • INSTALLATION DIRECTORY: /Library/Ruby/Gems/2.3.0

      • USER INSTALLATION DIRECTORY: /Users/username/.gem/ruby/2.3.0

      • RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby

      • GIT EXECUTABLE: /usr/bin/git

      • EXECUTABLE DIRECTORY: /usr/bin

      • SPEC CACHE DIRECTORY: /Users/username/.gem/specs

      • SYSTEM CONFIGURATION DIRECTORY: /Library/Ruby/Site

      • RUBYGEMS PLATFORMS:


        • ruby

        • universal-darwin-18



      • GEM PATHS:


        • /Library/Ruby/Gems/2.3.0

        • /Users/username/.gem/ruby/2.3.0

        • /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/gems/2.3.0



      • GEM CONFIGURATION:


        • :update_sources => true

        • :verbose => true

        • :backtrace => false

        • :bulk_threshold => 1000



      • REMOTE SOURCES:


        • https://rubygems.org/



      • SHELL PATH:


        • /usr/local/bin

        • /usr/bin

        • /bin

        • /usr/sbin

        • /sbin












      share|improve this question
















      On mac os 10.14.2,when i am trying to setup pod by step by step i am getting this error.




      1. sudo gem update --system


      2. sudo gem install -n /usr/local/bin cocoapods



      3. pod setup-->In this step it shows error



        /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- rubygems/core_ext/kernel_warn (LoadError)
        from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /Library/Ruby/Site/2.3.0/rubygems.rb:1395:in `<top (required)>'
        from <internal:gem_prelude>:4:in `require'
        from <internal:gem_prelude>:4:in `<internal:gem_prelude>'



      This load error when I try to pod install. How do I fix it?



      RubyGems Environment:
      - RUBYGEMS VERSION: 3.0.1




      • RUBY VERSION: 2.3.7 (2018-03-28 patchlevel 456) [universal.x86_64-darwin18]

      • INSTALLATION DIRECTORY: /Library/Ruby/Gems/2.3.0

      • USER INSTALLATION DIRECTORY: /Users/username/.gem/ruby/2.3.0

      • RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby

      • GIT EXECUTABLE: /usr/bin/git

      • EXECUTABLE DIRECTORY: /usr/bin

      • SPEC CACHE DIRECTORY: /Users/username/.gem/specs

      • SYSTEM CONFIGURATION DIRECTORY: /Library/Ruby/Site

      • RUBYGEMS PLATFORMS:


        • ruby

        • universal-darwin-18



      • GEM PATHS:


        • /Library/Ruby/Gems/2.3.0

        • /Users/username/.gem/ruby/2.3.0

        • /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/gems/2.3.0



      • GEM CONFIGURATION:


        • :update_sources => true

        • :verbose => true

        • :backtrace => false

        • :bulk_threshold => 1000



      • REMOTE SOURCES:


        • https://rubygems.org/



      • SHELL PATH:


        • /usr/local/bin

        • /usr/bin

        • /bin

        • /usr/sbin

        • /sbin









      ruby rubygems






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 25 '18 at 13:14









      DavidPostill

      104k25226260




      104k25226260










      asked Dec 25 '18 at 10:27









      swapna reddyswapna reddy

      11




      11






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1387553%2fwhy-i-am-getting-rubygems-core-ext-kernel-require-rb55in-requireload-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1387553%2fwhy-i-am-getting-rubygems-core-ext-kernel-require-rb55in-requireload-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Plaza Victoria

          Puebla de Zaragoza

          Musa