[Nitro] nitro from darcs and ruby gem

Alexander Lazic al-nitrogen at none.at
Wed Aug 30 17:38:57 EDT 2006


Hi,

today I got the current dev-code, thanks to Fabian for his help, now i
have try to run it but i have some errors :-(

What i have done:

(My ruby is in /home/al/progs/ruby installed)

1.) darcs get http://repo.nitroproject.org/ nitro_2006-08-30
2.) gem install mongrel --source=http://mongrel.rubyforge.org/releases/
3.) gem install nitro
4.) gem  update
---gem  update
Updating installed gems...
Attempting remote update of RedCloth
Successfully installed RedCloth-3.0.4
Attempting remote update of daemons
Successfully installed daemons-1.0.1
Installing ri documentation for daemons-1.0.1...
Installing RDoc documentation for daemons-1.0.1...
Attempting remote update of facets
Successfully installed facets-1.7.30
Installing ri documentation for facets-1.7.30...
While generating documentation for facets-1.7.30
... MESSAGE:   Unhandled special: Special: type=17, text="Append"
... RDOC args: --ri --op /home/al/progs/ruby/lib/ruby/gems/1.8/doc/facets-1.7.30/ri --quiet lib
(continuing with the rest of the installation)
Installing RDoc documentation for facets-1.7.30...
Gems: [RedCloth, daemons, facets] updated
---
4.) cd nitro_2006-08-30/

5.) mv ~/progs/ruby/lib/ruby/gems/1.8/gems/nitro-0.31.0 \
~/progs/ruby/lib/ruby/gems/1.8/gems/nitro-0.31.0_orig

6.) mv nitro ~/progs/ruby/lib/ruby/gems/1.8/gems/nitro-0.31.0
7.) cd examples/why_wiki/
8.) gem update --system
---
Updating RubyGems...
Attempting remote update of rubygems-update
Successfully installed rubygems-update-0.9.0
Updating version of RubyGems to 0.9.0
Installing RubyGems 0.9.0
.
.
As of RubyGems 0.8.0, library stubs are no longer needed.
Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
...done.
No library stubs found.

  Successfully built RubyGem
  Name: sources
  Version: 0.0.1
  File: sources-0.0.1.gem
RubyGems system software updated
---

9.) ruby -d -rubygems run.rb -m -d

---
Exception `LoadError' at
/home/al/progs/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27
- no such file to load -- redcloth

/home/al/progs/ruby/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/lib/redcloth.rb:630:
warning: ambiguous first argument; put parentheses or even spaces

/home/al/progs/ruby/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/lib/redcloth.rb:847:
warning: ambiguous first argument; put parentheses or even spaces

Exception `LoadError' at
/home/al/progs/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27
- no such file to load -- nitro

Exception `Gem::Exception' at
/home/al/progs/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:196 - can't
activate RedCloth (= 3.0.3), already activated RedCloth-3.0.4]

/home/al/progs/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:196:in
`activate': can't activate RedCloth (= 3.0.3), already activated
RedCloth-3.0.4] (Gem::Exception)

        from
	/home/al/progs/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:214:in
	`activate'

        from
	/home/al/progs/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:213:in
	`activate'

        from
	/home/al/progs/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'

        from run.rb:5
---

I think I haven't something make which is needed :-(

Please can anybody help, maybe offlist?

---
which ruby (self compiled)
/home/al/progs/ruby/bin/ruby

which gem
/home/al/progs/ruby/bin/gem

ruby -v
ruby 1.8.4 (2005-12-24) [i686-linux]

gem -v
0.9.0

uname -a
Linux home1 2.6.17-2-686 #1 SMP Fri Aug 11 20:25:51 UTC 2006 i686
GNU/Linux
---

Regards

Alex


More information about the Nitro-general mailing list