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

Installing homestead problem RubyEncoder / Package Not Found (SOLVED)

I've had a ruby on rails installed on my computer previously, which I suspect can be causing a problem. I couldn't find any solution to this on the internet. Anyone can help?

Here's the error message:

Vagrant failed to initialize at a very early stage: The plugins failed to load properly. The error message given is shown below.

The RubyEncoder loaderis not installed. Please visit the http://rubyencoder.com/loaders/ RubyEncoder site to download the required loader for 'mingw' and unpack it into 'C:/HashiCorp/Vagrantembedded/rgloader' directory to run this protected script.

Makes no sense to be as the given path for ruby encoder is 404.. On their site: www.rubyencoder.com I cannot find the link to download loaders.

If anybody has had the same problem please help.

Thanks a lot

Found some sort of solution: Download file from - https://www.rubyencoder.com/loaders.html It's called - Windows (MinGW) rubyinstaller.org

However the problem now is

The box 'laravel/homestead' could not be found or could not be accessed in the remote catalog. If this is a private box on HashiCorp's Atlas, please verify you're logged in via 'vagrant login'. Also please double check the name. The expanded URL and error message are shown below ... etc.

1 Answer

Hey People. I've found solution myself. I won't delete this post for other people to use it.

The error was more like this: (Error with cacert.pem file inside vagrant/embedded/cacert.pem)

The solution to this is to download an official cacert.pem file and replace the one provided by vagrant.

NOTE: Do not copy paste the code as the file downloaded is a .txt file. It won't work. Open both files (original from vagrant and non original) and just replace code with new one.

Download link: http://curl.haxx.se/ca/cacert.pem

Hope that this helps anybody :)