# Problem of switching to edge rails

**URL:** <https://www.ruby-forum.com/t/problem-of-switching-to-edge-rails/110017>\
**Category:** Deployment\
**Created:** [July 21, 2007, 9:00am UTC](https://www.ruby-forum.com/t/problem-of-switching-to-edge-rails/110017 "2007-07-21T09:00:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stainless](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/278dde/32.png) [@stainless](https://www.ruby-forum.com/u/stainless)\
**Post date:** [July 21, 2007, 9:00am UTC](https://www.ruby-forum.com/t/problem-of-switching-to-edge-rails/110017/1 "2007-07-21T09:00:25Z")

</div>

can’t boot with “/script/server” but works with “mongrel\_rails start”.  
why?

```
/path/to/myproject/$ ./script/server
=> Booting WEBrick...
/path/to/myproject/vendor/rails/activesupport/lib/active_support/dependencies.rb:477:in
`const_missing': uninitialized constant DRb::DRbConn::Mutex (NameError)
        from /opt/local/lib/ruby/1.8/drb/drb.rb:1149
        from
/path/to/myproject/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in
`require'
        from
/path/to/myproject/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in
`require'
        from
/path/to/myproject/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in
`new_constants_in'
        from
/path/to/myproject/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in
`require'
        from /opt/local/lib/ruby/1.8/drb.rb:1
        from
/path/to/myproject/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in
`require'
        from
/path/to/myproject/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in
`require'
         ... 27 levels...
        from
/path/to/myproject/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in
`require'
        from
/path/to/myproject/vendor/rails/railties/lib/commands/server.rb:39
        from ./script/server:3:in `require'
        from ./script/server:3
```

---

<div class="post-metadata">

**Author:** ![stainless](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/278dde/32.png) [@stainless](https://www.ruby-forum.com/u/stainless)\
**Post date:** [August 17, 2007, 1:56pm UTC](https://www.ruby-forum.com/t/problem-of-switching-to-edge-rails/110017/2 "2007-08-17T13:56:12Z")

</div>

hi there wrote:

> can’t boot with “/script/server” but works with “mongrel\_rails start”.  
> why?
> 
> /path/to/myproject/$ ./script/server  
> =\> Booting WEBrick…

It looks like ./script/server cannot require ‘mongrel’ and it’s falling  
back to webrick.

Eli

---

<div class="post-metadata">

**Author:** ![stainless](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/278dde/32.png) [@stainless](https://www.ruby-forum.com/u/stainless)\
**Post date:** [August 18, 2007, 12:48am UTC](https://www.ruby-forum.com/t/problem-of-switching-to-edge-rails/110017/3 "2007-08-18T00:48:54Z")

</div>

On 8/17/07, Eli M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 

To be more precise, script/server do wonky things with Mongrel:

It partially inializes Rails, then bootup the Mongrel code and then  
continue loading rails…

That’s not a nice thing to do 😛

I’ll suggest stay away from it… or create some alias for  
mongrel\_rails command 😉  
(mine is just ‘mongrel’)

## – Luis L. Multimedia systems

Leaders are made, they are not born. They are made by hard effort,  
which is the price which all of us must pay to achieve any goal that  
is worthwhile.  
Vince Lombardi
