Can you try 1.9.2-head?
Yehuda Katz
Architect | Engine Yard
(ph) 718.877.1325
On Tue, May 11, 2010 at 2:19 AM, Kristian Mandrup
<kmandrup@gmail.com>wrote:
> First tried creating default Rails app using Rails 3-beta3
>
> $ rails simple
>
> $ mate Gemfile
> gem ''rails'', ''3.0.0.beta3''
>
> $ cd simple
> simple kristianconsult$ rails s
> /Users/kristianconsult/.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/kristianconsult/.rvm/gems/ruby-1.9.2-preview1/gems/
> activesupport-3.0.0.beta3/lib/active_support/values/time_zone.rb:
> 222:in `<=>''
>
> ---
> Then edited Gemfile to use latest Rails edge version
>
> $ mate Gemfile
> # Bundle edge Rails instead:
>
> gem ''rails'', :git =>
''git://github.com/rails/rails.git''
>
> $ bundle install
> Using rails (3.0.0.beta3) from git://github.com/rails/rails.git (at
> master)
>
> $ rails s
>
> $ rails s
> /Users/kristianconsult/.rvm/gems/ruby-1.9.2-preview1/bundler/gems/
> rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/activesupport/
> lib/active_support/core_ext/object/try.rb:29: [BUG] rb_add_method:
> unsupported method type (8)
>
> ruby 1.9.2dev (2009-07-18 trunk 24186) [i386-darwin10.2.0]
>
> -- control frame ----------
> c:0050 p:---- s:0136 b:0136 l:000135 d:000135 CFUNC :alias_method
> ...
>
> Any ideas?
>
> # Gemfile
> source ''http://rubygems.org''
>
> # gem ''rails'', ''3.0.0.beta3''
>
> # Bundle edge Rails instead:
> gem ''rails'', :git =>
''git://github.com/rails/rails.git''
>
> gem ''sqlite3-ruby'', :require =>
''sqlite3''
>
> --
>
> Maybe I should manually update to a specific version of
> active_support?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> To unsubscribe from this group, send email to
>
rubyonrails-core+unsubscribe@googlegroups.com<rubyonrails-core%2Bunsubscribe@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-core?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-core+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.