Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,27 @@ Before installing Ruby/SDL2, you need to install:

After installing these libraries, you can install Ruby/SDL2 by gem command as follows:

gem install ruby-sdl2
gem install sdl2-win93

If you already use ohai/ruby-sdl2 uninstall it with:

gem uninstall ruby-sdl2

Alternatively You can also install the master version of Ruby/SDL2 from github:

git clone https://github.com/ohai/ruby-sdl2.git
git clone https://github.com/win93/ruby-sdl2.git
cd ruby-sdl2
rake gem
gem install pkg/ruby-sdl2-x.y.z.gem

In code use as:

require "sdl2"

## Documentation

* [English Reference manual](http://win93.github.io/ruby-sdl2/doc-en/)
* You can also check samples of code in "sample" folder.

## License

Expand Down