Help us understand the problem. What is going on with this article?

`rails s`で サーバーが起動せず、Rails の Usage がでるだけ

More than 1 year has passed since last update.

Railsプロジェクト内で、rails sを実行したところ、サーバーが起動せず、以下のような Usage がでるだけという現象に遭ったんでメモ。

  rails new APP_PATH [options]

      [--skip-namespace], [--no-skip-namespace]            # Skip namespace (affects only isolated applications)
  -r, [--ruby=PATH]                                        # Path to the Ruby binary of your choice
                                                           # Default: /Users/tokio/.rbenv/versions/2.4.1/bin/ruby
  -m, [--template=TEMPLATE]                                # Path to some application template (can be a filesystem path or URL)
  -d, [--database=DATABASE] 



bundle exec rake rails:update:bin

自分の場合は、 development 環境でごちゃごちゃしたかったんで、一応以下のようにオプションつけてやった。

bundle exec rake rails:update:bin RAILS_ENV=development
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away