Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rubygemsrecipe
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
rubygemsrecipe
Commits
9cab4afb
Commit
9cab4afb
authored
Jan 06, 2012
by
Silvio Tomatis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: use each version only for the line it's specified in, not the next ones too.
parent
4577999f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
rubygems.py
rubygems.py
+8
-8
No files found.
rubygems.py
View file @
9cab4afb
...
@@ -162,6 +162,7 @@ class Recipe(object):
...
@@ -162,6 +162,7 @@ class Recipe(object):
self
.
_install_rubygems
()
self
.
_install_rubygems
()
gem_executable
=
self
.
get_gem_executable
(
bindir
)
gem_executable
=
self
.
get_gem_executable
(
bindir
)
for
gemname
in
self
.
gems
:
s
=
{
s
=
{
'GEM'
:
gem_executable
,
'GEM'
:
gem_executable
,
'OPTIONS'
:
' '
.
join
([
'OPTIONS'
:
' '
.
join
([
...
@@ -170,7 +171,6 @@ class Recipe(object):
...
@@ -170,7 +171,6 @@ class Recipe(object):
'--bindir=%s'
%
bindir
,
'--bindir=%s'
%
bindir
,
]),
]),
}
}
for
gemname
in
self
.
gems
:
if
'=='
in
gemname
:
if
'=='
in
gemname
:
gemname
,
version
=
gemname
.
split
(
'=='
,
1
)
gemname
,
version
=
gemname
.
split
(
'=='
,
1
)
s
[
'GEMNAME'
]
=
gemname
.
strip
()
s
[
'GEMNAME'
]
=
gemname
.
strip
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment