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

PHP Laravel 4 Basics Getting Started with Laravel Installing VirtualBox & Vagrant

Thorstein Nordby
Thorstein Nordby
17,115 Points

Error when re-installing Vagrant!

Hi

When I install the package for Vagrant and run the Vagrant -v command, I get this message:

"Thanks for wanting to use Vagrant! Unfortunately, this is not the way to install Vagrant anymore. We now make installers for the various operating systems Vagrant supports.

Vagrant is no longer distributed as a RubyGem. Please download the latest version for your operating system from the URL below. If you still wish to use the RubyGem version, you can manually install version 1.0.7. Note that the RubyGem version hasn't been updated in over a year and will no longer receive any updates.

Prior to installing Vagrant using the installer, make sure you uninstall all your Vagrant gems, since they sometimes conflict."

I had to reinstall Vagrant because I messed up the install of Laravel.... worked just fine the first time.

This is really annoying!!!

Hampton Paulk, any ideas?

I have Vagrant installed in the Applications folder, I deleted the Vagrant folder before reinstalling, and I used the sudo pkgutil --forget com.vagrant.vagrant command

1 Answer

Thorstein Nordby
Thorstein Nordby
17,115 Points

OK, I figured it out: I had an old ruby gem installed (1.5) that was conflicting with the package installer.

Man that was frustrating haha