~ubuntu-branches/ubuntu/karmic/chef/karmic

« back to all changes in this revision

Viewing changes to chef/lib/chef/provider/package/rubygems.rb

  • Committer: Bazaar Package Importer
  • Author(s): Joshua Timberman, Joshua Timberman, Fabrice Coutadeur
  • Date: 2009-09-30 19:19:37 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090930191937-1clge7ckxfjm0wx3
Tags: 0.7.10-0ubuntu1
[ Joshua Timberman ]
* New upstream release
* Upstream patch for couchdb 0.10.0 (CHEF-515, quilt patch removed)
* Fix client logging to file (CHEF-287)
* Fix config log_location settings (CHEF-500)
* Requires libmixlib-config-ruby (>= 1.0.12)

[ Fabrice Coutadeur ]
* debian/watch: updated to avoid getting non numerical versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
            src = "  --source=#{@new_resource.source} --source=http://gems.rubyforge.org"
101
101
          end  
102
102
          run_command(
103
 
            :command => "#{gem_binary_path} install #{name} -q --no-rdoc --no-ri -v #{version}#{src}"
 
103
            :command => "#{gem_binary_path} install #{name} -q --no-rdoc --no-ri -v \"#{version}\"#{src}"
104
104
          )
105
105
        end
106
106
      
111
111
        def remove_package(name, version)
112
112
          if version
113
113
            run_command(
114
 
              :command => "#{gem_binary_path} uninstall #{name} -q -v #{version}"
 
114
              :command => "#{gem_binary_path} uninstall #{name} -q -v \"#{version}\""
115
115
            )
116
116
          else
117
117
            run_command(