Coder Social home page Coder Social logo

streuth / redcar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danlucraft/redcar

1.0 2.0 0.0 48.72 MB

A cross-platform programmer's editor written in Ruby.

Home Page: http://redcareditor.com

License: Other

Vim Script 0.27% PHP 0.54% C 2.31% C++ 0.34% Prolog 6.55% D 0.04% Java 0.52% Ruby 66.99% Shell 0.77% Objective-C 9.46% Scala 0.02% Clojure 0.06% Perl 5.93% JavaScript 1.99% Groovy 0.05% Python 3.82% Emacs Lisp 0.32%

redcar's Introduction

{Redcar}

http://redcareditor.com/

DESCRIPTION

A Ruby text editor.

  • written in Ruby from the ground up
  • runs on JRuby (a fast, compatible Ruby implementation)
  • is cross-platform (Linux, Mac OS X, Windows)
  • highly extensible

Some Redcar features:

  • supports Textmate themes and snippets
  • split screen mode
  • syntax checking for many languages
  • built in REPLs for Ruby, Groovy, Clojure and Mirah.

Some (current) limitations:

  • Only supports UTF-8 file encodings (and therefore ASCII)

alt text alt text

INSTALLATION

You must have Java installed [1]. Redcar is easiest to install as a gem. After installing the gem there is one further install step:

$ sudo gem install redcar
$ redcar install

The install will take a minute or so to complete as it has to download about 15MB of jar files.

[1] Sun Java or OpenJDK work. Gcj is known not to work.

USAGE

Run

$ redcar --help

To see full usage details.

PROBLEMS?

INSTALLING FROM SOURCE

If you want to contribute to Redcar, you can install it from the source code and make modifications before submitting a patch.

If you're on any platform, you'll need the bundler and rake gems installed as prerequisites. If you're running Windows, you'll also need to install the rubyzip gem:

$ gem install rubyzip

Download from github, checkout the submodules and install the jars:

$ git clone http://github.com/redcar/redcar.git
$ cd redcar
$ bundle
$ rake initialise
$ ruby bin/redcar install

To run:

$ ruby bin/redcar

Updating a source build

If you are running a source version of Redcar and you have pulled updates from master, then you may have to update your local repo:

$ rake initialise
$ ruby bin/redcar install

TESTS

NB. Redcar features are known to work with Cucumber 0.9.2, and known NOT to work with Cucumber < 0.9

To run the tests you need JRuby installed. You also need rspec and cucumber installed as JRuby gems. See jruby.org for this, or install with rvm.

To install the necessary gems:

$ jruby -S bundle install

To run all specs and all features:

$ jruby -S rake

Specs

On OSX:

$ jruby -J-XstartOnFirstThread -S spec plugins/#{plugin_name}/spec/

On Linux/Windows:

$ jruby -S spec plugins/#{plugin_name}/spec/

To just run all specs:

$ rake specs

Features

On OSX:

$ jruby -J-XstartOnFirstThread bin/cucumber --exclude ".*fixtures.*" plugins/#{plugin_name}/features

On Linux/Windows:

$ jruby bin/cucumber --exclude ".*fixtures.*" plugins/#{plugin_name}/features/

To just run all features:

$ rake cucumber

LICENSE

Redcar is copyright 2007-2011 Daniel Lucraft and contributors. It is licensed under the GPLv2. See the included LICENSE file for details.

redcar's People

Contributors

danlucraft avatar kattrali avatar timfel avatar mscharley avatar garstgerunhold avatar rdp avatar yozhipozhi avatar samsinite avatar alourie avatar fcoury avatar stevenh512 avatar kieranp avatar streuth avatar dbyrne avatar antono avatar snatchev avatar krzysztofjablonski avatar rkh avatar sarahhodne avatar mhw avatar maxhawkins avatar drnic avatar shinichy avatar poweradapter avatar nizze avatar aledr avatar wcherry avatar taw avatar thecompwiz avatar hakunin avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.