简体   繁体   中英

Homebrew Password Prompt

Hi I'm trying set up my Mac to run Ruby on Rails but Im stuck trying to install Homebrew and also RVM.

When I type into the terminal:

 ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

It returns it returns the usual block of text and at the end where it shows:

 WARNING: Improper use of the sudo command could lead to data loss
 or the deletion of important system files. Please double-check your
  typing when using sudo. Type "man sudo" for more information.

 To proceed, enter your password, or type Ctrl-C to abort.

Password:

When I try to type In my root password nothing happens, the only input that returns something is pressing the enter key which comes back with the message 'Sorry, try again.'

The same thing happens when I try to run the install for RVM:

  Searching for binary rubies, this might take some time.
  Found remote file https://rvm.io/binaries/osx/10.9/x86_64/ruby-2.0.0-p247.tar.bz2
  Checking requirements for osx.
  Installing  macports.................................................................................................................
 ..............................................................
     connorashton password required for 'make install': .......

It again wont let me type anything In. Also may be of note that instead of showing the text cursor it just has a small grey rectangle.

Any help greatly appreciated!

<------- Edit ------->

Thanks for your comments I've finally got things moving and have now passed the passwords prompts. However RVM is now coming back with another error:

  Downloaded archive checksum did not match, archive was removed!
  If you wish to continue with not matching download add '--verify-downloads 2' after 
   the          command.

  Downloading https://rvm.io/binaries/osx/10.9/x86_64/ruby-2.0.0-p247.tar.bz2 failed.
   Mounting remote ruby failed, trying to compile.
    connorashton password required for 'softwareupdate -l': 

So i re-entered my password and it started running again but then came back with:

   Retrieving rubygems-2.1.11
   There is no checksum for 'http://production.cf.rubygems.org/rubygems/rubygems-     
     2.1.11.tgz' 
     or 'rubygems-2.1.11.tgz', it's not possible to validate it.
    This could be because your RVM install's list of versions is out of date. 
      You may want    to
     update your list of rubies by running 'rvm get stable' and try again.
    If that does not resolve the issue and you wish to continue with unverified download
     add '--verify-downloads 1' after the command.

     There has been an error while trying to fetch rubygems. 
      Halting the installation.

Sorry for the questions I just want to get this thing up and running!

sudo will hide the characters that you type. So it is normal that nothing shows up in the console while you type the password. Just type the password for your current account then hit Enter .

Also make sure that your account has administrator rights under:

System Preferences > Users & Groups > [Your Name] > Allow user to administer this computer

For others who may still have problems, I enabled root user, made my user admin, gave my user sudo privileges, but still could not get past the password prompt. Sudo privileges otherwise worked as expected (eg, sudo ls ).

Giving myself passwordless sudo privileges finally got me past the installation script.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM