Standard setup according to http://guides.rails.info/getting_started.html and the blog posts I found on the subject. Anyway when trying to run the RAILS SERVER command I receive the following error. I can''t fix it for now and I hope someone can help. This is the error log: ------------------------------ /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/values/time_zone.rb:208:in `utc_offset'': undefined method `current_period'' for nil:NilClass (NoMethodError) from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/values/time_zone.rb:222:in `<=>'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/values/time_zone.rb:333:in `sort!'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/values/time_zone.rb:333:in `<class:TimeZone>'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/values/time_zone.rb:25:in `<module:ActiveSupport>'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/values/time_zone.rb:24:in `<top (required)>'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/time_with_zone.rb:1:in `require'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/time_with_zone.rb:1:in `<top (required)>'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/core_ext/time/zones.rb:1:in `require'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/core_ext/time/zones.rb:1:in `<top (required)>'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/core_ext/date/calculations.rb:3:in `require'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/core_ext/date/calculations.rb:3:in `<top (required)>'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/ruby/shim.rb:12:in `require'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/ruby/shim.rb:12:in `<top (required)>'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/actionpack-3.0.0.beta3/lib/abstract_controller.rb:4:in `require'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/actionpack-3.0.0.beta3/lib/abstract_controller.rb:4:in `<top (required)>'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/actionpack-3.0.0.beta3/lib/action_controller.rb:1:in `require'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/actionpack-3.0.0.beta3/lib/action_controller.rb:1:in `<top (required)>'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/actionpack-3.0.0.beta3/lib/action_controller/railtie.rb:2:in `require'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/actionpack-3.0.0.beta3/lib/action_controller/railtie.rb:2:in `<top (required)>'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.0.beta3/lib/active_record/railtie.rb:9:in `require'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.0.beta3/lib/active_record/railtie.rb:9:in `<top (required)>'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.0.beta3/lib/rails/all.rb:11:in `require'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.0.beta3/lib/rails/all.rb:11:in `block in <top (required)>'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.0.beta3/lib/rails/all.rb:5:in `each'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.0.beta3/lib/rails/all.rb:5:in `<top (required)>'' from /Users/YavorIvanov/Projects/jarvis/config/application.rb:3:in `require'' from /Users/YavorIvanov/Projects/jarvis/config/application.rb:3:in `<top (required)>'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.0.beta3/lib/rails/commands.rb:39:in `require'' from /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.0.beta3/lib/rails/commands.rb:39:in `<top (required)>'' from script/rails:9:in `require'' from script/rails:9:in `<main> ------------------------------ Operating System: Mac OS X 10.6.3 Ruby Version through RVM: ruby 1.9.2dev (2009-07-18 trunk 24186) [i386-darwin10.3.0] Gem List: abstract (1.0.0) actionmailer (3.0.0.beta3) actionpack (3.0.0.beta3) activemodel (3.0.0.beta3) activerecord (3.0.0.beta3) activeresource (3.0.0.beta3) activesupport (3.0.0.beta3) arel (0.3.3) builder (2.1.2) bundler (0.9.25) erubis (2.6.5) i18n (0.4.0.beta1, 0.3.7) mail (2.2.1) memcache-client (1.8.3) mime-types (1.16) polyglot (0.3.1) rack (1.1.0) rack-mount (0.6.3, 0.4.0) rack-test (0.5.3) rails (3.0.0.beta3) railties (3.0.0.beta3) rake (0.8.7) rdoc (2.5.8) rubygems-update (1.3.7) sqlite3-ruby (1.2.5) text-format (1.0.0) text-hyphen (1.0.0) thor (0.13.6) treetop (1.4.5) tzinfo (0.3.20) -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
environment.rb has changed and many things has been moved to initializaers. This blog post might help: http://omgbloglol.com/post/353978923/the-path-to-rails-3-approaching-the-upgrade On May 15, 11:03 pm, Yavor Ivanov <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Standard setup according tohttp://guides.rails.info/getting_started.htmland the blog posts I found > on the subject. Anyway when trying to run the RAILS SERVER command I > receive the following error. I can''t fix it for now and I hope someone > can help. > > This is the error log: > > ------------------------------ > > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/values/time_zone.rb:208:in > `utc_offset'': undefined method `current_period'' for nil:NilClass > (NoMethodError) > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/values/time_zone.rb:222:in > `<=>'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/values/time_zone.rb:333:in > `sort!'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/values/time_zone.rb:333:in > `<class:TimeZone>'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/values/time_zone.rb:25:in > `<module:ActiveSupport>'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/values/time_zone.rb:24:in > `<top (required)>'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/time_with_zone.rb:1:in > `require'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/time_with_zone.rb:1:in > `<top (required)>'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/core_ext/time/zones.rb:1:in > `require'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/core_ext/time/zones.rb:1:in > `<top (required)>'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/core_ext/date/calculations.rb:3:in > `require'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/core_ext/date/calculations.rb:3:in > `<top (required)>'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/ruby/shim.rb:12:in > `require'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activesupport-3.0.0.beta3/lib/active_support/ruby/shim.rb:12:in > `<top (required)>'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/actionpack-3.0.0.beta3/lib/abstract_controller.rb:4:in > `require'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/actionpack-3.0.0.beta3/lib/abstract_controller.rb:4:in > `<top (required)>'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/actionpack-3.0.0.beta3/lib/action_controller.rb:1:in > `require'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/actionpack-3.0.0.beta3/lib/action_controller.rb:1:in > `<top (required)>'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/actionpack-3.0.0.beta3/lib/action_controller/railtie.rb:2:in > `require'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/actionpack-3.0.0.beta3/lib/action_controller/railtie.rb:2:in > `<top (required)>'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.0.beta3/lib/active_record/railtie.rb:9:in > `require'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/activerecord-3.0.0.beta3/lib/active_record/railtie.rb:9:in > `<top (required)>'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.0.beta3/lib/rails/all.rb:11:in > `require'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.0.beta3/lib/rails/all.rb:11:in > `block in <top (required)>'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.0.beta3/lib/rails/all.rb:5:in > `each'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.0.beta3/lib/rails/all.rb:5:in > `<top (required)>'' > from /Users/YavorIvanov/Projects/jarvis/config/application.rb:3:in > `require'' > from /Users/YavorIvanov/Projects/jarvis/config/application.rb:3:in > `<top (required)>'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.0.beta3/lib/rails/commands.rb:39:in > `require'' > from > /Users/YavorIvanov/.rvm/gems/ruby-1.9.2-preview1/gems/railties-3.0.0.beta3/lib/rails/commands.rb:39:in > `<top (required)>'' > from script/rails:9:in `require'' > from script/rails:9:in `<main> > > ------------------------------ > > Operating System: Mac OS X 10.6.3 > > Ruby Version through RVM: ruby 1.9.2dev (2009-07-18 trunk 24186) > [i386-darwin10.3.0] > > Gem List: > abstract (1.0.0) > actionmailer (3.0.0.beta3) > actionpack (3.0.0.beta3) > activemodel (3.0.0.beta3) > activerecord (3.0.0.beta3) > activeresource (3.0.0.beta3) > activesupport (3.0.0.beta3) > arel (0.3.3) > builder (2.1.2) > bundler (0.9.25) > erubis (2.6.5) > i18n (0.4.0.beta1, 0.3.7) > mail (2.2.1) > memcache-client (1.8.3) > mime-types (1.16) > polyglot (0.3.1) > rack (1.1.0) > rack-mount (0.6.3, 0.4.0) > rack-test (0.5.3) > rails (3.0.0.beta3) > railties (3.0.0.beta3) > rake (0.8.7) > rdoc (2.5.8) > rubygems-update (1.3.7) > sqlite3-ruby (1.2.5) > text-format (1.0.0) > text-hyphen (1.0.0) > thor (0.13.6) > treetop (1.4.5) > tzinfo (0.3.20) > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
I will check it. Thanks! -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Try using ruby 1.9.2-head instead of preview1:> rvm install 1.9.2-headThat''s how it solved this problem for me. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Damn! :) It works now. Maybe someone should update the guidelines to say 1.9.2-head Thanks a lot! -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.