简体   繁体   English

在Ubuntu上运行Rails服务器

[英]Running Rails server on ubuntu

I'm trying to get rails running on Ubuntu (11.04). 我正在尝试在Ubuntu(11.04)上运行rails。 I've installed my gems and whatnot -- I can see all of them thru 'gem list'. 我已经安装了宝石,什么都没有-我可以通过“宝石列表”看到所有宝石。 However, when I run the command rails s or rails server, rails for some reason tries to create a new app called 's' or 'server' (respectively) instead of running the server. 但是,当我运行命令rails或rails server时,rails出于某种原因会尝试创建一个名为“ s”或“ server”的新应用程序,而不是运行该服务器。 Any advice? 有什么建议吗?

检查rails -v的输出,它可能会报告rails 2.3.x-这将是您的问题。

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

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