Overview | Documentation | Community

Installation

Prerequisites

You must have Ruby and RubyGems installed first.

ActiveFedora has been tested successfully tested with Ruby 1.8.7 on Mac OS X and Linux.

Install Ruby & RubyGems (or make sure they're already installed)

We recommend searching for installation instructions specific to your operating system. Here are instructions to test if you already have them installed:

ruby -v
should return something like
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10]
Likewise, running the gem command should give you a help message.
gem

RubyGems is a sophisticated package manager for Ruby.  This is a
basic help message containing pointers to more information.

  Usage:
    gem -h/--help
    gem -v/--version
    gem command [arguments...] [options...]

  Examples:
    gem install rake
    gem list --local
    gem build package.gemspec
    gem help install

  Further help:
    gem help commands            list all 'gem' commands
    gem help examples            show some examples of usage
    gem help platforms           show information about platforms
    gem help <COMMAND>           show help on COMMAND
                                   (e.g. 'gem help install')
    gem server                   present a web page at
                                 http://localhost:8808/
                                 with info about installed gems
  Further information:
    http://rubygems.rubyforge.org
Likewise with rake.
rake --version
rake, version 0.8.7

If any of these fail, you must install the missing item. Seek installation instructions according to your operating system.

Install the Gems

gem install active-fedora

This will install active-fedora and ruby-fedora

Also available in: HTML TXT