Let me preface this request that I am not a Ruby programmer, I am a
Web Administrator who manages architecture of servers and installs of
server web software, not their configurations. My expertise in
programming in the past lies with ColdFusion, Perl, and PHP, so,
avoidance of RTFM would be greatly appreciated. Hee hee! I have spent
several days experimenting with different things and reading
tutorials, manuals, and discussion threads to no avail.
We have a Ruby on Rails application that is not loading CSS and JS
files that was working fine with older version of Ruby and Gems and
also older version of Apache, same server operating system…Suse
Here are our system configurations with regards to Ruby…
ruby 1.8.7 (2008-08-11 patchlevel 72) [i586-linux]
Service layer for easy email delivery and testing.
actionpack (2.0.2, 1.13.6, 1.13.3)
Web-flow and rendering framework putting the VC in MVC.
actionwebservice (1.2.6, 1.2.3)
Web service support for Action Pack.
activerecord (2.0.2, 1.15.6, 1.15.3)
Implements the ActiveRecord pattern for ORM.
Think Active Record for web resources.
activesupport (2.0.2, 1.4.4, 1.4.2)
Support and utility classes used by the Rails framework.
Provides POSIX tarchive management from Ruby programs.
Fix an exploitable bug in CGI multipart parsing.
A toolkit to create and control daemons in different ways
An easy way to handle deprecating and conditionally running
Optimized replacement for thread.rb primitives
A plugin system based on rubygems that uses dependencies only
Hoe is a rake/rubygems helper for project Rakefiles
Manages a MIME Content-Type database that will return the
Content-Type for a given filename.
Generate Rakefiles to Build C Extensions to Ruby
A small fast HTTP library and server that runs Rails, Camping,
and Iowa apps.
MySQL/Ruby provides the same functions for Ruby programs that the
MySQL C API provides for C programs.
Nokogiri (é‹¸) is an HTML, XML, SAX, and Reader parser
Racc is a LALR(1) parser generator.
Web-application framework with template engine, control-flow
rake (0.8.7, 0.8.1)
Ruby based make-like utility.
Rake-based Ruby C Extension task generator.
Code coverage analysis tool for Ruby
Rexical is a lexical scanner generator
A script which automates a limited set of rubyforge operations
RubyGems Update GEM
This package provides download sources for remote gem installation
<Directory /XXX/YYYYY/> Options Indexes FollowSymLinks IncludesNOEXEC AddOutputFilter INCLUDES .rhtml .html .pl .ssi </Directory> <Proxy *> SetOutputFilter INCLUDES </Proxy> ProxyPass /elokar http://localhost:9004 ProxyPassReverse /eloka http://localhost:9004
RUBY ON RAILS APP
I have tried putting the following line of codes
Mime::Type.register “text/css”, :css
in both of the following files (separately):
I have restarted mongrel a number of times to no avail.
You can view the public version of the page in question at:
[See that the CSS is not loading properly, but is accessible.]
Thanks in advance for any suggestions.