The latest acts_as_textiled works fine on my local Locomotive installation. But after deploying on shared hosting, there seems to be a problem with redcloth. RedCloth is installed on the shared hosting server, too, but the application refuses to start. This is the corresponding error in mongrel.log:
** Starting Rails with production environment...
[ruby_path]/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- RedCloth (MissingSourceFile)
from [ruby_path]/rubygems/custom_require.rb:27:in `require'
from /home/user/applications/appname/releases/20070613092355/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:in `require'
from /home/user/applications/appname/releases/20070613092355/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in
[...]
The problem does not occur after commenting out "require 'RedCloth'" in the init.rb file of the plugin. acts_as_textiled does work fine even though this line has been commented out.
The problem does also disappear if you replace the original require by:
require_library_or_gem "redcloth" unless Object.const_defined?(:RedCloth)
EDIT: versions:
Rails: 1.2.3 on both systems
Ruby: 1.8.6 on local Locomotive, 1.8.5 on shared hosting