rumblelabs/asset_sync — Issue #49: Sorry, 0.2.12 with Rails 3.2.2 on Heroku Does Not Work.
Author: threadhead
Created: 2012-03-06 04:49:49+00:00
State: open

Doing `heroku push staging master` results in:

```bash
<...>
Your bundle is complete! It was installed into ./vendor/bundle
Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
Fog provider can't be blank, Fog directory can't be blank

Tasks: TOP => assets:precompile:nondigest
(See full trace by running task with --trace)
Precompiling assets failed, enabling runtime asset compilation
Injecting rails31_enable_runtime_asset_compilation
Please see this article for troubleshooting help:
http://devcenter.heroku.com/articles/rails31_heroku_cedar#troubleshooting
-----> Rails plugin injection
Injecting rails_log_stdout
Injecting rails3_serve_static_assets
```

Yes, I have user_env_compile set:

```bash
# heroku labs --remote staging
=== App Features (smooth-wind-5305)
[+] user_env_compile # Add user config vars to the environment during slug compilation

=== User Features (karl@vsnfinancial.com)
[ ] heroku-shared-postgresql # PostgreSQL 9.1 shared database service.
```

Thought it might be because I was using Ruby 1.9.3-p0, so I switched back to 1.9.2. No difference.

Tried `heroku run rake assets:precompile --remote staging` with (deprecation warnings removed):

```bash
Running rake assets:precompile attached to terminal... up, run.1
/app/vendor/ruby-1.9.3-p0/bin/ruby /app/vendor/bundle/ruby/1.9.1/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
WARNING on line 384 of /app/app/assets/stylesheets/theme_base.css.sass:
This selector doesn't have any properties and will not be rendered.
WARNING on line 434 of /app/app/assets/stylesheets/theme_base.css.sass:
This selector doesn't have any properties and will not be rendered.
WARNING on line 300 of /app/app/assets/stylesheets/partials/_screen.css.sass:
This selector doesn't have any properties and will not be rendered.
WARNING on line 409 of /app/app/assets/stylesheets/partials/_screen.css.sass:
This selector doesn't have any properties and will not be rendered.

rake aborted!
Fog provider can't be blank, Fog directory can't be blank

Tasks: TOP => assets:precompile:nondigest
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/app/vendor/ruby-1.9.3-p0/bin/ruby /app/ve...]

Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
```