3 ms·
I tried Rails Apps Composer - specifically one of the example apps - https://github.com/RailsApps/rails3-bootstrap-devise-cancan https://github.com/RailsApps/ra
by marcamillion 14y ago
I tried Rails Apps Composer - specifically one of the example apps - https://github.com/RailsApps/rails3-bootstrap-devise-cancan https://github.com/RailsApps/rails3-bootstrap-devise-cancan - and it didn't work as advertised.
It seems to have added some of the gems to the gemfile, but for others I had to remove them and re-add them and go through setup manually. Specifically, Devise & CanCan.
Do these composers just add the gems to the Gemfile then you have to configure each manually? If that's the case, I can do that myself.
I was under the impression that these would take you to some 'baseline configuration', then you tweak it from there.
E.g. Once I roll it up, I should have a login screen with an admin and 'dummy' user created that I should be able to login with immediately. Some basic authorizations setup, etc. But that's not how it works.
Maybe I was expecting too much? If it doesn't do that though, then what's the point?
I even had to re-install the Twitter bootstrap to get it to work.
- DanielKehoe 14y agoMarc, if you use the app template you'll have a ready-to-run app as soon as "rails new ..." is done. Submit a GitHub issue [1] if it doesn't work; I'll take a look as soon as I can. You can also clone the repo and use that as your reference implementation. Hundreds of Rails developers have used the app; usually any issues are resolved quickly. [1] https://github.com/RailsApps/rails3-bootstrap-devise-cancan/issues https://github.com/RailsApps/rails3-bootstrap-devise-cancan/...
- marcamillion 14y agoThanks for reaching out to me Daniel. What do you mean by 'ready-to-run' app? Is it fair to have my expectations that I laid out - i.e. with say an admin & user already created, and maybe one or two authorization rules set up? Or is that fanciful thinking? I guess the issue is just a disconnect between what I perceive as this particular template being able to do (based on my impressions from the docs) - and what it actually does.
- DanielKehoe 14y agoThe app will do as you expect, as described in the README and the tutorial.