Hello,
I’m importing a project and want to use webrick to look at things
locally, but i’m forced to setup a blank project using “rails” command
in order for webrick to boot. How do i get around this?
Thanks,
Will
Hello,
I’m importing a project and want to use webrick to look at things
locally, but i’m forced to setup a blank project using “rails” command
in order for webrick to boot. How do i get around this?
Thanks,
Will
Try to use mongrel instead.
gem install mongrel
and then in the project root type.
mongrel_rails start
On 9/5/06, will [email protected] wrote:
–
Posted via http://www.ruby-forum.com/.
Jon Gretar B.
http://www.jongretar.net/
On Tue, Sep 05, 2006, will wrote:
I’m importing a project and want to use webrick to look at things
locally, but i’m forced to setup a blank project using “rails” command
in order for webrick to boot. How do i get around this?
What error do you get when you try to run script/server without setting
up a new rails project?
My guess is that it’s either not finding the database.yml or the
shebangs (#!/usr/…) are wrong in the script/* files.
Let us know what the error is and we can go from there.
Ben
Ben B. wrote:
On Tue, Sep 05, 2006, will wrote:
I’m importing a project and want to use webrick to look at things
locally, but i’m forced to setup a blank project using “rails” command
in order for webrick to boot. How do i get around this?What error do you get when you try to run script/server without setting
up a new rails project?My guess is that it’s either not finding the database.yml or the
shebangs (#!/usr/…) are wrong in the script/* files.Let us know what the error is and we can go from there.
Ben
Jon - gonna look into mongrel
Ben - here is the error so far: crap can’t copy paste
c:/ruby/lib/ruby/gems (snip snip) / webrick1.1: warning: already
initialized constant OPTIONS
c:/ruby (snip ) /config/environment.rb:8 warning: already initialized
constant RAILS_GEM_VERSION
---- lots more errors…
c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:251:in “report activate
error” could not find rubygem tzinfo <>= 0.0.0> gem::loaderror
ANd etc…
Will
RE to myself -
duh, need to install some of those missing gems. Still wont’ fix the
prev problems in webrick, but mogrel is getting around them.
On Wed, Sep 06, 2006, will wrote:
duh, need to install some of those missing gems. Still wont’ fix the
prev problems in webrick, but mogrel is getting around them.
The warnings are nothing to worry about, but yeah. Gems
Ben
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs