Displaying 20 results from an estimated 20000 matches similar to: "svn and ruby structure"
2006 Mar 30
11
Capistrano/SVN: Deploying different database.yml for live?
Greetings,
Today I''ve been working out how to begin using Capistrano and so far I''m
impressed. Even in my situation, learning Rails and deploying to a
single server, it''s incredibly helpful. I do have one small question
though:
In using Subversion I''ve used the "ignore" feature to ignore my local
database.yml file, because my local database and
2006 Mar 08
23
rubynuby == I''m a''scared to set it all up...
I''ve been mostly lurking here with an occasional nuby question for a few
weeks now. It seems like Ruby and Rails and the many libraries and
tools growing up around it are a remarkable toolset. Unfortunately I''m
finding the whole enchilada a bit daunting.
It seems that if one is to truly tap into the power of this thing and do
a significant amount of developing, one needs
2006 Mar 07
5
subversion help!
I created a subversion repository on my new vps and i''m trying to setup my
rails app there. However i keep getting this error:
subversion/libsvn_subr/io.c:2516: (apr_err=13)
svn: Can''t create directory ''/home/svnadmin/rapleaf/db/transactions/0-1.txn'':
Permission denied
How do i fix this? I know others have had this before, so i would
appreciate some help.
2006 Jul 14
2
Question: SVN the down and dirty
So I have done a bit of svn''ing. I use RadRails as well so SVN is built in.
Question though is I''m not sure exactly how it fits in my Ruby / Rails tree.
I imagine I can create one directory, say called SVN and then within there
all the sub directories for various svn repositories I might want to
download / update from.
But what I am not sure about and don''t want to
2006 Apr 01
4
Saving images in shared directory w/ Capistrano/SVN?
Hi all,
I''m using Capistrano and SVN to version control and deploy, but I''m not
sure what to do about my images directory. I use file_column and
RMagick to save images to the disk under a model called "Image", and
they''re saved in public/image/... etc.
Each time I deploy a new version, my image folder doesn''t exist anymore.
I don''t want
2006 May 03
8
Subversion and tmp directory in Rails 1.1 project
Hello everyone!
I''m thinking of the right way to store tmp/ directory of Rails 1.1
project in Subversion. It has cache, session and sockets
subdirectories. To me, it looks good to have
svn delete tmp/*
svn propset svn:ignore "*" tmp
So it will ignore all directories and files in tmp/. Even if you
create sessions/ and put some files in it, tmp/ content is still
ignored.
But
2006 Mar 06
6
rails app in professional development environment
I''ve been working on my rails app which will be a web app that i want to
launch as a business. Being new to rails i''m wondering what professional
web app developers do for their development environment. Right now i''m
developing and testing on my laptop. I think i''ve gotten far enough along
where i want to put it up on a hosting machine to develop further,
2006 Mar 16
3
Windows Deployment on Unix
Hi!
Can anyone give me some pointers on how to deploy a Rails application
developed under Windows with RadRails at a Unix Host (Textdrive).
I?ve heard of switch tower, but have never used it. Does it have a routine
to convert my Windows Carriage Returns/Line Feeds to Unix style? Is there
something else I should know?
Also, if somebody can point me to a good tutorial on setting up Rails to
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 Feb 18
2
SVN migration status
It looks like the Subversion migration is working. The CVS repository
is still there, but in read-only mode. However, the SVN repository
preserves the version history of the CVS repository, albeit organized
slightly differently.
For an introduction to Subversion, this online book is essential:
http://svnbook.red-bean.com/
It is written by some of the Subversion authors. The only drawback I
2006 Apr 16
2
Capistrano and multiple Dev environments?
I have working copies of code in development on multiple places - work
machine, home machine, laptop, etc. I can''t always force these machines to
use the same credentials; I end up with each machine having slightly
different database.yml configurations.
With Subversion-Pre-Capistrano, I left the entire config directory out of
Subversion (or some kind of template; see
2006 Aug 25
10
SVN security hole explained
Hi all,
If you are using Pound / Pen or another load balancer, I believe you
should read this:
http://blog.teksol.info/articles/2006/08/25/subversion-metadata-exposure-on-mongrel
My article refers to Dan Benjamin''s
http://hivelogic.com/articles/2006/04/30/preventing_svn_exposure
My point is that even though we are preventing Apache from serving
anything except a select few file
2006 Apr 08
4
Development Environment
I want to be able to code my rails apps either on my Desktop mac or
my Powerbook using textmate.
I want to build a Debian server that runs lighttpd, rails and mysql.
Would I use samba on the server and access the files that way through
TextMate or is there something else that folks use? and should I
use subversion and if so, how would I do that in the scanario I''m
describing.
2006 May 03
4
subversion setup for maintaining customizations to base code
To the subversion experts out there:
I''d like to set up svn to maintain customizations to my base app for
each client. A simple example would be to have a base CSS file and a
custom one for each client. What is the best way to set up svn so I
can ''co'' the trunc and then ''co'' customizations for each client on top
of the base code.
I''ve looked
2006 Oct 13
1
Subversion, testing a quickstart guide, version control for a Rails project
I just burned 3 hours figuring out Subversion, so I made up a little quickstart guide.
Try the guide and see if you can get version control going in ... say ... 30 minutes?
I assume your situation is:
You are setting up version control on a new subdirectory on your
computer.
You will copy your entire rails project directory tree into the new
subdirectory after you get subversion running.
2006 Apr 11
2
Passwords in SVN?
Hi everyone,
Where do you all keep your passwords for your apps? Out Subversion
repo is locked down to authorized users, and only those users can see
code in Trac. Is it safe to store passwords in there? For Rails?
For other scripts? What''s your strategy for this?
Thanks!
Sean
2012 Sep 04
1
svn: Authorization failed
How do I set up a subversion repository so
that svn can use an svnserve running locally?
I own the repository.
svnserve -d -r ... runs as me.
svn mkdir -m 'make trunk' svn://localhost/redeye/trunk
fails with
svn: Authorization failed
There is no request for credentials.
Is anyone that can willing to share an example that works?
I'm running CentOP 6.2
[hennebry at 67-61-185-5 reps]$
2006 Feb 24
6
when i save, rails doesnt update the model instance with the id of the new record
Hi everybody,
Im using sqlserver (sqlserver adapter).
I think that is some bug.
any idea?
--
_________
Noel R. Morais
2006 Feb 01
2
Need clarification for Rails Engines SVN repository
Hi all !
Could someone tell me what''s what in the Rails Engines Subversion
repository ? There are many folders where the Rails Engine is
located, and from the folder names alone, I can''t really guess what''s
what.
For example, the rails engine plugin is situated at:
plugins/engine
engines/trunk
branches/engines
branches/edge_engines
From the log, I gather
2006 Apr 28
3
store user id in session or find user id
Hi
Im uisng the lgoin generatior that as far as I can tell stores the
username in session.
I have another table that i need to store the id of the user who creates
an entry. (the logged in user)
Is it possible to store return the id and store it in session once the
user is created.
then do somthing like @project.user_id = session[:user].id;
or can I perform a search in the product table