5.0.0.beta1.1 version is released which has some exciting stuffs like Action Cable, API mode, new Rails commands. To test all these new items we need to setup rails application from Edge Version. There are different ways to setup a rails project using Edge version. In this post I am explaining how I setup a project in Rails 5.0.0.beta.
First We need to create an application folder with the name of the application and add a Gemfile.
Rails 5 requires Ruby 2.2.2 or greater.
Setup the Ruby Environment to Ruby 2.2 or greater then do the bundle install
rvm use 2.2.3
Generate Rails application using the following code
bundle exec rails new . --force --dev
The –force flag will allow Rails to overwrite our Gemfile, and the –dev flag tells Rails to point to the edge version of Rails that we just bundled.
That’s it, now we will have a brand new Rails application with Edge Version.