[TxMt] Re: Forwarding of environment variables
Allan Odgaard
mailinglist at textmate.org
Sat Oct 24 06:31:14 UTC 2015
On 24 Oct 2015, at 2:41, Jacob Carlborg wrote:
> Let's see if I can explain this:
>
> 1. TextMate executes a command in the RSpec bundle
> 2. That command is implemented in bash, containing inline Ruby code.
> That is, Ruby code is piped to a file which is then executed
> 3. The Ruby code runs the tests
>
> All variables (defined in Preferences → Variables), regardless of
> case, are available at step 2. But only environment variables starting
> with a capital letter are available in step 3.
That is not the case here. I made the following command:
#!/bin/sh
env|grep -v '^[A-Z]'
I see two variables starting with underscore, but no underscore
variables, even though I added one in Preferences → Variables.
More information about the textmate
mailing list