Forum: Ruby on Rails Using Rails with Subversion

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
53cca1f55d947a176d419736ab639f1e?d=identicon&s=25 Bala Paranj (Guest)
on 2006-05-19 06:11
(Received via mailing list)
I followed the instructions at Hivelogic on Building Subversion (SVN) on
Mac OS X and installed it
on my machine.

Now I am following the rubyonrails wiki on How to Use Rails With
Subversion, it assumes that you
have already created a subversion repository. Could someone please point
me in the right direction
for creating a subversion repository? Searching lead me to macdevcenter
which seems to be
applicable for a networked environment. Thanks in advance.
Hone your problem-solving skills
5d15c6821f3c3054c04b85471824ba7c?d=identicon&s=25 steve ross (Guest)
on 2006-05-19 07:51
(Received via mailing list)
You really need to read the svn books. Start with:

but don't neglect "Pragmatic Version Control," as it explains a number
of concepts you may not get immediately from the svn book.

Tip: If you get one of the Pragmatic books, always get the PDF version
too. It's searchable and travels along inside your laptop :)

You'll need to decide whether to host svn locally or on a server. If
you're just getting familiar with svn and svnadmin, then go ahead and
run against a local repository. When you use svn for its intended
purpose -- team software development and versioning -- you'll have to
work with subversion hosted on a server that all members of your team
can reach.

Hope this helps.
00973881979aa0a660ffbbb2f7a907fb?d=identicon&s=25 Peter De Berdt (Guest)
on 2006-05-19 11:35
(Received via mailing list)
On 19 May 2006, at 06:09, Bala Paranj wrote:

> applicable for a networked environment. Thanks in advance.
on-mac-os-x/  (look in the comments, you'll also need to edit both
the shell script and applescript file in the link provided to the
startup item)

I?ve actually got a few servers I use - we have one at work, there
are some online repositories I connect to for some open source stuff,
and then I have one running locally for my personal projects.

Setting up the local server wasn?t too bad, it took about an hour to
get it working just right, but I?ve been using it now for months. Now
that you mention it, it would be nice to have a guide on how to set
it up, as I would have loved one. I?m headed out of town this
weekend, so I?ll try to get a guide online before then, but if not,
I?ll have one up shortly.

In the meantime, here?s how I did it in a nutshell:

Use svnadmin to create your repository, using the fsfs file system,
that?ll save you the trouble of messing with the Berkely DB junk. But
as of the latest version of SVN, I think fsfs is the default now.

Then, start your server by launching svnserve with the following
command - svnserve -d -r path/to/repo

The -d tells it to run as a daemon, and the -r points it to the
repository. You?ll find better details on these commands in the SVN
Book you can find online.

Then, as you?ll need to start svnserve anytime your Mac restarts, I
wrote a little shell script to launch it, which is run by an
applescript that runs at startup. I?ve zipped those up for you if you
like. Just open them up and edit the paths to match your system. - (20KB)

This should be enough info to at least give you a head start, and
I?ll see what I can do about getting another guide online about how
to do this.

Later -



Best regards

Peter De Berdt
This topic is locked and can not be replied to.