Displaying 20 results from an estimated 10000 matches similar to: "A cautionary tale on multiple databases under a single Rails app"
2001 Nov 29
1
Migrating Domain from TNG to 2.2.2: A cautionary tale
Hello,
We recently undertook to migrate our domain from samba-TNG to samba-2.2.2.
However, it did not go smoothly. One of the main reasons is that even
if you start 2.2.2 with the domain SID from the TNG installation, you
find that the users' RIDs are different. This is because samba-TNG
calculates the RID from the unix UID using the formula UID*4 + 1000
where as 2.2.2 uses UID*2 +1000.
At
2008 Sep 19
0
The Cautionary Tale of Multi-Arch glib
I'm mainly writing this in hopes that it gets picked up by Google in
case anyone else runs into this problem.
I was going to distribute the source & binaries for the first sneaky-
peek at Swfdec for Mac OS X today. But yesterday, when I tried running
my player application within Mac OS X's PowerPC emulator (Rosetta), I
noticed it was crashing in some animations with the
2000 Oct 13
2
Cautionary tale about c (PR#695)
This situation arose in a computer practical this morning. A
student overwrote "c" with a function. This messes up lots of
things, but it is difficult to remove the function "c" from the
global environment because it is used as a function in both "rm"
and "remove". [The solution was to reassign "c" as a number, and
then remove it.] Would it be
2005 Dec 30
1
Problems with Testing (Depot) demo app in Agile Rails book
I''ve encountered a perplexing problem whilst following along the demo
app in the "Agile Web Development with Rails" book. Any help would be
greatly appreciated. Here is a brief time line of my tale of woe:-
0. Been programming (business apps) and designing/building DBs for two
decades - but new to both Ruby and Rails (so I apologise in advance if
I''ve made some
2005 Nov 14
0
can't display controllers with lighttpd
Hello,
I can see http://192.168.1.5/public/index.html
i''ve created a controller as it''s mentionned in the rails bible
("agile web dev.." of M.Thomas)
If i try http://192.168.1.5/say i have an error "file not found"
I''ve really struggled a lot with this and already asked people at
#lighhtpd but i really can''t find the answer.
This is
2006 May 17
1
Apache config: Two different rails apps using same domain name (mod_rewrite issue)
The problem I''m solving here is that I have two different Rails applicatons
that uses the same domain name. One handles the www (e.g. www.mycoolapp.com)
and is used as the main site, and the other handles the user subdomains
(e.g.. someuser.mycoolapp.com). The DNS stuff and the Apache virtual hosts
were all set up, the two rails apps are in place in the file system, and the
proper
2006 Oct 28
4
Mounting an app as ''/'' under Apache?
Hello everyone, I have a site with a collection of camping apps. I''m trying
to force one of them, blog.rb, to run as the index (''/'').
I think that I understand the RDoc as stating that I can execute the
following to make that happen:
Camping::FastCGI.serve File.expand_path(current), Blog
But, when doing so, I recieve the following error:
Camping
2006 Feb 16
11
Multiple Rails app on the same server?
I have a rails app on a debian server running lighttpd and I''m trying to
set up typo so that it also works (with a different url). I have 4 URLs
running -- let''s call them foo.com, bar.com, www.typo.com and
php.typo.com
I am starting lighttpd by going into the directory where my foo.com app
is and typing either ruby script/server or script/server -e production
-- either
2006 Aug 07
0
image uploads not working with lighttpd
Hi I thought it was time to test my app out on a real server. So i have
installed lighttpd following the instruction on the rails wiki.
everything seems to work fine except the file upload page. It doesn''t
throw any errors, it just doesn''t seem to write the image to disk.
Nothing is printed to the lighttpd error log when the file upload fails.
I thought it might be my code
2006 Jan 26
2
Apache FastCGI seems single threaded (W2K)
Hi,
I have set up Apache 2, FastCGI on W2K. My Rails project seems to run
fine. I wanted to test how many FastCGI processes I would need. So I
created a new project with 1 controller, that has 1 method :
def index
s = Time.new
while Time.new - 3 < s
end
render_text "#{s.strftime(''%H:%M:%S'')} -
#{Time.new.strftime(''%H:%M:%S'')}"
end
The
2016 Mar 08
2
FileCheck: combining -DAG and -NOT
If you look at the FileCheck documentation page:
http://llvm.org/docs/CommandGuide/FileCheck.html
you'll find this intriguing example of combining -DAG with -NOT
(slightly amended to avoid some potential confusion):
; CHECK-DAG: BEFORE
; CHECK-NOT: BETWEEN
; CHECK-DAG: AFTER
The page says this will reject the sequence "AFTER BEFORE", which is
correct. It's intuitively obvious
2006 Jan 04
4
Multiple Sites, One Rails App
Here is the situation: We have one rails app that is built around our
fairly large DB. Since we have many models and logic inside those
models, it makes sense for us to build only one rails app and share it
among several different sites (Public web site, internal data backend,
etc).
The thing I can''t quite get my head around is how to forward requests
(using lighty) from different
2006 Jun 08
2
Running the same application multiple times with different enevironments
Hi!
I have an application that needs to be run on multiple virtual hosts
(Apache2) with each instance having it''s own environment / database.
Using dispatch.cgi I simply configure two virtual hosts pointing to the
same application path and just add a "SetEnv RAILS_ENV
<environment_name>" to each virtual host section in the Apache
configuration. But with FastCGI /
2001 Mar 27
1
Tale of kernel 2.2.19 upgrading
I'm a bit of newbie to Wine in many respects so this may be obvious to more
seasoned Wine veterans, in which case I apologize.
I rely on Wine to run Lotus Notes on Linux - this project has released me from
my NT workstation :-) So after a kernel upgrade from 2.2.17-21mdk (as supplied
with Mandrake 7.2) to an unpatched 2.2.19 about the first thing I tried was
Lotus Notes on Wine. Parts of it
2011 Jul 15
0
Priston Tale 2, Wine 1.3.24 - can't get past launcher.
Hello.
I have a problem running Priston Tale 2. In AppDB it is listed as PLatinum, but I can't get past launcher(it looks like this http://imageshack.us/photo/my-images/840/zrzutekranuaw.png/). There is no update process visible, and when I click "Play" it just hangs.
I am using Ubuntu 10.4(lucid) with Radeon Mobility HD 4570(Catalyst 11.6 drivers).
Wine 1.3.24 with installed
2005 Jul 04
0
Error: Premature end of script headers: dispatch.cgi
Hi,
I''m hoping someone can help me with my setup. I''ve installed ruby
(1.8.2), gems (0.8.10), and rails (whatever was current as of about two
days ago). I''ve got an app (been trying the Todo tutorial) setup under a
virtual host as a subdomain (httpd.conf is setup according to directions
in
2003 Dec 09
0
AW: Tall tale of woe....
Hello Ross,
I've got a similar problem since a week with my server.
I'm running RH 8.0 on a Xeon 1.4Ghz with 2GB RAM, too.
My CPU usage was pretty low (>90% idle) but the CPU load average was at 14.
For now I'm waiting for the next time it happens to get some more
information.
Best regards, Reiner
-----Urspr?ngliche Nachricht-----
Von: Ross McInnes (Systems)
2008 Oct 28
0
A tale about pci and xen
Hi there,
Just want to share a issue that i had with a DVB pci card on domU. I´m
using xen 3.1 (so far the one that works best with my various pci
passthrough devices), and I wanted to export a DVB pci card to a mythtv
backend domU. The domU could see the device, and load the modules
correctly, but when it tried to use the device the domU froze, and cpu
went 100%. After trying a lot of
2008 May 13
0
example of opening info windows in GMarkers
I''m quite enjoying the rapid development using Ym4r!
However, I''ve hit a roadblock and would appreciate any pointers.
I''ve got a map that has GMarkers on it. When you click on a GMarker a
beautiful little window pops up, chock full of information.
I also have a set of text links on the bottom of the page where each
is associated with a single GMarker. I''d
2009 Jun 24
1
Need help with La Tale
When attempting to run the launcher, the window pops up, as is normal, but then there's a message box that says the download/installation was flawed. I'm entirely new to WINE and I can't figure out where to start to fix this problem. The download/installation is not flawed and I can't go any further without fixing this.
Could someone please point me in the right direction or