Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create Edge rails application?

I have latest clone for rails source code.

I want to create apps with the help of rails latest commit. I am not going to use those apps in production. Just for experimentation.

How do I do it ?

like image 469
Anand Avatar asked Sep 29 '10 11:09

Anand


1 Answers

I put up a gist on Github for how to create a Rails app using EdgeRails (currently what is to become the Rails 4 release). The gist of it (no pun intended) is that you do this:

git clone https://github.com/rails/rails.git
rails/railties/bin/rails new myapp --edge

This will create a new app skeleton based on current EdgeRails and it will point the Gemfile to Rails on Github. If you would like to point the Gemfile to your local checkout instead, use the --dev option (for example to experiment with changes to Rails):

rails/railties/bin/rails new myapp --dev
like image 178
Peter Marklund Avatar answered Oct 13 '22 10:10

Peter Marklund