开发者

Trying to set up Radiant CMS: RedCloth is not a class

开发者 https://www.devze.com 2023-01-24 19:15 出处:网络
I\'m trying to install Radiant CMS but whenever I run: rake db:bootstrap Inside the project directory I get:

I'm trying to install Radiant CMS but whenever I run:

rake db:bootstrap

Inside the project directory I get:

rake aborted!
RedCloth is not a class

Here is the full trace:

(in /Users/richardjburton/testradiant)
** Invoke db:bootstrap (first_time)
** Invoke db:remigrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
RedCloth is not a class
/Users/richardjburton/testradiant/vendor/radiant/vendor/redcloth/lib/redcloth.rb:167
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/richardjburton/testradiant/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/richardjburton/testradiant/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/richardjburton/testradiant/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/richardjburton/testradiant/vendor/radiant/lib/radiant/initializer.rb:98:in `library_directories'
/Users/richardjburton/testradiant/vendor/radiant/lib/radiant/initializer.rb:134:in `default_load_paths'
/Users/richardjburton/testradiant/vendor/radiant/vendor/rails/railties/lib/initializer.rb:839:in `initialize'
/Users/richardjburton/testradiant/vendor/radiant/lib/radiant/initializer.rb:21:in `initialize'
/Users/richardjburton/testradiant/vendor/radiant/lib/radiant/initializer.rb:155:in `new'
/Users/richardjburton/testradiant/vendor/radiant/lib/radiant/initializer.rb:155:in `run'
/Users/richardjburton/testradiant/config/environment.rb:12
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/richardjburton/testradiant/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/richardjburton/testradiant/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/richardjburton/testradiant/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/richardjburton/testradiant/vendor/radiant/vendor/rails/railties/lib/tasks/misc.rake:4
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rak开发者_运维问答e-0.8.7/lib/rake.rb:2023:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19


I'm guessing you don't have redcloth installed on that machine.

sudo if you normally do

gem install redcloth 


I believe that should be:

gem install RedCloth


I didn't have XCode installed on my mac. Whoops!


You need Recloth gem, so that Radiant is able to use Textile markup

0

精彩评论

暂无评论...
验证码 换一张
取 消