public
Description: A cross-platform programmer's editor written in Ruby.
Homepage: http://redcareditor.com
Clone URL: git://github.com/danlucraft/redcar.git
danlucraft (author)
Tue May 26 05:38:08 -0700 2009
commit  eeebf739365d8bfd0e06ed001bd6b7960d76daa3
tree    4eb46b02616fef9c29b63c097a549f019d508fef
parent  973b8cd324efd69e963f7ec69994ad26efbffa09
redcar / INSTALL.md
100644 63 lines (37 sloc) 2.309 kb

Installing on Ubuntu 9.04 (Jaunty)

This assumes that you have Ruby installed from packages. This will overwrite your Ruby if you have Ruby installed from source, so be sure.

  1. (Install Ruby from packages, if you haven't already).

    sudo apt-get install ruby ruby1.8-dev rubygems1.8 libhttp-access2-ruby1.8 rubygems1.8 rake
    echo "export PATH=/var/lib/gems/1.8/bin:\$PATH" >> ~/.bashrc
    source . ~/.bashrc
    
  2. Now install Ruby-GNOME2 and other system packages. Ubuntu 9.04 has shipped with an out of date Ruby-GNOME2, so you need to add a new package repository to get the latest version. (If you are using a version of Ruby installed from source, you will need to download and install Ruby-GNOME2 from http://ruby-gnome2.sourceforge.jp/ instead of doing this.)

    echo "deb http://franz.hob-bruneck.info/downloads/ jaunty/" >> /etc/apt/sources.list
    sudo apt-get update
    sudo apt-get install ruby-gnome2 build-essential libonig2 libonig-dev libgtk2.0-dev libglib2.0-dev libgee0 libgee-dev libgtksourceview2.0-dev libxul-dev xvfb libdbus-ruby libwebkit-dev libwebkit-1.0-1
    
  3. There are a few needed development headers:

    wget redcareditor.com/stuff/missing_x64_headers/rbgdkconversions.h
    wget redcareditor.com/stuff/missing_x64_headers/rbgtkconversions.h
    sudo cp rbgdkconversions.h /usr/lib/ruby/1.8/i486-linux/
    sudo cp rbgtkconversions.h /usr/lib/ruby/1.8/i486-linux/
    
  4. Install the required Ruby gems:

    sudo gem install oniguruma activesupport rspec cucumber hoe open4 zerenity
    
  5. Clone the Redcar source.

    git clone git://github.com/danlucraft/redcar.git
    
    (You can install git on Ubuntu with "sudo apt-get install git-core")
  6. Checkout the latest Redcar release.

    git checkout stable
    
  7. Download the Redcar git submodules

    cd redcar/
    git submodule init
    git submodule update
    
  8. Build Redcar

    rake build
    
  9. And start Redcar:

    ./bin/redcar /optional/path/to/my/project
    

The first time Redcar runs it will spend time loading the Textmate Bundles. This only happens once.

Problems?

  • Irc at #redcar on irc.freenode.net
  • Mailing list at http://groups.google.com/group/redcar-editor