[Nitro] nitro build fails on OSX and Ubuntu with gem errors

Dan North dan at tastapod.com
Tue Sep 18 11:09:51 EDT 2007


All I did was:

    $ tar xzf examples-0.50.0.tgz
    $ cd examples/blog
    $ ruby app.rb

It looks like it created conf/debug.rb and conf/live.rb itself during 
the first run.


George Moschovitis wrote:
> What is this?
>
> Cannot find configuration file 'conf/debug'
>
> is this file missing? have you customized it?
>
> -g.
>
>
>
>
>
> On 9/18/07, Dan North <dan at tastapod.com> wrote:
>   
>>  Hi George. Thanks for the quick turnaround.
>>
>>  Results so far:
>>
>>
>> Successfully installed glue, version 0.50.0
>>  Installing ri documentation for glue-0.50.0...
>>  Installing RDoc documentation for glue-0.50.0...
>>  Successfully installed og, version 0.50.0
>>  Installing ri documentation for og-0.50.0...
>>  While generating documentation for og-0.50.0
>>  ... MESSAGE:   Unhandled special: Special: type=33, text="The"
>>  ... RDOC args: --ri --op /home/dan/misc/gems/1.8/doc/og-0.50.0/ri --quiet
>> lib
>>  (continuing with the rest of the installation)
>>  Installing RDoc documentation for og-0.50.0...
>>  Successfully installed raw, version 0.50.0
>>  Installing ri documentation for raw-0.50.0...
>>  While generating documentation for raw-0.50.0
>>  ... MESSAGE:   Unhandled special: Special: type=33, text="Encapsulates"
>>  ... RDOC args: --ri --op
>> /home/dan/misc/gems/1.8/doc/raw-0.50.0/ri --quiet lib
>>  (continuing with the rest of the installation)
>>  Installing RDoc documentation for raw-0.50.0...
>>  Successfully installed nitro, version 0.50.0
>>  Installing ri documentation for nitro-0.50.0...
>>  File not found: vendor
>>
>>  So I don't have ri or rdoc for raw, nitro or og.
>>
>>  I ran the blog app and got the following error (error html page attached) :
>>
>>
>> Install XMLSimple for XML input.
>>  ERROR: Cannot find configuration file 'conf/debug'
>>   INFO: Starting Webrick server in debug mode, listening at 0.0.0.0:9000
>>   INFO: Press Ctrl-C to shutdown; Run with --help for options.
>>  DEBUG: Compiling 'Post::Controller#index' super-method
>>  DEBUG: Rendering '/status_500'
>>  DEBUG: Compiling 'Post::Controller#status_500' super-method
>>  DEBUG: Compiling 'status_500' view sub-method [format: html]
>>  ERROR: Error while handling Post::Controller#index()
>>  ERROR: undefined local variable or method `ogmanager' for Post:Class
>>
>> /home/dan/misc/gems/1.8/gems/og-0.50.0/lib/og/model.rb:693:in
>> `method_missing'
>>
>> /home/dan/misc/gems/1.8/gems/og-0.50.0/lib/og/model.rb:334:in
>> `all'
>>    ./app/controller/post.rb:7:in `index'
>>
>> /home/dan/misc/gems/1.8/gems/raw-0.50.0/lib/raw/compiler.rb:65:in
>> `send'
>>
>> /home/dan/misc/gems/1.8/gems/raw-0.50.0/lib/raw/compiler.rb:65:in
>> `index___super'
>>
>> /home/dan/misc/gems/1.8/gems/raw-0.50.0/lib/raw/controller/publishable.rb:36:in
>> `send'
>>
>> /home/dan/misc/gems/1.8/gems/raw-0.50.0/lib/raw/controller/publishable.rb:36:in
>> `method_missing'
>>
>> /home/dan/misc/gems/1.8/gems/raw-0.50.0/lib/raw/controller/render.rb:92:in
>> `send'
>>
>> /home/dan/misc/gems/1.8/gems/raw-0.50.0/lib/raw/controller/render.rb:92:in
>> `render_action'
>>
>> /home/dan/misc/gems/1.8/gems/raw-0.50.0/lib/raw/adapter.rb:68:in
>> `send'
>>
>> /home/dan/misc/gems/1.8/gems/raw-0.50.0/lib/raw/adapter.rb:68:in
>> `handle_context'
>>
>> /home/dan/misc/gems/1.8/gems/raw-0.50.0/lib/raw/adapter/webrick.rb:134:in
>> `do_GET'
>>    /usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in
>> `__send__'
>>    /usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in
>> `service'
>>    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
>>    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
>>    /usr/lib/ruby/1.8/webrick/server.rb:173:in
>> `start_thread'
>>    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
>>    /usr/lib/ruby/1.8/webrick/server.rb:162:in
>> `start_thread'
>>    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
>>    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
>>    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
>>    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
>>    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
>>
>> /home/dan/misc/gems/1.8/gems/raw-0.50.0/lib/raw/adapter/webrick.rb:57:in
>> `start'
>>
>> /home/dan/misc/gems/1.8/gems/nitro-0.50.0/lib/nitro/application.rb:135:in
>> `start'
>>    app.rb:22
>>    LOGGED FROM:
>> /home/dan/misc/gems/1.8/gems/raw-0.50.0/lib/raw/controller/render.rb:108:in
>> `render_action'
>>  Thanks,
>>  Dan
>>
>>
>>  George Moschovitis wrote:
>>  two more gems...
>>
>> -g.
>>
>>
>>  ________________________________
>>
>> _______________________________________________
>> Nitro-general mailing list
>> Nitro-general at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/nitro-general
>>
>>
>>
>>
>> Internal Server Error
>>  Path: /
>>  Reload this page. Go to the referer or the home page.
>> undefined local variable or method `ogmanager' for Post:Class
>>
>>
>>
>> Request
>>
>>
>> Parameters: {}
>>
>> Cookies: {}
>>
>> Headers:
>> SERVER_NAME => localhost
>> ACCEPT-CHARSET => ISO-8859-1,utf-8;q=0.7,*;q=0.7
>> ACCEPT-LANGUAGE => en-gb,en;q=0.5
>> PATH_INFO => /index.html
>> REMOTE_HOST => 127.0.0.1
>> HTTP_ACCEPT_ENCODING => gzip,deflate
>> HTTP_USER_AGENT => Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.6)
>> Gecko/20070827 Ubuntu/7.10 (gutsy) Firefox/2.0.0.6
>> ACCEPT =>
>> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
>> CONNECTION => keep-alive
>> SCRIPT_NAME =>
>> SERVER_PROTOCOL => HTTP/1.1
>> HTTP_ACCEPT_LANGUAGE => en-gb,en;q=0.5
>> HTTP_HOST => localhost:9000
>> ACCEPT-ENCODING => gzip,deflate
>> REMOTE_ADDR => 127.0.0.1
>> SERVER_SOFTWARE => WEBrick/1.3.1 (Ruby/1.8.6/2007-06-07)
>> HTTP_KEEP_ALIVE => 300
>> USER-AGENT => Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.6)
>> Gecko/20070827 Ubuntu/7.10 (gutsy) Firefox/2.0.0.6
>> HTTP_ACCEPT_CHARSET => ISO-8859-1,utf-8;q=0.7,*;q=0.7
>> REQUEST_URI => /
>> SERVER_PORT => 9000
>> GATEWAY_INTERFACE => CGI/1.1
>> QUERY_STRING =>
>> REMOTE_USER =>
>> HOST => localhost:9000
>> HTTP_ACCEPT =>
>> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
>> KEEP-ALIVE => 300
>> REQUEST_METHOD => GET
>> HTTP_CONNECTION => keep-alive
>> Response
>>
>>
>> Headers: {"Content-Type"=>"text/html"}
>>
>> Cookies: nil
>> Session
>>
>>
>> Values: {"RENDERING_ERROR"=>#, "FLASH"=>{}}
>>
>>  Powered by Nitro version 0.50.0
>> _______________________________________________
>> Nitro-general mailing list
>> Nitro-general at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/nitro-general
>>
>>     
>
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070918/9bfc42b4/attachment.html 


More information about the Nitro-general mailing list