What is EdgeRails in Ruby on Rails?
April 17, 2008 – 10:30 pmMy friend ask me what is EdgeRails..this is what i found out :
‘EdgeRails’ is a term which means you are running a local copy of a developmental version of Rails(bleeding edge). It is an alternative to the more standard GemRails, which means you are running one of the stable releases.
‘Bleeding Edge‘ is a term that refers to technology that is so new (and thus, presumably, not perfected) that the user is required to risk reductions in stability and productivity in order to use it.
‘GemRails‘ is preferred method of installing Rails is through the packaging scheme RubyGems that makes it really easy to install libraries and keep them up to date
Advantage : get access to new features or bug fixes that are not in the most recent stable release. . Also EdgeRails allows you to run on computer without Rails installed
Disadvantage : developmental versions are not generally regarded to be stable. So it’s a tradeoff
How to use EdgeRails : embeded a (developmental) version of Rails within your application(copy into the vendor/rails directory) rather than using the version installed on your machine as a library
How to switch from Gemrails to EdgeRails :
- Run ‘
rake rails:freeze:edge‘from application home directory to unpack the latest edge rails into applicationvendor/railsdirectory. This embeds the Rails framework into your application by using Subversion (svn) to copy the files from the developmental source code repository (dev.rubyonrails.org) into your vendor/rails directory - To revert to GemRails, run command ‘
rake rails:unfreeze‘.That command empties the vendor/rails directory
How to install and managing EdgeRails visit http://www.sitepoint.com/blogs/2006/07/11/installing-and-managing-edge-rails/
Visit http://ryandaigle.com/tags/Edge%20Rails to know what’s new in EdgeRails
Visit http://dev.rubyonrails.org/wiki to create ticket/bug report/patch
Popularity: 10% [?]















One Response to “What is EdgeRails in Ruby on Rails?”
OK! Thanks for your explanation.
[Reply]
By
Rizal on Apr 18, 2008