lib/rails-editor.rb in RailsEditor-0.0.21 vs lib/rails-editor.rb in RailsEditor-0.0.22
- old
+ new
@@ -26,8 +26,13 @@
Dir.mkdir(save_dir)
end
puts "File.cp(" + editor_file + "," + save_dir + "/" + File.basename(editor_file) + ") "
File.cp(editor_file,save_dir + "/" + File.basename(editor_file))
end
-
+ if File.exists? editor_script = @rails_root + "/script/editor"
+ File.chmod(0755,editor_script)
+ end
+ puts "******************************************************"
+ puts "** Rails Editor Installed, ./script/editor to start **"
+ puts "******************************************************"
end
end