Aupajo / almanack

Aggregate iCal and Google Calendar events. Pluggable or standalone app. UI optional and 100% customisable.
MIT License
54 stars 25 forks source link

issue with shotgun config.ru #1

Closed aboutaaron closed 12 years ago

aboutaaron commented 12 years ago

Hey!

Great job on the app.

I was able to run it locally using ruby server.rb It was ran at localhost:4567 with no problems.

However, when I tried to shotgun config.ru I ran into several issues.

First I noticed that Gemfile.lock required Rack 1.3.2 and Haml 3.1.2 (I had 1.3.3 and 3.1.3).

So I installed the proper dependencies and then received LoadError: no such file to load -- server

I then I set server.rb explicitly in config.ru with: require './server'

and received this error: Errno::EISDIR: Is a directory

I've tried changing the gemfile requirements, using your version of config.ru, a downscaled version from other Sinatra installs, and I can't get ANYTHING to work.

My end goal is to host the app on Heroku if that counts for anything. I'm using Ruby 1.9.2, RVM 1.8.3, Sinatra 1.2.6, and Haml 3.1.3. Please let me know if you can figure anything out!

Thanks a lot!

Aupajo commented 12 years ago

Sorry about that, documentation is a bit out of date. I've included an example config.ru and updated dependencies.

Update your repository and run heroku create --stack cedar – that should be all you need.