Initialising a Rails App

James Hamann
Oct 18, 2016 · 2 min read
$ gem install rails 
$ rails new YourApp -d postgresql -T
$ rails new YourApp
$ cd YourAppsRootDirectory
$ bin/rails s
$ bin/rake db:create 

Test setup

ruby '2.3.0'group :test do
gem 'rspec-rails'
gem 'capybara'
$ bundle
$ bin/rails generate rspec:install
require 'capybara/rails'

James Hamann

Written by

Software Developer

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade