profiles.yaml not working?

View: New views
3 Messages — Rating Filter:   Alert me  

profiles.yaml not working?

by digitalsanctum :: Rate this Message:

| View Threaded | Show Only this Message

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?

by digitalsanctum :: Rate this Message:

| View Threaded | Show Only this Message

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 <shane@...>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?

by digitalsanctum :: Rate this Message:

| View Threaded | Show Only this Message

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 <shane@...>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 <shane@...>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
>>
>
>