From Fedora Project Wiki
Line 50: Line 50:
 
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
 
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
 
-->
 
-->
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=998578 #998578]
+
* Tracker bug: not created yet <!-- [https://bugzilla.redhat.com/show_bug.cgi?id=998578 #998578] -->
  
 
== Detailed Description ==
 
== Detailed Description ==
Line 69: Line 69:
 
* Some dependencies of the Rails stack will need update
 
* Some dependencies of the Rails stack will need update
  
* Other developers: Update Rails dependent packages to be working with Ruby on Rails 4.0 <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
+
* Other developers: Update Rails dependent packages to be working with Ruby on Rails 4.1 <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
 
<!-- What work do other developers have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
 
<!-- What work do other developers have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
  
Line 101: Line 101:
 
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
 
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
 
* No special hardware is needed.
 
* No special hardware is needed.
* To test Rails 4.0 from upstream:
+
* To test Rails 4.1 from upstream:
 
<pre>
 
<pre>
gem install rails
+
gem install rails -v 4.1.0
 
rails new app
 
rails new app
 
cd app && rails s
 
cd app && rails s

Revision as of 10:36, 14 March 2014


Ruby on Rails 4.1

Summary

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

Owner

Current status

  • Targeted release: Fedora 21
  • Last updated: 2014-03-14
  • Tracker bug: not created yet

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 4.0 in Fedora 20 to 4.1 (latest version) in Fedora 21. 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.1 also bring improved functionality, speed and security.

Scope

  • Proposal owners:
  • The whole Rails stack has to be updated
  • Some dependencies of the Rails stack will need update
  • Other developers: Update Rails dependent packages to be working with Ruby on Rails 4.1
  • Release engineering: Not needed.
  • Policies and guidelines: Not needed

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.1 from upstream:
gem install rails -v 4.1.0
rails new app
cd app && rails s
yum install rubygem-{rails,sqlite3}
rails new app
cd app && rails s
  • To test the complete feature including generating a new Rails app using RPM (Note: sdoc is not yet in f20/rawhide)
su -c "yum install rubygem-{rails,sqlite3,coffee-rails,sass-rails,uglifier,jquery-rails,turbolinks,jbuilder,therubyracer,sdoc}"
rails new app --skip-bundle && cd app
sed -i "s|# gem 'therubyracer'|gem 'therubyracer'|" Gemfile
rails s

User Experience

  • New version of Ruby on Rails (4.1) available

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
  • Blocks release? No

Documentation

Release Notes