We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can configure and run Oculus using a rackup file.
Here is a sample config.ru:
config.ru
require 'oculus' require 'oculus/server' Oculus.connection_options = { :adapter => 'mysql', :database => 'my_db', :host => 'my_host', # default: localhost :username => 'my_user', :password => 'my_password' } Oculus.cache_path = File.join(File.dirname(__FILE__), 'tmp', 'data') run Oculus::Server