On Thu, Jul 22, 2010 at 09:07:23PM +0200, Marnen Laibow-Koser wrote:
> gem uninstall or gem cleanup.

Great, thanks, after gem cleanup I see:

[r...@cholla rails]# gem list --local

*** LOCAL GEMS ***

actionmailer (2.3.5)
actionpack (2.3.5)
actionwebservice (1.2.3)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
fastercsv (1.2.1)
fastthread (1.0.7)
gem_plugin (0.2.3)
gettext (2.1.0)
hpricot (0.8.2)
locale (2.0.5)
mislav-will_paginate (2.3.2)
mongrel (1.1.5)
mongrel_cluster (1.0.5)
rack (1.1.0)
rails (2.3.5)
rake (0.8.7)
ruby-opengl (0.60.1)
sqlite3-ruby (1.2.4)
zoom (0.4.1)

> >> Go to the root directory of your app and run script/about.
> >> What does it say?
> > 
> > (/u1/rails/micros) cholla $ script/about
> > About your application's environment
> > Ruby version              1.8.6 (x86_64-linux)
> > RubyGems version          1.3.7
> > Rack version              1.1
> > Rails version             2.3.5
> > Active Record version     2.3.5
> > Active Resource version   2.3.5
> > Action Mailer version     2.3.5
> > Active Support version    2.3.5
> > Application root          /u1/rails/micros
> > Environment               development
> > Database adapter          mysql
> > Database schema version   0
> 
> OK, then that looks good to me.  Is all that what you expected to see?

It looks swell to me, but I sure wish my application would run.  :->

I'm gonna go play with firebug and verify this business of rails
not setting the Content-Type header.  Then I am going to look into
why adding this bit of code to app/controllers/application_controller.rb
does not force rails to emit a Content-Type header:

class ApplicationController < ActionController::Base
    before_filter :set_content_type
    def set_content_type
      headers["Content-Type"] = "text/html; charset=utf-8"
    end
end

Once I get fed up with all that, I am probably going to throw in the towel
and act as though I am starting from scratch building my application under
2.3.5, via:

cd /u1/rails
mv micros micros_BAD
rails micros

And then move files one by one from micros_BAD to micros -- all this presuming
that I am inheriting something nasty in the scaffolding left over from
rails 1.2.3.


-- 

Tom Trebisky
MMT Observatory
University of Arizona -- Tucson
[email protected]

-- 
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