Re: New to camping-list, and a problem mounting files to a server

2012-12-18 Thread Alex Weisberger
That's perfect! Thanks a lot for the quick reply. It worked for me. -Alex On Tue, Dec 18, 2012 at 3:53 PM, Matma Rex wrote: > They aren't as far as I know. I usually use something like this to mount > an entire directory: > > > Camping.goes :App > module App > use Rack::Static, :urls =>

Re: New to camping-list, and a problem mounting files to a server

2012-12-18 Thread Matma Rex
They aren't as far as I know. I usually use something like this to mount an entire directory: Camping.goes :App module App use Rack::Static, :urls => ['/static'] end This will make e.g. static/foo.png available at /static/foo.png on your server. -- Matma Rex

New to camping-list, and a problem mounting files to a server

2012-12-18 Thread Alex Weisberger
Hi to everybody, My name is Alex and I'm new to the Camping mailing list, as well as Camping itself. I have to say, I think this is an awesome project and it is exactly what I'm looking for right now. Something fun to experiment with. Getting a server up and running was very easy, but of course I