The local copy of the app.rb (with appropriate REDIS_URL changes) works fine with this invocation:
bundle exec ruby ./app.rb
When deploying to cfoundry, my main view and all of my routes are broken (404s)
I snagged the startup invocation from here:
Noah is a modular sinatra app inheriting from SinatraBase. All the routes are imported in the main app file:
When I deploy to Heroku, for instance, I use a rackup file like so:
require 'rubygems' require 'sinatra' require 'noah' ENV['REDIS_URL'] = "<my openredis url>" noah = Noah::App.new do set :run, false set :environment, :production end run noah
The Gemfile just has one gem required - 'noah'