Question

help rails 3 came out yesterday, we have a fully functional rails 2.3.8 app, but our deployment on heroku doesn't work because declarative_authorization demands rails 2.1 or higher

That is a very big problem, how can I solve it, any quick hacks, workarounds?

Was it helpful?

Solution

Make sure your .gems file starts with:

rails --version=2.3.8

But as you've stated, declarative_authorization will then go an install the Rails 3.0.0 gems over the top of your rails install, breaking the lot. You can get around this in your gems manifest, by using:

declarative_authorization --ignore-dependencies

Of course, you'll also need to separately include each dependency for declarative_authorization in your gems manifest.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top