Mobile app version of vmapp.org
Login or Join
Samaraweera270

: Your Ruby on Rails application will reference files in your 'shared' folder. The 'current' folder points to the directory which contains your applications files - not the shared folder. If

@Samaraweera270

Your Ruby on Rails application will reference files in your 'shared' folder. The 'current' folder points to the directory which contains your applications files - not the shared folder.

If you keep assets, such as images, in your shared folder then you needed to copy that over as you did. Your current folder is probably easier to maintain through capistrano, which you should consider using to deploy your app.

The 'current' folder is just a link to the directory that your app was deployed to, which is within your 'releases' directory.

I'm presuming that you've misunderstood how the current folder works, simply change your deploy.rb configuration from within app/config in your rails source and this will fix the link for you.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Samaraweera270

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme