Permalink
Browse files

Messed up on file location

  • Loading branch information...
actsasbuffoon committed Aug 27, 2011
1 parent 02d2524 commit 5a08ba03a4c3a1ca54c3f9a3cbc38712bb2af818
Showing with 2 additions and 1 deletion.
  1. +1 −1 bin/rocket
  2. +1 −0 rocket-io.gemspec
View
@@ -34,7 +34,7 @@ class RocketSetup
FileUtils.cp(File.join(LIB_DIR, "lib", "rocket.rb"), File.join(CURRENT_DIR, @opts[:n], "lib"))
FileUtils.cp_r(File.join(LIB_DIR, "public", "javascripts"), File.join(CURRENT_DIR, @opts[:n], "public"))
File.open(File.join(CURRENT_DIR, @opts[:n], "config", "config.rb"), "w") {|f| f.write "APP_NAME = '#{@opts[:n]}'"}
- File.open(File.join(CURRENT_DIR, @opts[:n], "public", "index.html"), "w") {|f| f.write File.read(File.join LIB_DIR, "public", "html", "index.html").sub("APP_NAME", @opts[:n])}
+ File.open(File.join(CURRENT_DIR, @opts[:n], "public", "html", "index.html"), "w") {|f| f.write File.read(File.join LIB_DIR, "public", "html", "index.html").sub("APP_NAME", @opts[:n])}
end
end
View
@@ -90,6 +90,7 @@ Gem::Specification.new do |s|
"lib/lib/rocket/monkey_patches.rb",
"lib/lib/rocket/rocket_user.rb",
"lib/lib/rocket/runner.rb",
+ "lib/public/html/index.html",
"lib/public/javascripts/app.js",
"lib/public/javascripts/formtacular.js",
"lib/public/javascripts/jade.js",

0 comments on commit 5a08ba0

Please sign in to comment.