Rvm Brew



Rum

Tags

Development, Homebrew, MacOSX, Ruby 2.0.0, RVM

Over time, the tools got better, and ever since Mavericks, setting up a development environment on a Mac with Apple's standalone Command Line Tools, Homebrew, Git, a Ruby manager (such as chruby, rbenv, or RVM), Ruby, and Rails has been a fairly stress-free process that's. Ruby enVironment Manager (RVM). Contribute to rvm/rvm development by creating an account on GitHub. After running brew tap -repair, rvm was able to auto install the missing dependencies via homebrew and install my ruby without problems. No need to manually install each package or anything else.

Soundtrack pro 3 download mac. Moving between jobs and setting up new machine can be quite painful at times, I recently moved into new assignment and faced the challenge so to avoid pain for other just summarising the steps I followed for smooth Installation.

1. Install Xcode and the Command Line Tools

If you don’t have Xcode installed I suggest to install Xcode from the Mac App Store and install the command line tools in Xcode Preferences -> Downloads.

2. Install Homebrew

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

Now, run brew doctor to check everything is as expected before we continue.:

  • brew doctor

If you get error: No such file or directory – /usr/local/Cellar

Run the following:

  1. sudo mkdir/usr/local/Cellar
  2. sudo chown -R `whoami` /usr/local

3. Install RVM

  • curl -L get.rvm.io | bash

After this is complete, execute the following in order to use RVM in your current shell

  • source ~/.rvm/scripts/rvm

4. Setup ~/.profile

Brew

Add the following to your ~/.profile in order to source RVM everytime you run Terminal.app:

  • [[-s “$HOME/.rvm/scripts/rvm” ]] &&source “$HOME/.rvm/scripts/rvm”

5. Check RVM Requirements

  • rvm requirements

If you have any missing required packages you will need to install them before continuing by running brew install .

If you need to install apple-gcc42 and get an error: No available formula for apple-gcc42

Run the following:

  • brew tap homebrew/dupes

If you get an error after running this: Already tapped!

Instead of repairing, run the following:

  • brew tap –repair homebrew/dupes

Now you can continue and install apple-gcc42:

From 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

6. Run brew doctor again to make sure everything checks out

Execute the following:

  • brew doctor

If you get an error or warning about your PATH. Such as:

  • Warning: /usr/bin occurs before /usr/local/bin

Open your ~/.profile and add the following line to the top (or bottom, it shouldn’t matter):

  • export PATH=/usr/local/bin:$PATH

Or Augment your .bash_profile to have

Rum Brewing Recipe

  • export PATH=”/usr/local/bin:/usr/local/sbin:~/bin:$PATH”

Now run: brew doctor

7. It’s now time to install Ruby 2.0.0:

First run the following commands:

  • rvm get head

followed by:

Rum Brownie

  • rvm requirements

If you don’t get any errors you can finally install Ruby 2.0.0:

  • rvm install 2.0.0

To set as your current version of Ruby run the following command:

Brew
  • rvm use 2.0.0

To make it the default Ruby:

  • rvm default 2.0.0
Brew

Now every time you open Terminal.app Ruby 2.0.0 will be default. You can always check which version of Ruby you have using the following command:

  • ruby -v

Rvm Brew Install Osx

Rvm install brew update

and where it’s located executing the command:

  • which ruby

Rvm Brewery

You are now setup to run Ruby 2.0.0 on Mac OS X 10.8 Mountain Lion.