similar to: (solution) .js and .css error when using production environment

Displaying 20 results from an estimated 10000 matches similar to: "(solution) .js and .css error when using production environment"

2011 Jan 07
5
Deployment issues
Hello, For those of you who have solved the learning hurdle of rails deployment, all I can say is congratulations! I''m struggling, frustrated that my app, which runs so well on my linux box, generates such odd errors on my vps and completely fails to do anything. For example, at the moment my production.log file has the error: ActionController::RoutingError (No route matches
2013 Jul 10
0
ActionView::Template::Error Not a directory vendor/assets/javascripts/ production
Hello, In production environment, I have this error ActionView::Template::Error Not a directory vendor/assets/javascripts/holder.js when in my template I have this line <%= image_tag "holder.js/150x200" %> My production.rb is : Libapp::Application.configure do # Settings specified here will take precedence over those in config/application.rb # Code is not reloaded
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
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello! i got this forum powered by apache and mod_rails lately when i create / edit posts, i get plain html text showing up instead of the actual page. here''s what i see: -- Content-Type: text/html; charset=utf-8 Set-Cookie: _mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL %250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2014 Apr 26
0
jquery_ujs.js 404
I am getting this annoying error which relates to jquery_ujs.js not being served. Any clues? This is the site link: http://test.kopy.com.br/home/index GET http://test.kopy.com.br/assets/jquery_ujs.js?body=1 404 (Not Found) index:11 GET http://ads.panoramtech.net/loader.js?client=tac net::ERR_BLOCKED_BY_CLIENT rev.js:4 Error in event handler for (unknown): Cannot read property 'state' of
2011 Nov 26
3
Asset pipeline giving me hard time. Please help !!! - (rails 3.1.3)
I am using rails 3.1.3. Inside config/ application -> config.assets.enabled = true Inside development.rb -> config.assets.compress = false Inside production.rb -> config.serve_static_assets = false; config.assets.compile = false I have images placed in assets/images. If i do localhost:3000/assets/ image I get the image in the browser, but unfortunately, on the browser i am
2006 Mar 16
2
WEBrick and OS X 10.4.5 problems?
Has anyone who is running OS X 10.4.5 and the security patches thereafter noticed that WEBrick is no longer functioning? I have a machine at school that I believe to be patched with 10.4.5 but not with the latest security patch and WEBrick seems to run fine for it. However, on my machine at home I can''t get WEBrick to successfully run even freshly generated apps. For both
2011 Nov 26
1
ActionController::RoutingError (No route matches [GET] "/image.jpg"):
I am using rails 3.1.3. Inside config/ application -> config.assets.enabled = true Inside development.rb -> config.assets.compress = false Inside production.rb -> config.serve_static_assets = false; config.assets.compile = false I have images placed in assets/images. If i do localhost:3000/assets/ image I get the image in the browser, but unfortunately, on the browser i am
2006 Mar 17
2
Favicon.ico doesn''t show in IE 6
Hello All, I put favicon.ico under "public" folder. Also, I put a copy into "public/images". And I put these 2 lines in my layout file: <link rel="icon" href="images/favicon.ico" type="image/ico" /> <link rel="shortcut icon" href="images/favicon.ico" type="image/ico" /> It works fine in
2006 Dec 01
2
favicon
im trying to figure out how to serve a favicon.ico for my app, does anyone have a line for Mongrel::Configurator? all i can see is that everyone seems to use the 404 handler...how boring.. uri "/favico", :handler => Mongrel::DirHandler.new(File.dirname(__FILE__)+"/favicon.ico") is sort of close, but it says The image ?http://m/favicon.ico? cannot be displayed, because it
2005 Mar 03
5
Whats ''favicon.ico''
I''m seeing the following in the WEBbrick console output after every GET 192.168.0.108 - - [03/Mar/2005:15:35:19 AUS Eastern Daylight Time] "GET /favicon.ico HTTP/1.1" 200 60 - -> /favicon.ico What does /favicon.ico (which doesnt seem to exist in my source) do for Rails? _______________________________________________ Rails mailing list
2005 Nov 22
1
What? - 500 unless class Cart included
I have been struggling with a problem for a while, and now have a workaround, but I want to understand if something is borked in my config or if this is a bug. Setup: Mac OS X 10.4.3; Ruby 1.8.2; Rails 0.14.3 Problem: When I create a brand new project, I get an HTTP 500 status. If I add a Cart model, the 500 goes away: $ rails test create create app/controllers [etc]
2010 Dec 19
0
favicon.ico (shortcut icon) & Internet Explorer 8 & rails
For all the poor programmers out there who have been scratching their heads ... If you do something like <link href=''/images/UltraDedup-icon-003---16x16.ico'' rel=''shortcut icon'' type=''image/x-icon'' /> and place it immediately after the in the <head> section of a webpage then you may experience the following bizarre behavior:
2011 Apr 12
0
Suppress ActionController::RoutingError in logs
My rails log get chock a block with things like <<<<<<<<<<<< ActionController::RoutingError (No route matches "/admin/Y- ivrrecording.php" with {:method=>:get}): ... ActionController::RoutingError (No route matches "/manager/html" with {:method=>:get}): .. ActionController::RoutingError (No route matches "/webdav/test" with
2006 Mar 04
6
Favicon?
I''m sure I''m missing something rudimentary here... I seem to be having difficulty getting my favicon to appear. I have my favicon.ico in the public folder. I''ve configured my route.rb to route the intro page to my "home" controller. I''m using application.rb in my views to template the headers and footers. Here is the tag in my <head> in the
2006 Feb 16
0
Really Really Important
Now that I''ve got you attention ;-) Of course I am talking about favicon.ico It doesn''t seem to be working. RAILS_ENV => production (apache 2 w/fastcgi) webrick run environment development neither of them seem to deliver public/favicon.ico normally, on apache, I would put it in /var/www/html/favicon.ico and it works (RHEL) Is there a trick for this or does ruby routes
2007 Sep 10
3
Can't reach a controller :(
When I try to see a controller I get a 404 error, this is what WEBrick says What could it be? Thanks for the help ;) => Booting WEBrick... => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2007-09-10 13:30:26] INFO WEBrick 1.3.1 [2007-09-10 13:30:26] INFO ruby 1.8.6 (2007-06-07) [i486-linux] [2007-09-10 13:30:26] INFO
2006 Feb 22
2
Using ez_where
Hi All, I am trying to pass values to ez_where to construct my conditions. I need to know how the params need to be formated for ez_where. My search class looks like this: def search @display_ad = DisplayAd.new(params[:display_ad]) cond = Caboose::EZ::Condition.new do pub_date == ''@display_ad.pub_date'' io_number =~
2005 Sep 12
0
Icecast 2.3.0 RC2 Annoucement
Ok, this bug has been identified, logged, and fixed in SVN. We will be most likely building an RC3 in short order... oddsock At 03:43 PM 9/9/2005, Joel Ebel wrote: >Playing around with it some, it seems to be related to the web >interface. If I don't touch the web interface it seems to stay running, >but when I start trying to view pages in the web interface it quickly dies.
2007 Oct 11
2
relative_url_root and javascript_include_tag
Hi. In my environment.rb, I have: ActionController::AbstractRequest.relative_url_root = "/foobar" In my layout, I have: <%= javascript_include_tag :defaults %> Question 1: I am getting an error: ActionController::RoutingError (no route found to match "/javascripts/prototype.js" with {:method=>:get}): When I remove the relative_url_root, everything works great.