On Lunes, 24 de Octubre de 2011 05:43:37 Hernan Astudillo escribió:
> Ok, Sergio is right. It's a rails bug.
> Sergio's workaround works doing manually,but couldn't make it work
> through capistrano.
> Whole problem gets solved upgrading rails to 3.1-stable

I updated to rails 3.1.1 last friday and it works too

> 
> On Wed, Oct 19, 2011 at 7:59 PM, JB <[email protected]> wrote:
> > I'm seeing something similar when I deploy my app to Heroku, but I
> > haven't had a chance to debug it yet.
> > 
> > -----> Preparing app for Rails asset pipeline
> >       Running: rake assets:precompile
> >       rake aborted!
> >       gears.png isn't precompiled
> >       (in /tmp/build_2zt7sxu9ow0e2/vendor/bundle/ruby/1.9.1/bundler/
> > gems/active_scaffold-da126afef3d5/app/assets/stylesheets/
> > active_scaffold.css.erb)
> > 
> >       Tasks: TOP => assets:precompile
> >       (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#troubleshootin
> > g
> > 
> > 
> > 
> > On Oct 18, 2:44 am, "Sergio Cambra .:: entreCables S.L. ::."
> > 
> > <[email protected]> wrote:
> >> Probably it's a bug in rails 3.1.0
> >> Workaround is enabling compile in production mode:
> >> config.assets.compile = true
> >> 
> >> On Lunes, 17 de Octubre de 2011 18:45:54 Hernan Astudillo escribió:
> >> > Hi,
> >> > 
> >> > I'm trying to get an app into production which requires precompiling
> >> > the assets, however:
> >> > 
> >> > rake assets:precompile --trace
> >> > ** Invoke assets:precompile (first_time)
> >> > ** Execute assets:precompile
> >> > rake aborted!
> >> > gears.png isn't precompiled
> >> >   (in
> >> > /home/nano/.bundler/ruby/1.8/active_scaffold-801719cc0723/app/assets/s
> >> > tyle sheets/active_scaffold.css.erb)
> >> > 
> >> > Tasks: TOP => assets:precompile
> >> > (See full trace by running task with --trace)
> >> > 
> >> > css declarations looks fine (asset_path) and images are there.
> >> > 
> >> > in Gemfile:
> >> >  group :assets do
> >> >     gem 'sass-rails', "  ~> 3.1.0"
> >> >     gem 'sass'
> >> >     gem 'coffee-rails', "~> 3.1.0"
> >> >     gem 'uglifier'
> >> >  end
> >> > 
> >> > and application.rb:
> >> > 
> >> > Bundler.require *Rails.groups(:assets => %w(development test))
> >> > 
> >> > config.assets.enabled = true
> >> > config.assets.version = '1.0'
> >> >  config.generators do |g|
> >> >         g.template_engine :haml
> >> >         g.stylesheet_engine :sass
> >> >  end
> >> 
> >> --
> >> Sergio Cambra .:: entreCables S.L. ::.
> >> Mariana Pineda 23, 50.018 Zaragoza
> >> T) 902 021 404 F) 976 52 98 07 E) [email protected]
> > 
> > --
> > You received this message because you are subscribed to the Google Groups
> > "ActiveScaffold : Ruby on Rails plugin" group. To post to this group,
> > send email to [email protected]. To unsubscribe from this
> > group, send email to [email protected]. For
> > more options, visit this group at
> > http://groups.google.com/group/activescaffold?hl=en.

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to