简体   繁体   English

在Rails 3应用程序中使用ActiveSupport 2.3.5?

[英]Use ActiveSupport 2.3.5 in a Rails 3 application?

Is it possible to use ActiveSupport 2.3.5 within a Rails 3 application? 是否可以在Rails 3应用程序中使用ActiveSupport 2.3.5?

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. 我有我的Rails 3应用程序设置和工作,但是,我想用来使用API​​的gem只支持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 https://github.com/dannymcc/Beanstalk-Deployment

and the gem can be seen here: 这里可以看到宝石:

https://github.com/iSabanin/beanstalkapp https://github.com/iSabanin/beanstalkapp

If not, is the only alternative to downgrade to Rails 2.3? 如果没有,是降级到Rails 2.3的唯一选择吗?

Thanks, 谢谢,

Danny 丹尼

Try forking the repo and change: 尝试分配回购并更改:

s.add_runtime_dependency(%q<activeresource>, ["= 2.3.5"])

in beanstalkapp.gemspec to beanstalkapp.gemspec

s.add_runtime_dependency(%q<activeresource>, ["= 3.0.4"])

After that you can use it in your Gemfile: 之后,您可以在Gemfile中使用它:

gem 'beanstalkapp', :git => 'https://github.com/dannymcc/beanstalkapp.git'

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Rails 2.3.5:ActiveSupport CoreExtensions安装问题 - Rails 2.3.5: ActiveSupport CoreExtensions install trouble 在 [actionmailer-2.3.5, activeresource-2.3.5, activesupport-2.3.5, bundler-1.6.0, rack-1.0.1, rails-2.3.5 中找不到soap4r (&gt;= 0) - Could not find soap4r (>= 0) amongst [actionmailer-2.3.5, activeresource-2.3.5, activesupport-2.3.5, bundler-1.6.0, rack-1.0.1, rails-2.3.5 从Rails 2.3.2 Ruby 1.8.6升级到Rails 2.3.5 Ruby 1.8.7未初始化的常量ActiveSupport :: Dependencies :: Mutex(NameError) - Upgrade from Rails 2.3.2 Ruby 1.8.6 to Rails 2.3.5 Ruby 1.8.7 uninitialized constant ActiveSupport::Dependencies::Mutex (NameError) 再回来使用Rails 3中的Rails 2.3.5 - Back again to use Rails 2.3.5 from Rails 3 使用rails 2.3.5和cassandra数据库创建应用程序 - Creating application using rails 2.3.5 and cassandra database 如何将Resque插件与Rails 2.3.5应用程序集成? - How to integrate Resque plugin with rails 2.3.5 application? 基准旧导轨应用2.3.5 - Bench mark old rails application 2.3.5 如何使用Rails引擎使用ActiveSupport :: Configurable - How to use ActiveSupport::Configurable with Rails Engine 带有Rails应用程序2.3.5的mysql慢查询日志中的“ COMMIT” - “COMMIT” in mysql slow query log with rails application 2.3.5 Rails 5.2.0加载应用程序错误:ActiveSupport :: MessageEncryptor :: InvalidMessage(ActiveSupport :: MessageEncryptor :: InvalidMessage - Rails 5.2.0 load application error: ActiveSupport::MessageEncryptor::InvalidMessage (ActiveSupport::MessageEncryptor::InvalidMessage
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM