Ruby on rails rails 2.3.5中的ActionPack Gemspec文件在哪里?

Ruby on rails rails 2.3.5中的ActionPack Gemspec文件在哪里?,ruby-on-rails,Ruby On Rails,我正在尝试使用rails 2.3.5精简运行,似乎需要修改一些源代码。不幸的是,我似乎找不到这个actionpack-2.3.5.gempec。它在rails 3的目录中,但在2.3.5中我看不到它。您链接到的灯塔票证提到它嵌入在Rakefile中: spec=Gem::Specification.new do|s| s、 platform=Gem::platform::RUBY s、 名称=包装名称 s、 版本=PKG\u版本 s、 summary=“Web流和渲染框架将VC放入MVC。” s


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

您链接到的灯塔票证提到它嵌入在Rakefile中:

spec=Gem::Specification.new do|s|
s、 platform=Gem::platform::RUBY
s、 名称=包装名称
s、 版本=PKG\u版本
s、 summary=“Web流和渲染框架将VC放入MVC。”
s、 description=%q{将web请求路由、处理和响应简化为一个中间的前端、中间的页面控制器。实现时特别强调实现不需要浏览器的简单单元/集成测试。}#
s、 作者=“大卫·海涅迈尔·汉森”
s、 电子邮件=”david@loudthinking.com"
s、 rubyforge_项目=“actionpack”
s、 主页=”http://www.rubyonrails.org"
s、 has_rdoc=true

s、 要求您链接到的灯塔票提到它嵌入在Rakefile中:

spec=Gem::Specification.new do|s|
s、 platform=Gem::platform::RUBY
s、 名称=包装名称
s、 版本=PKG\u版本
s、 summary=“Web流和渲染框架将VC放入MVC。”
s、 description=%q{将web请求路由、处理和响应简化为一个中间的前端、中间的页面控制器。实现时特别强调实现不需要浏览器的简单单元/集成测试。}#
s、 作者=“大卫·海涅迈尔·汉森”
s、 电子邮件=”david@loudthinking.com"
s、 rubyforge_项目=“actionpack”
s、 主页=”http://www.rubyonrails.org"
s、 has_rdoc=true
s、 要求
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