How do I install rails 4.0, bleeding edge (master branch on git) on my Mac? Can I do it with RVM?

I'm doing this to start upgrading a project, not a new project.

Edit
Report