search for: app_root

Displaying 20 results from an estimated 31 matches for "app_root".

2006 Mar 21
2
Several ''app'' directories ?
...eb site including : - the web site by itself - a forum - a wiki - a shop I would like to avoid putting all the controllers, views and models in the same app directories, polluting the subdirs with prefixed files like wiki_*, shop_*, forum_* - All the modules must share the same resources on the app_root directory (components, config, db, doc, and the like) In fact, what I want to do is http://myapp.com/module/controller/action and not only http://myapp.com/controller/action Which would be simply related to the subdirs /app_root/app/module/controller /app_root/app/module/views /app_root/app/modu...
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,
2009 Jul 28
1
[PATCH ovirt-node] Removed subpackages, stateful, stateless, logos, and selinux for inclusuion in Fedora
...(-) 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 -ExclusiveArch: %{ix86} x86_64 - -%define app_root %{_datadir}/%{name} - -%description -Provides a series of daemons and support utilities to allow an -oVirt Node to interact with the oVirt Server. -%package stateless -Summary: oVirt Node for running as embedded hypervisor -Group: Applications/System -Requires: %{name} = %{v...
2011 Jul 23
0
[PATCH] move dracut config and patching to spec
...irt-cleanup.sh %{buildroot}%{_datadir}/dracut/modules.d/91ovirtnode +%{__install} -p -m0644 dracut/ovirt-dracut.conf %{buildroot}%{_sysconfdir}/dracut.conf.d +%if 0%{?rhel} +# dracut patches for rhel6 +%{__install} -p -m0644 dracut/dracut-3d88d27810acc7782618d67a03ff5c0e41494ca4.patch %{buildroot}%{app_root} +%{__install} -p -m0644 dracut/dracut-93724aa28fc20c8b7f0167201d1759b7118ba890.patch %{buildroot}%{app_root} +%endif # resolv.conf augeas lens %{__install} -d -m0755 %{buildroot}/usr/share/augeas/lenses @@ -165,8 +177,15 @@ echo "# File where default configuration is kept" > %{bui...
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 else could the output be? Thanks in advance...... -- Posted via h...
2011 May 19
1
Module in Rails
...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 because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from t...
2006 Jun 30
1
Taking Control of Un-handled Exceptions
...ation 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 the rails default "rescue_action" method. However, anytime a RoutingError occurs, the "app_root/public/404.html" file gets displayed. The rescue_action method doesn''t even get called. Am I doing something wrong? Any suggestions? Thanks, Steven
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/.
2007 Jan 19
6
Problem w/ routes.rb
...//<myserver>/app3 When installing the latest webapp, I receive the following error: ActionController::RoutingError (no route found to match "/technologies/list" with {:method=>:get}): For some reason, ActionController is not recognizing the default route (i.e., machine name/<app_root>/<controller>/<action>). Just for the hell of it, I tried setting up the existing apps to use the Rails 1.2.1 gem, and I receive the same error. I have typically only used the default routes and not any custom ones; has something changed in Rails (I haven''t upgraded for a...
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.
...ld}/scripts/ovirt-reindex-search %{buildroot}%{_sbindir} %{__cp} -a %{pbuild}/scripts/ovirt-update-search %{buildroot}%{_sbindir} %{__cp} -a %{pbuild}/scripts/ovirt_ctl %{buildroot}%{_sbindir} +%{__cp} -a %{pbuild}/scripts/ovirt-rsyslog-kerbsetup %{buildroot}%{_sbindir} %{__rm} -rf %{buildroot}%{app_root}/tmp %{__mkdir} %{buildroot}%{_localstatedir}/lib/%{name}/tmp %{__ln_s} %{_localstatedir}/lib/%{name}/tmp %{buildroot}%{app_root}/tmp @@ -227,6 +229,7 @@ fi %{_bindir}/ovirt-add-host %{_bindir}/ovirt-vm2node %{_sbindir}/ovirt_ctl +%{_sbindir}/ovirt-rsyslog-kerbsetup %{_initrddir}/ovirt-host-b...
2010 Feb 23
1
More complete patch...
This patch supercedes the previous one by moving the functionality for relocating files into the make system.
2005 Dec 01
0
Troubleshooting "undefined class/module"
...;'ve seen this happen if the controller file has a syntax error, but that''s not it. I''m interested mostly hearing a debugging approach that I haven''t tried, or if you''ve banged your head on this one before, what you learned in doing so. The model file is in app_root/app/models The problem is intermittent, and goes away for a while if I restart WEBrick _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
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...
2006 Apr 25
3
Creating your own generators
...n creating an application specific generator. The script/generate command tells me that all I have to do is put a generator in my rails_root/generators: > 2. Unzip to directory /Users/{username}/.rails/generators/login > to use the generator with all your Rails apps > or to {app_root}/generators/login > to use with this app only. So I created a generators directory and plop in my generator. Upon executing `script/generate {generator_name}` I get: > Couldn''t find ''{generator_name}'' generator What do I need to do differently? Is there an...
2009 Oct 14
4
Refactor ovirt-node-image code base for inclusion in Fedora
Main reason for refactor is no ovirt-node-image binary image allowed in fedora. Removed ks files, now in ovirt-node-recipe, which is subpackage of ovirt-node. Removed tools, these are now in ovirt-node-recipe which is subpackage of ovirt-node.
2009 Sep 14
2
[PATCH node-image] add livecd-iso-to-iscsi script to support iscsi root booting setup
...%{__install} -p -m0755 edit-livecd %{buildroot}%{_sbindir} +%{__install} -p -m0755 livecd-iso-to-iscsi %{buildroot}%{_sbindir} %{__install} -p -m0755 livecd-setauth %{buildroot}%{_sbindir} %{__install} -p -m0755 livecd-rpms %{buildroot}%{_sbindir} %{__tar} -xf %{image_manifests} -C %{buildroot}%{app_root} @@ -94,6 +95,7 @@ cobbler sync > /dev/null 2>&1 || : %defattr(0755,root,root,0755) %{_sbindir}/create-ovirt-iso-nodes %{_sbindir}/edit-livecd +%{_sbindir}/livecd-iso-to-iscsi %{_sbindir}/livecd-setauth %{_sbindir}/livecd-rpms -- 1.6.2.5
2009 Jun 23
1
[PATCH server] added ovirt-wait4service and invokation in installer to wait for psql/ldap
...build}/scripts/ovirt-vm2node %{buildroot}%{_bindir} +%{__cp} -a %{pbuild}/scripts/ovirt-wait4service %{buildroot}%{_bindir} %{__cp} -a %{pbuild}/scripts/ovirt-reindex-search %{buildroot}%{_sbindir} %{__cp} -a %{pbuild}/scripts/ovirt-update-search %{buildroot}%{_sbindir} %{__rm} -rf %{buildroot}%{app_root}/tmp @@ -205,6 +206,7 @@ fi %{_sbindir}/ovirt-update-search %{_bindir}/ovirt-add-host %{_bindir}/ovirt-vm2node +%{_bindir}/ovirt-wait4service %{_initrddir}/ovirt-host-browser %{_initrddir}/ovirt-db-omatic %{_initrddir}/ovirt-host-collect diff --git a/scripts/ovirt-wait4service b/scripts/ovirt...