注意到-我解决了我自己的问题。问题是我从工作区运行"rails控制台“命令,而不是从sample_app目录运行。
当我试图在Cloud9中运行"rails控制台“时,我得到了以下内容。我只想打开控制台-我错过了什么?谢谢!
~/工作区$ rails控制台使用情况: rails新的APP_PATH选项
运行时选项:.。
Rails选项:..。
描述:“Rails新”命令在您指定的路径上创建一个具有默认目录结构和配置的新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新的~/Code/Ruby/weblog
This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
See the README in the newly created application to get going.发布于 2015-05-22 20:26:45
您可能在workspace目录中。您需要在应用程序的目录中:
cd app_name/或
cd ~/workspace/app_name/https://stackoverflow.com/questions/27507509
复制相似问题