Is something up with edge?

Hello,

I’ve created a new rails app & could start mongrel happily.

I then upgraded to edge, tried to start the server & received the
following error.

C:\Transfer\websites\rails\test>ruby script\server
=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment…
Exiting
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:15:
warning: already initialized constant OPTIONS
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:18:
undefined method options' for []:Array (NoMethodError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:ingem_original_require’
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
require' from C:/Transfer/websites/rails/test/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:inrequire’
from
C:/Transfer/websites/rails/test/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in
new_constants_in' from C:/Transfer/websites/rails/test/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:inrequire’
from
C:/Transfer/websites/rails/test/vendor/rails/railties/lib/commands/server.rb:39
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from script/server:3

C:\Transfer\websites\rails\test>

I would appreciate any pointers as to why this is happening.

thanks craig.

Hi Craig,

I’m facing the exactly same problem. Any ideas?

Tks,

Peter.

On May 18, 3:09 pm, craig fellows [email protected]

On 5/18/07, craig fellows [email protected] wrote:

I then upgraded to edge, tried to start the server & received the
following error.

When you froze edge did you remember to re-run the rails command?
Depending
on how long ago it was when you generated your app some of the script
files,
as well as environment files, could be out of date.

From the root of your application execute: “ruby
vendor/rails/railties/bin/rails .”


Josh K.
[email protected]
http://joshknowles.com

On Jun 17, 9:14 pm, Peter [email protected] wrote:

Hi Josh,

Thanks for your feedback.

I just created a new project using “ruby vendor/rails/railties/bin/
rails” inside my freezed rails and even this new version didn’t
started, got the same errors!

Guess I will have to stick with version 1.2.3.

Can you run ruby script/about successfully?

I had to run rake rails:freeze:edge twice to get it to download the
active_resource code. My first clue was the stack trace from script/
about.

Jeff

Hi Josh,

Thanks for your feedback.

I just created a new project using “ruby vendor/rails/railties/bin/
rails” inside my freezed rails and even this new version didn’t
started, got the same errors!

Guess I will have to stick with version 1.2.3.

Tks,

Peter.

Thanks a lot Jeff!

I never would guess this.
I couldn’t run ruby script/about but then I “freezed” again, saw the
active_resource code was downloaded and everything works fine now. :slight_smile:

Nice to be on edge.

Peter.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs