Re: Application spec fails

2010-03-04 Thread Alex Boisvert
Yes, known issue... I was waiting to make up my mind on it. I'll clean it up. alex On Thu, Mar 4, 2010 at 8:21 AM, Antoine Toulme anto...@lunar-ocean.comwrote: This spec fails ./spec/core/application_spec.rb:28 with this message 'Buildr::Application home_dir should point to existing

Re: Application spec fails

2010-03-04 Thread Antoine Toulme
No rush. Here is maybe one way to look at it (I didn't look at how you modified the code yet though): You can expect that folder to be created and existing if ENV['home'] is set. WDYT ? On Thu, Mar 4, 2010 at 08:36, Alex Boisvert alex.boisv...@gmail.com wrote: Yes, known issue... I was

Re: Application spec fails

2010-03-04 Thread Alex Boisvert
Presumably, we create the ~/.buildr directory so buildfiles/plugins can write into it. I changed the code such that the directory is only created if ENV['HOME'] is set, the directory exists and is writable. I do think buildfiles/plugins should handle this condition on a case-by-case basis:

Re: Application spec fails

2010-03-04 Thread Antoine Toulme
Agreed. Great job, makes sense to me! On Thu, Mar 4, 2010 at 09:40, Alex Boisvert alex.boisv...@gmail.com wrote: Presumably, we create the ~/.buildr directory so buildfiles/plugins can write into it. I changed the code such that the directory is only created if ENV['HOME'] is set, the