Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.444 kb
require 'fileutils'
require 'rubygems'
dir = File.dirname(__FILE__)
templates = File.join(dir, 'generators', 'facebook', 'templates')
config = File.join('config', 'facebooker.yml')
script = File.join('public', 'javascripts', 'facebooker.js')
[config, script].each do |path|
FileUtils.cp File.join(templates, path), File.join(RAILS_ROOT, path) unless File.exist?(File.join(RAILS_ROOT, path))
end
puts IO.read(File.join(dir, 'README.rdoc'))
Jump to Line
Something went wrong with that request. Please try again.