How to create Edge rails application?

后端 未结 3 767
小鲜肉
小鲜肉 2020-12-15 22:37

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 expe

3条回答
  •  忘掉有多难
    2020-12-15 22:53

    Peter's suggestion works well for Rails 4, but in order to run Rails 5 edge I had to take slightly different steps.

    At the time of writing, Rails 5 requires Ruby 2.2.2. Make sure you using Ruby 2.2.2, then do the following:

    git clone https://github.com/rails/rails.git
    cd rails/
    bundle install
    cd ../
    ./rails/railties/exe/rails new myapp --edge --dev
    

提交回复
热议问题