SIOC/SiocExplorer/Uldis

From W3C Wiki

Windows XP

http://wiki.activerdf.org/GettingStartedGuide

1. Installing Ruby

* don't use CygWin - install Ruby binaries instead
* link to Ruby downloads is broken (from the getting started guide)

2. Installing RubyGems

* download rubygems
* open the archive (can use gunzip + tar from http://unxutils.sourceforge.net/)
* execute “ruby setup.rb”

3. Install SQLite (if not installed)

* http://www.sqlite.org/download.html

4. Install ActiveRDF gems

4.1. gem install sqlite3-ruby

* I got stuck unable to test if SQLite for Ruby is working. The problem was to try the test in the directory where SQLite's DLL module was (it should be accessible in the PATH instead). Changing to another directory and trying the test again helped.

4.2. gem install rails --include-dependencies -y

4.3. gem install activerdf --include-dependencies

4.4. gem install activerdf_rdflite --include-dependencies -y 5. Testing

5. Test the install

5.1. Testing activerdf_rdflite

C:\Documents and Settings\Administrator>ruby activerdf_example_rdflite.rb | less c:/ruby/lib/ruby/1.8/date/format.rb:1054: superclass mismatch for class DateTime (TypeError)

       from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
       from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
       from c:/ruby/lib/ruby/1.8/parsedate.rb:22
       from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
       from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
       from c:/ruby/lib/ruby/1.8/time.rb:43
       from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
       from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        ... 19 levels...
       from c:/ruby/lib/ruby/gems/1.8/gems/activerdf-1.6.9/lib/active_rdf.rb:68
       from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require'
       from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'
       from activerdf_example_rdflite.rb:2