Reputation: 3814
Is it possible to use ActiveSupport 2.3.5 within a Rails 3 application?
I have my Rails 3 application setup and working, however, a gem I would like to use to work with an API only supports ActiveSupport 2.3.5. Is there a way of running the two in parallel?
For further information - the application can be seen here:
https://github.com/dannymcc/Beanstalk-Deployment
and the gem can be seen here:
https://github.com/iSabanin/beanstalkapp
If not, is the only alternative to downgrade to Rails 2.3?
Thanks,
Danny
Upvotes: 0
Views: 248
Reputation: 1011
Try forking the repo and change:
s.add_runtime_dependency(%q<activeresource>, ["= 2.3.5"])
in beanstalkapp.gemspec
to
s.add_runtime_dependency(%q<activeresource>, ["= 3.0.4"])
After that you can use it in your Gemfile:
gem 'beanstalkapp', :git => 'https://github.com/dannymcc/beanstalkapp.git'
Upvotes: 2