Hi, hm, that's a weird problem. Maybe you wanna check the asset-related tasks capistrano executes during the deploy: link to source here<https://github.com/capistrano/rails/blob/master/lib/capistrano/tasks/assets.rake#L54-73>. It's really simple to understand and maybe it will ring a bell for you.
Are you also upgrading Rails or Ruby version in this process? I don't know how capistrano could have anything to do with the output from "stylesheet_link_tag and javascript_include_tag helpers". Question: why aren't you using 'capistrano/rbenv' gem (or capistrano/rvm if you prefer that)? I see it's commented out in your Capfile. How do you even know which ruby/rails version your app uses on the server without that? Not a really helpful answer, but maybe it generated new ideas for you. On Friday, April 25, 2014 2:42:42 AM UTC+2, pixelhandler wrote: > > Versions: > > - Ruby > - Capistrano > - Rake / Rails / etc > > Platform: > > - Working on.... > - Deploying to... > > Logs: > > - Please past logs (as completely as possible to a 3rd party pasting > service such as pastie.org) > > Files: > > - Capfile > - deploy.rb > - Stage files (production.rb, staging.rb) > > > I’m having trouble with upgrade from 2 to 3. > > The issue is that I have a layout that renders in an iframe and it’s > application css and js links begin with ‘/javascripts’ and ‘/styleheets’ > instead of ‘/assets’. > > My main application layout works fine; the applicaiton assets are > precompiled and using /assets prefix. > > My env is staging and I’m on ruby , rails , capistrano , . > > The capistrano version 2 deploy does precompile the assets and use > ‘/assets’ prefix for the stylesheet_link_tag and javascript_include_tag > helpers. > > > Versions: > > - Ruby 2.0.0p247 > - Capistrano 3.2.0, capistrano-bundler 1.1.2, capistrano-bundler 1.1.2 > - Rails 4.0.3, rake 10.1.0 > > Platform: > > - Mac (Mavericks) > - Deploying to Ubuntu 12.04 > > Logs: > > - http://pastie.org/9109500 (I removed some of the list of assets that > were compiled) > > Files: > > - Capfile > - deploy.rb > - Stage files (staging.rb) > > -- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/9a907308-2a5a-4c29-979c-a92b81ab1df0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
