Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Installing The Ruby Environment

Hello i am trying to install the RVM and I keep on getting errors. can somebody help me? I am on a Mac Book Pro 13"

Douglass-MacBook-Pro:~ developer$ rvm install 1.9.3 Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.9/x86_64/ruby-1.9.3-p484. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for osx. Error: No available formula for gcc46 Installing requirements for osx. Updating system. Installing required custom packages: homebrew/versions| . Installing required packages: autoconf, automake, libtool, pkg-config, gcc46, libyaml, readline, libksba, openssl../ ......| .. Error running 'requirements_osx_brew_libs_install autoconf automake libtool pkg-config gcc46 libyaml readline libksba openssl', showing last 15 lines of /Users/developer/.rvm/log/1392836497_ruby-1.9.3-p484/package_install_autoconf_automake_libtool_pkg-config_gcc46_libyaml_readline_libksba_openssl.log CPPFLAGS: -I/usr/local/opt/libmpc08/include

==> Summary ???? /usr/local/Cellar/libmpc08/0.8.1: 9 files, 244K, built in 58 seconds ==> Installing gcc46 dependency: ppl011 ==> Downloading http://bugseng.com/products/ppl/download/ftp/releases/0.11/ppl-0.11.tar.gz Trying a mirror... ==> Downloading ftp://gcc.gnu.org/pub/gcc/infrastructure/ppl-0.11.tar.gz Error: Failed to download resource "ppl011" Download failed: ftp://gcc.gnu.org/pub/gcc/infrastructure/ppl-0.11.tar.gz There were package installation errors, make sure to read the log.

Try brew tap --repair and make sure brew doctor looks reasonable.

Check Homebrew requirements https://github.com/mxcl/homebrew/wiki/Installation Requirements installation failed with status: 1.

1 Answer

Try following this guide: http://rvm.io/rvm/install It helped me install RVM.

Thank you for that Sujith! It solved my problem!!!