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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Jon Gretar Borgthorsson
2006-Sep-05 21:32 UTC
Re: how to start a rails application w/out using "rails" command
Try to use mongrel instead. gem install mongrel and then in the project root type. mongrel_rails start On 9/5/06, will <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > 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 > > -- > Posted via http://www.ruby-forum.com/. > > > >-- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Ben Bleything
2006-Sep-05 21:34 UTC
Re: how to start a rails application w/out using "rails" command
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Ben Bleything 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. > > BenJon - 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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
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. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Ben Bleything
2006-Sep-06 00:00 UTC
Re: how to start a rails application w/out using "rails" com
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---