List Info

Thread: Running examples from darcs repository




Running examples from darcs repository
country flaguser name
United States
2007-03-20 17:04:00
Are the core devs using repo.nitroproject.org for core
development?  
Theoretically then, shouldn't it be possible to run code
using the repo?

Once I reached step 5 below I figured it'd be more time
effective to ask 
for advice.   Given I've got only an hour or two a week to
play this 
could take weeks...


1) darcs get http://repo.nitroprojec
t.org/
2) cd repo.nitroproject.org
3) I'd tried with facets 1.8.51 - no go.  1.8.49 worked
Dependencies to 
the second digit of the second dot of the release is
probably a turn-off 
for most people.
4) cd examples/blog
ruby -r ../../script/glycerin.rb examples/blog/app.rb
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:21:in 
`require__': no such file to load -- raw (LoadError)
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:21:in `require'
        from 
/Users/robertmela/nitro/darcs/repo.nitroproject.org/script/.
./nitro/lib/nitro.rb:37
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:21:in 
`require__'
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:21:in `require'
        from 
/Users/robertmela/nitro/darcs/repo.nitroproject.org/script/.
./nitro/lib/nitro_and_og.rb:1
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:21:in 
`require__'
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:21:in `require'
        from app.rb:3


5) Added 'raw' in glycerin: "for project in %w{raw
nitro gen og glue}

Gets me here:

/nitro/darcs/repo.nitroproject.org/examples/blog robertmela$
ruby -r 
../../script/glycerin -rubygems app.rb
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:21:in 
`require__': no such file to load -- facets/more/inflect
(LoadError)
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:21:in `require'
        from 
/usr/local/lib/ruby/gems/1.8/gems/facets-1.8.49/lib/facets/m
ore/ormsupport.rb:27
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:27:in 
`require__'
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:27:in `require'
        from 
/Users/robertmela/nitro/darcs/repo.nitroproject.org/script/.
./og/lib/og/relation.rb:6
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:21:in 
`require__'
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:21:in `require'
        from 
/Users/robertmela/nitro/darcs/repo.nitroproject.org/script/.
./og/lib/og/relation/refers_to.rb:1
         ... 20 levels...
        from 
/Users/robertmela/nitro/darcs/repo.nitroproject.org/script/.
./nitro/lib/nitro_and_og.rb:1
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:21:in 
`require__'
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:21:in `require'
        from app.rb:3



_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )