3

Having a bit of a rough time deploying a rails 3.1 app - things seem to be working but I'm getting weird errors:

    *** [err :: 97.107.134.41] find: `/home/deploy/myapp/releases/20120208030228/public/images'
*** [err :: 97.107.134.41] : No such file or directory
*** [err :: 97.107.134.41] find: `/home/deploy/myapp/releases/20120208030228/public/stylesheets': No such file or directory
*** [err :: 97.107.134.41] 
*** [err :: 97.107.134.41] find: `/home/deploy/myapp/releases/20120208030228/public/javascripts': No such file or directory
    command finished in 73ms

firs off, there is no "20120208030228" release. Secondly, why is it looking for public/javascripts etc when it's a Rails 3 App?

EDIT - found the answer here: Capistrano for Rails 3.1

Added "set :normalize_asset_timestamps, false" to the deploy.rb file and the errors are gone!

Community
  • 1
  • 1
fatfrog
  • 2,118
  • 1
  • 23
  • 46
  • What version of Capistrano are you using? It may not be Rails 3.1-aware. – Ariejan Feb 08 '12 at 13:59
  • 2
    I found the answer here: http://stackoverflow.com/questions/7774671/capistrano-for-rails-3-1 I added set :normalize_asset_timestamps, false to the deploy.rb file and that fixed it! – fatfrog Feb 08 '12 at 15:34
  • @fatfrog - If you're game to recap the solution as your own answer, I'll delete my answer. (See http://meta.stackexchange.com/questions/90263/unanswered-question-answered-in-comments for elaboration of why this is helpful.) Thanks! – DreadPirateShawn Oct 09 '13 at 16:21
  • @DreadPirateShawn I'm cool with giving the answer to Steve! :) – fatfrog Oct 23 '13 at 20:35

1 Answers1

0

Copying the answer from the comments in order to remove this question from the "Unanswered" filter:

I found the answer here: Capistrano for Rails 3.1 I added set :normalize_asset_timestamps, false to the deploy.rb file and that fixed it!

~ link per fatfrog to a helpful question by Steve Harman

Community
  • 1
  • 1
DreadPirateShawn
  • 8,164
  • 4
  • 49
  • 71