Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set output_root for frameworks #27

Closed
bgarret opened this issue Feb 16, 2011 · 4 comments
Closed

Set output_root for frameworks #27

bgarret opened this issue Feb 16, 2011 · 4 comments
Assignees

Comments

@bgarret
Copy link

bgarret commented Feb 16, 2011

Is there a mean to set output_root for a framework? This would be very useful when developing rails 3.1 engines, especially the ones with an isolated namespace. I noticed the option in the code but there doesn't seem to be a way to set it without patching barista.

Would it be possible to add this as an option to Barista::Framework.register or add an attribute writer to the Framework class?

@ghost ghost assigned Sutto Apr 13, 2011
@Sutto
Copy link
Owner

Sutto commented Apr 18, 2011

Not currently - I'm currently adding it to barista and will let you know once there is support.

@Sutto
Copy link
Owner

Sutto commented Apr 18, 2011

Take a look now - you should be able to register frameworks with the option (see the generatable initializer) or use Barista.change_output_root! framework_name, new_root

@Sutto
Copy link
Owner

Sutto commented Apr 18, 2011

Not that this is only on master.

@Sutto Sutto closed this as completed Apr 18, 2011
@bgarret
Copy link
Author

bgarret commented Apr 20, 2011

Yay, thanks a lot. I'm not using coffeescript anymore (interfacing with Sencha is weird), but it was a pain point when creating rails engine distributed as gems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants