0
Je n'ai jamais vu ce problème bizarre auparavant. J'ai une application Rails 4.2.5 sur une instance EC2. La version de Ruby est 2.3.1.L'exécution de "rails s" provoque l'impression de la page d'aide
Tout livré et installé très bien, mais quand je lance rails s
, je finis par obtenir l'homme pages d'autres drapeaux pour fournir à rails
droite du terminal:
$ rails s
bin/rails:6: warning: already initialized constant APP_PATH
/home/ubuntu/githubstars/bin/rails:6: warning: previous definition of APP_PATH was here
Usage: rails COMMAND [ARGS]
The most common rails commands are:
generate Generate new code (short-cut alias: "g")
console Start the Rails console (short-cut alias: "c")
server Start the Rails server (short-cut alias: "s")
dbconsole Start a console for the database specified in config/database.yml
(short-cut alias: "db")
new Create a new Rails application. "rails new my_app" creates a
new application called MyApp in "./my_app"
In addition to those, there are:
destroy Undo code generated with "generate" (short-cut alias: "d")
plugin new Generates skeleton for developing a Rails plugin
runner Run a piece of code in the application environment (short-cut alias: "r")
All commands can be run with -h (or --help) for more information.
$ rails -v
Rails 4.2.5
$ ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
J'ai hérité du projet, et il s'est avéré qu'il y avait tous ces besoin/charge qui interférait. Merci! –