Gemfileを作る。
bundle init
# Gemfile
gem 'rails', github: 'rails/rails'bundle installする
bundle install
Rails newを現在のディレクトリで実行する。
Gemfileを上書きする。
bundle exec rails new .
Overwrite /vagrant/awsome-map/README.md? (enter "h" for help) [Ynaqdh] n
Overwrite /vagrant/awsome-map/Gemfile? (enter "h" for help) [Ynaqdh] Y
とりあえずのコントローラを作ってルートを設定する。
rails g controller top index
# config/routes.rb
Rails.application.routes.draw do
root 'top#index'
endtalkチャンネルを作る
rails g channel talk