You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Shane Witbeck <sh...@digitalsanctum.com> on 2008/11/16 22:41:51 UTC
profiles.yaml not working?
I'm attempting to use a profiles.yaml file. When I reference
profile['some_var'] in my buildfile, I get the following error:
buildr aborted!
undefined method `profile' for Buildr:Module
Any ideas?
-Shane
Re: profiles.yaml not working?
Posted by Shane Witbeck <sh...@digitalsanctum.com>.
Created an issue for this: https://issues.apache.org/jira/browse/BUILDR-216
-Shane
On Sun, Nov 16, 2008 at 5:28 PM, Shane Witbeck <sh...@digitalsanctum.com>wrote:
> Answering my own question...
>
> I had to resort to using: Buildr.settings.profile['some_var']) although in
> the documentation it eludes to the fact that you should be able to simply
> call profile['some_var'].
>
> -Shane
>
>
>
> On Sun, Nov 16, 2008 at 4:41 PM, Shane Witbeck <sh...@digitalsanctum.com>wrote:
>
>> I'm attempting to use a profiles.yaml file. When I reference
>> profile['some_var'] in my buildfile, I get the following error:
>>
>> buildr aborted!
>> undefined method `profile' for Buildr:Module
>>
>>
>> Any ideas?
>>
>>
>> -Shane
>>
>
>
Re: profiles.yaml not working?
Posted by Shane Witbeck <sh...@digitalsanctum.com>.
Answering my own question...
I had to resort to using: Buildr.settings.profile['some_var']) although in
the documentation it eludes to the fact that you should be able to simply
call profile['some_var'].
-Shane
On Sun, Nov 16, 2008 at 4:41 PM, Shane Witbeck <sh...@digitalsanctum.com>wrote:
> I'm attempting to use a profiles.yaml file. When I reference
> profile['some_var'] in my buildfile, I get the following error:
>
> buildr aborted!
> undefined method `profile' for Buildr:Module
>
>
> Any ideas?
>
>
> -Shane
>