diff options
Diffstat (limited to 'rails.gemspec')
-rw-r--r-- | rails.gemspec | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/rails.gemspec b/rails.gemspec index 4ebbd8061f..52d82eee1f 100644 --- a/rails.gemspec +++ b/rails.gemspec @@ -1,7 +1,10 @@ +$:.unshift "railties/lib" +require "rails/version" + Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = 'rails' - s.version = '3.0.0.beta1' + s.version = Rails::VERSION::STRING s.summary = 'Full-stack web-application framework.' s.description = 'Full-stack web-application framework.' s.required_ruby_version = '>= 1.8.7' @@ -14,11 +17,11 @@ Gem::Specification.new do |s| s.files = [] s.require_path = [] - s.add_dependency('activesupport', '= 3.0.0.beta1') - s.add_dependency('actionpack', '= 3.0.0.beta1') - s.add_dependency('activerecord', '= 3.0.0.beta1') - s.add_dependency('activeresource', '= 3.0.0.beta1') - s.add_dependency('actionmailer', '= 3.0.0.beta1') - s.add_dependency('railties', '= 3.0.0.beta1') + s.add_dependency('activesupport', "= #{Rails::VERSION::STRING}") + s.add_dependency('actionpack', "= #{Rails::VERSION::STRING}") + s.add_dependency('activerecord', "= #{Rails::VERSION::STRING}") + s.add_dependency('activeresource', "= #{Rails::VERSION::STRING}") + s.add_dependency('actionmailer', "= #{Rails::VERSION::STRING}") + s.add_dependency('railties', "= #{Rails::VERSION::STRING}") s.add_dependency('bundler', '>= 0.9.8') end |