aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby
Commit message (Collapse)AuthorAge
...
* ruby: remove minitest deps on gemsLuiz Angelo Daros de Luca2014-10-07
| | | | | | | minitest can live without gems. Just a minor fix to solve a require that fails when gem is missing Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* ruby: rdoc can run without gems (with patch)Luiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | rdoc seems to be written to run without gem. However, some internal code still does not check for gems presence. With a small patch, rdoc can run without gems. Ref: https://bugs.ruby-lang.org/issues/10196 Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* ruby: wrap script to disable gems if not installedLuiz Angelo Daros de Luca2014-10-07
| | | | | | | | | | | | | | ruby, by default, try to load gems on start. If not present, it fails. As gems brings many deps, this make ruby unsuitable for routers limited resources. ruby can avoid to load gems with the option "--disable-gems". So, a wrap script in the place of /usr/bin/ruby adds this option if gems are not found. Also add vendor/site directories Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* ruby: Disable doc generationLuiz Angelo Daros de Luca2014-10-07
| | | | | | | | | Docs are not currently packaged. So, there is no need to install them. Also, doxygen have some problem with the usaged of git in build_dir as it takes ages running git commands on every file. Disabling the docs reduces the compilation time. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* ruby: remove ruby-ncursesLuiz Angelo Daros de Luca2014-10-07
| | | | | | | | ruby-ncurses where removed from ruby upstream (ruby commit 9c5b2fd8aa0fd343ad094d47a638cfd3f6ae0a81) and become solely a gem now. OpenWRT subpackage removed. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* ruby: fix ruby/host buildNicolas Thill2014-08-20
| | | | | | | - build ruby/host extensions as static, - remove dependency on gmp/host Signed-off-by: Nicolas Thill <nico@openwrt.org>
* ruby: Fix build dependency of gmp/hostLuiz Angelo Daros de Luca2014-08-20
| | | | | | | | | | libgmp.so is needed for miniruby, that is compiled in host. Using PKG_BUILD_DEPENDS=gmp/host eventually compiled gmp/host before ruby/host. However, when this did not happened, build failed. Using HOST_BUILD_DEPENDS=gmp/host seems to be the correct way to require it. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* ruby: import from oldpackages and update to 2.1.2Luiz Angelo Daros de Luca2014-08-17
This commit imports the old Makefile from old openwrt feeds. Also, the package was updated to the latest version. The new version was tested in a VM with no aparent problem. No patches are needed. I added myself as maintainer. If possible, I would like to gain commit access. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>