Commit cb8165cb authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

A part is for only 1 version of Ruby so no need for version-specific paths

No more hardcoded/meaningless/old version number in the path.
parent 905b5dc7
...@@ -154,12 +154,12 @@ class Recipe(object): ...@@ -154,12 +154,12 @@ class Recipe(object):
'RUBYLIB': os.environ.get('RUBYLIB', ''), 'RUBYLIB': os.environ.get('RUBYLIB', ''),
} }
env = { env = {
'GEM_HOME': '%(PREFIX)s/lib/ruby/gems/1.8' % s, 'GEM_HOME': '%(PREFIX)s/lib/ruby/gems' % s,
'RUBYLIB': self._join_paths( 'RUBYLIB': self._join_paths(
'%(RUBYLIB)s', '%(RUBYLIB)s',
'%(PREFIX)s/lib', '%(PREFIX)s/lib',
'%(PREFIX)s/lib/ruby', '%(PREFIX)s/lib/ruby',
'%(PREFIX)s/lib/site_ruby/1.8', '%(PREFIX)s/lib/site_ruby',
) % s, ) % s,
'PATH': self._join_paths( 'PATH': self._join_paths(
'%(PATH)s', '%(PATH)s',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment