Rails 4.2无法在分段中运行rails c

时间:2015-05-25 13:27:51

标签: ruby-on-rails-4 staging

我部署了我的应用程序,它提供了页面,当我发布RAILS_ENV=staging bundle exec rake routes它显示其路线时,但当我发出RAILS_ENV=staging bundle exec rails c时,它只显示帮助标题:

Usage:
  rails new APP_PATH [options]

Options:
  -r, [--ruby=PATH]                                      # Path to the Ruby binary of your choice

...

Example:
    rails new ~/Code/Ruby/weblog

    This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
    See the README in the newly created application to get going.

bin文件夹为空。如何让它开始rails c

0 个答案:

没有答案