首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在rails 2.3.5中,ActionPack Gemspec文件在哪里?

在rails 2.3.5中,ActionPack Gemspec文件在哪里?
EN

Stack Overflow用户
提问于 2010-04-26 02:54:51
回答 1查看 148关注 0票数 1

https://rails.lighthouseapp.com/projects/8994/tickets/3685-actionpack-235-gem-declares-incompatibility-with-rack-110

我正在尝试运行rails 2.3.5,似乎需要修改一些源代码。不幸的是,我似乎找不到这个actionpack-2.3.5.gespec。它在Rails3的目录中,但在2.3.5的目录中看不到。

EN

回答 1

Stack Overflow用户

发布于 2010-04-26 03:00:58

您链接到的灯塔票提到它嵌入在Rakefile中:http://github.com/rails/rails/blob/2-3-stable/actionpack/Rakefile

代码语言:javascript
复制
spec = Gem::Specification.new do |s|
  s.platform = Gem::Platform::RUBY
  s.name = PKG_NAME
  s.version = PKG_VERSION
  s.summary = "Web-flow and rendering framework putting the VC in MVC."
  s.description = %q{Eases web-request routing, handling, and response as a half-way front, half-way page controller. Implemented with specific emphasis on enabling easy unit/integration testing that doesn't require a browser.} #'

  s.author = "David Heinemeier Hansson"
  s.email = "david@loudthinking.com"
  s.rubyforge_project = "actionpack"
  s.homepage = "http://www.rubyonrails.org"

  s.has_rdoc = true
  s.requirements << 'none'

  s.add_dependency('activesupport', '= 2.3.6' + PKG_BUILD)
  s.add_dependency('rack', '~> 1.0.0')

  s.require_path = 'lib'
  s.autorequire = 'action_controller'

  s.files = [ "Rakefile", "install.rb", "README", "RUNNING_UNIT_TESTS", "CHANGELOG", "MIT-LICENSE" ]
  dist_dirs.each do |dir|
    s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
  end
end
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/2709462

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档