简体   繁体   中英

ruby on rails setup on my ubuntu

Do I need to set up virtual hosts as mentioned here: http://wiki.rubyonrails.org/deployment/apache-passenger

I am just setting up dev env on my own machine to try and learn ruby on rails.

thanks in advance.

No.

Just run script/server from your Rails app's main directory.

I wrote a script to set up a Rails development env in Ubuntu. It might be worth a look. You don't need to install a server. As mentioned above, open a terminal window and cd to your project directory. In Rails 3 you type "rails server", for any other version of Rails its "script/server". That will launch the default webbrick server on localhost:3000.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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