Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 473 Bytes
require 'fileutils'
plugin_root = File.dirname(__FILE__)
FileUtils.cp File.join(plugin_root, 'config', 'starling.yml'), File.join(RAILS_ROOT, 'config')
FileUtils.cp File.join(plugin_root, 'script', 'workling_starling_client'), File.join(RAILS_ROOT, 'script')
FileUtils.chmod 0755, File.join(RAILS_ROOT, 'script', 'workling_starling_client')
puts "\n\ninstalled starling.yml and workling_starling_client.rb. \n\n"
puts IO.read(File.join(File.dirname(__FILE__), 'README'))
Something went wrong with that request. Please try again.