cloudhead / toto

the 10 second blog-engine for hackers
MIT License
1.49k stars 244 forks source link

404 Error with Phusion Passenger #112

Closed fcortes closed 12 years ago

fcortes commented 12 years ago

I managed to run toto with Phusion Passenger by adding the lines

ENV['GEM_HOME'] = my gem home folder in the server 
ENV['GEM_PATH'] = my gem path folder in the server
Gem.clear_paths
require 'rubygems'

right before the require 'toto' in the config.ru file. I had to add those lines because I couldn't install toto globally in the server.

The problem is that when I try to load an article I get the 404 Kansas error page.

BTW the website it blog.schop.cl

fcortes commented 12 years ago

Sorry for this, the problem was that fo some reason I dont know, the file article.rhtml got renamed to article .rhtml.