1.首先在本地运行, cmd窗口到项目所在目录,ruby script/server -p 3001 -e production
然后在 http:\\127.0.0.1:3001\ 就可以访问了
2.如果要外部访问发布,则需要使用apache
下面列举一下资源:Ruby on Rails官网
Rails Guides
RubyGems
Interactive courses
Learn Ruby the Hard Way
Learn Rails the Zombie Way
The Odin Project
Ruby Monk
Codecademy
Paid courses:
One Month Rails
RailsApps
Udemy