Displaying 20 results from an estimated 11000 matches similar to: "Assets compiler, how to copy whole directory to destination"
2010 May 31
2
ckeditor "Browse Server"
I started with the ckeditor rails demo and everything worked
beautifully.
Then I deployed a couple of sites using a heavily customized "Easy"
toolbar and everything works great. In these instances I completely
disable any file upload or management capability.
Next, I implemented the "Full" version for another project so that I
could have the full functionality of the image
2009 Mar 25
3
List of databases supported by Rails
Where can I obtain list of databases supported by Ruby on Rails?
Thanks
TheR
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe
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
2012 Apr 12
6
beginning_of_month problem
Rails 2.3.2, Ruby 1.9.3
I want to get all records for one month from charges table.
recs = Charge.where(["date >= ? and date < ?", t.beginning_of_month,
t.next_month.beginning_of_month])
and this transforms into this query on PostgreSQL
SELECT "charges".* FROM "charges" WHERE (date >= ''2012-03-31
22:00:00.000000'' and date <
2005 Feb 25
1
Feature request: Being able specify that the destination should follow source directory structure.
Greetings.
If I do this:
rsync --hard-links
one.server.com::"module/somedir/images/redhat/3.0WS/en/os/i386
module/someotherdir/1.0/images/redhat/3.0WS/en/os/i386" /export/distros
I get:
/export/distros/i386/... and a conflict between the two sources.
I want for destination:
/export/distros/images/redhat/3.0WS/en/os/i386
/export/distros/1.0/images/redhat/3.0WS/en/os/i386
In other
2012 Jan 24
0
PCA for assets based household income analysis (" hetcor" and "princomp")
I am doing Principal Component Analysis (PCA) on assets data for household income prediction. The problem is that the assets data are rank ordered (usually binary ... possess car/don't possess car), so the normal correlation is inappropriate for the calculation of the PCA. Instead one has to use the polychoric correlation coefficient. It uses the "random.polychor.pa" package.
2013 Nov 29
4
Capistarno deploy each time ckeditor assets removed.
Hi all, I have Rails 4.0.0 app,
After capistrano deploy my ckeditor_assets are being removed. Could not
symlink to shared/ckeditor_assets folder.
I have followed this step :
namespace :uploads do
>
> desc <<-EOD
> Creates the upload folders unless they exist
> and sets the proper upload permissions.
> EOD
> task :setup,
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 Feb 12
0
Rails reading from wrong assets folder
Hi,
I''m having some trouble with the rails on my webhost. Something went
wrong when switching from 3.0 to 3.1 and configuring the assets
pipeline. Been following the guide:
http://guides.rubyonrails.org/asset_pipeline.html#upgrading-from-old-versions-of-rails
But it didn''t do the trick. The weird thing is that I now have 2 assets
folders (I guess one got generates from rails or
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
2011 Nov 18
0
Assets - find a weird behavior recently and I'd like to understand the original issue
Hi the great community of Rails :)
Okay... Recently I had a big problem with javascript (JQuery) in one
of my Rails 3.1 application.
The problem was that the behavior of my javascript animations were
acting in a very weird way, and the strangest thing was it happened
only in development for the exact same code as the one of the
production application.
What I tried: (if you''re in a
2013 Feb 17
5
Where do Gems Live (e.g. CKEditor)
I''m a Rails newbie and I have added the CKEditor Gem which is working
okay. To configure the gem though, you have to edit the config file,
which is also working when I do that. However, when I push to github and
pull to my other computer, the config file is not changed.
This lead me to the following broader question: when you use a gem,
where does the code go and how can you make sure it
2011 Sep 27
1
Rails 3.1 assets path for video player Flash script 'player.swf'
I was using a Flash video player within a previous Rails version app
Moving to Rails 3.1.0 , I dob''t know where I should put the script ...
I tried to move it into an app asset sub-directory
assets
- jwplayer
- - player.swf
but this raises an error
"NetworkError: 406 Not Acceptable - http://localhost:3000/assets/jwplayer/player.swf"
player.swf
the flash script is given as a
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
2006 Jun 28
8
How to obtain clients IP adress
Is it possible to obtain clients adress in ruby on rails?
by
TheR
--
Posted via http://www.ruby-forum.com/.
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
2008 Sep 03
1
portfolio.optim and assets with weigth equals to zero...
Hello.
I don't understand a particular output of portfolio.optim (tseries).
I have 4 assets and the portfolio.optim returns an asset with weight equals
to zero.
If I do a portfolio.optim with 3 assets, without the asset with weight
equals to zero,
it returns a completely different result.
That's I would expected the same weights as the run with 4 assets.
Below the code.
Thanks in
2012 Mar 25
1
Sub Directories in the Assets Folder
New to working with Rails assets, and have been having a hard time
finding a solution to what I am doing. I have some jQuery files along
with css and images, organized into folders based on the feature I am
using, all with relative paths. For instance, JqueryFolder will have a
js, css, images, etc. inside of itself - all linking to each other. I''m
looking to load all of the js, css,
2014 May 31
0
Help me understanding assets path
I've put my favicon into app/assets/images and include in my header
<%= favicon_link_tag 'my_favicon.jpg' %>
The favicon is correctly recognized by the browser, so it works
perfectly. When viewing the source code, I see to my surprise that the
following HTML code is generated:
<link href="/assets/my_favicon.jpg" rel="shortcut icon"
2011 Mar 16
0
Making Mongrel/WEBRick serve static assets with future expires header
I''m creating a Rails application which will be deployed to desktop
machines, running both the webserver and the browser (it''s a test-
taking application which needs to be able to run without an internet
connection).
For this reason, I''ll be running Mongrel or WEBRick, without an Apache/
Nginx in front of it as you would normally do. The browser will access
the Mongrel