title: config ckeditor - config/application.rb
body: <p>When I add the line</p>
  
  <pre><code>config.autoload_paths += %W(#{config.root}/app/models/ckeditor)
  </code></pre>
  
  <p>to <code>config/application.rb</code> (like in the description of <a href="http://rubydoc.info/gems/ckeditor/3.7.1/frames" rel="nofollow">cdkeditor gem rubydoc</a>), I get this error, when I try to start rails server:</p>
  
  <pre><code>&gt; $ rails s
  &gt; /home/bhamster/Arbeitsfläche/ruby/ContentManagement/ContentManagement/config/application.rb:5:in
  &gt;
  &gt; `&lt;top (required)&gt;': undefined local variable or method `config' for
  &gt; main:Object (NameError)   from
  &gt;
  &gt; /home/bhamster/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.6/lib/rails/commands.rb:53:in
  &gt; `require'   from
  &gt;
  &gt; /home/bhamster/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.6/lib/rails/commands.rb:53:in
  &gt; `block in &lt;top (required)&gt;'   from
  &gt;
  &gt; /home/bhamster/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.6/lib/rails/commands.rb:50:in
  &gt; `tap'   from
  &gt;
  &gt; /home/bhamster/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.6/lib/rails/commands.rb:50:in
  &gt; `&lt;top (required)&gt;'  from script/rails:6:in `require'  from
  &gt;
  &gt; script/rails:6:in `&lt;main&gt;'
  </code></pre>
  
  <p>In another project it worked fine! Can't find any difference.</p>