util/gem_manager.rb in ruby-station-0.1.5 vs util/gem_manager.rb in ruby-station-0.1.6

- old
+ new

@@ -31,11 +31,11 @@ "-n", Conf.gem_bin_dir, Conf.gem_install_option ].join(" ") out, _ = gem_install(cmd) - spec = YAML.load(`gem spec #{path}`) + spec = YAML.load(`#{Conf.gem_command} spec #{newpath}`) name, version = spec.name, spec.version.to_s make_data_dir(name, version) [out, name, version] ensure @@ -96,9 +96,10 @@ end def self.uninstall(name, version) cmd = [ Conf.gem_command, "uninstall", name, + "-x", #Uninstall applicable executables without confirmation "-v", version, "-i", Conf.gem_dir, "-n", Conf.gem_bin_dir ].join(" ") Ramaze::Log.info cmd