similar to: Several ''app'' directories ?

Displaying 20 results from an estimated 2000 matches similar to: "Several ''app'' directories ?"

2009 Jul 28
1
[PATCH ovirt-node] Removed subpackages, stateful, stateless, logos, and selinux for inclusuion in Fedora
rhbz#:51422 --- ovirt-node.spec.in | 149 +++++++++------------------------------------------ 1 files changed, 27 insertions(+), 122 deletions(-) diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in index 3138011..b4e660d 100644 --- a/ovirt-node.spec.in +++ b/ovirt-node.spec.in @@ -43,76 +43,23 @@ Requires: nc Requires: grub Requires: /usr/sbin/crond Requires: anyterm
2005 Dec 28
2
where is WEBrick (daemon mode) output? not in log/server.log
I am running WEBrick in daemon mode (with the -d option). Where is the server output that would ordinarily be on my console if I ran without the -d option? APP_ROOT/log/server.log is empty and not being appended to, though it is owned by the same user WEBrick is running as and has write permissions. The only files in APP_ROOT/log are: development.log production.log server.log test.log Where
2011 May 19
1
Module in Rails
Hi, I want to use module in Rails 3 I have module in /lib directory. file name: my_module.rb Code of Module: module MyModule def self.my_method loop do puts "I am started!!!" sleep 2 end end end Now, I want to use this module in my rb file resides in app_root/daemon directory named myserver.rb How can i use that? -- You received this message
2006 Jun 30
1
Taking Control of Un-handled Exceptions
Greetings, I''m trying to catch all un-handled exceptions. I''m having problems handling the RoutingError and UnknownAction exceptions. I''ve added the following to my application controller as a protected method: def rescue_action(exception) render(:text => "error") end As far as I understand, this should catch all uncaught exceptions and override
2009 Jul 29
5
ovirt-node-image patchset Fedora
modified ovirt-node-image for inclusion in Fedora Removes ovirt-node-image-pxe sub package adds get-ovirt-node-image script adds generate-ovirt-node-pxe-tree script (replaces subpackage) moved all the scripts/tools into tools subdir adds new rpm, ovirt-node-recipe includes tools, manifests, and ks file/recipe Process for building upstream ovirt node packages.... 1. Build ovir-node.rpm in koji
2009 Feb 11
16
Unicorn: UNIX+localhost/LAN-only Mongrel fork
Hello all, Last week, I finally decided to put into motion some ideas I''ve been kicking around for a year in my head since last year... Basically I don''t want to have to deal with threads or support platforms that rely on or encourage threads. Especially given MRI 1.9 where kernel threads are more difficult to debug than green ones. Given the limited scope of this project,
2011 Jul 23
0
[PATCH] move dracut config and patching to spec
this is cleaner and avoids rebuilding initramfs in the kickstart post it is built with correct configuration for the node image the first time, in kernel posttrans --- dracut/Makefile.am | 3 + ...-3d88d27810acc7782618d67a03ff5c0e41494ca4.patch | 20 ++++++++ ...-93724aa28fc20c8b7f0167201d1759b7118ba890.patch | 37 +++++++++++++++ dracut/ovirt-dracut.conf
2006 Mar 26
4
A unit test that should pass
Hi, I wonder why this unit test fails. The model : class Article < ActiveRecord::Base set_table_name "publish_articles" belongs_to :category validates_presence_of :title, :excerpt #snip end The test : def test_validate @article.title = nil @article.excerpt = nil assert !@article.save assert_equal 2, !@article.errors.count end !@article.errors.count returns
2006 Mar 24
2
before_destroy not called
Hello, I''m trying to intercept delete call in my model but before_destroy callback is never called... Somebody knows why ? Thanks The controller : def delete Image.delete(params[:id]) redirect_to :action => "list" end The model : class Image < ActiveRecord::Base set_table_name "publish_images" belongs_to :article before_destroy :on_destroy
2007 Jan 19
6
Problem w/ routes.rb
I am trying to develop a new webapp using Rails 1.2.1. I am installing it onto a production web server running Apache w/ fastcgi. The server already has some older webapps running on it using an older version of Rails. The apps are not installed in the document root; they each have their own subdirectory which is a symlink for the apache document root to the "public" directory of each
2006 May 05
2
session file
How do I delete the Rails session file? Where is it? Any help would be appreciated -- Posted via http://www.ruby-forum.com/.
2006 Feb 28
5
Problem with paginate, include and foreign keys
Hi all, Solaris 10 Ruby 1.8.4 Rails 1.0.0 Postgres 8.1 postgres driver 0.7.1 I''m having a problem with getting paginate() to properly pick up an FK constraint properly. I don''t seem to have this issue with ActiveRecord, however. Consider: create table start_dates ( id bigserial, start_date date unique, max_slots int default 40, primary key (id) ); create
2010 Sep 23
7
errors.add, setting the whole message
Hi all. I have an attribute, job_role_id_short, that is being set in a form. This field has a custom validation on it, which does this if it fails: self.errors.add(:job_role_id_short, "cannot be blank") I want to add the error onto the attribute, so that the form builder will wrap the field in a fieldWithErrors div. However, the error it generates says "Job Role Short cannot
2009 Aug 11
0
[PATCH server] Added support for remote logging with rsyslog-gssapi to server.
Nodes will use rsyslog to forward their logs to the server in /var/log/remote. --- installer/modules/ovirt/files/rsyslog.conf | 65 ++++++++++++++++++++ installer/modules/ovirt/manifests/ovirt.pp | 26 ++++++++ .../modules/ovirt/templates/ovirt-dns.conf.erb | 1 + ovirt-server.spec.in | 3 + scripts/ovirt-rsyslog-kerbsetup
2006 Apr 01
1
set_table_name and fixtures
Hello, I''ve encountered a fixtures really frustrating bug : model, YAML file and db table names must be the same because of the fixture library ignoring the set_table_name provided in the model. Is there anything to do ? Thanks -- Posted via http://www.ruby-forum.com/.
2006 Mar 22
3
stack level too deep error : Pulling my hairs out
Hello, I''ve changed something in my test application and since I can''t find the cause of the "stack level too deep" raising on every request. I''ve removed almost every part of code and the error still occurs, eg with this url : www.myhost.com/main/index routes.rb (nothing else in this file) map.connect '':controller/:action/:id''
2007 Dec 19
5
pciback.hide with ISDN Cards
Hi all, did somebody successfuly export ISDN Cards to DomU? I want to have 2 ISDN Cards in DomU (for Asterisk with mISDN) lspci -vt -[0000:00]-+-00.0 nVidia Corporation MCP55 Memory Controller +-01.0 nVidia Corporation MCP55 LPC Bridge ... +-05.1 nVidia Corporation MCP55 SATA Controller +-06.0-[0000:01]--+-00.0 Cologne Chip Designs GmbH ISDN
2009 Sep 14
2
[PATCH node-image] add livecd-iso-to-iscsi script to support iscsi root booting setup
This enables the ability to take the ovirt-node-image iso and deploy it to an iscsi disk. It also provides a sample pxe configuration for booting based on the iscsi root device. Includes support for user/password as well as reverse chap user/password. --- Makefile.am | 1 + livecd-iso-to-iscsi | 201 ++++++++++++++++++++++++++++++++++++++++++++++ ovirt-node-image.spec.in |
2005 Dec 01
0
Troubleshooting "undefined class/module"
I''m having a bit of a headbanger here... maybe someone can help. A class in a fairly complicated existing Rails app that I''m working on seems intermittently not to load. The error is basically the following: undefined class/module InnerPackage c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.0 /lib/action_controller/session/active_record_store.rb:75:in `load''
2007 Jun 20
0
ActionMailer into a Component
Hello I''ve created a little component rsbt (for really Simple Bug Tracker) : <app_root>/components/rsbt Inside this component i have my MVC : bt_controller.rb , bug.rb (model) and the view (into a ''bt'' subfolder) Then, i wanted a notification, once a Ticket has been submitted . So i''ve created a model notifier.rb (extending ActionMailer) and put it at