My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Git  
Using git to track the latest changes in rubyripper
Phase-Deploy, Featured
Updated Nov 9, 2011 by boukewou...@gmail.com

Introduction

Git manages changes for the rubyripper project. With each 'commit' (change) a diff will be created against the previous revision. When hunting down some bugs, it can be usefull to get the latest revision to see if it fixes your particular problem. Due to the scripting characteristic of ruby you do not have to install it on your system just to run rubyripper!

Here follows the commands you have to run in a terminal/konsole. You can easily replace $HOME with any directory you have access to. And of course you need to install git before doing this!

Usefull Git command

Initial checkout is done with: cd $HOME; git clone https://code.google.com/p/rubyripper/

Hereafter I assume you've already executed cd $HOME/rubyripper.

  1. Update rubyripper repository: git pull
  2. Status rubyripper repository (including active branch): git status
  3. Switch to master branch: git checkout master
  4. Switch to stable branch: git checkout stable
  5. See a graphical view of commits: gitk
  6. Run rubyripper master branch: ./bin/rubyripper_cli

Notice there also is a nice webview on the rubyripper site: http://code.google.com/p/rubyripper/source/list

Notes about the master branch (november 2011)

  • The translations are currently broken.
  • The graphical user interface is currently broken.
  • The command line interface is under heavy development right now.
  • You can run the unit tests with cd $HOME/rubyripper;rspec
  • You can run the acceptance tests with cd $HOME/rubyripper;cucumber

To install rspec: rgem install rspec To install cucumber: rgem install cucumber

Create / update language files (optional)

Make sure you've installed the dependency list in the README file

  • cd $HOME/rubyripper
  • ./configure --update-lang

Run rubyripper

Make sure you've installed the dependency list in the README file

  • cd $HOME/rubyripper
  • ./rubyripper_gtk2.rb or ./rubyripper_cli.rb

Read more about git


Sign in to add a comment
Powered by Google Project Hosting