From: Brian Candler Date: 2010-09-07T22:19:57+09:00 Subject: Re: [Newbie] What folder to upload to? John Hamman wrote: > I have > a remote web server I want to test my programming on but I am used to > just uploading a file (php or .net) and running it in the root folder > for that page. Ruby seems different and I haven't really figured out > this part of it. Depends where you're hosting. They may or may not support Ruby. Sinatra is a Rack application, and so needs to run in an environment which can make Rack calls. If you manage the webserver yourself: install Apache2 and Phusion Passenger. The documentation for the latter is very good. If you have a user shell account on the webserver: you can run your Sinatra app as a standalone webserver process using "rackup". It will listen on a different port, so the URL will be something like http://x.x.x.x:4567/ You can probably run Rack apps under fastcgi, but this isn't really very well supported these days. If you want to use a third party hosting service: look at heroku. It's free for small deployments. HTH, Brian. -- Posted via http://www.ruby-forum.com/.