[Nitro] nitro.rb load mojo

TRANS transfire at gmail.com
Sun Sep 4 06:07:14 EDT 2005


Not sure what this is all about in nitro.rb:

  unless $NITRO_NO_ENVIRONMENT
    # Setup up the proposed environment. You are free
    # to skip this if you dont like it. Just set
    #
    # $NITRO_NO_ENVIRONMENT = true
    #
    # before requiring nitro.

    Dir.chdir(File.dirname($0))

    # Application code come here.
 
    $LOAD_PATH.unshift 'src'

    # Library code come here.

    $LOAD_PATH.unshift 'lib'
  end

But it kills nitrogen. At first I thought it was RubyGems and I
doltfully spouted on ruby-talk :O/  Oh well, I don't like RubyGems
anyway |-)

Thanks,
T.




More information about the Nitro-general mailing list