Pārlūkot izejas kodu

Add section describing how to install Ruby and gems using a package manager

tags/0.4.1
Eric Bréchemier pirms 14 gadiem
vecāks
revīzija
96efb0a064
1 mainītis faili ar 12 papildinājumiem un 0 dzēšanām
  1. +12
    -0
      TESTING.md

+ 12
- 0
TESTING.md Parādīt failu

@@ -6,6 +6,18 @@ The mustache.js test suite uses the [RSpec](http://rspec.info/) testing
framework. In order to run the tests you'll need to install [Ruby](http://ruby-lang.org/)
as well as the `rake`, `rspec` (>=2), and `json` [RubyGems](http://rubygems.org/).

### How to install Ruby, Ruby gems and the required gems with a package manager

Tested on Ubuntu 10.10.

$ sudo apt-get install ruby1.8-dev
$ sudo apt-get install rubygems1.8
$ sudo gem install rake rspec

$ # needed to build native json extension for json gem
$ sudo apt-get install build-essential libreadline5-dev
$ sudo gem install json

### How to install Ruby and the required gems from source

Make sure you have the required tools to compile it:


Notiek ielāde…
Atcelt
Saglabāt