zc.buildout recipe for installing ruby gems.
Project description
*******************************
Recipe for installing ruby gems
*******************************
Using this recipe you can easily install ruby gems packages into buildout
environment.
All executable files from gem packages are available in ``bin-directory``.
Usage
=====
::
[buildout]
parts =
rubygems
[rubygems]
recipe = rubygemsrecipe
gems =
sass
compass==0.10
After running buildout you can use SASS from buildout environment::
./bin/sass --version
Options
=======
gems
list of gem package names, also you can specify gem version, example:
``sass==3.1.1``.
url
rubygems zip download url, if not specified, recipe will try to find most
recent version.
version
rubygems version, if not specified, recipe will try to find most recent
version.
ruby-executable
A path to a Ruby executable. Gems will be installed using this executable.
gem-options
Extra options, that will be passed to gem executable. Example::
gem-options =
--with-icu-lib=${icu:location}/lib/
--with-icu-dir=${icu:location}/
environment
Possibility to add or override environment variables. Example::
environment =
LDFLAGS = -L${icu:location}/lib -Wl,-rpath=${icu:location}/lib
CFLAGS = -I${icu:location}/include
Change History
**************
0.2.0 (2014-11-20)
==================
- Native Python 2 and Python 3 support using ``six``, without ``use_2to3``.
- Tests for Python 2 and Python 3 using ``tox`` with 100% test coverage.
- All ``subprocess`` commands are rewritten to run without ``shell=True``.
0.1.8 (2014-01-26)
==================
- Feature: Python 3 support.
- Feature: added 'url', 'gem-options' and 'environment' options.
- Fix: add quotes to values of environment variables.
0.1.7 (2012-05-24)
==================
- Feature: added 'ruby-executable' option, thanks to desaintmartin.
0.1.6 (2012-04-26)
==================
- Fix: pass all arguments as separate arguments instead of a single string.
0.1.5 (2012-01-06)
==================
- Fix: use each version only for the line it's specified in.
0.1.4 (2012-01-03)
==================
- You can specify a version for each gem with a syntax similar to python eggs.
0.1.3 (2011-12-28)
==================
- Added 'version' option to specify explicit rubygems version.
0.1.2 (2011-11-09)
==================
- New version of rubygems includes symlinks in .tgz archyve and extracted by
setuptools.archive_util extractor ignores all symlinks. This causes missing
files in extracted folder. Now rubygemsrecipe downloads .zip archyve instead
of .tgz.
0.1.1 (2011-10-04)
==================
- Fixed issue with name of gem executable, which can be different depending on
how ruby is istalled on host system.
- Install rubygems if gem executable is not found, not rubygems direcotry.
0.1 (2011-09-07)
================
- Initial public release.
Recipe for installing ruby gems
*******************************
Using this recipe you can easily install ruby gems packages into buildout
environment.
All executable files from gem packages are available in ``bin-directory``.
Usage
=====
::
[buildout]
parts =
rubygems
[rubygems]
recipe = rubygemsrecipe
gems =
sass
compass==0.10
After running buildout you can use SASS from buildout environment::
./bin/sass --version
Options
=======
gems
list of gem package names, also you can specify gem version, example:
``sass==3.1.1``.
url
rubygems zip download url, if not specified, recipe will try to find most
recent version.
version
rubygems version, if not specified, recipe will try to find most recent
version.
ruby-executable
A path to a Ruby executable. Gems will be installed using this executable.
gem-options
Extra options, that will be passed to gem executable. Example::
gem-options =
--with-icu-lib=${icu:location}/lib/
--with-icu-dir=${icu:location}/
environment
Possibility to add or override environment variables. Example::
environment =
LDFLAGS = -L${icu:location}/lib -Wl,-rpath=${icu:location}/lib
CFLAGS = -I${icu:location}/include
Change History
**************
0.2.0 (2014-11-20)
==================
- Native Python 2 and Python 3 support using ``six``, without ``use_2to3``.
- Tests for Python 2 and Python 3 using ``tox`` with 100% test coverage.
- All ``subprocess`` commands are rewritten to run without ``shell=True``.
0.1.8 (2014-01-26)
==================
- Feature: Python 3 support.
- Feature: added 'url', 'gem-options' and 'environment' options.
- Fix: add quotes to values of environment variables.
0.1.7 (2012-05-24)
==================
- Feature: added 'ruby-executable' option, thanks to desaintmartin.
0.1.6 (2012-04-26)
==================
- Fix: pass all arguments as separate arguments instead of a single string.
0.1.5 (2012-01-06)
==================
- Fix: use each version only for the line it's specified in.
0.1.4 (2012-01-03)
==================
- You can specify a version for each gem with a syntax similar to python eggs.
0.1.3 (2011-12-28)
==================
- Added 'version' option to specify explicit rubygems version.
0.1.2 (2011-11-09)
==================
- New version of rubygems includes symlinks in .tgz archyve and extracted by
setuptools.archive_util extractor ignores all symlinks. This causes missing
files in extracted folder. Now rubygemsrecipe downloads .zip archyve instead
of .tgz.
0.1.1 (2011-10-04)
==================
- Fixed issue with name of gem executable, which can be different depending on
how ruby is istalled on host system.
- Install rubygems if gem executable is not found, not rubygems direcotry.
0.1 (2011-09-07)
================
- Initial public release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rubygemsrecipe-0.2.0.tar.gz
(5.2 kB
view hashes)
Built Distributions
Close
Hashes for rubygemsrecipe-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d3ec4436f16e9c4a775b02f0d4a638cc9e6825ce7dc0cbb920369d033c0f74e |
|
MD5 | 63d1734a09705c2c10bfe08f2a305d2c |
|
BLAKE2b-256 | c7adb645f587507bfcc67cf45b7be2347e366ea2737d403a06be0bbcb17907bf |
Close
Hashes for rubygemsrecipe-0.2.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73a72f8674b33b2eb3dd8a4d5e23b5bb2757540d1952846da8c5d1e9c5cd4044 |
|
MD5 | 291597495b648e8e923fbd2a780d8d52 |
|
BLAKE2b-256 | e0c51756a91d6137dbdd659ec851e048aeb15a14d5465c860694c79f5c68507c |