$ gem install rails
$ rails new my_application --database=sqlserver
$ cd my_application
Now setup your development and test databases.
$ export SA_PASSWORD=...
$ ./bin/setup
From here you can start your Rails server and load the initial welcome to Rails test page.
$ ./bin/rails server
=> Booting Puma
=> Rails 5.0.1 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.7.1 (ruby 2.3.1-p112), codename: Snowy Sagebrush
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://localhost:3000
Use Ctrl-C to stop
Now visit http://localhost:3000
in youer browser. You should see the following page load.