Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

used systemu instead of system.

  • Loading branch information...
commit 4826b1088cdb8fdac23845f2492d93fe9b6e4fe3 1 parent 5e5a05d
TADA Tadashi authored
1  Gemfile
@@ -2,3 +2,4 @@ source "http://rubygems.org"
2 2
3 3 # Specify your gem's dependencies in kindlegen.gemspec
4 4 gemspec
  5 +systemu
2  kindlegen.gemspec
@@ -21,5 +21,5 @@ Gem::Specification.new do |s|
21 21
22 22 # specify any dependencies here; for example:
23 23 # s.add_development_dependency "rspec"
24   - # s.add_runtime_dependency "rest-client"
  24 + s.add_runtime_dependency "systemu"
25 25 end
3  lib/kindlegen.rb
... ... @@ -1,5 +1,6 @@
1 1 require "kindlegen/version"
2 2 require 'pathname'
  3 +require 'systemu'
3 4
4 5 module Kindlegen
5 6 #
@@ -21,6 +22,6 @@ def self.command
21 22 # _params_:: array of command parameters.
22 23 #
23 24 def self.run( *params )
24   - system command, *params
  25 + systemu command + ' ' + params.join( ' ' )
25 26 end
26 27 end
2  lib/kindlegen/version.rb
... ... @@ -1,3 +1,3 @@
1 1 module Kindlegen
2   - VERSION = "2.3.0"
  2 + VERSION = "2.3.1"
3 3 end

0 comments on commit 4826b10

Please sign in to comment.
Something went wrong with that request. Please try again.