similar to: System V Init Script

Displaying 20 results from an estimated 1000 matches similar to: "System V Init Script"

2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
Hi. I am using BackgrounDRb to process thumbnails and upload to S3 - things are hunky-dory in development (thumbs are generated, these are uploaded to S3, the metadata is saved to trhe DB, and I get a nice status page updated by periodic calls via ask_status), but when I tried to deploy to our staging server and stop/start BackgrounDRb via Capistrano, things blew up - well, not exactly,
2010 Sep 02
1
Error No such file or directory
Hi, I have a website deployed on heroku, but my local git repository was ereased, so I m trying to create a new local repository pulling my deployed site. I run : git clone -o heroku git-Vgi1d2+GxVTQT0dZR+AlfA@public.gmane.org:my_app.git, but now when I run script/server I get this error msg: pedro@ubuntu:~/proj/my_app$ script/server => Booting WEBrick => Rails 2.3.8 application starting
2006 Jan 28
1
Switchtower different svn repo urls from my local box and my shared hosting
I got problems running switchtower 0.10.0 when I try to run "rake deploy" from my local box (windows) to my shared hosting If I set the repository to (deploy.rb): set :repository, "file:///home/[my_user]/repo/[my_app]/trunk" My local box (windows) can''t reach the subversion repository located in site5 If I set the repository to: set :repository,
2007 Feb 02
3
rails command version pegging?
Hello, Is it possible to declare the version of Rails used with the seminal "rails /path/to/my_app" command? For example, I now have 1.2.1 and 1.1.6 installed on my machine. If I run "rails my_app" I get 1.2.1 produced skeleton code. Is there a way to get 1.1.6 results? Regards, Andy Koch --~--~---------~--~----~------------~-------~--~----~ You received this
2006 Jan 27
6
Switchtower deploy error
I''m trying to deploy a rails app with no success. I can execute: ''rake remote_exec ACTION=setup'' but when I try to execute : ''rake deploy'' I got this error: loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0 /lib/switchtower/recipes/standard.rb loading configuration ./config/deploy.rb executing task deploy transaction: start
2010 Nov 09
2
Undefined method
I am very new to ROR. (Ruby 1.8.7, rails 2.1.1, rack 0.8.7, mysql 5.1.41) I has my_app/lib/migration_helpers.rb file: module MigrationHelpers def self.foreign_key(from_table, from_column, to_table) constraint_name = "fk_#{from_table}_#{to_table}" execute %{alter table #{from_table} add constraint #{constraint_name} foreign key (#{from_column})
2009 Jun 03
4
[OT] Simple Shell Script (while loop)
Hey Guys, I can not find the corrent syntax for what I am trying to acheive with a while loop. Having said that I'm not exactly sure what you would call it so I have been googling with no success probably for that reason. I am just working with some sub directories except there is one I don't want to use so I have a while loop like the following; if we stubmle into the sub directory I
2009 Feb 02
2
Redistributing CentOS
Hey Listees, Just a quick question. I hope this isn't received incorrectly by everyone as I do mean the best for the CentOS project; I am wondering if it would be frowned upon to upload CentOS to my RapidShare account. I understand I can freely distribute CentOS but to what extent? In its simplest form I only really want to upload CentOS 5.2 to my RapidShare account for speed. I had to
2010 Feb 12
2
log access denied
Problem: Mongrel cannot start because access to log is denied. I just switched to a new development laptop (Snow Leopard). I think I installed everything I needed. I git clone the application I am developing from the repository. Everything went fine. Now when I run script/server, this is what I get: => Booting Mongrel => Rails 2.3.5 application starting on http://0.0.0.0:3000
2007 Aug 02
2
Do the :attributes and :content matchers work
[Rails plugin 1.0.5] Hi, I am looking for some guidance. When working on a partial which looks like this <div class="bug" style="width: 100%;" /> I have some examples which should fail - I think - but do not: it '' should fail'' do response.should have_tag( ''div.bug'', :content => ''There is no
2007 Aug 28
1
what''s the view format in trunk?
dumb question but what''s the view format in trunk? I have a simple router: Merb::Router.prepare do |r| # default route, usually you don''t want to change this r.default_routes # change this for your home page to be avaiable at / r.add ''/'', :controller => ''upload'', :action =>''new'' end I have a simple controller
2010 Aug 07
6
ext4?
Listee's... I have a 5.5 box and I have formatted a partition as ext4 however I can't mount it, the mount command is telling me its an unknown file system type. fsck tells me the partition is a clean ext4 partition but I can't mount it. Some reasearch has lead me to believe the problem is that ext4 isn't enabled in the kernel by default in 5.5 (this was originally a 5.2 box that
2012 Sep 28
5
Custom ruby gem continuously updates
Hey all, I''m not sure if there''s a real issue or if I''m doing something incorrectly. I have a custom compiled gem that I''m installing via: package { "sapnwrfc-0.24": ensure => ''installed'', provider => ''gem'', source =>
2008 Mar 13
4
Merb in production with God/Monit
Hey All, I just wanted to get other peoples take on problems when running merb in production? Just as Rails used to do, the mongrels tend to get heavy/unresponsive over time so need a good kicking by a watcher daemon like god or monit. However, I have had serious problems getting God to restart the process, as the "merb -k <port>" command doesnt appear to work reliably
2009 Jul 24
5
Need help viewing my first App
Hi All, I am new to ROR and I am experiencing a few problems viewing my first app. Can anyone pls help me to get my first app up and running? I created a rails application called my_app. I created a controller called hello. It looks something like this. class HelloController < ApplicationController def display end end When I type http://localhost:3000/hello/display it says "we
2010 Oct 23
4
Could not find 'sqlite3-ruby' error in Ubuntu
Hi all, please help me: First time I totally had to delete all ruby and Rails because of this problem. How to solve it well? The message is: *Could not find gem ''sqlite3-ruby (>= 0, runtime)'' in any of the gem sources.* *Try running `bundle install`* I have *Ubuntu* Linux. ruby -v = *1.9.2p0* gem -v = *1.3.7* rails -v = error message again, 2 hours ago it was "rails
2007 May 07
3
Module Madness
I''m wanted to make a "global" module that I could include in my application for some shared code between them. I''ve been making several camping apps and wanted them all to share a helper/partial that contained the navigation. I ran into a lot of difficulty when trying to include it, the primary problem being "methodUndefined" errors. I did finally get it to
2006 Feb 25
4
DO NOT REPLY [Bug 3554] New: Second copy of same rsync daemon should notice pid file and quit
https://bugzilla.samba.org/show_bug.cgi?id=3554 Summary: Second copy of same rsync daemon should notice pid file and quit Product: rsync Version: 2.6.7 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org
2013 Feb 03
4
Create a helper for models and views?
Hi! If I have a method that is useful in both models and in views, where would be the appropriate place to put it? The method in question just takes two dates as strings, tries to parse them and returns all dates in the range between them. It also takes care of the issues when the dates are badly formatted etc etc.. This method is being used in several models (so a simple class method in
2009 Jun 05
3
Swap priorities with swapon (Is my swap drive working?)
Hey Listee's I have a CentOS server with 2GB of ram and a swap drive of 4GB; swapon -a shows my swap drive as 4GB with only about 350 bytes in use (which is fine as my server idles with about 350-400MB ram usage so no swap should be in use. However my one and only swap drive had a priority of -1. I had read that the swap drive priority doesn't matter too much because I only have one swap