Skip to content

jrobertson/rack-rscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introducing the Rack-Rscript gem

Example

First of all install rack-rscript and then create a file called hello_world2.ru containing the following:

require 'rack-rscript'

run RackRscript.new({pkg_src: 'http://rorbuilder.info/r'})

The file is executed using rackup e.g. rackup hello_world2.ru -p 3000

Observation

When navigating to the address http://127.0.0.1:3000/do/utility/time in your web browser you should observe the date and time is returned from the request.

About

Rack + app-routes + rscript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages