Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

don't copy the themes in on a gem install, these can be installed fro…

…m the gem itself.
  • Loading branch information...
commit ca91aab472830ca1eef0c367fb968afd9769c27d 1 parent 88c423b
@parndt parndt authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  bin/refinery
View
3  bin/refinery
@@ -18,10 +18,11 @@ unless (app_path = ARGV.shift).nil? or app_path.length == 0
FileUtils::makedirs RAILS_ROOT
# copy in all of the relevant directories and root files.
- to_copy = %w(app config db lib public script themes contributors.md license.md Rakefile readme.md VERSION).map do |dir|
+ to_copy = %w(app config db lib public script contributors.md license.md Rakefile readme.md VERSION).map do |dir|
File.join REFINERY_ROOT, dir
end
FileUtils::cp_r to_copy, RAILS_ROOT, :verbose => false
+ FileUtils::mkdir File.join(%W(#{RAILS_ROOT} themes))
# ensure lib/refinery_initializer.rb doesn't make it in.
FileUtils::rm File.join(%W(#{RAILS_ROOT} lib refinery_initializer.rb)) if File.exists?(File.join(%W(#{RAILS_ROOT} lib refinery_initializer.rb)))
Please sign in to comment.
Something went wrong with that request. Please try again.