Displaying 20 results from an estimated 4000 matches similar to: "Capistrano deployment pathname error"
2006 May 26
3
capistrano on windows (again)
Hi all
I didn''t get a response to my first post so I thought I''d try again. is
anyone successfully using capistrano to deploy their app from a windows box?
I''m trying to deploy a test app to my dreamhost account but all i get is
"rake aborted!" with no further information. Can someone please confirm if
capistrano even works under windows?
many thanks
al
2006 May 18
3
capistrano and Dreamhost issue
Hi,
i''m striving to capistranize a foo app on DH.
Everything is hosted on DH to simplify a bit :
- svn repository (http access)
- the application
- the DB
I used the recipe of Jamis Buck modified by Geoffrey Grosenbach which
you can find here : http://nubyonrails.com/pages/shovel_dreamhost
I did the least modifications possible. As recommended.
1) When I launch the
2006 Aug 04
8
Capistrano /usr/bin/env: ruby: no such file or directory
Hi,
I''m deploying to a prod linux server via Capistrano, but the last step,
running the reaper, won''t complete.
Ruby is stored in /usr/local/bin on the server, and I''m deploying from
winxp.
$ ssh mcalogin@lx07
Password:
mcalogin@LX07:~> env | grep "^PATH"
PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/b
in:/opt/
2006 Apr 06
3
Deploying with Capistrano via cron
I''m attempting to auto deploy a rails application to a development
server periodically during ongoing development. I''ve setup ssh keys
to allow the proper user auto login permissions, but have ran into 2
issues.
1. When the script is run from a cron job as the same user as I
currently manually deploy from I receive an error when reaper tries to
execute - "can''t
2007 Sep 04
2
specing helpers fails on restful routes
Hi,
I am trying to spec helper methods in a Rails project, but it seems
the specs fail with the error:
You might have expected an instance of Array.
The error occurred while evaluating nil.<<
if the restful routes helper are used either in spec files, or the helper file.
What can I be doing wrong? Or how can I fix this.
Thanks!
--
Surendra Singhi
http://ssinghi.kreeti.com,
2006 Jul 13
3
Capistrano / developing on win32 / deplyoying on Linux
Hi,
I''m new at rails and am in the midst of deploying my first app to a test
server. The app was developed on windows. I used Capistrano to deploy,
and found a few issues:
1) I must chmod 755 dispatch.cgi each time I deploy
2) script/parse/reaper also doesn''t have the executable attributes so
the deployment fails.
3) database.yml as checked out from svn isn''t
2006 Mar 01
5
rails models, logging and testing
Hello,
I am using rails 1.0 and I have following questions. Please help me.
[1] How can I do logging in the rails models? I checked the wiki but didn''t find
anything which I explained how to do logging in models.
[2] Say I have a certain model, when I declare a function in the model, and
try to use that function from a view or a unit test, I get an error. For views
the error occurs
2006 Mar 13
3
"./blah/blah" vs. "/blah/blah"
Hello,
Earlier in my rails application, I was using the convention of writing the
following to refer to templates and/or views in the view folder.
"./blah/blah"
But in the Edge rail, it doesn''t work and the page doesn''t shows any output
there is no error in the development log as well. But changing the above to
"/blah/blah" seems to fix things.
Was I
2006 May 18
5
acts_as_classifiable plugin
Hello,
I am pleased to announce the availability of the plugin acts_as_classifier
which allows using the ''classifier'' gem in a Rails application.
This plugin can be downloaded from
http://opensvn.csie.org/sksinghi/acts_as_classifiable/
This plugin is useful in scenarios where you want to distinguish between spam
or non-spam comments, Or maybe you want to track the
2006 Mar 07
5
Capistrano: command never finishes?
Hi,
I have created a small :restart task to overwrite the default one:
task :restart, :roles => :app do
sudo "/etc/init.d/lighttpd stop"
sudo "/etc/init.d/lighttpd start"
end
This works fine and lighty does restart, but the last command never
finishes, so I never return to the prompt. Here''s my output:
cap restart
loading configuration
2006 Apr 02
2
Problem with edge rails
Hello,
When I am trying to run rake migration tasks, I get the error as shown
below. I am using ruby 1.8.4 and edge rails.
What am I missing or doing wrong?
C:\rails\temp1>rake db:migrate
(in C:/rails/temp1)
rake aborted!
no such file to load -- rails_version
Thanks for your help.
--
Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at:
2006 May 03
7
anybody using GoDaddy for hosting ?
Is anybody hosting with GoDaddy.com? I''m about to set up a hosted account for my RoR app and see that they''re now offering RoR hosting. I''d really appreciate hearing from anybody who''s tried them for RoR. Any congrats / complaints / etc. you had / are having would be really appreciated!
Thanks,
Bill
-------------- next part --------------
An HTML attachment
2006 May 18
7
Ruby Before Rails
As I, like many people, are coming to ruby in the rails era, I''m curious
about how Ruby Web Dev was done prior to rails. Any veterans want to
share their insights?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/20cde24d/attachment.html
2006 May 12
2
Do you store the source of third-parties plugins you rely on in your own version control ?
Hi!
well the subject is telling everything - I''m just curious to know how other
railers handle this (for me the answer is yes, clearly!)
cheers
Thibaut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060512/0b59b57b/attachment-0001.html
2006 Feb 21
4
Models, Helpers, Modules, etc.
Hello,
I am learning rails and ruby and I have some questions about how should I go
about doing certain things.
[1]Many of my models have some functionality which is common, and instead of
duplicating it across models, I want to store it in a single file, and then
import the file into the models. Should I do this using modules, and then store
them in the `lib'' directory? What is the
2009 Feb 09
5
"reaper" is not picking up new changes to my application???
Hi,
Can anyone shed any light on why "reaper" (whilst seemingly working re
restarting my mongrel ruby process) does not pick up changes to my
application? (e.g. changing a title in a view for example). It''s like the
"mongrel_rails start etc..." is just restarting the current process but
ignoring the new details re where the new application directory is. That
is
2006 Jun 19
2
Autocompleter enhancement feature request
Hello,
I have created a ticket for an enhancement of the autocompleter to show the
options immediately when the field gets focus. Right now at least one
character must be typed for autocomplete to kick in.
http://dev.rubyonrails.org/ticket/5435
I have also made some code changes directly in the script
Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
2006 Apr 18
3
Capistrano from windows to linux.
There seems to be a bug when deploying a rails application developed
in windows to a linux box. The rake deploy command attempts to run the
command "/install/path/current/script/process/reaper" but the files do
not have the execute bit set.
What can I do to make sure either the execute bit is run or prepend
the command with sh or ruby?
Thanks.
2006 Mar 18
2
ANN: capistrano-runit-tasks 0.1.0
I''d like to announce the first release of capistrano-runit-tasks.
This came about as I wanted to use runit rather than spinner/spawner/
reaper on my memory limited VPS but should be useable for any setup.
From the README:
This library extends Capistrano to allow processes to be supervised
using the
runit package. It replaces some of the standard tasks with runit
versions and
2006 Jun 15
2
AJAX form inside table - error
Hello,
I need to put an AJAX, form such that it is inside a table, and spans across
few rows.
But, what I am noticing is that, while submitting the form, the data in the
fields is not submitted.
If I move the form outside the table or inside a cell, things work OK, but not
when the form is inside the table and spans few rows. This problem is only
with AJAX forms, regular forms work perfect. I