similar to: "Isn't precompiled" message while compiling

Displaying 20 results from an estimated 10000 matches similar to: ""Isn't precompiled" message while compiling"

2012 Nov 02
2
jquery error in production precompiled
In my rails project, for production precompile I do : rake assets:precompile RAILS_ENV=production But it not work for jquery. In my firegub console, I got the error “ReferenceError: JQuery is not defined “ at production.rb # Disable Rails''s static asset server (Apache or nginx will already do this) config.serve_static_assets = true # Compress JavaScripts and CSS
2013 May 23
1
rake assets:precompile issue with JS and stylesheets files with similar name
Hi, I''ve got following two files with same names under javascripts and stylesheets directories as: - app/assets/javascripts/test_vendor.js - app/assets/stylesheets/test_vendor.scss Essentially a JS and an stylesheet files with same name. -------------------------------------------------------------- I want these files to be precompiled and served from public directory. Thus I
2013 May 14
4
rake precompile:assets throwing error
While running rake precompile:assets i''m getting the following error This is the error message: rake assets:precompile:all RAILS_ENV=production rake aborted! undefined local variable or method `establish_connection'' for ActiveRecord::Base:Class Please help -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2013 May 01
2
Is there any way to update the javascript when I reload the page using rails?
Hi, I need fix any bugs in a rails project. The problem is every time I change anything in javascript I have to make bundle exec rake rails_group=assets assets:clean RAILS_ENV=development and then bundle exec rake rails_group=assets assets:precompile RAILS_ENV=development and finaly restart the rails server. This way spend 10 min. Exists any other solution? -- You received this message
2013 May 08
1
Rails asset precompilation doesn't remove comments. How to enable?
I want to to test precompilation on development mode. I set: config.assets.digest = true config.assets.debug = false Then I run: rake assets:precompile:all RAILS_ENV=development All works, assets are precompiled but comments are not removed. What options should I provide to make it to remove comments from assets on precompile? -- Posted via http://www.ruby-forum.com/. -- You received this
2011 Dec 26
1
Learning Ruby on Rails 3.1 - deployment - Error (cs.jpg isn't precompiled)
Hi guys, I''ve followed the Agile Web Development with Rails book and I''m up to deployment. I started a Ubuntu 10.1 LTS server on Amazon EC2 for testing, got Apache 2, mysql, rvm, ruby 1.9.2, rails 3.1 and phusion passenger up and running as per the book. When I come to running the actual site, it says "We''re sorry, but something went wrong." In
2011 Sep 02
1
can't compile assets on prod due to asset_host config && SSL requirement
My production asset_host config looks like this: config.action_controller.asset_host = Proc.new { |source, request| if request.ssl? "#{request.protocol}#{request.host_with_port}" else "#{request.protocol}assets#{(source.length % 4) + 1}.example.com" end } ...which is more or less straight from the docs:
2011 Aug 31
4
Issue with asset pipeline helper with Rails 3.1 final release.
Hi, I''ve just updated my app to the final 3.1 release and deployed it to the staging server after running tests but there is a problem with the precompiled assets. The precompiled assets are all in the public directory, like they were before, Capistrano doesn''t throw any error and running `rake assets:precompile` in the current directory work as expected. But the asset
2011 Oct 22
1
Deployment issue with Rails 3.1.1
Hi, I''ve recently updated an application to 3.1.1 and Capistrano started to fail at the assets:precompile task. It''s a strange bug that don''t always happen (it actually worked a couple of time) and there''s no error message, it only display "Killed". Running the rake task locally work though. I''ve reverted to 3.1.0 and now it work with
2012 Jan 04
0
how to avoid pre-compile on deployment ..
I commented the following code in my deploy.rb , to avoid pre- compiling upon deployment .. # namespace :assets do # desc "Compile assets" # task :precompile, :roles => :app do # run "cd #{release_path} && rake RAILS_ENV=#{rails_env} assets:precompile" # end # end but it seems to have no effect .... cap deploy log show precompiling again... .....
2012 Aug 18
0
hosting with speedyrails
hello everyone, original app: rails 3.1.1 ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux] I try to host my app into speedyrails using capistrano. I host my sample application and running. I just get only one error like my assets were not precompiled. then i solve that by adding "load ''deploy/assets''" this code in my deploy receipt. and my
2012 Mar 29
25
Unable to deploy to Apache
Hi All, Can someone please help? I''ve been banging my head against for wall for 2 months; all of which has been spent trying to set up ROR. So I actually haven''t written 1 line of code :( Any help would be greatly appreciated :) I''m following the 4th edition of "Agile Web Development with Rails". So, I''m able to deploy the site via WEBrick.
2011 Sep 18
12
3.1 asset pipeline + Capistrano troubles
Hello, I''m having a bit of trouble with the asset pipeline and, I think, Capistrano. In my app layout I have: <%= stylesheet_link_tag "application", "bootstrap" %> And the relevant bits of the app dir structure are: app/assets/stylesheets/application.css.scss # Contains ''require_self'' and ''require_tree .'' as usual
2013 Feb 27
4
My SCSS compiled CSS lacks "/assets" in the generated urls
Running "rake assets:clobber assets:precompile" will generate files like "application-xxx.css" with incorrect urls after upgrading to Rails 4. For example url(/fields/xxx.png) when it should be url(/assets/fields/xxx.png). For some unknown reason it worked once in development mode, but after running rake assets:clobber I can''t get it to work again... Any ideas
2013 Oct 12
3
Assets not loading in production
Hello, (Rails 4, Ruby 2) I am trying to deploy my first rails app in a production environment, but cannot get the assets to load. The site is hosted on Webfaction, they advise to create a "static app" to serve the assets which I have done. But I don''t understand how my rails app then knows about the static app. At the moment, in production inside the head it prints out...
2013 Mar 03
1
Deploy with Capistrano. Bundle install freezes indefinetly.
I am fighting with this for 5 days... i''m getting crazy! Here is my deploy.rb: require "bundler/capistrano" require "rvm/capistrano" # Load RVM''s capistrano plugin. set :rvm_ruby_string, :local # Or whatever env you want it to run in. ''1.9.3'' set :domain, ''www.xxx.com'' set :application,
2013 Jun 05
1
Precompile with compression in development
Hi, I''d like to do precompilation with compression in development mode. I''ve set config.assets.js_compressor = :uglifier config.assets.css_compressor = :sass in development.rb. But compression only seems to work in production mode, is that right? Michael Kastner -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2011 Aug 18
1
Rails 3.1rc6 assets / precompile change
I''m currently using Rails 3.1rc5, and deploy with capistrano. During deploy, I precompile the assets on the server using assets:precompile after deploy:symlink. I noticed that "group :assets" gems in my gemfile were being included in my production application processes (and adding a lot of memory usage), even though they are only used during the deploy. It looks like this
2014 Feb 18
0
Compiled assets are not found in production mode run locally
I have a strange behaviour with compiled assets when running a simple draft app locally: RAILS_ENV=production rake assets:precompile The aove command generated some css and js with finger printed values: i.e. application-43dcf2bdff355d2c3053e2aade23881a.css application-c67be452a576850d0c11559f908180e3.js etc. Run in production: rails s -e production There are no CSS fiound ! When
2014 Jun 11
0
my webpage does not send emails confimation/notification
Hello everybody I have a problem with my inquireis, when I want to contact and I send the message, I must receive two emails one of confirmation (client) and other of notification (admin of the web page) but it does not send. The webpage work in production environment. When I watch the log (production.log) I seed this: > > There was an error delivering an inquiry confirmation: > 503