https://bugzilla.wikimedia.org/show_bug.cgi?id=67445

            Bug ID: 67445
           Summary: Custom vagrant commands don't run from subdirs
           Product: MediaWiki-Vagrant
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

On Win 8.1 x64, vagrant 1.6.3, after running I748655162214e0 - setup.bat to get
all the custom commands.

Custom commands such as list-roles, enable-role, etc work ok from the root
Vagrant dir, but fail when executed from subdirectories:

cd v  (vagrant dir)
$ vagrant list-roles
   ... works ok

$ cd mediawiki
$ vagrant list-roles
Available roles:

C:/Users/user/.vagrant.d/gems/gems/mediawiki-vagrant-0.0.3/lib/mediawiki-vagrant/roles.rb:12:in
`each_slice': invalid slice size (ArgumentEr
ror)
        from
C:/Users/user/.vagrant.d/gems/gems/mediawiki-vagrant-0.0.3/lib/mediawiki-vagrant/roles.rb:12:in
`execute'
        from
c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/cli.rb:42:in
`execute'
        from
c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:252:in
`cli'
        from
c:/HashiCorp/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.3/bin/vagrant:166:in
`<main>'

-- 
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

Reply via email to