$:.push File.expand_path("../lib", __FILE__) # Maintain your gem's version: require "personal_plugin_generator/version" require_dependency "#{ENV['PWD']}/app/controllers/admin/sites_controller" a=Admin::SitesController.new a.git_reset('origin','update') # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "personal_plugin_generator" s.version = PersonalPluginGenerator::VERSION s.authors = ["Bohung"] s.email = ["bohung@rulingcom.com"] s.homepage = "http://www.rulingcom.com" s.summary = "A Generator for Personal plugin." s.description = "A Generator for Personal plugin." s.license = "MIT" s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"] s.test_files = Dir["test/**/*"] end