Hi, I am trying to move from gem rails to edge rails (well, 1.2.2 with a patch). I have been running gem rails 1.2.2 successfully. When I do a svn:externals to tag rel_1-2-2 [http://dev.rubyonrails.org/svn/rails/tags/rel_1-2-2/] the rails code is placed in \vendor\rails\ as expected. I do, however, get error messages when trying to start webrick (error messages included below). Am I correct in using tag rel_1-2-2? Is it the same code as the latest release 1.2.2? If so, why am I getting error messages? Thanks for any help, GiantCranes --- Error Messages when starting webrick: --- ruby script/server Booting WEBrick... script/../config/../vendor/rails/activesupport/lib/active_support/de b:266:in `load_missing_constant'': uninitialized constant ActionMaile ) from ./script/../config/../vendor/rails/activesupport/lib/acti ependencies.rb:452:in `const_missing'' from ./script/../config/../vendor/rails/activesupport/lib/acti ependencies.rb:464:in `const_missing'' from ./script/../config/../config/environment.rb:45 from ./script/../config/../vendor/rails/railties/lib/initializ `run'' from ./script/../config/../config/environment.rb:14 from P:/Program Files/Ruby/lib/ruby/site_ruby/1.8/rubygems/cus rb:27:in `gem_original_require'' from P:/Program Files/Ruby/lib/ruby/site_ruby/1.8/rubygems/cus rb:27:in `require'' from ./script/../config/../vendor/rails/activesupport/lib/acti ependencies.rb:495:in `require'' ... 8 levels... from ./script/../config/../vendor/rails/railties/lib/commands/ from P:/Program Files/Ruby/lib/ruby/site_ruby/1.8/rubygems/cus rb:27:in `gem_original_require'' from P:/Program Files/Ruby/lib/ruby/site_ruby/1.8/rubygems/cus rb:27:in `require'' from script/server:3 -- 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 -~----------~----~----~----~------~----~------~--~---
Not sure but I would bet that your problem is that you installed your scripts (script/server) using gem and now it cant find that vender files. Hope this helps -- 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 -~----------~----~----~----~------~----~------~--~---
Keynan Pratt wrote:> Not sure but I would bet that your problem is that you installed your > scripts (script/server) using gem and now it cant find that vender > files. > > Hope this helpsIf that is the problem, how would I address it? -- 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 -~----------~----~----~----~------~----~------~--~---
I have narrowed it down to the ActionMailer config: ActionMailer::Base.server_settings = { :address => ''mail.server.com'', :port => 25, :domain => ''www.server.com'', :user_name => ''main-WQCBuIXaXYjQT0dZR+AlfA@public.gmane.org'', :password => ''password'', :authentication => :login } When I comment this out, the application starts successfully. I am unsure why this is causing an error, but I will post again here if I do find out for completeness. Thanks for your help -- 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 -~----------~----~----~----~------~----~------~--~---
This can be solved by changing:> ActionMailer::Base.server_settings = { > :address => ''mail.server.com'', > :port => 25, > :domain => ''www.server.com'', > :user_name => ''...@server.com'', > :password => ''password'', > :authentication => :login > }- to -> config.action_mailer.server_settings.server_settings = { > :address => ''mail.server.com'', > :port => 25, > :domain => ''www.server.com'', > :user_name => ''...@server.com'', > :password => ''password'', > :authentication => :login > }On Feb 8, 9:53 am, Giant Cranes <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I have narrowed it down to theActionMailerconfig: > > ActionMailer::Base.server_settings = { > :address => ''mail.server.com'', > :port => 25, > :domain => ''www.server.com'', > :user_name => ''...@server.com'', > :password => ''password'', > :authentication => :login > > } > > When I comment this out, the application starts successfully. I am > unsure why this is causing an error, but I will post again here if I do > find out for completeness. > > Thanks for your help > > -- > 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 -~----------~----~----~----~------~----~------~--~---