Blogger Template by Blogcrowds

Sinatra

require 'rubygems'
require 'sinatra'
get '/hi' do
"Hello World!"
end

Put this in
your pipe

$ gem install sinatra
$ ruby hi.rb
== Sinatra has taken the stage ...
>> Listening on 0.0.0.0:45

más:

http://www.sinatrarb.com/



by ~ http://www.padrinorb.com/


grupoed2k@localhost ~]#

Entrada más reciente Entrada antigua Página principal