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

Support for Sinatra using sprockets #4

Closed
imranansari opened this issue Sep 17, 2011 · 3 comments
Closed

Support for Sinatra using sprockets #4

imranansari opened this issue Sep 17, 2011 · 3 comments

Comments

@imranansari
Copy link

Can this be extended to support Sinatra Apps using sprockets?

@leshill
Copy link
Owner

leshill commented Sep 17, 2011

Hi Imran,

I do not see why not. Requiring engine only in the presence of Rails on line 2 of lib/handlebars_assets.rb would be part of it, then I suppose we would need to register with Sprockets normally (instead of via Rails initialization). Do you want to put together a pull request?

@imranansari
Copy link
Author

Let me see if I can tinker with it, I'm just starting out in the Ruby world.
Also, just came across this gem for integrating sprockets with padrino https://github.com/nightsailer/padrino-sprockets

@leshill
Copy link
Owner

leshill commented Dec 2, 2011

Hi,

Take a look at pull request #12 -- this may address your need.

@leshill leshill closed this as completed Dec 2, 2011
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