Brewry Mac OS

  1. Brewery Marco Island Fl
  2. Install The Azure CLI For MacOS Microsoft Docs

Homebrew is a package manager for OS X. Open Terminal and install Homebrew with: $ ruby -e '$ (curl -fsSkL raw.github.com/mxcl/homebrew/go)' Once the installation is successful, you can run the following command to check your environment. Charles Cooke Homebrew is a package manager for macOS. It's extremely easy to install, and, once installed, allows you to manage both your core packages and your (non-App Store) applications easily through the command line. Suppose you want to install Google Chrome on your Mac. Search & Install any app on Mac. Skip to content. Install ghostscript on Mac OSX. June 23, 2017 Amber. Brew install ghostscript; Done! You can now use ghostscript.

Install Ruby with rbenv

I decided to setup Octopress on my Mac so that I can publish blog posts from either Windows or MacOS. I’m on OS X 10.8.2.

I tried to follow the Octopress instructions for installing Ruby but ran into a few problems.

Brewery Marco Island Fl

Install Homebrew

Homebrew is a package manager for OS X. Open Terminal and install Homebrew with:

Once the installation is successful, you can run the following command to check your environment.

Apparently, you should see:

But instead I had 3 warnings.

This one can be fixed by modifying your .profile file. Create it if it doesn’t already exist. Use nano ~/.profile if you don’t have a preferred editor.

Google tells me the other two warnings are related to Mono being installed and can be ignored.

Ploughing on…

Install rbenv

Rbenv handles the installation of multiple Ruby environments.

Install gcc

Brewery

If I try to install Ruby immediately, I get

XCode used to ship with a compatible gcc, but no longer does. We can install it with Homebrew.

The new gcc will coexist happily alongside the default one.

Install The Azure CLI For MacOS Microsoft Docs

Install Ruby 1.9.3

Now we can install Ruby.

Next run

Hmm… I get

Shouldn’t it say ruby 1.9.3? It turns out you need to add the following to the end of your .profile.

Mac

Now quit and restart Terminal.

Ruby 1.9.3 is installed correctly. If I quit and restart Terminal, ruby --version is still 1.9.3.