Error: make: ./miniruby: Permission denied

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I was trying to install RVM (Ruby Version Manager) with stable ruby on a mac and got this error: Error running '__rvm_make -j2'



abbreviated console output:



 curl -sSL https://get.rvm.io | bash -s stable --rubycurl -sSL https://get.rvm.io
...
...
...
Installing Ruby from source to: /Users/bbush/.rvm/rubies/ruby-2.4.1, this may take a while depending on your cpu(s)...
ruby-2.4.1 - #downloading ruby-2.4.1, this may take a while depending on your connection...
ruby-2.4.1 - #extracting ruby-2.4.1 to /Users/bbush/.rvm/src/ruby-2.4.1....
ruby-2.4.1 - #applying patch /Users/bbush/.rvm/patches/ruby/2.4.1/random_c_using_NR_prefix.patch.
ruby-2.4.1 - #configuring...................................................................
ruby-2.4.1 - #post-configuration.
ruby-2.4.1 - #compiling...........
Error running '__rvm_make -j2',


Then looking at the log file (abbreviated here) I got this ./miniruby permission denied error:



............
compiling enc/us_ascii.c
compiling enc/unicode.c
compiling enc/utf_8.c
compiling enc/trans/newline.c
linking miniruby
generating encdb.h
make: ./miniruby: Permission denied
make: ./miniruby: Permission denied
make: *** [.rbconfig.time] Error 1
make: *** Waiting for unfinished jobs....
make: *** [encdb.h] Error 1
++ /scripts/functions/support : __rvm_make() 383 > return 2


Then, after running 'rvm reload', I got a ./config.status permission denied error. Here's the abbreviated log:



...
compiling ./missing/explicit_bzero.c
compiling ./missing/setproctitle.c
compiling dmyenc.c
make: ./config.status: Permission denied
make: *** [ruby-runner.c] Error 1


I'm the root user on my machine btw and I'm running Mac OS X – High Sierra (10.13.4). Anyone know what's going on here and how to get around these permissions issues? Thanks.







share|improve this question























    up vote
    0
    down vote

    favorite












    I was trying to install RVM (Ruby Version Manager) with stable ruby on a mac and got this error: Error running '__rvm_make -j2'



    abbreviated console output:



     curl -sSL https://get.rvm.io | bash -s stable --rubycurl -sSL https://get.rvm.io
    ...
    ...
    ...
    Installing Ruby from source to: /Users/bbush/.rvm/rubies/ruby-2.4.1, this may take a while depending on your cpu(s)...
    ruby-2.4.1 - #downloading ruby-2.4.1, this may take a while depending on your connection...
    ruby-2.4.1 - #extracting ruby-2.4.1 to /Users/bbush/.rvm/src/ruby-2.4.1....
    ruby-2.4.1 - #applying patch /Users/bbush/.rvm/patches/ruby/2.4.1/random_c_using_NR_prefix.patch.
    ruby-2.4.1 - #configuring...................................................................
    ruby-2.4.1 - #post-configuration.
    ruby-2.4.1 - #compiling...........
    Error running '__rvm_make -j2',


    Then looking at the log file (abbreviated here) I got this ./miniruby permission denied error:



    ............
    compiling enc/us_ascii.c
    compiling enc/unicode.c
    compiling enc/utf_8.c
    compiling enc/trans/newline.c
    linking miniruby
    generating encdb.h
    make: ./miniruby: Permission denied
    make: ./miniruby: Permission denied
    make: *** [.rbconfig.time] Error 1
    make: *** Waiting for unfinished jobs....
    make: *** [encdb.h] Error 1
    ++ /scripts/functions/support : __rvm_make() 383 > return 2


    Then, after running 'rvm reload', I got a ./config.status permission denied error. Here's the abbreviated log:



    ...
    compiling ./missing/explicit_bzero.c
    compiling ./missing/setproctitle.c
    compiling dmyenc.c
    make: ./config.status: Permission denied
    make: *** [ruby-runner.c] Error 1


    I'm the root user on my machine btw and I'm running Mac OS X – High Sierra (10.13.4). Anyone know what's going on here and how to get around these permissions issues? Thanks.







    share|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I was trying to install RVM (Ruby Version Manager) with stable ruby on a mac and got this error: Error running '__rvm_make -j2'



      abbreviated console output:



       curl -sSL https://get.rvm.io | bash -s stable --rubycurl -sSL https://get.rvm.io
      ...
      ...
      ...
      Installing Ruby from source to: /Users/bbush/.rvm/rubies/ruby-2.4.1, this may take a while depending on your cpu(s)...
      ruby-2.4.1 - #downloading ruby-2.4.1, this may take a while depending on your connection...
      ruby-2.4.1 - #extracting ruby-2.4.1 to /Users/bbush/.rvm/src/ruby-2.4.1....
      ruby-2.4.1 - #applying patch /Users/bbush/.rvm/patches/ruby/2.4.1/random_c_using_NR_prefix.patch.
      ruby-2.4.1 - #configuring...................................................................
      ruby-2.4.1 - #post-configuration.
      ruby-2.4.1 - #compiling...........
      Error running '__rvm_make -j2',


      Then looking at the log file (abbreviated here) I got this ./miniruby permission denied error:



      ............
      compiling enc/us_ascii.c
      compiling enc/unicode.c
      compiling enc/utf_8.c
      compiling enc/trans/newline.c
      linking miniruby
      generating encdb.h
      make: ./miniruby: Permission denied
      make: ./miniruby: Permission denied
      make: *** [.rbconfig.time] Error 1
      make: *** Waiting for unfinished jobs....
      make: *** [encdb.h] Error 1
      ++ /scripts/functions/support : __rvm_make() 383 > return 2


      Then, after running 'rvm reload', I got a ./config.status permission denied error. Here's the abbreviated log:



      ...
      compiling ./missing/explicit_bzero.c
      compiling ./missing/setproctitle.c
      compiling dmyenc.c
      make: ./config.status: Permission denied
      make: *** [ruby-runner.c] Error 1


      I'm the root user on my machine btw and I'm running Mac OS X – High Sierra (10.13.4). Anyone know what's going on here and how to get around these permissions issues? Thanks.







      share|improve this question











      I was trying to install RVM (Ruby Version Manager) with stable ruby on a mac and got this error: Error running '__rvm_make -j2'



      abbreviated console output:



       curl -sSL https://get.rvm.io | bash -s stable --rubycurl -sSL https://get.rvm.io
      ...
      ...
      ...
      Installing Ruby from source to: /Users/bbush/.rvm/rubies/ruby-2.4.1, this may take a while depending on your cpu(s)...
      ruby-2.4.1 - #downloading ruby-2.4.1, this may take a while depending on your connection...
      ruby-2.4.1 - #extracting ruby-2.4.1 to /Users/bbush/.rvm/src/ruby-2.4.1....
      ruby-2.4.1 - #applying patch /Users/bbush/.rvm/patches/ruby/2.4.1/random_c_using_NR_prefix.patch.
      ruby-2.4.1 - #configuring...................................................................
      ruby-2.4.1 - #post-configuration.
      ruby-2.4.1 - #compiling...........
      Error running '__rvm_make -j2',


      Then looking at the log file (abbreviated here) I got this ./miniruby permission denied error:



      ............
      compiling enc/us_ascii.c
      compiling enc/unicode.c
      compiling enc/utf_8.c
      compiling enc/trans/newline.c
      linking miniruby
      generating encdb.h
      make: ./miniruby: Permission denied
      make: ./miniruby: Permission denied
      make: *** [.rbconfig.time] Error 1
      make: *** Waiting for unfinished jobs....
      make: *** [encdb.h] Error 1
      ++ /scripts/functions/support : __rvm_make() 383 > return 2


      Then, after running 'rvm reload', I got a ./config.status permission denied error. Here's the abbreviated log:



      ...
      compiling ./missing/explicit_bzero.c
      compiling ./missing/setproctitle.c
      compiling dmyenc.c
      make: ./config.status: Permission denied
      make: *** [ruby-runner.c] Error 1


      I'm the root user on my machine btw and I'm running Mac OS X – High Sierra (10.13.4). Anyone know what's going on here and how to get around these permissions issues? Thanks.









      share|improve this question










      share|improve this question




      share|improve this question









      asked Jun 21 at 17:07









      echobase

      11




      11

























          active

          oldest

          votes











          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: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          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%2f451155%2ferror-make-miniruby-permission-denied%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451155%2ferror-make-miniruby-permission-denied%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay