search for: sinatrarb

Displaying 3 results from an estimated 3 matches for "sinatrarb".

Did you mean: sinatra
2012 Oct 01
12
Can I have Ruby on Rails without json
Hello, On my Chakra linux machine the json gem would not get compiled, I already made a issue for that. But for continuing my project can I have ruby on rails without the json gem ? And if so, how can I do this ? Roelof -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2009 Aug 05
5
Logging out with Rake:Auth:Basic
Hi all, I''m writting a small app that requires basic authentication in Sinatra. I followed the advice of the official Sinatra faq (http://www.sinatrarb.com/faq.html#auth) and have implemented this code with success: [code] require ''rubygems'' require ''sinatra'' helpers do def protected! response[''WWW-Authenticate''] = %(Basic realm="Testing HTTP Auth") and \ throw(:halt, [40...
2011 Sep 28
13
First time with Ruby - how to print "Hello World!" via web-server
Hello Everyone, first off - I''m NOT a programmer. I know HTML/CSS very well and PHP quite well, yet not I''m in need of a more "active" language and I''ve decided to go with Ruby. Thing is, I''ve been able to find ton of tutorials, but NOT ONE answers the most basic question - what exactly do I have to upload to the server to simply get a (any) response