C Extensions to GR Framework
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
ext/grruby
lib
spec
.autotest
.gitignore
.rspec
.travis.yml
CHANGELOG.rdoc
Manifest.txt
README.md
Rakefile
create_reference_images.rb
required _gems.txt
setup.sh

README.md

GRruby-extension

An extension for the GR library using the same interface as Rubyplot.

Installation

Firstly, make sure that you have ruby-dev

sudo apt install ruby-dev

Now, we need to install the backend (GR Framework) the easiest way to install GR framework is to simply select your system configuration here and following the process mentioned. But instead of installing python-gr replace it with just gr. [for example: sudo apt-get install gr (in case of Ubuntu) ] (unless you also want GR Framework for Python)

This will install GR Framework in /usr . So we will create a symbolic link for the same by:

sudo ln -s /usr/gr /usr/local/gr

Now we install my version of Rubyplot by:

git clone https://github.com/pgtgrly/GRruby-extension
cd GRruby-extension
sudo gem install rspec ZenTest rspec-autotest hoe rmagick rake-compiler
rake compile

You can generate documents using

yard doc

and view them (on web browser) using:

yard server