similar to: public directory not updating

Displaying 20 results from an estimated 50000 matches similar to: "public directory not updating"

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
2014 Apr 14
0
Foundation & Authlogic
Seems I can get either Foundation or Authlogic to work but not both - After bundle install when I do a rails g foundation:install I get the following: C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.1.0/lib/acti ve_record/dynamic_matchers.rb:26:in `method_missing': undefined local variable o r method `inheritable_attributes' for ActiveRecord::Base:Class (NameError)
2006 Aug 04
0
Need to set production env route for images & stylesheets?
When manually editing my files for production deployment do I need to edit .htaccess or routes.rb to include the images and stylesheets directories so they''re still found like in my local development environment? I''m FTP''ing my "appname" directory to my hosting service to deploy. Unfortunately they don''t allow ssh/capistrano access and have no
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
2008 Feb 21
0
Capistrano and mongrel not deploying latest revision from SVN
Hello. I recently deployed my new rails application. Everything went fine, except for the fast that my mongrel cluster managed by Capistrano is only serving up the first revision. For instance, i one of my revisions I added a new action to my application. I checked it into svn, and ran cap deploy in my application''s root directory. I didn''t get any serious errors, except for
2009 Sep 09
0
Getting started with Rake - how do I copy a directory of assets to RAILS_ROOT + "/public"
I am just getting started with Rake. I am trying to create a rake task from within a rails plugin to copy some asset files (inside /assets in my plugin folder) to my rails application /public folder. How can I achieve this? I am not sure whether to use FileUtils or File. Where AM I in rake terms. No matter what I do it keeps saying it can''t find the file. Do I need to use File.join or is
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
2006 Jun 17
0
placing a rails app in a subdir (capistrano)
I want to deploy my rails app in a subdir, lets say: http://a.com/b/c/ (so: http://a.com/b/c/posts/new) for as far as i understand no i''ll have to 1. prefix my routes with "b/c/" 2. prefix the javascript and stylesheets paths with "b/c/" in my layouts i can think of numerous ways to make me only have to set the prefix in one place, yet i wonder if there is no
2006 Aug 15
0
Using config.action_controller.asset_host with ActionController::AbstractRequest.relative_url_root
I''m looking for some help with an issue I''m having using an external asset host. I''ve got the lines below in my environments/development.rb file. # Enable serving of images, stylesheets, and javascripts from an asset server config.action_controller.asset_host = "http://assets.example.com" #make rails think it lives in /app
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
2006 Jun 01
2
Capistrano: update_code - "No such file or directory" -
Hi folks, I''ve been staring at this one for far too long. I''m using Windows SVN client + Capistrano to deploy rails app to my hosted server. I can''t seem to get a single successful deployment. I keep getting this "No such file or directory - svn log -q -rhead http://myhost.com/svn/spclient/trunk " . I run this svn command from the cmd prompt and it
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...
2012 Aug 04
6
Automatic asset paths prevent logical asset organization
In 2fe70c1 (last year), rails changed from a static list of assets.paths to automatically register any path under assets/*. (This was not reflected in Rails Guides so I pushed an update to docrails.) However, in my opinion, these automatic asset paths create confusion. The result is that the first-level directories under `(app|lib|vendor)/assets` get swallowed and if I put assets into a
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
2006 Aug 14
2
Mongrel Cluster 0.2.1- Last Call
Hi all: Here''s a pre-release for mongrel_cluster to support current Mongrel 0.3.13.4 pre-release. Changes: - ''mongrel_rails cluster::restart'' now calls ''mongrel_rails stop'' and ''mongrel_rails start''. ''cluster::restart'' now accepts the ''force'' argument instead of ''soft''. -
2011 Nov 01
1
Rails 3.1, stylesheet assets not being reloaded correctly?
Hi, I''m working on a Rails 3.1 project at the moment and having a hard time getting the stylesheets properly loaded. My application.css.scss looks like this: /* * This is a manifest file that''ll automatically include all the stylesheets available in this directory * and any sub-directories. You''re free to add application-wide styles to this file and they''ll
2006 May 14
2
Capistrano + symlink to a shared images directory
Hi everyone, I have deployed a rails tumblelog site via capistrano, but have run into a problem. What I am wanting to do is this: In my deployment script create symlinks from the public directory so that the images directory points to a shared images directory. Reason being is I am adding an image upload to the site (not file_column) and need to easily add the uploaded images and thumbs into
2008 Apr 29
1
Webistrano recipes association (was: [Capistrano] Webistrano 1.3 released)
I see at some point recipes were changed from project-associated to stage-associated, is there some explanation or examples of that use-case? Could I request we have both? In my current cap scripts, we don''t have any stage-specific recipes, but maybe I''m just not understanding this completely. On Tue, Apr 29, 2008 at 1:04 PM, Jonathan Weiss
2012 Mar 15
0
Make Asset Pipeline compatible with Chrome DevTools Autosave
https://github.com/NV/chrome-devtools-autosave doesn’t play nice with Asset Pipeline. https://github.com/NV/chrome-devtools-autosave/issues/27 The culprit of the problem is in the asset’s URLs. I cannot decipher a file path by its URL. For instance, /assets/main.css?body=1 could be either app/assets/stylesheets/main.css, lib/assets/stylesheets/main.css or vendor/stylesheets/main.css. To fix
2012 Feb 21
2
Asset Pipeline doubles my CSS refs?
Hi, I''m trying to properly reference a .css file. Unfortunately the asset pipeline is doubling my css references which disables my code. What gets rendered is: <link href="/assets/sincoraish-screen.css" media="screen" rel="stylesheet" type="text/css" /> <link href="/assets/sincoraish-print.css" media="print"