ncancelliere
2008-Apr-01 04:04 UTC
undefined method `time_zone='' on Rails 2.0.2.9129 on Mac OS X
I just did a gem update and it broke my rails application. I had to go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X Leopard: /Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined method `time_zone='' for #<Rails::Configuration:0x12c9f24> (NoMethodError) from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in `run'' from /Users/nicholas/RubyDev/dummy/config/environment.rb:13 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/rubygems/custom_require.rb:27:in `require'' from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ active_support/dependencies.rb:496:in `require'' from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ active_support/dependencies.rb:342:in `new_constants_in'' from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ active_support/dependencies.rb:496:in `require'' from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/ rails.rb:147:in `rails'' ... 20 levels... from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/commands/server.rb: 39 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/rubygems/custom_require.rb:27:in `require'' from script/server:3 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
goodwill
2008-Apr-05 11:58 UTC
Re: undefined method `time_zone='' on Rails 2.0.2.9129 on Mac OS X
Just want to say I have the same problem as well... something gone wrong? I am using built in ruby and rails and then executed sudo gem update On Apr 1, 12:04 pm, ncancelliere <ncancelli...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I just did a gem update and it broke my rails application. I had to > go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X > Leopard: > > /Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined > method `time_zone='' for #<Rails::Configuration:0x12c9f24> > (NoMethodError) > from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in > `run'' > from /Users/nicholas/RubyDev/dummy/config/environment.rb:13 > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > active_support/dependencies.rb:496:in `require'' > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > active_support/dependencies.rb:342:in `new_constants_in'' > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > active_support/dependencies.rb:496:in `require'' > from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/ > rails.rb:147:in `rails'' > ... 20 levels... > from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/commands/server.rb: > 39 > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > from script/server:3--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
RSL
2008-Apr-05 12:35 UTC
Re: undefined method `time_zone='' on Rails 2.0.2.9129 on Mac OS X
Guys... gem sources -r http://gems.rubyonrails.org/. Some wonky tutorial or something prolly [accidentally] permanently added that repo to yr gem sources. As it contains "developer" gems [which are essentially Edge Rails snapshots], you prolly don''t want that. Just remove that source as I suggested and remove those gem rails ending in the revision numbers and you will be fine. Rails is not broken. All is well in the kingdom. RSL On Apr 5, 7:58 am, goodwill <william.yeung...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Just want to say I have the same problem as well... something gone > wrong? I am using built in ruby and rails and then executed sudo gem > update > > On Apr 1, 12:04 pm, ncancelliere <ncancelli...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I just did a gem update and it broke my rails application. I had to > > go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X > > Leopard: > > > /Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined > > method `time_zone='' for #<Rails::Configuration:0x12c9f24> > > (NoMethodError) > > from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in > > `run'' > > from /Users/nicholas/RubyDev/dummy/config/environment.rb:13 > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > active_support/dependencies.rb:496:in `require'' > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > active_support/dependencies.rb:342:in `new_constants_in'' > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > active_support/dependencies.rb:496:in `require'' > > from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/ > > rails.rb:147:in `rails'' > > ... 20 levels... > > from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/commands/server.rb: > > 39 > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > from script/server:3--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
goodwill
2008-Apr-05 12:46 UTC
Re: undefined method `time_zone='' on Rails 2.0.2.9129 on Mac OS X
Is that mean gem update is not safe for rails? I thought edge rails would not come into usual update unless its planned for a public release? On Apr 5, 8:35 pm, RSL <sco...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Guys... gem sources -rhttp://gems.rubyonrails.org/. Some wonky > tutorial or something prolly [accidentally] permanently added that > repo to yr gem sources. As it contains "developer" gems [which are > essentially Edge Rails snapshots], you prolly don''t want that. Just > remove that source as I suggested and remove those gem rails ending in > the revision numbers and you will be fine. Rails is not broken. All is > well in the kingdom. > > RSL > > On Apr 5, 7:58 am, goodwill <william.yeung...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Just want to say I have the same problem as well... something gone > > wrong? I am using built in ruby and rails and then executed sudo gem > > update > > > On Apr 1, 12:04 pm, ncancelliere <ncancelli...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > I just did a gem update and it broke my rails application. I had to > > > go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X > > > Leopard: > > > > /Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined > > > method `time_zone='' for #<Rails::Configuration:0x12c9f24> > > > (NoMethodError) > > > from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in > > > `run'' > > > from /Users/nicholas/RubyDev/dummy/config/environment.rb:13 > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > active_support/dependencies.rb:496:in `require'' > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > active_support/dependencies.rb:342:in `new_constants_in'' > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > active_support/dependencies.rb:496:in `require'' > > > from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/ > > > rails.rb:147:in `rails'' > > > ... 20 levels... > > > from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/commands/server.rb: > > > 39 > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > from script/server:3--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
goodwill
2008-Apr-05 12:48 UTC
Re: undefined method `time_zone='' on Rails 2.0.2.9129 on Mac OS X
And I don''t think I have ever changed the gem sources before- so is that mean I should never update gem using gems.rubyonrails.org? On Apr 5, 8:35 pm, RSL <sco...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Guys... gem sources -rhttp://gems.rubyonrails.org/. Some wonky > tutorial or something prolly [accidentally] permanently added that > repo to yr gem sources. As it contains "developer" gems [which are > essentially Edge Rails snapshots], you prolly don''t want that. Just > remove that source as I suggested and remove those gem rails ending in > the revision numbers and you will be fine. Rails is not broken. All is > well in the kingdom. > > RSL > > On Apr 5, 7:58 am, goodwill <william.yeung...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Just want to say I have the same problem as well... something gone > > wrong? I am using built in ruby and rails and then executed sudo gem > > update > > > On Apr 1, 12:04 pm, ncancelliere <ncancelli...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > I just did a gem update and it broke my rails application. I had to > > > go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X > > > Leopard: > > > > /Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined > > > method `time_zone='' for #<Rails::Configuration:0x12c9f24> > > > (NoMethodError) > > > from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in > > > `run'' > > > from /Users/nicholas/RubyDev/dummy/config/environment.rb:13 > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > active_support/dependencies.rb:496:in `require'' > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > active_support/dependencies.rb:342:in `new_constants_in'' > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > active_support/dependencies.rb:496:in `require'' > > > from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/ > > > rails.rb:147:in `rails'' > > > ... 20 levels... > > > from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/commands/server.rb: > > > 39 > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > from script/server:3--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
goodwill
2008-Apr-05 12:54 UTC
Re: undefined method `time_zone='' on Rails 2.0.2.9129 on Mac OS X
Ok thanks first, despite the message I got in IRC is a bit rude, you do indeed point out the issue correctly and now the problem is fixed. So- can explain a bit if I should remove the gem source from rubyonrails.org, or thats just a intermittent issue so I just keep my gems not update for a while and it should be ok? On Apr 5, 8:35 pm, RSL <sco...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Guys... gem sources -rhttp://gems.rubyonrails.org/. Some wonky > tutorial or something prolly [accidentally] permanently added that > repo to yr gem sources. As it contains "developer" gems [which are > essentially Edge Rails snapshots], you prolly don''t want that. Just > remove that source as I suggested and remove those gem rails ending in > the revision numbers and you will be fine. Rails is not broken. All is > well in the kingdom. > > RSL > > On Apr 5, 7:58 am, goodwill <william.yeung...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Just want to say I have the same problem as well... something gone > > wrong? I am using built in ruby and rails and then executed sudo gem > > update > > > On Apr 1, 12:04 pm, ncancelliere <ncancelli...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > I just did a gem update and it broke my rails application. I had to > > > go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X > > > Leopard: > > > > /Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined > > > method `time_zone='' for #<Rails::Configuration:0x12c9f24> > > > (NoMethodError) > > > from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in > > > `run'' > > > from /Users/nicholas/RubyDev/dummy/config/environment.rb:13 > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > active_support/dependencies.rb:496:in `require'' > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > active_support/dependencies.rb:342:in `new_constants_in'' > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > active_support/dependencies.rb:496:in `require'' > > > from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/ > > > rails.rb:147:in `rails'' > > > ... 20 levels... > > > from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/commands/server.rb: > > > 39 > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > from script/server:3--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Russell Norris
2008-Apr-05 13:13 UTC
Re: undefined method `time_zone='' on Rails 2.0.2.9129 on Mac OS X
You should not be updating your gems from gems.rubyonrails.org if you are not looking for developer gems as far as I know. RSL On Sat, Apr 5, 2008 at 8:54 AM, goodwill <william.yeung.hk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Ok thanks first, despite the message I got in IRC is a bit rude, you > do indeed point out the issue correctly and now the problem is fixed. > So- can explain a bit if I should remove the gem source from > rubyonrails.org, or thats just a intermittent issue so I just keep my > gems not update for a while and it should be ok? > > On Apr 5, 8:35 pm, RSL <sco...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Guys... gem sources -rhttp://gems.rubyonrails.org/. Some wonky > > tutorial or something prolly [accidentally] permanently added that > > repo to yr gem sources. As it contains "developer" gems [which are > > essentially Edge Rails snapshots], you prolly don''t want that. Just > > remove that source as I suggested and remove those gem rails ending in > > the revision numbers and you will be fine. Rails is not broken. All is > > well in the kingdom. > > > > RSL > > > > On Apr 5, 7:58 am, goodwill <william.yeung...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Just want to say I have the same problem as well... something gone > > > wrong? I am using built in ruby and rails and then executed sudo gem > > > update > > > > > On Apr 1, 12:04 pm, ncancelliere <ncancelli...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > I just did a gem update and it broke my rails application. I had to > > > > go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X > > > > Leopard: > > > > > > /Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined > > > > method `time_zone='' for #<Rails::Configuration:0x12c9f24> > > > > (NoMethodError) > > > > from > /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in > > > > `run'' > > > > from /Users/nicholas/RubyDev/dummy/config/environment.rb:13 > > > > from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > > > from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > > active_support/dependencies.rb:496:in `require'' > > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > > active_support/dependencies.rb:342:in `new_constants_in'' > > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > > active_support/dependencies.rb:496:in `require'' > > > > from > /Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/ > > > > rails.rb:147:in `rails'' > > > > ... 20 levels... > > > > from > /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/commands/server.rb: > > > > 39 > > > > from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > > > from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > > from script/server:3 > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
goodwill
2008-Apr-05 13:33 UTC
Re: undefined method `time_zone='' on Rails 2.0.2.9129 on Mac OS X
Hmm... how come its default in leopard :/ Sorry I was from windows so I dont have such problem (seems manually installed ruby does not have such issue) Thanks mate. I will remove it now. On Apr 5, 9:13 pm, "Russell Norris" <r...-ftMzyaTR+bHNyFkoKTPOtdi2O/JbrIOy@public.gmane.org> wrote:> You should not be updating your gems from gems.rubyonrails.org if you are > not looking for developer gems as far as I know. > > RSL > > On Sat, Apr 5, 2008 at 8:54 AM, goodwill <william.yeung...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Ok thanks first, despite the message I got in IRC is a bit rude, you > > do indeed point out the issue correctly and now the problem is fixed. > > So- can explain a bit if I should remove the gem source from > > rubyonrails.org, or thats just a intermittent issue so I just keep my > > gems not update for a while and it should be ok? > > > On Apr 5, 8:35 pm, RSL <sco...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Guys... gem sources -rhttp://gems.rubyonrails.org/. Some wonky > > > tutorial or something prolly [accidentally] permanently added that > > > repo to yr gem sources. As it contains "developer" gems [which are > > > essentially Edge Rails snapshots], you prolly don''t want that. Just > > > remove that source as I suggested and remove those gem rails ending in > > > the revision numbers and you will be fine. Rails is not broken. All is > > > well in the kingdom. > > > > RSL > > > > On Apr 5, 7:58 am, goodwill <william.yeung...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Just want to say I have the same problem as well... something gone > > > > wrong? I am using built in ruby and rails and then executed sudo gem > > > > update > > > > > On Apr 1, 12:04 pm, ncancelliere <ncancelli...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > I just did a gem update and it broke my rails application. I had to > > > > > go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X > > > > > Leopard: > > > > > > /Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined > > > > > method `time_zone='' for #<Rails::Configuration:0x12c9f24> > > > > > (NoMethodError) > > > > > from > > /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in > > > > > `run'' > > > > > from /Users/nicholas/RubyDev/dummy/config/environment.rb:13 > > > > > from > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > > > > from > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > > > active_support/dependencies.rb:496:in `require'' > > > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > > > active_support/dependencies.rb:342:in `new_constants_in'' > > > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > > > active_support/dependencies.rb:496:in `require'' > > > > > from > > /Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/ > > > > > rails.rb:147:in `rails'' > > > > > ... 20 levels... > > > > > from > > /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/commands/server.rb: > > > > > 39 > > > > > from > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > > > > from > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > > > from script/server:3--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Russell Norris
2008-Apr-05 17:13 UTC
Re: undefined method `time_zone='' on Rails 2.0.2.9129 on Mac OS X
it''s never been default on my computer. never had this problem and i run leopard. RSL On Sat, Apr 5, 2008 at 9:33 AM, goodwill <william.yeung.hk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hmm... how come its default in leopard :/ Sorry I was from windows so > I dont have such problem (seems manually installed ruby does not have > such issue) > > Thanks mate. I will remove it now. > > On Apr 5, 9:13 pm, "Russell Norris" <r...-ftMzyaTR+bHNyFkoKTPOtdi2O/JbrIOy@public.gmane.org> wrote: > > You should not be updating your gems from gems.rubyonrails.org if you > are > > not looking for developer gems as far as I know. > > > > RSL > > > > On Sat, Apr 5, 2008 at 8:54 AM, goodwill <william.yeung...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > > > Ok thanks first, despite the message I got in IRC is a bit rude, you > > > do indeed point out the issue correctly and now the problem is fixed. > > > So- can explain a bit if I should remove the gem source from > > > rubyonrails.org, or thats just a intermittent issue so I just keep my > > > gems not update for a while and it should be ok? > > > > > On Apr 5, 8:35 pm, RSL <sco...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Guys... gem sources -rhttp://gems.rubyonrails.org/. Some wonky > > > > tutorial or something prolly [accidentally] permanently added that > > > > repo to yr gem sources. As it contains "developer" gems [which are > > > > essentially Edge Rails snapshots], you prolly don''t want that. Just > > > > remove that source as I suggested and remove those gem rails ending > in > > > > the revision numbers and you will be fine. Rails is not broken. All > is > > > > well in the kingdom. > > > > > > RSL > > > > > > On Apr 5, 7:58 am, goodwill <william.yeung...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > Just want to say I have the same problem as well... something gone > > > > > wrong? I am using built in ruby and rails and then executed sudo > gem > > > > > update > > > > > > > On Apr 1, 12:04 pm, ncancelliere <ncancelli...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > I just did a gem update and it broke my rails application. I > had to > > > > > > go back to 2.0.2, because 2.0.2.9129 produces this error on Mac > OS X > > > > > > Leopard: > > > > > > > > /Users/nicholas/RubyDev/dummy/config/environment.rb:38: > undefined > > > > > > method `time_zone='' for #<Rails::Configuration:0x12c9f24> > > > > > > (NoMethodError) > > > > > > from > > > /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in > > > > > > `run'' > > > > > > from > /Users/nicholas/RubyDev/dummy/config/environment.rb:13 > > > > > > from > > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > > > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > > > > > from > > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > > > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > > > > from > /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > > > > active_support/dependencies.rb:496:in `require'' > > > > > > from > /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > > > > active_support/dependencies.rb:342:in `new_constants_in'' > > > > > > from > /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > > > > active_support/dependencies.rb:496:in `require'' > > > > > > from > > > /Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/ > > > > > > rails.rb:147:in `rails'' > > > > > > ... 20 levels... > > > > > > from > > > /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/commands/server.rb: > > > > > > 39 > > > > > > from > > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > > > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > > > > > from > > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > > > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > > > > from script/server:3 > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Jake Mallory
2008-Apr-10 23:05 UTC
Re: undefined method `time_zone='' on Rails 2.0.2.9129 on Mac OS X
# gem sources -r http://gems.rubyonrails.org/ renders source http://gems.rubyonrails.org/ not present in cache I''ve uninstalled the dev gems so the only gem is now rails (2.0.2) and all dependencies are at 2.0.2 and I still get this error On Apr 5, 6:35 am, RSL <sco...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Guys... gem sources -rhttp://gems.rubyonrails.org/. Some wonky > tutorial or something prolly [accidentally] permanently added that > repo to yr gem sources. As it contains "developer" gems [which are > essentially Edge Rails snapshots], you prolly don''t want that. Just > remove that source as I suggested and remove those gem rails ending in > the revision numbers and you will be fine. Rails is not broken. All is > well in the kingdom. > > RSL > > On Apr 5, 7:58 am, goodwill <william.yeung...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Just want to say I have the same problem as well... something gone > > wrong? I am using built in ruby and rails and then executed sudo gem > > update > > > On Apr 1, 12:04 pm, ncancelliere <ncancelli...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > I just did a gem update and it broke my rails application. I had to > > > go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X > > > Leopard: > > > > /Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined > > > method `time_zone='' for #<Rails::Configuration:0x12c9f24> > > > (NoMethodError) > > > from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in > > > `run'' > > > from /Users/nicholas/RubyDev/dummy/config/environment.rb:13 > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > active_support/dependencies.rb:496:in `require'' > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > active_support/dependencies.rb:342:in `new_constants_in'' > > > from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ > > > active_support/dependencies.rb:496:in `require'' > > > from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/ > > > rails.rb:147:in `rails'' > > > ... 20 levels... > > > from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/commands/server.rb: > > > 39 > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' > > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > > ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > from script/server:3--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Apr-11 07:20 UTC
Re: undefined method `time_zone='' on Rails 2.0.2.9129 on Mac OS X
On 11 Apr 2008, at 00:05, Jake Mallory wrote:> > # gem sources -r http://gems.rubyonrails.org/ > > renders > source http://gems.rubyonrails.org/ not present in cache > > I''ve uninstalled the dev gems so the only gem is now rails (2.0.2) and > all dependencies are at 2.0.2 > and I still get this error >If you generated the app using the ''bad'' rails it will still have the offending line in its environment.rb. Fred> On Apr 5, 6:35 am, RSL <sco...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Guys... gem sources -rhttp://gems.rubyonrails.org/. Some wonky >> tutorial or something prolly [accidentally] permanently added that >> repo to yr gem sources. As it contains "developer" gems [which are >> essentially Edge Rails snapshots], you prolly don''t want that. Just >> remove that source as I suggested and remove those gem rails ending >> in >> the revision numbers and you will be fine. Rails is not broken. All >> is >> well in the kingdom. >> >> RSL >> >> On Apr 5, 7:58 am, goodwill <william.yeung...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >>> Just want to say I have the same problem as well... something gone >>> wrong? I am using built in ruby and rails and then executed sudo gem >>> update >> >>> On Apr 1, 12:04 pm, ncancelliere <ncancelli...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >>>> I just did a gem update and it broke my rails application. I had >>>> to >>>> go back to 2.0.2, because 2.0.2.9129 produces this error on Mac >>>> OS X >>>> Leopard: >> >>>> /Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined >>>> method `time_zone='' for #<Rails::Configuration:0x12c9f24> >>>> (NoMethodError) >>>> from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/ >>>> initializer.rb:47:in >>>> `run'' >>>> from /Users/nicholas/RubyDev/dummy/config/environment.rb:13 >>>> from /System/Library/Frameworks/Ruby.framework/Versions/ >>>> 1.8/usr/lib/ >>>> ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' >>>> from /System/Library/Frameworks/Ruby.framework/Versions/ >>>> 1.8/usr/lib/ >>>> ruby/1.8/rubygems/custom_require.rb:27:in `require'' >>>> from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ >>>> active_support/dependencies.rb:496:in `require'' >>>> from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ >>>> active_support/dependencies.rb:342:in `new_constants_in'' >>>> from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/ >>>> active_support/dependencies.rb:496:in `require'' >>>> from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/bin/../lib/ >>>> mongrel/ >>>> rails.rb:147:in `rails'' >>>> ... 20 levels... >>>> from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/commands/ >>>> server.rb: >>>> 39 >>>> from /System/Library/Frameworks/Ruby.framework/Versions/ >>>> 1.8/usr/lib/ >>>> ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' >>>> from /System/Library/Frameworks/Ruby.framework/Versions/ >>>> 1.8/usr/lib/ >>>> ruby/1.8/rubygems/custom_require.rb:27:in `require'' >>>> from script/server:3 > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Ronny Hanssen
2008-Apr-18 23:02 UTC
Re: undefined method `time_zone='' on Rails 2.0.2.9129 on Mac
Jake Mallory wrote:> # gem sources -r http://gems.rubyonrails.org/ > > renders > source http://gems.rubyonrails.org/ not present in cache > > I''ve uninstalled the dev gems so the only gem is now rails (2.0.2) and > all dependencies are at 2.0.2 > and I still get this errorTry: # gem sources -r http://gems.rubyonrails.org Note that I have removed the trailing slash (\). It seems that gem is pretty strict about the URI... :) Ronny -- 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 -~----------~----~----~----~------~----~------~--~---
Ronny Hanssen
2008-Apr-18 23:03 UTC
Re: undefined method `time_zone='' on Rails 2.0.2.9129 on Mac
Ronny Hanssen wrote: ...> > Note that I have removed the trailing slash (\). It seems that gem is > pretty strict about the URI... :) >Ops. Should be trailing / :P -- 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 -~----------~----~----~----~------~----~------~--~---