#rack
4 posts tagged rack. Clear filter
-
How to Boot Up Multiple Sinatra Applications at the Same Time with Foreman
Foreman is a process management gem for ruby applications. It is used in combination with a Procfile for configuration instructions. A typical Procfile looks something like this Example Rack...
-
Testing current_user and Sessions with Sinatra and Rack Test
Assume you have your standard Sinatra application. app.rb require 'sinatra' configure do enable :sessions end get '/' do if session[:userid] "OK" else raise "NOT OK!" end end To test this you need...
-
Hello Rack
What is Rack? Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and...
-
Deploy Sintra App on Ubuntu Using Apache2 and Phusion Passenger Module
Check it out http://sinatra.seanbehan.com/ This assumes Apache2 and the Phusion Passenger module have already been installed. If not you can get up to speed w/ this resource...