とりあえず Rails 4 を準備する。
$ rails new hoge_project
$ cd hoge_project
$ vim Gemfile
このままじゃ動かないので、 Gemfile
を編集する。
- 真ん中らへんにある
therubyracer
をアンコメント - Haml を使えるようにする =>
haml-rails
rails c
が打てるようにする =>rb-readline
gem 'therubyracer', platforms: :ruby
gem 'haml-rails'
gem 'rb-readline'
じぇむふぁいるの編集おわり
$ bundle install
$ rails s