Displaying 20 results from an estimated 30000 matches similar to: "Multiple production servers with different roles?"
2010 Feb 11
0
PhD Quantitative Analyst Roles
We are currently in the process of developing and expanding our quantitative
analytics function. Led by commitment from the Head of Global Markets and
senior management across all asset classes, the function was centralised in
June with the view that the quantitative analytics platform should be
omnipresent and part of the decision making process throughout the bank. As
a result the focus and
2005 Sep 08
0
Re: Xen on production enviroment
Hi John,
And an excellent stab that was.
I have two network interfaces. eth0 is a 3Com with a
Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet chip,
and eth1 is a 3Com 3cSOHO100-TX Hurricane chip.
On the gigabit card, I couldn''t test anything, because I could not
find out how to disable/enable/check checksum offloading. Using
ethtool gives: Operation not supported
For the
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 Mar 20
4
Multiple Paperclip Images on Index
Hi,
I am working on a project that is using Paperclip to upload multiple
images to an Asset model. my Post model has_many Assets. As per this
tutorial/screencast...
https://github.com/Emerson/Multiple-File-Uploads-with-Paperclip-and-Rails-3/blob/master/app/views/posts/show.html.erb">
http://www.emersonlackey.com/article/paperclip-with-rails-3>
This all works fine and I can
2011 Sep 04
1
Linking failure in stylesheet_link_tag in production mode with asset pipeline enabled
Hey,
in my `application.html.erb`, I have this line:
<%= stylesheet_link_tag ''application'' %>
which should compile through the asset pipeline and link to the
application.css (which does a `require_tree .`). In development mode,
I''d expect a
<link ... href="/assets/application.css" />
This file is actually delivered by, for example, the
2011 Sep 12
0
How to get the image_path in production without the asset host?
Hi guys,
I would like to know how to get the image_path in production environment
without the asset host (using rails 3.1).
There is the image_path helper that returns the image path with md5 and (if
set, and it is set) the asset host, but we have not found a way to get the
path without the host.
Does anyone know how to do that?
Bruno Grasselli
Blog: http://brunograsselli.com.br
Twitter:
2006 Feb 05
0
validating presence of file uploads
not sure whats going on here, but I''m using some pretty standard code to
manage file uploads in to a db, but having trouble detecting if the file
upload field has been filled or not.
in my Asset Model, I have:
def asset=(asset_field)
self.name = base_part_of(asset_field.original_filename)
self.content_type = asset_field.content_type.chomp
self.data = asset_field.read
end
def
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 Dec 05
0
Rails asset tag helpers outputting invalid xhtml
I am using Rails 2.1 and HAML for some, but not all, of my templates.
All of the self-closing asset tags (<link>, <img>) output by the rails
asset tag helper methods are not being closed at all, thus rendering my
pages as invalid XHTML. Has anyone else dealt with a similar problem? I
am completely out of ideas, so if you have any suggestions, by all
means, fire away. Thanks.
--
Posted
2005 Dec 02
3
Conceptual Design Question
Hi All,
I am making a DAM (seems to be the hip thing to do these days). It is
for the company that I work for. We have some really weird domain
rules that have prevented me from just using a simple directory
structure file permission system. I have come up with a solution but I
wanted to run it by you gurus to ensure that I am not recompiling the
wheel here.
Basically the domain rule is:
A user
2012 Mar 24
0
Adding a timestamp to an uploaded image
In Rails 3 we have the asset pipeline, that automatically takes care of
images, caching, etc.
But what about images uploaded by the user? Those images are uploaded into
the "uploads" folder, and while you can move them around, they are outside
the asset pipeline (please correct me if I''m wrong).
So, the user uploads an image and when he replaces it with another one, the
2008 Jul 10
1
TX tcp checksum errors with Xen GPLPV 0.9.9 Drivers (xen 3.2.1 and windows Server x86 2003 R2)
Hello,
My first post on Xen-Users, so ..
i''ve discovered a strange problem.
Setup:
-A Windows server 2003R2 (x86) with GPL PV driver 0.9.9
ipferf 1.7.0 (from 2003)
-dom0 a opensuse 11.0 xen:
# rpm -q -a |grep -i xen
kqemu-kmp-xen-1.3.0pre11_2.6.25.5_1.1-7.1
kiwi-desc-xenboot-2.38-67.1
xen-3.2.1_16881_04-4.2
xen-tools-3.2.1_16881_04-4.2
xen-libs-3.2.1_16881_04-4.2
2009 Aug 17
0
Paperclip: processor proc not firing
Hi
It''s extremely rare that I have to post something on the Rails list,
but this is one of those times that I''ve been completely stuck for
countless hours.
Environment: Rails 2.3.3
I''ve implemented a custom processor proc for video thumbnailing with
Paperclip (latest trunk version as git submodule, and yes, it''s
updated) using the instructions posted
2020 Nov 18
2
wasteful cmake defaults
Am Mi., 18. Nov. 2020 um 12:17 Uhr schrieb David Chisnall
<David.Chisnall at cl.cam.ac.uk>:
> On 18/11/2020 18:03, Michael Kruse wrote:
> > This is missing the probably largest group: Users of clang who compile
> > clang themselves (e.g. because their OS does not come with a package
> > for clang, or is too old)
>
> I think our target for this group should be that
2020 Nov 19
0
wasteful cmake defaults
On 18/11/2020 18:40, Michael Kruse wrote:
> First, it is not rare that you are working on an LTS release, but need
> a newer compiler. I myself am still working on a remote machine using
> Red Hat EL7 with gcc 4.8 and no clang pre-installed.
We build nightly packages for Ubuntu LTS releases, what do we need to do
to add the same support for Red Hat?
> Since I am not
> the admin
2011 May 25
0
(solution) .js and .css error when using production environment
When changing to a production deployment with a single rails instance,
NOT proxied, errors showed up on the console, and of course .js and .css
files were not served as a result:
ActionController::RoutingError (No route matches
"/javascripts/application.js"):
ActionController::RoutingError (No route matches "/favicon.ico"):
Solution:
in config/environments/production.rb:
2020 Jul 28
0
[PATCH V4 4/6] vhost_vdpa: implement IRQ offloading in vhost_vdpa
On 2020/7/28 ??5:18, Zhu, Lingshan wrote:
>>>
>>> ?????? * status to 0.
>>> @@ -167,6 +220,15 @@ static long vhost_vdpa_set_status(struct
>>> vhost_vdpa *v, u8 __user *statusp)
>>> ????? if (status != 0 && (ops->get_status(vdpa) & ~status) != 0)
>>> ????????? return -EINVAL;
>>> ? +??? /* vq irq is not expected to be
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...
2006 May 29
3
File.size() on Uploaded Images Fail
I am checking the file size of an uploaded file and storing it in a filesize
column. It will work just fine when the user uploads any files other than
images (jpg,png,gif).
Word, Excel, Powerpoint, .zip and more all work fine.
This is my model asset.rb that handles the file upload.
def newfile=(newfile_field)
self.filename = base_part_of(newfile_field.original_filename)
self.filetype
2008 Sep 18
4
Migration stalls with 2.6.26.5 kernel
Hello,
I have been struggling through the task of moving our infrastructure
over to Xen VMs. We were initially using Ubuntu packages for both dom0
and our domUs, but experienced extreme instability so we moved to
CentOS, which has been much more reliable for dom0. Since we already
had a bunch of Ubuntu VMs, we left them using the Ubuntu 2.4.24-19-xen
kernel, but this has turned out to be