Redcloth gem

Forums > Book - Chapter 4 > Redcloth gem

Login to post a new topic

Author Message
rsik
Member since 01 Dec 23:30
0 posts

I am in chapter 4 page 86 – trying to get redcloth gem but unsuccessfull – library not found.
Anywhere. I tried the plugin called RedCloth Template within Aptana IDE and that did not work as well.
Unfortunately after the above two actions, I am unable to start WEBrick server again for Railscoders. eg.
=> Booting WEBrick…
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:376:in `new_constants_in’: You have a nil object when you didn’t expect it! (NoMethodError)
You might have expected an instance of Array.
The error occurred while evaluating nil.empty? from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:202:in `load_file’
from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:94:in `require_or_load’
from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:60:in `depend_on’
from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:442:in `require_dependency’
from C:/projects/railscoders/vendor/plugins/action_mailer_optional_tls/tags/rel-0.1.0/init.rb:4:in `load_plugin’
from C:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/initializer.rb:407:in `load_plugin’
from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings’
from C:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/initializer.rb:407:in `load_plugin’
... 20 levels…
from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’
from ./script/server:3
from -e:4:in `load’
from -e:4
Any idea how to fix this ? Thanks

joeypeaceout
Member since 10 Nov 23:26
0 posts

I had the same problem initially, but I realized the gem name is case sensitive. The book says to use “gem install redcloth,” but I needed to use “gem install RedCloth
I don’t have a way of knowing when you posted your question since this forum is screwed up, but hopefully this will help someone in the future.

pathfinder
Member since 29 Dec 18:23
0 posts

Just like Rmagick, thanks