rails new pathpuz --javascript=opal
Upgrade to Ruby 2.1.5 and Rails 4.2.0.beta4.