Tag Info

New answers tagged

0

You have Ubuntu's curl installed, and another curl installed in /usr/local. Either specify the full path to get Ubuntu's curl (/usr/bin/curl), or change the PATH for your script to skip /usr/local/bin.


0

I finally stumbled across this answer. The way to do this is to load the bash shell and pass the command to it. capture("/bin/sh -c 'echo $ENV_VAR'")


1

rubygems is a virtual package, check the Ubuntu package archive. A virtual package is not an actual package, it has no .deb file associated with it. A group of packages that provide some generic functionalities are represented by using a virtual package so that any given package can depend on the virtual package rather than needing to know whats the actual ...


1

As an alternative to hand-maintaining multiple symlinks, I suggest using update-alternatives. In another question, I provided a script to handle all binaries and man pages in ruby versions 1.9.1 and 2.0 (as currently found in my 14.04 system), though the script is easily extended to different versions.


1

Late in the game but I think a perhaps more-complete solution than hard-coding symlinks is this use of update-alternatives, posted here verbosely in case others are bitten by the same frustration and would like a more native solution. This handles all binaries and man pages, preemptively removing the references first to avoid conflicts. Caveats: I think ...


0

For PG::InsufficientPrivilege: ERROR: permission denied to create database: Another way to resolve this problem is going to psql and type \du to list all roles. Make sure your role has the following things: Role name | Attributes | Member of -----------+------------------------------------------------+----------- ...



Top 50 recent answers are included