https://bugzilla.wikimedia.org/show_bug.cgi?id=66889
Bug ID: 66889
Summary: Fatal error: undefined method `save' due to outdated
plugin
Product: MediaWiki-Vagrant
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Web browser: ---
Mobile Platform: ---
$ vagrant status [264/9172]
Your git/Gerrit username has not been set.
* If you want anonymous git access, enter 'anonymous'.
* If you do NOT want vagrant to manage your git remotes while provisioning,
hit
Enter
* You can always change it later by editing .settings.yaml file
* If VM has already been created and you enter a value, run 'vagrant
provision'
to update remote git URLs.
==> bd808
There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.
Path: /Users/bd808/projects/wmf/vagrant/Vagrantfile
Message: undefined method `save' for #<Settings:0x00000104276b68
@settings={"git
_user"=>"bd808"}>
It turns out that this was caused by Id5938b55093afde571dd67e4e93d5ca98379d5f3
which added a new method to the settings class. I'm running Vagrant 1.6.3 and
had version 0.0.2 of the custom MediaWiki-Vagrant plugin installed. Bumping the
version number in lib/mediawiki-vagrant/version.rb to 0.0.3 and reinstalling
the plugin fixed the crash.
It looks like we may need to come up with a procedure for incrementing the
plugin version and notifying the user when their installed plugin is out of
date. It would probably also be nice to add feature guards in the Vagrant file
for things that need a specific minimum version of the plugin.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l