Monday, October 21, 2013

PredictionIO - undefined method `configure' for Vagrant:Module

October 21, 2013 Posted by Jason Irwin No comments

I’m dying to play with PredictionIO and it looks like the easiest way to get up and running is using the wonderful vagrant to spin up a preconfigured VirtualBox VM. Unfortunately, I got the following error message when attempting to do so in Windows or Mac OSX.

C:/PredictionIO-Vagrant/Vagrantfile:10:in `<top (required)>': undefined method `configure' for Vagrant:Module (NoMethodE
rror)

It turns out that that Vagrant no longer supports RubyGems as an installation method (a whole blog post was dedicated to the reasoning) and I had used gem install to get her up and running. So, remove Vagrant if you’ve already installed it and download the installer from http://www.vagrantup.com/