forked from JEG2/faster_csv
-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL
41 lines (26 loc) · 1.15 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
= Installing FasterCSV
RubyGems is the preferred easy install method for FasterCSV. However, you can
install FasterCSV manually as described below.
== Installing the Gem
FasterCSV is intended to be installed via the
RubyGems[http://rubyforge.org/projects/rubygems/] system. To get the latest
version, simply enter the following into your command prompt:
$ sudo gem install fastercsv
You must have RubyGems[http://rubyforge.org/projects/rubygems/] installed for
the above to work.
If you want to build the gem locally, make sure you have
Rake[http://rubyforge.org/projects/rake/] installed then run the following
command:
$ rake package
== Installing Manually
Download the latest version of FasterCSV from the
{RubyForge project page}[http://rubyforge.org/frs/?group_id=1102]. Navigate to
the root project directory and enter:
$ sudo ruby setup.rb
== Running the Tests
If you would like to run FasterCSV's test suite on your system before installing
and you have Rake installed, just issue the following command from the root of
the project directory:
$ rake
If you do not have rake, use the following command instead:
$ ruby -I lib:test test/ts_all.rb