<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
IIRC it's "nitro create todolist" now, without the dashes.<br>
<br>
(ab)<br>
<br>
Matthew B Gardner schreef:
<blockquote cite="mid:200712090050.31019.weather@speakeasy.net"
 type="cite">
  <pre wrap="">nitro --create todolist isn't working after the darcs install either.

-Matt

On Saturday 08 December 2007 03:36, Matthew B Gardner wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Requiring 'view/nform' didn't work, but I think Raw::FormHelper did. I had
already tried this and it booted, but I thought it didn't actually work...I
guess it did...here's the problem:

DEBUG: Compiling 'RootController#index' super-method
DEBUG: SELECT * FROM `ogtodoitem`
DEBUG: Compiling 'index' view sub-method [format: html]

When I go to the index page, it's showing me the generic "You have
successfully installed Nitro!" index. Hopefully the above provides enough
information, please let me know if it doesn't. This problem wasn't
happening prior to the darcs install.

Thanks again for any help,
Matt

On Saturday 08 December 2007 03:17, Arne Brasseur wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Matthew B Gardner schreef:
      </pre>
      <blockquote type="cite">
        <pre wrap="">I required rubygems (sorry, I thought I had tried that before, but
maybe only with nitro_and_og), but I still have the FormHelper name
error.

./app/controller/root.rb:2: uninitialized constant
RootController::FormHelper (NameError)
        from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from app.rb:7

Looks like I did all this for nothing :). Do I just need to require a
file to get around this problem?
        </pre>
      </blockquote>
      <pre wrap="">module FormHelper is defined in view/nform, so

  require "view/nform"

might do the trick. If you still get the same problem try fully
qualifying it:

  include Raw::FormHelper

Thanks for trying the tutorial and reporting this.

(ab)

      </pre>
      <blockquote type="cite">
        <pre wrap="">Thanks again again,
Matt

On Saturday 08 December 2007 01:30, Arne Brasseur wrote:
        </pre>
        <blockquote type="cite">
          <pre wrap="">Matthew B Gardner schreef:
          </pre>
          <blockquote type="cite">
            <pre wrap="">I actually tried that too...sorry, I should have included that info.

app.rb:3:in `require': no such file to load -- nitro (LoadError)
        from app.rb:3

I didn't have this problem before I switched to the darcs approach (I
switched b/c of the FormHelper name error).
            </pre>
          </blockquote>
          <pre wrap="">So are you installing the gems or running the repo the directly? In
the first case add require "rubygems" or use the RUBYOPT=-rubygems
trick.
          </pre>
        </blockquote>
        <pre wrap="">_______________________________________________
Nitro-general mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nitro-general@rubyforge.org">Nitro-general@rubyforge.org</a>
<a class="moz-txt-link-freetext" href="http://rubyforge.org/mailman/listinfo/nitro-general">http://rubyforge.org/mailman/listinfo/nitro-general</a>
        </pre>
      </blockquote>
    </blockquote>
    <pre wrap="">_______________________________________________
Nitro-general mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nitro-general@rubyforge.org">Nitro-general@rubyforge.org</a>
<a class="moz-txt-link-freetext" href="http://rubyforge.org/mailman/listinfo/nitro-general">http://rubyforge.org/mailman/listinfo/nitro-general</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->_______________________________________________
Nitro-general mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nitro-general@rubyforge.org">Nitro-general@rubyforge.org</a>
<a class="moz-txt-link-freetext" href="http://rubyforge.org/mailman/listinfo/nitro-general">http://rubyforge.org/mailman/listinfo/nitro-general</a>

  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Ein Fuchs mu&szlig; tun, was ein Fuchs tun mu&szlig;
<a class="moz-txt-link-abbreviated" href="mailto:arne@arnebrasseur.net">arne@arnebrasseur.net</a>
</pre>
</body>
</html>