Allow to pass environment variables to the gem type

This is very useful when install gems like buildr that
requires access to the JAVA_HOME environment variable.