According to this grailsblog post, here is the Rails port:
Open Source Stack = $0
Because Rails runs on the JVM (JRuby), it is platform agnostic and capable of running on top of a 100% open source stack. Everything including the OS, app server, and database may be obtained free of charge with no license fees.
Faster Development Time
Yes, it’s great that everything needed to run Rails’ applications may be obtained for free, but what’s even a bigger cost savings is how much time developers can save by working within the JRuby/Rails environment. Rails really tends to speed up development in the following 3 areas:
Data Access
ActiveRecord provides an amazingly efficient way to model domain objects as well as persist them to a database.
Scaffolding
Scaffolding speeds up development time rapidly.
Syntax
When working with JRuby and Rails, developers will find themselves writing less code than when working within the traditional Java environment. Less code translates into shorter development time.
Summary
Rails is a great fit for a recession. It allows developers to create high quality applications on top of a free open source stack in less time than many of the more common, corporate frameworks.