Comment 4 for bug 816621

Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: [Bug 816621] [NEW] Ensemble doesn't appear to set up a complete environment while running the installation scripts and hooks

Excerpts from Juan L. Negron's message of Wed Jul 27 01:40:12 UTC 2011:
> The problem I have with that assessment is that, if I run the install script
> manually, it all works. That's why I included the install script.
>
> Try it out and you'll see that it runs fine when run from a shell but, it
> dies when ensemble runs it.
>
> i have also checked the dependencies...
>

I totally understand that. I'm suggesting that gem is really unreliable
without a tty and/or login shell. I reported a bug in rubygems where it
assumed you would have a certain file in ~ or fail hard. That one is
fixed (and only involved gem build), but I'm sure there are others.

Ensemble isn't the only tool to install without a terminal or shell,
in fact I believe some of the GUI package managers use pipes rather than
pseudo terminals to capture the output.

As annoying as this is (I'd be annoyed were I in your shoes), this seems
like a bug in the postinst of the package, not necessarily Ensemble
(even if though it *is* confusing that it works manually).

Can you try installing the package with < /dev/null ?