当我尝试在Cloud9中运行“rails console”时,我得到以下内容。我要做的就是打开控制台 - 我错过了什么?谢谢!
〜/ workspace $ rails console 用法: rails new APP_PATH [options]
运行时选项: ...
Rails选项: ......
描述: '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.
答案 0 :(得分:1)
您可能在workspace
目录中。你需要在你的应用程序目录中:
cd app_name/
或
cd ~/workspace/app_name/