Sha256: 46242b702b14db7e51ab4e62e73128dd0ea2b2d6e5b73f868d657d7d1ea044a1

Contents?: true

Size: 1.71 KB

Versions: 5

Compression:

Stored size: 1.71 KB

Contents

= Instalation with RubyGems

1. Download and install RubyGems: 

	http://rubygems.rubyforge.org

2. Install the distribution:

	gem install og

	(make sure you have the latest stable versions of Ruby and RubyGems
	installed)

	When asked about the dependencies to include, only accept
	the dependencies for the RDBMS backends you are planning
	to use.

3. Set environment variable (required to load RubyGems):

	export RUBYOPT=-rubygems

	You can add this in you .bashrc in Unix.

	Alternatively you can run your applications with the -rubygem 
	option:

  ruby -rubygem xxx.rb

= Installation without RubyGems using script.

Installation without RubyGems is *strongly* discouraged.
However, as Og is all about freedom and possibilities,
a standard installation script is provided.

1. Switch to an administrator account 

	For example in Unix:

	$ su -

2. Run the installation script.

	$ ruby install.rb

This installation script also installs some vendor libraries
that you possibly have allready installed. Use with caution.


= Manual installation.

Uncompress your distribution (Unix example):

$ cd my_dir
$ tar xvfz og-x.x.x.tar.gz

Put the libray dir in the Ruby path (Unix example):

$ export RUBYOPT='-I path/to/og/lib'


= Additional libraries

Og uses a number of additional libraries. RubyGems
installs most of them, but here is the complete
list for your reference:

* Ruby-psql 
	http://www.postgresql.jp/interfaces/ruby/archive/ruby-postgres-0.7.1.tar.gz
	Ruby interface to the PostgreSQL RDBMS.

* Ruby-mysql 
	http://tmtm.org/ja/ruby/mysql/README_en.html
	Ruby interface to the MySQL RDBMS.
	
* PostgreSQL 
	http://www.postgres.org
	Used for the Database Backend.
	
* MySQL 
	http://www.mysql.org
	Used for the Database Backend.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
og-0.16.0 INSTALL
og-0.17.0 INSTALL
og-0.18.0 INSTALL
og-0.18.1 INSTALL
og-0.19.0 INSTALL