Could not find rake-11.2.2 in any of the sources Run bundle install to install missing gems











up vote
0
down vote

favorite












I'm using Kali Linux and after I done apt-get dist-upgrade I keep receiving this ''Could not find rake-11.2.2 in any of the sources Run bundle install to install missing gems. '' When I do ''bundle install'' I receive this



Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Could not locate Gemfile or .bundle/ directory`.



I have made another non-root user and it give me same thing + I have recreated ./bundle and same error after that and tried to reinstall 'rake-11.2.2 ' I can't because I receive same error like above.










share|improve this question




























    up vote
    0
    down vote

    favorite












    I'm using Kali Linux and after I done apt-get dist-upgrade I keep receiving this ''Could not find rake-11.2.2 in any of the sources Run bundle install to install missing gems. '' When I do ''bundle install'' I receive this



    Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
    installing your bundle as root will break this application for all non-root
    users on this machine.
    Could not locate Gemfile or .bundle/ directory`.



    I have made another non-root user and it give me same thing + I have recreated ./bundle and same error after that and tried to reinstall 'rake-11.2.2 ' I can't because I receive same error like above.










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm using Kali Linux and after I done apt-get dist-upgrade I keep receiving this ''Could not find rake-11.2.2 in any of the sources Run bundle install to install missing gems. '' When I do ''bundle install'' I receive this



      Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
      installing your bundle as root will break this application for all non-root
      users on this machine.
      Could not locate Gemfile or .bundle/ directory`.



      I have made another non-root user and it give me same thing + I have recreated ./bundle and same error after that and tried to reinstall 'rake-11.2.2 ' I can't because I receive same error like above.










      share|improve this question















      I'm using Kali Linux and after I done apt-get dist-upgrade I keep receiving this ''Could not find rake-11.2.2 in any of the sources Run bundle install to install missing gems. '' When I do ''bundle install'' I receive this



      Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
      installing your bundle as root will break this application for all non-root
      users on this machine.
      Could not locate Gemfile or .bundle/ directory`.



      I have made another non-root user and it give me same thing + I have recreated ./bundle and same error after that and tried to reinstall 'rake-11.2.2 ' I can't because I receive same error like above.







      linux kali-linux






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 16 at 2:17









      Rui F Ribeiro

      38.2k1475123




      38.2k1475123










      asked Jul 14 '16 at 13:23









      Dox

      112




      112






















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          0
          down vote













          You need to be on the metasploit-framework folder first



          cd /usr/share/metasploit-framework/
          bundle install


          if you get a error installing nokogiri-1.6.8 try to:



          sudo apt-get install libxslt-dev libxml2-dev zlib1g-dev --yes


          and rerun the bundle install on the correct folder






          share|improve this answer






























            up vote
            0
            down vote













            i got the answer from here after going around alot and banging my head alot



            https://stackoverflow.com/questions/17539636/bundlergemfilenotfound-whenever-i-try-to-run-bundle-install



            simply run gem install bundler then bundler install as root in the tool root path and everything works as charm.
            to go to the tool root path
            cd /usr/share/metasploit-framework






            share|improve this answer






























              up vote
              -1
              down vote













              To fix this I ran apt-get install ruby-rails*






              share|improve this answer























                Your Answer








                StackExchange.ready(function() {
                var channelOptions = {
                tags: "".split(" "),
                id: "106"
                };
                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',
                convertImagesToLinks: false,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: null,
                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%2funix.stackexchange.com%2fquestions%2f295869%2fcould-not-find-rake-11-2-2-in-any-of-the-sources-run-bundle-install-to-install-m%23new-answer', 'question_page');
                }
                );

                Post as a guest















                Required, but never shown

























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes








                up vote
                0
                down vote













                You need to be on the metasploit-framework folder first



                cd /usr/share/metasploit-framework/
                bundle install


                if you get a error installing nokogiri-1.6.8 try to:



                sudo apt-get install libxslt-dev libxml2-dev zlib1g-dev --yes


                and rerun the bundle install on the correct folder






                share|improve this answer



























                  up vote
                  0
                  down vote













                  You need to be on the metasploit-framework folder first



                  cd /usr/share/metasploit-framework/
                  bundle install


                  if you get a error installing nokogiri-1.6.8 try to:



                  sudo apt-get install libxslt-dev libxml2-dev zlib1g-dev --yes


                  and rerun the bundle install on the correct folder






                  share|improve this answer

























                    up vote
                    0
                    down vote










                    up vote
                    0
                    down vote









                    You need to be on the metasploit-framework folder first



                    cd /usr/share/metasploit-framework/
                    bundle install


                    if you get a error installing nokogiri-1.6.8 try to:



                    sudo apt-get install libxslt-dev libxml2-dev zlib1g-dev --yes


                    and rerun the bundle install on the correct folder






                    share|improve this answer














                    You need to be on the metasploit-framework folder first



                    cd /usr/share/metasploit-framework/
                    bundle install


                    if you get a error installing nokogiri-1.6.8 try to:



                    sudo apt-get install libxslt-dev libxml2-dev zlib1g-dev --yes


                    and rerun the bundle install on the correct folder







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Jul 25 '16 at 14:40

























                    answered Jul 25 '16 at 14:29









                    Marcio Granzotto

                    1112




                    1112
























                        up vote
                        0
                        down vote













                        i got the answer from here after going around alot and banging my head alot



                        https://stackoverflow.com/questions/17539636/bundlergemfilenotfound-whenever-i-try-to-run-bundle-install



                        simply run gem install bundler then bundler install as root in the tool root path and everything works as charm.
                        to go to the tool root path
                        cd /usr/share/metasploit-framework






                        share|improve this answer



























                          up vote
                          0
                          down vote













                          i got the answer from here after going around alot and banging my head alot



                          https://stackoverflow.com/questions/17539636/bundlergemfilenotfound-whenever-i-try-to-run-bundle-install



                          simply run gem install bundler then bundler install as root in the tool root path and everything works as charm.
                          to go to the tool root path
                          cd /usr/share/metasploit-framework






                          share|improve this answer

























                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            i got the answer from here after going around alot and banging my head alot



                            https://stackoverflow.com/questions/17539636/bundlergemfilenotfound-whenever-i-try-to-run-bundle-install



                            simply run gem install bundler then bundler install as root in the tool root path and everything works as charm.
                            to go to the tool root path
                            cd /usr/share/metasploit-framework






                            share|improve this answer














                            i got the answer from here after going around alot and banging my head alot



                            https://stackoverflow.com/questions/17539636/bundlergemfilenotfound-whenever-i-try-to-run-bundle-install



                            simply run gem install bundler then bundler install as root in the tool root path and everything works as charm.
                            to go to the tool root path
                            cd /usr/share/metasploit-framework







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited May 23 '17 at 12:39









                            Community

                            1




                            1










                            answered Jul 26 '16 at 18:46









                            Mohamed Abdelmohsen

                            1




                            1






















                                up vote
                                -1
                                down vote













                                To fix this I ran apt-get install ruby-rails*






                                share|improve this answer



























                                  up vote
                                  -1
                                  down vote













                                  To fix this I ran apt-get install ruby-rails*






                                  share|improve this answer

























                                    up vote
                                    -1
                                    down vote










                                    up vote
                                    -1
                                    down vote









                                    To fix this I ran apt-get install ruby-rails*






                                    share|improve this answer














                                    To fix this I ran apt-get install ruby-rails*







                                    share|improve this answer














                                    share|improve this answer



                                    share|improve this answer








                                    edited Jul 30 '16 at 22:39









                                    DarkHeart

                                    3,40822139




                                    3,40822139










                                    answered Jul 30 '16 at 22:27









                                    MR-REBOOT

                                    1




                                    1






























                                         

                                        draft saved


                                        draft discarded



















































                                         


                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function () {
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f295869%2fcould-not-find-rake-11-2-2-in-any-of-the-sources-run-bundle-install-to-install-m%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

                                        Morgemoulin

                                        Scott Moir

                                        Souastre