Displaying 20 results from an estimated 800 matches similar to: "Structuring a rails application"
2010 Apr 26
2
woriking under webrick but not under passenger
Hi!
I have just added login feature to my rails application (followed the
instruction from (Agile Web Development with Rails) but now I am getting
strange errors (looks to me like some kind of routing problem) under the
passenger/apache.
The error is:
500 Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
From the log:
2010 Mar 19
1
error in map library
Dear Ruser,
>
>
> I am trying to use the map library. But unfortunately I am facing the
> warning message above:
> Warning message:
> *In readGDAL(destfile, silent = TRUE) : GeoTransform values not available
> *
I want to use that library because I intend to plot some station in a
Brazilian map.
I really appreciate any help.
>
>
===here what I was testing========
2011 Apr 01
1
[GIT PULL] elflink ldlinux
The following changes since commit 8c576f1fe03e34879921311f46613a35c6530000:
Merge remote-tracking branch 'mfleming/for-hpa/elflink/fix-compiler-warnings' into elflink (2011-03-16 12:53:58 -0700)
are available in the git repository at:
git://git.zytor.com/users/mfleming/syslinux.git for-hpa/elflink/ldlinux
Matt Fleming (1):
ldlinux: Perform auto-boot if NOESCAPE set in config
2011 Feb 17
5
[PATCH 0/4] Reduce core size
From: Matt Fleming <matt.fleming at linux.intel.com>
These patches are based on the elflink branch.
This set of patches is my attempt at moving the command-line interface
functionality out of the core and into an ELF module to reduce the
size of the core.
The most interesting patch is [PATCH 4/4] which moves the cli code out
of core/elflink and into com32/elflink/modules. [PATCH 4/4] is
2011 Sep 08
4
[PATCH] Staging: hv: storvsc: Show the modulename in /sys/class/scsi_host/*/proc_name
mkinitrd relies on /sys/class/scsi_host/*/proc_name instead of
/sys/block/sd*/device/../../../moalias to get the scsi driver module
name.
As a fallback the sysfs driver name could be used, which does not match
the module name either ('storvsc' vs. 'hv_storvsc').
Signed-off-by: Olaf Hering <olaf at aepfle.de>
---
drivers/staging/hv/storvsc_drv.c | 3 ++-
1 file changed,
2011 Sep 08
4
[PATCH] Staging: hv: storvsc: Show the modulename in /sys/class/scsi_host/*/proc_name
mkinitrd relies on /sys/class/scsi_host/*/proc_name instead of
/sys/block/sd*/device/../../../moalias to get the scsi driver module
name.
As a fallback the sysfs driver name could be used, which does not match
the module name either ('storvsc' vs. 'hv_storvsc').
Signed-off-by: Olaf Hering <olaf at aepfle.de>
---
drivers/staging/hv/storvsc_drv.c | 3 ++-
1 file changed,
2006 May 28
13
JSON not auto-evaluated
Hi,
please consider this stripped down example:
new Ajax.Request(''foo.php'', {
onSuccess: function(t, json) {
alert(json.myParam);
}
});
According to http://www.sergiopereira.com/articles/prototype.js.html, the
second param is supposed to be the evaluated json object IF the X-JSON header
is send in the response. I send the header in my script. However, the json
var
2004 Feb 24
2
ssh and rsyncd.conf
I am able to perform the following line
rsync -rsh="/usr/bin/ssh" filename host:/dir/filename
But I am not able to perform this
rsync -rsh="/usr/bin/ssh" filename host:module_name
where rsyncd.conf contains the following
pid file = /var/run/rsyncd.pid
log file = /var/log/rsyncd.log
read only = false
[module_name]
path = /home/test
comment =
2007 Feb 09
12
Module Organization
This is in reference to David Schmitt''s writeup [1]
I like that writeup a lot; I just had a few comments/clarifications:
* Namespaces: For now, we just use a flat namespace for modules, i.e.
you can''t have modules within modules, and you always know that in a
fully qualified name ''foo::bar::baz'' that ''foo'' is the module name and
2006 Nov 23
3
dynamic mapping in controller
Hi,
I have used scaffold to create my rails project and hence I have a
database containing a table called "results" and when i call the "show"
action followed by the ID it brings up a list of the relative record and
its details.
What I want though is for if someone types in say
localhost/results/etab-mobile that it maps dynamically to
localhost/show/1 but keeps
2012 Apr 25
3
Exec and snmpd restart question
Hello Pros and users of Puppet.
I have two problems with the following modul setup:
My first problem that i tried every combination of
require,notify,subscribe for the mail sending exec but it runs every
single time when i run the module no matter if the files changed or
not.
Second problem that puppet reports that snmpd was refreshed by two
resource and restarted but actually it doesnt happen.
2011 Sep 21
2
Two parameterized classes calling both a thirth class (results in already defined)
Hi all,
I have three parameterized classes, named mq, mq_gsk and apache.
The mq class always calls the mq_gsk class, but the apache class
should only call the mq_gsk class when the mq class is not used in a
hosts'' node definition
Here is my configuration
class mq (
$gsk_version = undef ) {
require mq::params
< ..... >
class { ''mq_gsk'':
2006 May 25
7
Hide content before page load
Hi,
i''ve been experimentating with dynamicCSS.js [1] to hide content only if
JavaScript is enabled. It works pretty well and fires before onload to avoid
the flash of visible content. Now i''m wondering if there is a Prototype way
of doing this.
[1] http://www.bobbyvandersluis.com/articles/dynamicCSS.php
My main problem is that Prototype functions like Element.toggle() do
2008 Jul 21
2
webrick needs 80 seconds for starting
ruby script/console webrick
after 23 seconds:
=> Booting WEBrick...
after 78 seconds:
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2008-07-21 08:07:17] INFO WEBrick 1.3.1
[2008-07-21 08:07:17] INFO ruby 1.8.6 (2007-09-24) [i386-mswin32]
[2008-07-21 08:07:17] INFO WEBrick::HTTPServer#start: pid=4664
port=3000
2013 Apr 03
1
calling_module vs module_name ?
In using Hiera, what is the difference between calling_module
and module_name?
Which is should be used?
:hierarchy:
- %{environment}/%{calling_module}/common
- %{environment}/%{module_name}/common
Thanks
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
2009 Dec 13
5
retransfer fail of large files with inplace and broken pipe
Hi,
i have to tranfer large files each 5-100 GB (mo-fri) over dsl line.
unfortunately dsl lines are often not very stable and i got a broken pipe error.
(dsl lines are getting a new ip if they are broken or at least after a
reconnect every 24 hours)
i had a script which detect the rsync error and restart the transmission.
this means that if a file has transfered e.g. 80 % i start again from
2018 Aug 08
2
[PATCH nbdkit] python: Try harder to print the full traceback on error.
The tracebacks are compressed into a single line because we're using
PyObject_Str, but they are just about usable if not very readable.
For example you would see an error like this:
nbdkit: error: ./python-exception.py: config_complete: error: ['Traceback (most recent call last):\n', ' File "./python-exception.py", line 54, in config_complete\n raise_error1()\n',
2019 Sep 11
3
[PATCH nbdkit] python: Drop support for Python 2.
This patch proposes to drop support for Python 2 in nbdkit.
Rather than abruptly drop it everywhere, my proposal is that we point
people to nbdkit 1.14 (the current stable version) if they want to
continue with Python 2 plugins, while gently reminding them of the
upcoming Python 2.7 end of life announcement.
Libnbd never supported Python 2. Libguestfs in theory supports
Python 2 but I dropped
2019 Sep 13
2
revoking ssh-cert.pub with serial revokes also younger certs
Hi there!
What am I doing wrong?
I created a ssh-certificate
id_user_rsa-cert.pub with this dump:
id_user_rsa-cert.pub:
root at host # ssh-keygen -Lf id_user_rsa-cert.pub
??????? Type: ssh-rsa-cert-v01 at openssh.com user certificate
??????? Public key: RSA-CERT SHA256:kPitwgxblaUH4viBoFoozSPq9Pblubbedk
??????? Signing CA: ED25519 SHA256:8p2foobarQo3Tfcblubb5+I5cboeckvpnktiHdUs
??????? Key ID:
2007 Oct 09
2
AW: CentOS 5 release for IBM z/Series?
Hi dag!
Thx for your reply!
So, there will be no release in the near future of centos 5 for Z?
At the moment we got a realy small z/linux installation, but i love it.
Keeping the TCO as low as we can was necessary to satisfy the
decision-maker.
So we decided to choos a free linux distribution, centos was a good decicion
we thougt. (redhat / fedora was always my favorite flavor *g*)
It would