bash: :command not found Cloud9 Enviroment

浪尽此生 提交于 2019-12-13 20:54:42

问题


This is my first Ruby development, I'm following through a book thats teaching me to build a Pinterest clone. Everything was working correctly until I logged into the environment today to pick up where I left off. When I try and run the project, or boot up the server, I'm getting this error.

bash: :command not found

It was working correctly last night when I closed the environment, and I havn't been able to find any information online as to how to fix the problem. Any suggestions would be great. Thanks. Let me know if you need additional code supplied.


回答1:


Be sure your runner is set to Ruby on Rails and not Shell.




回答2:


If you installed Rails only via Bundler, then rails will only be accessible if you run bundle exec rails.

A "naked" rails command will only exist if you gem install rails directly without Bundler.



来源:https://stackoverflow.com/questions/30740951/bash-command-not-found-cloud9-enviroment

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!