rails g device:installをすると以下の文が現れる。
1. Ensure you have defined default url options in your environments files. Here
is an example of default_url_options appropriate for a development environment
in config/environments/development.rb:
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
しかし、実際にconfig/environments/development.rb:に以下の文を書くと、rails sが出来なくなる。
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }