Rails 4.0 just released and it breaks the bootstrap/rubyonrails.sh 

On 6/25/13, folks at Rubygems.org released Rails 4.0 to production. (see: http://rubygems.org/gems/rails/versions) hence breaking the script since Rails 4.0 requires Ruby version >=1.9.2. The Ruby installed on EC2 instance is 1.8.2 and is from Puppet packages. I have mitigated the problem by installing Rails 3.2.3 only.