From Fedora Project Wiki

< Changes

Revision as of 12:20, 15 July 2013 by Jreznik (talk | contribs) (Change announced on 2013-07-15)


Ruby on Rails 4.0

Summary

Ruby on Rails 4.0 is the latest version of well know web framework written in Ruby.

Owner

Current status

  • Targeted release: Fedora 20
  • Last updated: 2013-07-15
  • Tracker bug: <will be assigned by the Wrangler>

Detailed Description

The Ruby on Rails stack is evolving quickly and Fedora needs to keep pace with it. Therefore the whole Ruby on Rails stack should be updated from 3.2 in Fedora 19 to 4.0 (latest version) in Fedora 20. This will ensure that all the Ruby developers using Fedora have the latest and greatest RPM-packaged Ruby on Rails.

Benefit to Fedora

This update will keep Fedora up-to-date and will ensure that the current Ruby on Rails developers stay with us as they will get support for system-packaged Ruby on Rails of the latest version. Apart from that, Rails 4.0 also bring improved functionality, speed. security and better modularization.

Scope

  • Proposal owners:
  • The whole Rails stack has to be updated
  • New additional gems will have to be packaged
  • Some dependencies of the Rails stack will need update

The packages need to be created/updated (this is probably not an exhaustive list):

Package name Task Status
rubygem-sprockets Update
Warning warn
915730
rubygem-activesupport Update to 4.0.x
Warning warn
979613
rubygem-activemodel Update to 4.0.x
Warning warn
979610
rubygem-activerecord Update to 4.0.x
Warning warn
979611
rubygem-actionpack Update to 4.0.x
Warning warn
979609
rubygem-actionmailer Update to 4.0.x
Warning warn
979607
rubygem-railties Update to 4.0.x
Warning warn
979615
rubygem-rails Update to 4.0.x
Warning warn
979614
  • Other developers: N/A (not a System Wide Change)
  • Release engineering: N/A (not a System Wide Change)
  • Policies and guidelines: N/A (not a System Wide Change)

Upgrade/compatibility impact

Web applications build above Ruby on Rails framework might need to be updated. Official upstream upgrade guide might come handy: http://guides.rubyonrails.org/upgrading_ruby_on_rails.html

How To Test

  • No special hardware is needed.
  • To test Rails 4.0 before they actually get into Rawhide, use:
gem install rails
rails new app
cd app && rails s
  • Go to http://127.0.0.1:3000/ and make sure you are running Rails 4.0.x
  • When all packages land in Rawhide, use:
yum install rubygem-{rails,sqlite3}
rails new app
cd app && rails s

User Experience

N/A (not a System Wide Change)

Dependencies

  • There are several packages, which depends on Ruby on Rails framework. All need to be tested an updated.

Contingency Plan

  • Contingency mechanism: None needed. Rails stack won't be updated until all its dependencies are in Rawhide. After that, it will be a simple matter of updating the 8 core packages (and their dependencies).
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No

Documentation

Release Notes