Recently, I installed RVM from my non-administrator account (to make sure it is available to the user and installed in his home directory). Then I ran rvm to install 1.9.3 (again, as a non-administrator), and got an error warning me that usr/local/bin is not writable and is required by Homebrew. Running rvm requires the same warning.
Should I install RVM as a non-administrator. When I use RVM to install the ruby version, switch to the administrator, and then I can use RVM from a non-administrator account (everything except installation)? Or is there another error here?
When I try to install 1.9.3, the RVM output is as follows:
$ rvm install 1.9.3
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p448.
Continuing with compilation. Please read'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
ERROR:'/usr/local/bin' is not writable-it is required for Homebrew, try'brew doctor' to fix it!
Requirements installation failed with status: 1.
Someone suggested that I don’t install Homebrew when logging in as an administrator, so I should uninstall it (as an administrator) and then reinstall it as a normal user. I tried this, but when I run the installation script as a normal user, the first thing I tell me is:
$ ruby -e "$(curl -fsSL https: //raw.github.com/mxcl/homebrew/go)"
This script requires the user myuser to be an Administrator. If this
sucks for you then you can install Homebrew in your home directory or however
you please; please refer to our homepage. If you still want to use this script
set your user to be an Administrator in System Preferences or `su' to a
non-root user with Administrator privileges.
I imagine this is why I installed it as an administrator in the first place. Any help to clarify this?
$ rvm autolibs read-only # read more here: https://rvm.io/rvm/autolibs
$ rvm install ruby # or any version you want
This tells rvm to install ruby and the currently installed libs… the default is read-fail, which terminates the missed request of rvm.
To use openssl (gem needs it, I have to rebuild ruby). Ask the computer administrator to install openssl with brew
$ brew install openssl # if you want to install all dependencies run'rvm requirements'
$ rvm reinstall ruby
or
$ rvm install ruby
I installed Homebrew from my administrator account. If I run Brew Doctor from that account, I have no errors, but if I run Brew Doctor from a non-administrator user account, I will receive warnings about several directories (usr/local and its subdirectories) that are not writable, and I The chosen ones recommend them.
Recently, I installed RVM from my non-administrator account (to make sure it is available to the user and installed in his home directory). Then I ran rvm to install 1.9.3 (again, as a non-administrator), and got an error warning me that usr/local/bin is not writable and is required by Homebrew. Running rvm requires the same warning.
Should I install RVM as a non-administrator. When I use RVM to install the ruby version, switch to the administrator, and then I can use RVM from a non-administrator account (everything except installation)? Or is there another error here?
When I try to install 1.9.3, the RVM output is as follows:
$ rvm install 1.9.3
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p448.
Continuing with compilation. Please read'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
ERROR:'/usr/local/bin' is not writable-it is required for Homebrew, try'brew doctor' to fix it!
Requirements installation failed with status: 1.
Someone suggested that I don’t install Homebrew when logging in as an administrator, so I should uninstall it (as an administrator) and then reinstall it as a normal user. I tried this, but when I run the installation script as a normal user, the first thing I tell me is:
$ ruby -e "$(curl -fsSL https: //raw.github.com/mxcl/homebrew/go)"
This script requires the user myuser to be an Administrator. If this
sucks for you then you can install Homebrew in your home directory or however
you please; please refer to our homepage. If you still want to use this script
set your user to be an Administrator in System Preferences or `su' to a
non-root user with Administrator privileges.
I imagine this is why I installed it as an administrator in the first place. Any help to clarify this?
I have the same problem, I have to read the documentation and think a lot.
$ rvm autolibs read-only # read more here: https://rvm.io/rvm/autolibs
$ rvm install ruby # or any version you want
This tells rvm to install ruby and the currently installed libs… the default is read-fail, which terminates the missed request of rvm.
To use openssl (gem needs it, I have to rebuild ruby). Ask the computer administrator to install openssl with brew
$ brew install openssl # if you want to install all dependencies run'rvm requirements'
$ rvm reinstall ruby
or
$ rvm install ruby