From: Caleb Clausen Date: 2010-04-23T07:48:42+09:00 Subject: Re: Sinatra without RubyGems On 4/22/10, XY$ wrote: > On 22 Apr, 21:22, Joel VanderWerf wrote: >> XY$ wrote: >> > I wonder if it is possible to run Sinatra without useing RubyGems. >> >> Depends on what you mean. For my purposes, the answer is yes. >> >> I use gem for package management, but crown[1] to construct a > > OK > I was not precise in my question. > > The web hosting service I am testing supports Ruby but not RoR or > RubyGems. I can run Ruby scripts as CGI but I wonder if I would be > able to use Sinatra. Unless it's a severely constrained environment like heroku, you can usually install rubygems in your user account and just go from there. Check the rubygems docs for how to do that. If you don't like that, something like joel's crown, gem bundler, or rip may suit you better. Typically, these tools collect together all the software your app depends on in a subdir of your project, so you can just upload the entire directory tree to your server and then run it right there. This is what joel was trying to explain to you. (I think. I've never used any of those other tools, myself.)