Hi there,

On Thu, 14 Aug 2014 11:31:31 -0300 Antonio Terceiro <terce...@debian.org> wrote:
> Hi,
>
> On Sat, Aug 02, 2014 at 06:00:23PM -0300, Miguel Landaeta wrote:
> > block 753012 by 740165
> > thanks
> >
> > I pushed my packaging to 
> > git://anonscm.debian.org/pkg-ruby-extras/vagrant-libvirt.git.
> >
> > This is not ready because:
> >
> > * It needs to be tested with vagrant >= 1.5. (see #741478).
> > * Support for vagrant plugin is needed in Debian. (see #740165).
> >
> > I based my work on what Antonio Terceiro did for vagrant-lxc, so I'm
> > CCing him in case he wants to add a comment about this.
>
> A heads up:
>
> I recently uploaded vagrant with the patch supporting Debian plugins,
> but it turned out to break installing plugins via vagrant itself
> (#758033), so I had to revert that and reopen the original bug for
> Debian-provided plugins (#740165).
>
> I will have to figure out a different way of providing plugins via
> debian packages that does not break the standard one.
>
> --
> Antonio Terceiro <terce...@debian.org>


The following patch should fix local Vagrant plugin installation (via
`vagrant plugin install`).

Thanks!
Dan

--- a/plugins/commands/plugin/command/base.rb
+++ b/plugins/commands/plugin/command/base.rb
@@ -10,7 +10,7 @@
         # @param [Hash] env Extra environment hash that is merged in.
         def action(callable, env=nil)
           env = {
-            :gem_helper => GemHelper.new(@env.gems_path),
+            :gem_helper =>
GemHelper.new(@env.gems_path.split(File::PATH_SEPARATOR).first),
             :plugin_state_file =>
StateFile.new(@env.home_path.join("plugins.json"))
           }.merge(env || {})


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to