Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up config.ru for use on Heroku #39

Open
arnoldtonderaimarunda opened this issue Feb 6, 2017 · 1 comment
Open

Setting up config.ru for use on Heroku #39

arnoldtonderaimarunda opened this issue Feb 6, 2017 · 1 comment

Comments

@arnoldtonderaimarunda
Copy link

I have deployed a static site using https://devcenter.heroku.com/articles/static-sites-ruby

Does anyone know how to set up the config.ru for use of rack-offline on Heroku?

I have tried use Rack::Offline, :cache => "images", :root => "public" , but it complains of wrong number of arguments.

@andrewhavens
Copy link

If your site is static (plain HTML files) then you won't be using config.ru since you won't need an app server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants