bin/gemsync in gemsync-0.1.7 vs bin/gemsync in gemsync-0.1.8

- old
+ new

@@ -6,11 +6,11 @@ require 'trollop' # Setup arguments from the command line. # This uses the trollop library on github. opts = Trollop::options do - version "gemsync 0.1.7 (c) 2010 Josh Ellithorpe" + version "gemsync 0.1.8 (c) 2010 Josh Ellithorpe" banner <<-EOS Small gem to sync multiple gem installations. Usage: gemsync [options] @@ -138,10 +138,10 @@ ['', '5'].each do |v| mysql_config = `which mysql_config#{v}`.chomp if mysql_config == '' mysql_dir = `which mysql#{v}` if mysql_dir == '' end mysql_dir = mysql_dir.split('/')[0..-3].join('/') - system("#{@sudostring}#{@sync_dir}/bin/gem install #{gem_name} -v #{version} -- --with-mysql-dir=#{mysql_dir} --with-mysql-config=#{mysql_config} #{@docstring}") + system("#{@sudostring}#{@sync_dir}/bin/gem install #{gem_name} -v #{version} #{@docstring} -- --with-mysql-dir=#{mysql_dir} --with-mysql-config=#{mysql_config}".squeeze(' ')) # Remove double spacing else system("#{@sudostring}#{@sync_dir}/bin/gem install #{gem_name} -v #{version} #{@docstring}") end end end