Andre Lewis wrote:
> 
> Most likely, you are outputting content stored in your DB as UTF-8 onto 
> a template that is ASCII. This fix works for me: 
> http://gist.github.com/273741 -- drop this into 
> config/initializers/ruby_191_hacks.rb. I posted more about upgrading to 
> 1.9.1 here: 
> http://earthcode.com/blog/2010/01/rails_on_ruby_191_in_productio.html

Unfortunately not working:
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
D:/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning:
 
Gem::Dependency#version_requirements is deprecated and will be removed 
on or after August 2010.  Use #requirement
D:/ruby19/lib/ruby/site_ruby/1.9.1/rubygems/version.rb:186:in `strip!': 
can't modify frozen string (RuntimeError)
        from 
D:/ruby19/lib/ruby/site_ruby/1.9.1/rubygems/version.rb:186:in 
`initialize'
        from 
F:/NetBeansProjects/myproject/config/initializers/ruby_191_hacks.rb:12:in 
`new'
        from 
F:/NetBeansProjects/myproject/config/initializers/ruby_191_hacks.rb:12:in 
`<top (required)>'
        from 
D:/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in
 
`load'
        from 
D:/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in
 
`block in load_with_new_constant_marking'
        from 
D:/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in
 
`new_constants_in'
        from 
D:/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in
 
`load_with_new_constant_marking'
        from 
D:/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/initializer.rb:622:in 
`block in load_application_initializers'
        from 
D:/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/initializer.rb:621:in 
`each'
        from 
D:/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/initializer.rb:621:in 
`load_application_initializers'
        from 
D:/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/initializer.rb:176:in 
`process'
        from 
D:/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/initializer.rb:113:in 
`run'
        from F:/NetBeansProjects/myproject/config/environment.rb:10:in 
`<top (required)>'
        from 
D:/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
 
`require'
        from 
D:/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
 
`block in require'
        from 
D:/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in
 
`new_constants_in'
        from 
D:/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
 
`require'
        from 
D:/ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/commands/server.rb:84:in 
`<top (required)>'
        from script/server:3:in `require'
        from script/server:3:in `<main>'
-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to