Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meaningless error when run on older Vagrant versions. #11

Closed
Drarok opened this issue Jul 9, 2014 · 3 comments
Closed

Meaningless error when run on older Vagrant versions. #11

Drarok opened this issue Jul 9, 2014 · 3 comments

Comments

@Drarok
Copy link

Drarok commented Jul 9, 2014

Having installed this plugin, I would only get the following red text every time I ran Vagrant:

error: Failed to load the "vagrant-gatling-rsync" plugin. View logs for more details.

No information on what logs, where they're stored… anyway, I googled and found I can run vagrant --debug, which resulted in me finding the following error:

ERROR root:  -- Error: #<NameError: uninitialized constant Errors>

This isn't useful either. Digging into the backtrace and looking at the offending line:

if Vagrant::VERSION < "1.5.1"
  raise Errors::Vagrant15RequiredError
end

Ah, Errors doesn't exist, so there's an error when trying to report an error.

😦 🌴

@smerrill
Copy link
Owner

What version of Vagrant are you running? I could not reproduce this on v1.4.3 or v1.3.0.

@smerrill
Copy link
Owner

(Granted, this is inside of the Bundler environment in which I develop, which automatically loads the plugin, so it's possible that it is slightly different in the wild.)

@smerrill
Copy link
Owner

Yep - that was indeed the issue. Committing a fix.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants