From ba02d185ad9af773b8fcb5cb008d58fe34234380 Mon Sep 17 00:00:00 2001 From: bsag Date: Sat, 16 Jul 2011 06:15:36 -0700 Subject: [PATCH] Created Setting up development environment on ubuntu hardy (textile) --- ...opment-environment-on-ubuntu-hardy.textile | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Setting-up-development-environment-on-ubuntu-hardy.textile diff --git a/Setting-up-development-environment-on-ubuntu-hardy.textile b/Setting-up-development-environment-on-ubuntu-hardy.textile new file mode 100644 index 0000000..1ff0d4d --- /dev/null +++ b/Setting-up-development-environment-on-ubuntu-hardy.textile @@ -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: + +
+
+sudo gem install rspec
+sudo gem install RedCloth
+
+
+ +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. \ No newline at end of file