【发布时间】:2015-02-14 22:25:04
【问题描述】:
注意 - 我自己解决了问题。问题是我从工作区运行“rails 控制台”命令,而不是 sample_app 目录。
当我尝试在 Cloud9 中运行“rails 控制台”时,我得到以下信息。我要做的就是打开控制台-我错过了什么?谢谢!
~/workspace $ rails 控制台 用法: rails new APP_PATH [选项]
运行时选项: ...
导轨选项: ...
说明: 'rails new' 命令创建一个新的 Rails 应用程序,默认 您指定的路径中的目录结构和配置。
You can specify extra command-line arguments to be used every time
'rails new' runs in the .railsrc configuration file in your home directory.
Note that the arguments specified in the .railsrc file don't affect the
defaults values shown above in this help message.
示例: 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.
【问题讨论】:
标签: cloud9-ide