-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assets_roles ignored #50
Comments
The options :assets_roles and :assets_prefix shouldn't be shown on the README page because they're not in version 1.1.0. They are only in the master branch. If you compare the lib/capistrano/tasks/assets.rake file between the master branch and the v1.1.0 tag you'll see the references to :asset_roles and :assets_prefix don't appear in v1.1.0. In your Gemfile change to using: gem 'capistrano', github: 'capistrano/capistrano', group: :development And then you'll be using the latest version of Capistrano for Rails, where the above configuration should work. |
I released 1.1.1 version of the gem and you can already use it from Rubygems. |
Thanks! Using now version 1.1.1 and it works like expected. 👍 |
use release_path instead of current_path
I'm using this GEMs for my deployment
In
config/deploy/production.rb
I defined only 1 single roleIn
config/deploy.rb
I re defined the assets_roles:I'm deploying like this:
And somehow I got always this message and assets:precompile was skipped every time:
I could fix it by adding this line to
config/deploy/production.rb
:Somehow this line in my deploy.rb is totally ignored.
Not sure if this is a bug or maybe I misconfigured something.
The text was updated successfully, but these errors were encountered: