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

Registering in Padrino #11

Closed
pepe opened this issue Apr 19, 2011 · 2 comments
Closed

Registering in Padrino #11

pepe opened this issue Apr 19, 2011 · 2 comments

Comments

@pepe
Copy link

pepe commented Apr 19, 2011

Hello, when tried to use rabl in padrino just to add it to Gemfile it does not register as templating engine. It is solved when put gem 'rabl' after gem 'padrino' (which is last by default) in Gemfile. When I put breakpoint in rabl.rb:14 Padrino is not yet defined there. Do you think it is a problem?

Pepe

@nesquena
Copy link
Owner

I am aware of this issue (Padrino must be loaded before rabl for the registration to work). Do you have any suggestions on how I could fix this? I don't want Padrino to be a dependency on rabl obviously but I wouldn't want it to always be loaded first. I am going to close this because I don't know how to fix it but if you have a suggestion / pull request I would love the advice.

@pepe
Copy link
Author

pepe commented Apr 20, 2011

Thank you for answer. It is as you writes, and as long as there is easy way how to overcome this issue, I think it is ok. I will try to think how to get it working at my free time.

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