Hi everybody,
I'm new to radiant.

When I tried to access the radiant the web server (webrick, mongrel or thin)
always display this messages:

warning: already initialized constant IMAGE
warning: already initialized constant VIDEO
warning: already initialized constant AUDIO
warning: already initialized constant SWF
warning: already initialized constant PDF
warning: already initialized constant MOVIE

I have this extensions: archive, help, paperclipped, markdownfilter, ray,
rbac_base, rbac_assets, rbac_page_edit, rbac_settings, settings,
simple-password, textile-filter, tinymce-filter.

all of them installed by ray extension, unless, the extensions that already
came with radiant.

I also have this gems: cgi_multipart_eof_fix (2.5.0) columnize (0.3.1)
daemons (1.0.10) eventmachine (0.12.8) fastthread (1.0.7) gem_plugin (0.2.3)
linecache (0.43) markcatley-responds-to-parent (1.0.20090521) mongrel
(1.1.5) rack (1.0.0) rack-cache (0.5) radiant (0.8.0) rake (0.8.7) RedCloth
(4.2.2) ruby-debug (0.10.3) ruby-debug-base (0.10.3) sqlite3-ruby (1.2.4)
thin (1.2.2)

And I'm running the radiant in a Fedora 10 server.

Well, I know this mime_types are set up in paperclipped, more specifically
in vendor/extensions/paperclipped/app/models/asset.rb

"class Asset < ActiveRecord::Base
  Mime::Type.register 'image/png', :image, %w[image/png image/x-png
image/jpeg image/pjpeg image/jpg image/gif]
  Mime::Type.register 'video/mpeg', :video, %w[video/mpeg video/mp4
video/ogg video/quicktime video/x-ms-wmv video/x-flv]
  Mime::Type.register 'audio/mpeg', :audio, %w[audio/mpeg audio/ogg
application/ogg audio/x-ms-wma audio/vnd.rn-realaudio audio/x-wav]
  Mime::Type.register 'application/x-shockwave-flash', :swf
  Mime::Type.register 'application/pdf', :pdf
  Mime::Type.register Mime::SWF.to_s, :movie, Mime::VIDEO.all_types"

But if I comment this section, this message is showed
"load_missing_constant': uninitialized constant Mime::IMAGE"
if I uncomment, appears the opositive "already initialized constant ".

I also tried to change the version of paperclip, using a fork by Will
Spanner (http://github.com/spanner/paperclipped/tree/master), because He has
changed some files (including the asset.rb). You can see at commit "refactored
mime-type 
registration<http://github.com/spanner/paperclipped/commit/c4f2d35a741bc2a99770be502af1146d0a7687eb>
".

Someone can help me fix this messages? Anything is helpful xD

p.s. I'm a Brazilian Guy, so... sorry about my bad english ^^,
-- 
-----------------------------------------
Pablo Barboza Cardoso
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to