Commit 9cab4afb authored by Silvio Tomatis's avatar Silvio Tomatis

Fix: use each version only for the line it's specified in, not the next ones too.

parent 4577999f
...@@ -162,15 +162,15 @@ class Recipe(object): ...@@ -162,15 +162,15 @@ class Recipe(object):
self._install_rubygems() self._install_rubygems()
gem_executable = self.get_gem_executable(bindir) gem_executable = self.get_gem_executable(bindir)
s = {
'GEM': gem_executable,
'OPTIONS': ' '.join([
'--no-rdoc',
'--no-ri',
'--bindir=%s' % bindir,
]),
}
for gemname in self.gems: for gemname in self.gems:
s = {
'GEM': gem_executable,
'OPTIONS': ' '.join([
'--no-rdoc',
'--no-ri',
'--bindir=%s' % bindir,
]),
}
if '==' in gemname: if '==' in gemname:
gemname, version = gemname.split('==', 1) gemname, version = gemname.split('==', 1)
s['GEMNAME'] = gemname.strip() s['GEMNAME'] = gemname.strip()
......
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