Questions tagged [precompile]

All questions regarding the precompile process should be tagged here

469 questions
4
votes
1 answer

Error while trying to add BlossomV package in Julia

I am trying to add the BlossomV package in Julia. I am receiving the following error: *LoadError: BlossomV not properly installed. Please run Pkg.Build("BlossomV") LoadError: Failed to precompile BlossomV* On running Pkg.Build("BlossomV"), I am…
PriJ
  • 41
  • 2
4
votes
2 answers

How do I generate and use precompiled headers with Clang++?

The official docs state how precompiled headers are to be used through the -cc1 interface, like so to generate them: $ clang -cc1 test.h -emit-pch -o test.h.pch And to use them: $ clang -cc1 -include-pch test.h.pch test.c -o test.s The problem is…
Dun Peal
  • 16,679
  • 11
  • 33
  • 46
4
votes
1 answer

Azure DevOps Build - publish doesn't create .compiled files in bin folder on publish

I have a web project I am building and creating a published package from Azure-DevOps Build pipeline. I am running with the issue that not getting .compile files in bin folder while publishing. when I am publishing from the direct build machine's VS…
4
votes
1 answer

Remove development gems from production with Bundler and Rails 4

Problem Our deployed application has development dependencies in it. We have a lot of development dependencies. This increases the artifact size and the memory consumption in production, as all those dependencies are require'd. Most instances are…
4
votes
1 answer

Assets not compiling

This is driving me crazy - changes to css on my rails site only update when I run rake assets:precompile. Does anyone know how to fix this, so assets will get compiled as they are changed? I have a hunch the issue is in this…
Jillian Hoenig
  • 137
  • 1
  • 6
  • 28
4
votes
0 answers

ExecJS runtime error when trying to precompile assets for production in RoR

I've recently tried to precompile the assets of my Rails 4.2.6 CMS app, but I get this error: ** Invoke assets:precompile (first_time) ** Invoke assets:environment (first_time) ** Execute assets:environment ** Invoke environment (first_time) **…
Allanon
  • 547
  • 4
  • 24
4
votes
0 answers

Drools 6.1.0 precompile using ANT or gradle

Drools has built-in support for maven and the pre-compile is enable in maven scripts by the "kie-maven-plugin" maven plugin and the packaging using kjar. However, if the build system is ANT or Gradle, what are the steps to enable the pre-compile on…
dyang
  • 41
  • 1
4
votes
1 answer

Do the different forms of precompilation impact performance?

I am using MVC3, ASP.NET4.5 and C# There are a number of choices when precompiling a web application: Do not Merge. Do not merge, Create a separate assembly for each page and control. Merge all outputs to a single assembly. Merge each individual…
4
votes
1 answer

How to give fingerprint css path in production rails 4

I am using imgkit to take snapshot of my webpage. I run: RAILS_ENV=production bundle exec rake assets:precompile To precompile my assets. All file of app/assets directory are compiled to public/assets application.css compiled as…
Anish Shah
  • 333
  • 1
  • 14
4
votes
2 answers

Rails - Don't know how to build task 'assets:precompile:primary'

I get this error when I try to run rake db:migrate rake aborted! Don't know how to build task 'assets:precompile:primary' /usr/local/rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/task_manager.rb:49:in…
Allanon
  • 547
  • 4
  • 24
4
votes
2 answers

Helpers with Precompiled Views

I'm using RazorGenerator to Pre-compile my views. I also want to use Global Razor helpers(defined in cshtml files in App_Code directory). However the compilation throws up with the following error The name 'KarbonHelper' does not exist in the…
noob Mama
  • 267
  • 8
  • 28
3
votes
2 answers

rails development environment circular dependency error

Last night I think I did something that hosed my rails development environment, and I'm unable to reverse what I did. I migrated an update to production and was having some trouble precompiling a stylesheet so I backed out the changes and decided to…
3
votes
2 answers

Rails 3.2 - can't precompile assets

I am trying to precompile assets (rake assets:precompile or bundle exec rake assets:precompile), but I always get the error /Users/adam/.rvm/rubies/ruby-1.9.2-p290/bin/ruby /Users/adam/.rvm/gems/ruby-1.9.2-p290/bin/rake assets:precompile:all…
user984621
  • 46,344
  • 73
  • 224
  • 412
3
votes
1 answer

rake assets:precompile is slooooow. Any way to speed it up?

I have a Rails 3.2 app running on Heroku, and it uses CKEditor. Now, CKEditor is a pretty large collection of files and folders, and is probably the biggest contributor to the time it takes to precompile assets. A regular push to Heroku takes well…
3
votes
1 answer

Are parameters of conditional methods (Debug.Assert(...)) optimized away in release mode?

I often have expensive linq queries embedded in Debug.Assert(). Ex: Debug.Assert(!orderShipmentStatusLogs.GroupBy(c => new { c.Id, c.StartDateTime }).Any(c => c.Count() > 1)); In this case orderShipmentStatusLogs can be a huge list - so this code…
sommmen
  • 6,570
  • 2
  • 30
  • 51