[ruby]sinatra 学习 1 (get start)

摘要: sinatra 是ruby的一个web框架http://www.sinatrarb.com/安装(可以使用taobao的镜像)gem install sinatrahello world# hello.rb require 'sinatra' get '/' do 'Hello world!' end启动ruby -rubygems first.rb查看localhost:4567 阅读全文
posted @ 2011-12-27 01:21 bluefrog 阅读(430) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示