[Instantrails-users] uninitialized constant WEBrick
curt.hibbs at gmail.com
Thu Apr 13 06:55:20 EDT 2006
On 4/13/06, David Morton <mortonda at dgrmm.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Tim Uckun wrote:
> > When attempting to do various things like cap or rake migrate I get
> anuninitialized constant WEBrick error. Does anybody what could becausing
> this? A transcript is attached below.
> > D:\Source\trunk\engine>lsengine gems
> > D:\Source\trunk\engine>cap --apply-to
> `const_missing': uninitialized constant WEBrick (NameError) from
> `const_missing' from ./engine/config/environment.rb:56 from
> `require' from
> `load!' from D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/capistrano-
> 1.1.0/lib/capistrano/cli.rb:252:in `execute_apply_to!' from
> `execute!' from
> `execute!' from D:/InstantR
> > ls/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/bin/cap:11 from
> > D:\Source\trunk\engine>
> I think you are running command outside of the usual instantrails
> So it may not be picking up the right path... I think there are some
> environment variables that need to be set.
> Anyone else have more info on that? I'm dead tired right now...
There was something similar that was a reported bug in Rails 1.1 (or 1.1.1)
but I believe that was a "redefined" contant error, not "uninitialized". Its
probably not related, but I mention it just in case. That particular problem
is fixed in Rails 1.1.2 (which is in Instant Rails 1.3).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Instantrails-users