precompile

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

a 夏天 提交于 2020-07-21 01:29:57
问题 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 2015( on which azure-DevOps builds are also running ) I am getting all .compile files. My .pubxml file <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <WebPublishMethod>FileSystem<

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

岁酱吖の 提交于 2020-07-21 01:24:09
问题 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 2015( on which azure-DevOps builds are also running ) I am getting all .compile files. My .pubxml file <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <WebPublishMethod>FileSystem<

Deploy to Heroku failed. move-file incompatible with node version

萝らか妹 提交于 2020-05-17 07:46:08
问题 I am struggling to deploy a new rails 6 app to heroku. It runs fine on my local. During the deployment process I receive the following output. Unfortunately, I am new to webpack and yarn. It seems like a version / dependency issue with move-file which in turn seems to be a dependency for webpacker. However, I have no idea how to resolve this. It seems to come down to this line: error move-file@2.0.0: The engine "node" is incompatible with this module. Expected version ">=10.17". Got "10.15.3"

Are Hibernate Named Queries precompiled in the true sense?

谁都会走 提交于 2020-02-26 06:35:07
问题 Pre-compiled queries are compiled and cached in advance by DB vendor (like oracle,sql server etc) so that they can be faster for successive calls like prepared statement. In Hibernate Named queries are said to be pre-compiled at web server start up. Does it means all queries are fired at server startup itself so that they can be pre-compiled by DB vendor or pre-compilation has different meaning in hibernate context? 回答1: The Hibernate Named queries are expressed in an object query language

Are Hibernate Named Queries precompiled in the true sense?

眉间皱痕 提交于 2020-02-26 06:34:27
问题 Pre-compiled queries are compiled and cached in advance by DB vendor (like oracle,sql server etc) so that they can be faster for successive calls like prepared statement. In Hibernate Named queries are said to be pre-compiled at web server start up. Does it means all queries are fired at server startup itself so that they can be pre-compiled by DB vendor or pre-compilation has different meaning in hibernate context? 回答1: The Hibernate Named queries are expressed in an object query language

Rails 3.2.11 asset precompile fails if threadsafe! enabled

橙三吉。 提交于 2020-01-05 07:00:33
问题 I'm on Rails 3.2.11 and ruby 1.9.3.125 My app is working ok in devel and production if threadsafe! off With threadsafe! enabled I get an error during precompiling, in my asset assetsolutions.js.erb (which is the main js file of the application) I use the Workorder class as in the next line if ($('#workorder_worktype').val()=='<%= Workorder::REPAIR %>') with threadsafe! the class can't be found at precompile time, I've done some reasearch and I think it may be related with rails switching off

Rails 3.2.11 asset precompile fails if threadsafe! enabled

旧时模样 提交于 2020-01-05 07:00:13
问题 I'm on Rails 3.2.11 and ruby 1.9.3.125 My app is working ok in devel and production if threadsafe! off With threadsafe! enabled I get an error during precompiling, in my asset assetsolutions.js.erb (which is the main js file of the application) I use the Workorder class as in the next line if ($('#workorder_worktype').val()=='<%= Workorder::REPAIR %>') with threadsafe! the class can't be found at precompile time, I've done some reasearch and I think it may be related with rails switching off

assets:precompile - permission denied - only on one computer

穿精又带淫゛_ 提交于 2020-01-04 04:43:05
问题 I have a rails app project folder which is on my dropbox folder. I work on 2 computers - home pc and a laptop (both win 7) If I do bundle exec rake assets:precompile on the pc it works fine and I see the line C:/Ruby193/bin/ruby.exe C:/Ruby193/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets mkdir -p H:/My Dropbox/project/public/assets cp -r C:/Ruby193/lib/ruby/gems/1.9.1/gems/tinymce-rails-3.5.7.1/vendor/assets/javascripts/tinymce H:/My Dropbox/project/public/assets

Rails 4.2 Rails.application.config.assets.version doesn't invalidate digest asset file names

怎甘沉沦 提交于 2019-12-30 16:50:20
问题 I have a Rails 4.2.4 (Ruby 2.2.2) application and I am serving static assets via Cloudfront. If Cloudfront is serving something you don't want, there are two possibilities: Invalidate the content in Cloudfront or Change the name of the asset served However, when i change Rails.application.config.assets.version = '1.0' to Rails.application.config.assets.version = '2.0' (in config/initializers/assets.rb) and delete all the assets in public/assets run "RAILS_ENV=staging bundle exec rake assets

RoR App: “The asset 'application.css' is not present in the asset pipeline” after moving to production server

荒凉一梦 提交于 2019-12-24 06:34:12
问题 after moving my Ruby on Rails app to production server (AWS EC2 Amazon Linux 2018.03) pages don't render, because of error "The asset 'application.css' is not present in the asset pipeline" (precompiled files are presents in public/assets): production.log However, when I refresh my application (sometimes more then once), this file is found in cache and page is rendering correctly. It seems like server doesn't wait for file precompilation or something like that. It happens not only on first