[Instantrails-users] uninitialized constant WEBrick

David Morton mortonda at dgrmm.net
Thu Apr 13 01:07:40 EDT 2006


-----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/activesupport-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+W7JVSU6CUFgxzRCQACdE9PO
VZFE0ulhLgW5JOVlZ3wPuhQ=
=pkGK
-----END PGP SIGNATURE-----


More information about the Instantrails-users mailing list