m (add installation: general, openSUSE, ubuntu) |
Neverendingo (Talk | contribs) m (Text replace - "</code>" to "</syntaxhighlight>") |
||
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
Start a shell and try to get the version of your ruby installation. In the case of a working ruby installation you get something like this. | Start a shell and try to get the version of your ruby installation. In the case of a working ruby installation you get something like this. | ||
− | < | + | <syntaxhighlight lang="bash"> |
> ruby -v | > ruby -v | ||
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] | ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] | ||
− | </ | + | </syntaxhighlight> |
In any other case you can proceed to install ruby and check afterwards the installation again. | In any other case you can proceed to install ruby and check afterwards the installation again. |
Tutorial Series | Ruby |
Previous | None |
What's Next | Installation on Linux, Installation on Mac OS or Installation on Windows |
Further Reading | n/a |
Before you can use the Qt/KDE bindings with Ruby, you have to install Ruby itself.
On the most linux-based systems, ruby should be installed already. So just check before installing it, if it is installed already. On Windows and Mac OS it isn't most likely preinstalled.
Start a shell and try to get the version of your ruby installation. In the case of a working ruby installation you get something like this.
> ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
In any other case you can proceed to install ruby and check afterwards the installation again.
General information are also provided by the official ruby site on their download page.
The most linux packages delivers already configured binary packages of ruby that can be installed by the package manager of your distribution. This way is recommended. The installation from source code is possible, but not preferred, because the automatic installation of the bindings requires the binary package of ruby. The installation of ruby by source code should be not complicated, but installing the bindings manually requires advanced knowledge in different development tools.
TODO
TODO