List Info

Thread: uninitialized constant WEBrick




uninitialized constant WEBrick
user name
2006-04-13 02:41:57
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        
    install_gems.rb
D:\Source\trunk\engine>cap --apply-to
engineD:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupp
ort-1.3.1/lib/active_support/dependencies.rb:123:in
`const_missing': uninitialized constant WEBrick (NameError)
       from
D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.
3.1/lib/active_support/dependencies.rb:131:in
`const_missing'        from
./engine/config/environment.rb:56        from
D:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_
require.rb:21:in `require'        from
D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0
/lib/capistrano/generators/rails/loader.rb:5:in `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
D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0
/lib/capistrano/cli.rb:223:in `execute!'        from
D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0
/lib/capistrano/cli.rb:12:in `execute!'        from
D:/InstantRai!
ls/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/bin/cap:11  
     from D:/InstantRails/ruby/bin/cap:18
D:\Source\trunk\engine>
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

uninitialized constant WEBrick
user name
2006-04-13 05:07:40
-----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   
         install_gems.rb
> D:\Source\trunk\engine>cap --apply-to
engineD:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupp
ort-1.3.1/lib/active_support/dependencies.rb:123:in
`const_missing': uninitialized constant WEBrick (NameError)
       from
D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.
3.1/lib/active_support/dependencies.rb:131:in
`const_missing'        from
./engine/config/environment.rb:56        from
D:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_
require.rb:21:in `require'        from
D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0
/lib/capistrano/generators/rails/loader.rb:5:in `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
D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0
/lib/capistrano/cli.rb:223:in `execute!'        from
D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0
/lib/capistrano/cli.rb:12:in `execute!'        from
D:/InstantR
ai!
>
ls/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/bin/cap:11  
     from D:/InstantRails/ruby/bin/cap:18
> D:\Source\trunk\engine>

I think you are running command outside of the usual
instantrails environment,
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...


- --
David Morton
Maia Mailguard                        - http://www.maiamailguard
.com
Morton Software Design and Consulting - http://www.dgrmm.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iD8DBQFEPdycSIxC85HZHLMRAlTpAKCIr8Wmeu1N+W7JVSU6CUFgxzRCQACd
E9PO
VZFE0ulhLgW5JOVlZ3wPuhQ=
=pkGK
-----END PGP SIGNATURE-----
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

uninitialized constant WEBrick
user name
2006-04-13 10:55:20
On 4/13/06, David Morton <dgrmm.net">mortondadgrmm.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.
&gt;
> D:\Source\trunk\engine>lsengine &nbsp; &nbsp; &nbsp;   ;  gems   ; &nbsp; &nbsp; &nbsp; &nbsp;  install_gems.rb
> D:\Source\trunk\engine>cap --apply-to engineD:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing': uninitialized constant WEBrick (NameError) &nbsp; &nbsp; &nbsp; &nbsp;from D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport- 1.3.1/lib/active_support/dependencies.rb:131:in `const_missing'   ; &nbsp; &nbsp; from ./engine/config/environment.rb:56 &nbsp; &nbsp; &nbsp; &nbsp;from D:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'&nbsp;   ; &nbsp; &nbsp;from D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/capistrano- 1.1.0/lib/capistrano/generators/rails/loader.rb:5:in `load!'&nbsp; &nbsp; &nbsp;   ;from D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/cli.rb:252:in `execute_apply_to!'&nbsp; &nbsp;   ; &nbsp;from D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/capistrano- 1.1.0/lib/capistrano/cli.rb:223:in `execute!'  ; &nbsp; &nbsp; &nbsp;from D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/cli.rb:12:in `execute!'  ; &nbsp; &nbsp; &nbsp;from D:/InstantR
ai!
> ls/ruby/lib/ruby/gems/1.8/gems/capistrano- 1.1.0/bin/cap:11   ; &nbsp; &nbsp; from D:/InstantRails/ruby/bin/cap:18
> D:\Source\trunk\engine>

I think you are running command outside of the usual instantrails environment,
So it may not be picking up the right path...&nbsp;  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).

Curt



uninitialized constant WEBrick
user name
2006-04-15 04:59:15
I also wanted to point out that I had the exact same error
message onmy linux machine running CentOS and ruby 1.84 +
rails 1.1.x.
I won't have access to my computer (at work) till tuesday
but is theresome environment setting  missing or something?
It's weird that I would have the exact same problem with
both linux and windows.

On 4/13/06, Curt Hibbs <curt.hibbsgmail.com> wrote:> On
4/13/06, David Morton <mortondadgrmm.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>   
install_gems.rb> > >
D:\Source\trunk\engine>cap --apply-to>
engineD:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupp
ort-1.3.1/lib/active_support/dependencies.rb:123:in>
`const_missing': uninitialized constant WEBrick (NameError)
       from>
D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-&g
t; 1.3.1/lib/active_support/dependencies.rb:131:in>
`const_missing'        from>
./engine/config/environment.rb:56        from>
D:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_
require.rb:21:in> `require'        from>
D:/InstantRails/ruby/lib/r!
uby/gems/1.8/gems/capistrano->
1.1.0/lib/capistrano/generators/rails/loader.rb:5:in>
`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>
D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/capistrano->
1.1.0/lib/capistrano/cli.rb:223:in `execute!'       
from>
D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0
/lib/capistrano/cli.rb:12:in> `execute!'        from
D:/InstantR> > ai!> > >
ls/ruby/lib/ruby/gems/1.8/gems/capistrano->
1.1.0/bin/cap:11        from
D:/InstantRails/ruby/bin/cap:18> > >
D:\Source\trunk\engine>> >> > I think you
are running command outside of the usual instantrails>
environment,> > 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).>>  Curt>>>>>
_______________________________________________>
Instantrails-users mailing list> Instantrails-usersrubyforge.org> http://rubyforge.org/mailman/listinfo/instantrai
ls-users>>
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )