简体   繁体   English

红宝石在雪豹的轨道上

[英]ruby on rails on snow leopard

I tried the rails site_name command to create a rails application. 我尝试使用rails site_name命令创建一个Rails应用程序。 The command says that the usage is rails new APP_PATH[options] 该命令说用法是新的APP_PATH [options]

I tried the rails new site_name command. 我尝试了rails new site_name命令。 I dont get any server file inside my site_name/script folder to run the application. 我没有在site_name / script文件夹中获取任何服务器文件来运行该应用程序。 why is this happening? 为什么会这样呢?

Use 采用

$ rails server

to start the server. 启动服务器。 In general with Rails 3, any command you would have previously run with ./script/... you now run with rails ... 通常,在Rails 3中,您以前使用./script/...运行的任何命令现在都在rails ...运行rails ...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM