Created Setting up development environment on ubuntu hardy (textile)

bsag 2011-07-16 06:15:36 -07:00
parent dc85df6115
commit ba02d185ad

@ -0,0 +1,40 @@
h1. Setting up development environment on Ubuntu Hardy
NOTE: this guide is outdated
This guide shows how to get a git clone up and running on Ubuntu Hardy.
First, install some dependencies - I'm using the package manager. Other guides show how to use the ruby gem system instead.
@sudo apt-get install ruby1.8 ruby1.8-dev rake git-core libsqlite3-ruby1.8@
Follow the instructions in "Updating rubygems to 1.3.1":http://intertwingly.net/blog/2008/11/23/RubyGems-1-3-1-on-Ubuntu-8-10 and "fixing gemrunner NameError":http://www.nickpeters.net/2007/12/31/fix-for-uninitialized-constant-gemgemrunner-nameerror/
Now run:
<pre>
<code>
sudo gem install rspec
sudo gem install RedCloth
</code>
</pre>
Get the source code with
@git clone git://github.com/bsag/tracks.git@
Now check the "the installation manual":http://www.getontracks.org/doc/chapter/2-installation.html
where you follow the instructions from Configure variables and onwards. I've already selected sqlite3 as database.
h3. Debugging
Install debugger support with:
@sudo gem install ruby-debug@
Start server with
@server --debugger@
Simply insert the @debugger@ statement in the Ruby code to invoke a debugger shell with the current context.