A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/red-data-tools/GR.rb/wiki/I'm-new-to-Ruby below:

I'm new to Ruby · red-data-tools/GR.rb Wiki · GitHub

I'm new to Ruby. How do I develop it?

No problem. Now you are going to learn how to develop a ruby gem.

First, fork and clone the GR.rb repository.

git clone https://github.com/your_name/GR.rb
cd GR.rb

Then, install dependencies with bundler.

Let's write some codes.

You can check your changes in REPL by calling irb/pry with bundler. IRB is a ruby's standard REPL. pry is a more powerful one.

bundle exec irb -r gr/plot
# or bundle exec pry -r gr/plot

All right? Testing is easy.

Looks good? Please send us your pull requests!

git checkout -b kojix2-patch # s/kojix2/your_name/
git add .
git commit -m "Improve hotdog plot"
git push origin kojix2-patch # s/kojix2/your_name/

You can install from the source code if you would like to.

bundle exec rake install
# rake install

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4