0.0
Low commit activity in last 3 years
No release in over a year
Rack-Rscript is a light-weight alternative to Sinatra-Rscript.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.1, >= 0.1.19
~> 0.5, >= 0.5.0
~> 2.2, >= 2.2.3
~> 0.5, >= 0.5.0
~> 2.0, >= 2.0.10
~> 0.1, >= 0.1.0
~> 5.2, >= 5.2.2
~> 0.8, >= 0.8.0
~> 0.9, >= 0.9.0
~> 4.1, >= 4.1.0
 Project Readme

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.