Skip to content

Commit e1820e2

Browse files
author
aaronchi
committed
fix install.rb
git-svn-id: https://ennerchi.googlecode.com/svn/trunk/plugins/jrails@52 1bc9508b-f83e-0410-b78e-05f979d4f8d9
1 parent 666b4ae commit e1820e2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

install.rb

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Install hook code here
2-
puts "Copying files..."
3-
dir = "javascripts"
4-
["jquery-fx.js", "jquery-ui.js", "jquery.js", "jrails.js"].each do |js_file|
5-
dest_file = File.join(RAILS_ROOT, "public", dir, js_file)
6-
src_file = File.join(File.dirname(__FILE__) , dir, js_file)
7-
FileUtils.cp_r(src_file, dest_file)
8-
end
9-
puts "Files copied - Installation complete!"
1+
# Install hook code here
2+
puts "Copying files..."
3+
dir = "javascripts"
4+
["jquery-ui.js", "jquery.js", "jrails.js"].each do |js_file|
5+
dest_file = File.join(RAILS_ROOT, "public", dir, js_file)
6+
src_file = File.join(File.dirname(__FILE__) , dir, js_file)
7+
FileUtils.cp_r(src_file, dest_file)
8+
end
9+
puts "Files copied - Installation complete!"

0 commit comments

Comments
 (0)