11/24/2023 0 Comments Homebrew mac brew doctor![]() To make it the default Ruby: rvm default 2.0.0 To set as your current version of Ruby run the following command: rvm use 2.0.0 If you don’t get any errors you can finally install Ruby 2.0.0: rvm install 2.0.0 It’s now time to install Ruby 2.0.0:įirst run the following commands: rvm get head Run brew doctor to check all is swell before continuing. Open your ~/.profile and add the following line to the top (or bottom, it shouldn’t matter): export PATH=/usr/local/bin:$PATH Such as: Warning: /usr/bin occurs before /usr/local/bin If you get an error or warning about your PATH. Run brew doctor again to make sure everything checks out Now you can continue and install apple-gcc42:įrom the “Missing required packages: …” line above, for example I can now execute the following: brew install autoconf automake libtool pkg-config apple-gcc42 libyaml readline libxml2 libxslt libksba openssl sqliteĦ. Run the following instead to repair: brew tap -repair homebrew/dupes If you get an error after running this: Error: Already tapped! Run the following: brew tap homebrew/dupes If you need to install apple-gcc42 and get an error: Error: No available formula for apple-gcc42 Users/christopherkaukis/.rvm/scripts/functions/requirements/osx_brew: line 65: /usr/local/Cellar/openssl/1.0.1e/bin/c_rehash: No such file or directory Users/christopherkaukis/.rvm/scripts/functions/requirements/osx_brew: line 64: /cert.pem: Permission denied Users/christopherkaukis/.rvm/scripts/functions/requirements/osx_brew: line 63: /cert.pem: Permission denied usr/local/Cellar/openssl/1.0.1e/bin/openssl: No such file or directory ![]() Users/christopherkaukis/.rvm/scripts/functions/requirements/osx_brew: line 61: Skipping `brew update` make sure your formulas are up to date.Missing required packages: autoconf, automake, libtool, pkg-config, apple-gcc42, libyaml, readline, libxml2, libxslt, libksba, openssl, sqlite. Installing requirements for osx/10.8/x86_64, might require sudo password įor example, here is the output I had: $ rvm requirements If you have any missing required packages you will need to install them before continuing by running brew install. Note the “Missing required packages: …” statement. Add the following to your ~/.profile in order to source RVM everytime you run Terminal.app: ] & source "$HOME/.rvm/scripts/rvm" 5. Install RVM curl -L | bashĪfter this is complete execute the following in order to use RVM in your current shell: source ~/.rvm/scripts/rvmĤ. Run the following: sudo mkdir /usr/local/CellarĪnd sudo chown -R `whoami` /usr/local 3. If you get the error: Error: No such file or directory - /usr/local/Cellar Install Homebrew ruby -e "$(curl -fsSL )" Otherwise if you don’t want to do that you can download the Xcode standalone command line tools for Mountain Lion at (Note: You will have to login with your Apple Id.). If you don’t have it installed I suggest you install Xcode from the Mac App Store and install the command line tools in Xcode Preferences -> Downloads. This is a tutorial on how to install Ruby 2.0.0 on Mac OS X 10.8 Mountain Lion.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |