lib/cany/recipes/rails.rb in cany-0.5.3 vs lib/cany/recipes/rails.rb in cany-0.5.4
- old
+ new
@@ -35,10 +35,10 @@
inner.build
end
def binary
run_hook :env, :after
- %w(app config.ru db Gemfile Gemfile.lock lib public Rakefile vendor).each do |item|
+ %w(app bin config.ru db Gemfile Gemfile.lock lib public Rakefile vendor).each do |item|
install item, "/usr/share/#{spec.name}" if File.exists? item
end
Dir.foreach('config') do |entry|
next if %w(. ..).include? entry