Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix bug when gem is installed in global gemset

  • Loading branch information...
commit 49d8353ec0737b481ac7993803950a522792ecaf 1 parent 6cd36b1
@blt04 blt04 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/puppet/provider/rvm_gem/gem.rb
View
2  lib/puppet/provider/rvm_gem/gem.rb
@@ -53,7 +53,7 @@ def gemlist(hash)
def self.gemsplit(desc)
case desc
when /^\*\*\*/, /^\s*$/, /^\s+/; return nil
- when /^(\S+)\s+\((.+)\)/
+ when /^(\S+)\s+\(([^ ]+).*\)/
name = $1
version = $2.split(/,\s*/)[0]
return {
Please sign in to comment.
Something went wrong with that request. Please try again.