class InstallerRunner
Installer runner.
Public Class Methods
encoding_style()
click to toggle source
default encoding utf-8, change encode here.
# File lib/zinbei/install.rb, line 9 def self.encoding_style Encoding.default_internal = 'UTF-8' Encoding.default_external = 'UTF-8' end
run()
click to toggle source
# File lib/zinbei/install.rb, line 14 def self.run encoding_style one = ARGV[1] FileUtils.mkdir_p(File.expand_path("~/#{one}")) FileUtils.cd(File.expand_path("~/#{one}")) system("git clone git@github.com:takkii/nyasocom_oss.git .") FileUtils.rm_rf(File.expand_path("~/#{one}/.git")) end