- Published on
- • 1 min read
Create Rails Application from Edge Version -- 5.0.0.beta1.1
- Authors

- Name
- Shaiju Edakulangara
- @eshaiju
5.0.0.beta1.1 was released with exciting features like Action Cable, API mode, and new Rails commands. To test these, we need to setup a Rails application from the Edge Version.
Steps to Setup
- Create an application folder and a
Gemfile:
mkdir app_name
cd app_name
touch Gemfile
- Add the following to your
Gemfile:
source 'https://rubygems.org'
ruby '2.2.3'
gem 'rails', :github => 'rails/rails'
gem 'arel', :github => 'rails/arel'
gem 'rack', :github => 'rack/rack'
Note: Rails 5 requires Ruby 2.2.2 or greater.
- Install gems:
rvm use 2.2.3
bundle install
- Generate the Rails application:
bundle exec rails new . --force --dev
The --force flag allows Rails to overwrite our temporary Gemfile, and the --dev flag tells Rails to point to the edge version we just bundled.
Now you have a brand new Rails application running on the edge version!