Don't know how to build task 'assets:precompile?

This is most likely due your config/application. Rb not requiring rails/all (the default), but some custom requires.

This is most likely due your config/application. Rb not requiring rails/all (the default), but some custom requires. To resolve this, add the following to config/application.

Rb: require 'sprockets/railtie.

3 This is common issue for Mongoid users that delete rails/all config – Alexey Zakharov Sep 13 '11 at 5:40 thank god, someone spotted this, I confirm the said phenomenon – Nik Sep 15 '11 at 3:49 bingo. I am indeed a Mongoid user. – tybro0103 Sep 27 '11 at 21:08 upvotes on the question itself people?

You know you want to. :) – tybro0103 Nov 7 '11 at 16:38 BTW... I think you mean config/application. Rb – tybro0103 Nov 7 '11 at 16:39.

That's strange. You could always try adding load "sprockets/assets. Rake" to your Rakefile.It should be included by the actionpack railtie.

My Rakefile contains: require File. Expand_path('../config/application', __FILE__) Qnm::Application. Load_tasks.

I think that it might be because you aren't requiring the asset gems in production. By default rails expects that you are pre-compiling your assets in production. Change this in config/application.

Rb: Comment out this line: Bundler. Require *Rails. Groups(:assets => %w(development test)) And uncomment this line: Bundler.

Require(:default, :assets, Rails. Env).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions