Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to install RedCloth on Windows?
    primarykey
    data
    text
    <p>When running <code>gem install RedCloth</code> (on Windows XP) I got:</p> <pre><code>Fetching: RedCloth-4.2.8.gem (100%) Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... Successfully installed RedCloth-4.2.8 1 gem installed Installing ri documentation for RedCloth-4.2.8... Installing RDoc documentation for RedCloth-4.2.8... ERROR: While generating documentation for RedCloth-4.2.8 ... MESSAGE: error generating index.html: Error while evaluating D:/Programs/R uby/lib/ruby/gems/1.9.1/gems/rdoc-3.9/lib/rdoc/generator/template/darkfish/index .rhtml: undefined method `[]' for nil:NilClass (RDoc::Error) ... RDOC args: --op D:/Programs/Ruby/lib/ruby/gems/1.9.1/doc/RedCloth-4.2.8/rdoc --charset=UTF-8 --line-numbers --title RedCloth --main README.rdoc lib lib/case _sensitive_require ext README.rdoc COPYING CHANGELOG --title RedCloth-4.2.8 Docu mentation --quiet </code></pre> <p>Why do I get this error ?</p> <p>Then I added <code>require 'RedCloth'</code> to <code>config/environment.rb</code>, and tried to run <code>rails s</code>, but unfortunately I got:</p> <pre><code>D:/Programs/Ruby/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.8/lib/redcloth.rb:12:in ` require': no such file to load -- 1.9/redcloth_scan (LoadError) Couldn't load 1.9/redcloth_scan The $LOAD_PATH was: ... </code></pre> <p>What am I doing wrong ?</p> <p>I use Rails 3.0.1, Ruby 1.9.2.</p> <pre><code>bundle show RedCloth =&gt; D:/Programs/Ruby/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.8 </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload