warbler icon indicating copy to clipboard operation
warbler copied to clipboard

config.dirs seems to be ignored

Open jamesduncombe opened this issue 12 years ago • 8 comments

Hi guys,

I've currently got this in the config/warble.rb file:

config.dirs = ['app', 'config', 'lib', 'vendor', 'tmp', 'script']

For some reason though warbler (v1.3.6) is pulling in other directories.

Any ideas?

Thanks,

James

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1446621-config-dirs-seems-to-be-ignored?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github).

jamesduncombe avatar Apr 26 '13 10:04 jamesduncombe

I took some old code and it seems to work for me at least. https://github.com/jruby/warbler/pull/164

ahto avatar Jun 05 '13 08:06 ahto

Interesting. Nice one @ahto! Looking forward to using this.

jamesduncombe avatar Jun 05 '13 09:06 jamesduncombe

@jamesduncombe can you confirm that the fix in @ahto's repo fixes the problem for you?

jkutner avatar Jun 05 '13 13:06 jkutner

I'm going to close this, but let us know if you still have the problem.

jkutner avatar Jun 06 '13 14:06 jkutner

@jkutner no problem, I'll get this checked out. Thanks again!

jamesduncombe avatar Jun 07 '13 10:06 jamesduncombe

@jkutner still getting this problem with warbler 1.4.0.dev - coming from the master repo. Shall I open a new issue with details?

jamesduncombe avatar Jun 07 '13 11:06 jamesduncombe

No, I've reopened this one. I'm pretty surprised though, because I was able to create a test that did pretty much exactly this. Could you try and create a bare bones project that reproduces this?

jkutner avatar Jun 07 '13 13:06 jkutner

I'll give it a go and will report back.

On 7 June 2013 14:19, Joe Kutner [email protected] wrote:

No, I've reopened this one. I'm pretty surprised though, because I was able to create a test that did pretty much exactly this. Could you try and create a bare bones project that reproduces this?

— Reply to this email directly or view it on GitHubhttps://github.com/jruby/warbler/issues/156#issuecomment-19106216 .

James Duncombe

Bespoke Web Design & Development 07794 187581 | jamesduncombe.com

Follow me on Twitter @ twitter.com/JamesDuncombe

jamesduncombe avatar Jun 07 '13 13:06 jamesduncombe