Hello, Its been a while since I''ve played around with edge & -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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:in `gem_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:in `require'' 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:in `require'' 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:in `require'' from script/server:3 C:\Transfer\websites\rails\test> I would appreciate any pointers as to why this is happening. thanks craig. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Craig, I''m facing the exactly same problem. Any ideas? Tks, Peter. On May 18, 3:09 pm, craig fellows <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> 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 onhttp://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 constantOPTIONS > c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:18:undefinedmethod`options'' for []:Array(NoMethodError) > from > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in > `gem_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:in > `require'' > 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:in > `require'' > 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:in > `require'' > from script/server:3 > > C:\Transfer\websites\rails\test> > > I would appreciate any pointers as to why this is happening. > > thanks craig. > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 5/18/07, craig fellows <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > I then upgraded to edge, tried to start the server & received the > following error.<snip /> 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 Knowles joshknowles-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://joshknowles.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. On Jun 17, 7:03 pm, "Josh Knowles" <joshknow...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 5/18/07, craig fellows <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > > > > I then upgraded to edge, tried to start the server & received the > > following error. > > <snip /> > > 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 Knowles > joshknow...-Re5JQEeQqe80Tx58lXaADg@public.gmane.org://joshknowles.com--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Jun 17, 9:14 pm, Peter <pete...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. :-) Nice to be on edge. Peter. On Jun 17, 8:18 pm, Jeff <cohen.j...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Jun 17, 9:14 pm, Peter <pete...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---