I Had a similar problem.
Make sure you have the latest ruby gems installed ( 1.3.1 )
gem update --system
Then do an update on RedCloth again
gem update RedCloth
( case sensitive - all lowercase redcloth does not work ! )
& see if that helps !
Dave


On Nov 17, 9:39 pm, kjetil <[EMAIL PROTECTED]> wrote:
> I'm trying to use textile in my model for the first time, but I'm not
> having any luck with it.
>
> In my model I have:
>
>   fields do
>     tittel :string
>     infotekst :textile
>   end
>
> ..but when I try to migrate I get:
>
> /Library/Ruby/Site/1.8/rubygems/custom_require.rb:32:in
> `gem_original_require': no such file to load -- redcloth
> (MissingSourceFile)
>
> I know redcloth is installed because:
> grn-1x-dhcp328:fagfilm kjetilge$ gem list --local Red
>
> *** LOCAL GEMS ***
>
> RedCloth (4.1.0, 4.0.4, 3.0.4)
>
> Can anyone tell me why this is happening ?
>
> Full trace on migration command:
>
> grn-1x-dhcp328:fagfilm kjetilge$ ./script/generate hobo_migration
> /Library/Ruby/Site/1.8/rubygems/custom_require.rb:32:in
> `gem_original_require': no such file to load -- redcloth
> (MissingSourceFile)
>         from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:32:in
> `require'
>         from /Users/kjetilge/Documents/hoboProjects/DEPLOY/fagfilm/vendor/
> rails/activerecord/lib/../../activesupport/lib/active_support/
> dependencies.rb:510:in `require'
>         from /Users/kjetilge/Documents/hoboProjects/DEPLOY/fagfilm/vendor/
> rails/activerecord/lib/../../activesupport/lib/active_support/
> dependencies.rb:355:in `new_constants_in'
>         from /Users/kjetilge/Documents/hoboProjects/DEPLOY/fagfilm/vendor/
> rails/activerecord/lib/../../activesupport/lib/active_support/
> dependencies.rb:510:in `require'
>         from /Users/kjetilge/Documents/hoboProjects/DEPLOY/fagfilm/vendor/
> plugins/hobofields/lib/hobo_fields/textile_string.rb:1
>         from /Users/kjetilge/Documents/hoboProjects/DEPLOY/fagfilm/vendor/
> rails/activerecord/lib/../../activesupport/lib/active_support/
> dependencies.rb:216:in `load_without_new_constant_marking'
>         from /Users/kjetilge/Documents/hoboProjects/DEPLOY/fagfilm/vendor/
> rails/activerecord/lib/../../activesupport/lib/active_support/
> dependencies.rb:216:in `load_file'
>         from /Users/kjetilge/Documents/hoboProjects/DEPLOY/fagfilm/vendor/
> rails/activerecord/lib/../../activesupport/lib/active_support/
> dependencies.rb:355:in `new_constants_in'
>          ... 42 levels...
>         from /Users/kjetilge/Documents/hoboProjects/DEPLOY/fagfilm/vendor/
> rails/railties/lib/commands/generate.rb:6
>         from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require'
>         from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
> `require'
>         from ./script/generate:3
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to