Permalink
Browse files

Trying without install.rb

  • Loading branch information...
xdissent committed May 5, 2010
1 parent ebcb66a commit 641d1919f72feb9b3e3c1eec7193fc42bf2152a9
Showing with 0 additions and 18 deletions.
  1. +0 −18 install.rb
View
@@ -1,18 +0,0 @@
-require 'fileutils'
-
-here = File.dirname(__FILE__)
-there = defined?(RAILS_ROOT) ? RAILS_ROOT : "#{here}/../../.."
-
-FileUtils.mkdir_p("#{there}/public/javascripts/juggernaut/")
-FileUtils.mkdir_p("#{there}/public/juggernaut/")
-
-puts "Installing Juggernaut..."
-FileUtils.cp("#{here}/media/swfobject.js", "#{there}/public/javascripts/juggernaut/")
-FileUtils.cp("#{here}/media/juggernaut.js", "#{there}/public/javascripts/juggernaut/")
-FileUtils.cp("#{here}/media/juggernaut.swf", "#{there}/public/juggernaut/")
-FileUtils.cp("#{here}/media/expressinstall.swf", "#{there}/public/juggernaut/")
-
-FileUtils.cp("#{here}/media/juggernaut_hosts.yml", "#{there}/config/") unless File.exist?("#{there}/config/juggernaut_hosts.yml")
-puts "Juggernaut has been successfully installed."
-puts
-puts "Please refer to the readme file #{File.expand_path(here)}/README"

0 comments on commit 641d191

Please sign in to comment.