# Redcar install

**URL:** <https://www.ruby-forum.com/t/redcar-install/185118>\
**Category:** Ruby\
**Created:** [March 14, 2010, 11:25am UTC](https://www.ruby-forum.com/t/redcar-install/185118 "2010-03-14T11:25:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Une\_BSSSSvue](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/b4bc9f/32.png) [@Une\_BSSSSvue](https://www.ruby-forum.com/u/Une_BSSSSvue)\
**Post date:** [March 14, 2010, 11:25am UTC](https://www.ruby-forum.com/t/redcar-install/185118/1 "2010-03-14T11:25:57Z")

</div>

I’ve downloaded, using git redcar with :

zsh-% git clone git://github.com/danlucraft/redcar.git

zsh-% git checkout stable  
fatal: Not a git repository (or any of the parent directories): .git

zsh-% cd redcar

zsh-% git checkout stable  
error: Updating ‘textmate’ would lose untracked files in it

zsh-% git submodule init

zsh-% git submodule update  
Initialized empty Git repository in  
/Users/yt/git/redcar/lib/openssl/.git/  
remote: Counting objects: 3281, done.

…

Resolving deltas: 100% (1869/1869), done.  
fatal: reference is not a tree: e824707f13942306d777671179d36c181d0c9e52  
Unable to checkout ‘e824707f13942306d777671179d36c181d0c9e52’ in  
submodule path ‘vendor/java-mateview’  
zsh-%

i wonder for this fatal error, did I forgot something ?

does exists a precompiled package for redcar ?

---

<div class="post-metadata">

**Author:** ![Une\_BSSSSvue](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/b4bc9f/32.png) [@Une\_BSSSSvue](https://www.ruby-forum.com/u/Une_BSSSSvue)\
**Post date:** [March 14, 2010, 12:42pm UTC](https://www.ruby-forum.com/t/redcar-install/185118/2 "2010-03-14T12:42:02Z")

</div>

2010/3/14 Une Bévue [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> I’ve downloaded, using git redcar with :
> 
> zsh-% git clone git://github.com/danlucraft/redcar.git
> 
> zsh-% git checkout stable  
> fatal: Not a git repository (or any of the parent directories): .git

I am waaay to stupid to understand GIT but I am fighting 😉  
Newer versions suport

git clone -b stable-branch git:/…

to clone the branch you want

which might save you some troubles, please note that the stable  
branch’s name is “stable-branch” and that git checkout cannot  
work if you have not created the branch locally first, but if you do  
this

cd blueplane  
git branch stable-branch  
git checkout stable-branch

but pulling is a bad idea now ☹

Hopefully some git guru help us here 😉

git pull origin stable-branch

but this is probably not the right way

---

<div class="post-metadata">

**Author:** ![Une\_BSSSSvue](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/b4bc9f/32.png) [@Une\_BSSSSvue](https://www.ruby-forum.com/u/Une_BSSSSvue)\
**Post date:** [March 15, 2010, 11:21am UTC](https://www.ruby-forum.com/t/redcar-install/185118/3 "2010-03-15T11:21:39Z")

</div>

Une BÃ©vue wrote:

> I’ve downloaded, using git redcar with :
> 
> zsh-% git clone git://github.com/danlucraft/redcar.git
> 
> zsh-% git checkout stable  
> fatal: Not a git repository (or any of the parent directories): .git

Hi,

the README is a good place to start: [GitHub - danlucraft/redcar: A cross-platform programmer's editor written in Ruby.](http://github.com/danlucraft/redcar)  
Try following the ‘Installing From Source’ section.

Did you see the steps you were following somewhere online?

thanks,  
Dan

---

<div class="post-metadata">

**Author:** ![Une\_BSSSSvue](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/b4bc9f/32.png) [@Une\_BSSSSvue](https://www.ruby-forum.com/u/Une_BSSSSvue)\
**Post date:** [March 15, 2010, 1:36pm UTC](https://www.ruby-forum.com/t/redcar-install/185118/4 "2010-03-15T13:36:45Z")

</div>

Daniel L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> the README is a good place to start: [GitHub - danlucraft/redcar: A cross-platform programmer's editor written in Ruby.](http://github.com/danlucraft/redcar)  
> Try following the ‘Installing From Source’ section.
> 
> Did you see the steps you were following somewhere online?

yes except i had make use of “git checkout stable” after git clone  
git://github.com/danlucraft/redcar.git and were stuck with fatal error  
after “git submodule update”.

following your advice i did a rm -rf redcar and started a new redcar  
installation from source that’ to say (following the  
[redcar/README.md at master · danlucraft/redcar · GitHub](http://github.com/danlucraft/redcar/blob/master/README.md)) :

$ git clone git://github.com/danlucraft/redcar.git  
$ cd redcar  
$ git submodule init  
$ git submodule update

here i have to do :  
$ jruby bin/redcar install

then i think i’ve to install jruby first ?

but whicn one ?

the one from source :  
Current Release: JRuby 1.4.0

or the one from MacPorts being of 1.1.6 ?

anyway i’ll install the one from source in my home.

---

<div class="post-metadata">

**Author:** ![Une\_BSSSSvue](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/b4bc9f/32.png) [@Une\_BSSSSvue](https://www.ruby-forum.com/u/Une_BSSSSvue)\
**Post date:** [March 15, 2010, 2:05pm UTC](https://www.ruby-forum.com/t/redcar-install/185118/5 "2010-03-15T14:05:27Z")

</div>

Une Bévue [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> but whicn one ?
> 
> the one from source :  
> Current Release: JRuby 1.4.0
> 
> or the one from MacPorts being of 1.1.6 ?
> 
> anyway i’ll install the one from source in my home.

finally i’ve installed the MacPorts jruby being of 1.4.0 :  
zsh-% sudo port install jruby  
—\> Computing dependencies for jruby  
—\> Fetching jruby  
—\> Attempting to fetch jruby-src-1.4.0.tar.gz from  
[http://lil.fr.distfiles.macports.org/jruby](http://lil.fr.distfiles.macports.org/jruby)  
—\> Verifying checksum(s) for jruby  
—\> Extracting jruby  
—\> Configuring jruby  
—\> Building jruby  
—\> Staging jruby into destroot  
—\> Installing jruby @1.4.0\_0  
—\> Activating jruby @1.4.0\_0  
—\> Cleaning jruby

zsh-% which jruby  
/opt/local/bin/jruby

(Notice following Safari the jruby sources are, at this time, not  
reachable from :  
[http://jruby.kenai.com/downloads/1.4.0/jruby-bin-1.4.0.tar.gz](http://jruby.kenai.com/downloads/1.4.0/jruby-bin-1.4.0.tar.gz)  
)

then, i did :

$ jruby bin/redcar install

giving :  
…  
Done! You’re ready to run Redcar.

then, following the README :

zsh-% jruby -S rake build  
(in /Users/yt/git/redcar)  
rake aborted!  
no such file to load – cucumber/rake/task  
/Users/yt/git/redcar/Rakefile:4  
(See full trace by running task with --trace)

the option --trace (or -trace) seems to be unknown :

zsh-% jruby -trace rake build  
jruby: unknown option -trace  
zsh-% jruby --trace rake build  
jruby: unknown option --trace

anyway i wanted to launch redcar :

zsh-% jruby -J-XstartOnFirstThread bin/redcar  
Redcar 0.3.4 ( java )

Can’t find jruby jar at  
/Users/yt/git/redcar/lib/jruby-complete-1.4.0.jar, did you run ‘redcar  
install’ ?

yes i ran “jruby bin/redcar install”

and if i want to downlaod, by myself, “ruby-complete-1.4.0.jar,” i get,  
as preceedingly :

[http://jruby.kenai.com/downloads/1.4.0/jruby-complete-1.4.0.jar](http://jruby.kenai.com/downloads/1.4.0/jruby-complete-1.4.0.jar)

unable to connect to the server “[jruby.kenai.com](http://jruby.kenai.com)”, may be it is down ?

---

<div class="post-metadata">

**Author:** ![Une\_BSSSSvue](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/b4bc9f/32.png) [@Une\_BSSSSvue](https://www.ruby-forum.com/u/Une_BSSSSvue)\
**Post date:** [March 15, 2010, 2:44pm UTC](https://www.ruby-forum.com/t/redcar-install/185118/6 "2010-03-15T14:44:33Z")

</div>

Une BÃ©vue wrote:

> Daniel L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > the README is a good place to start: [GitHub - danlucraft/redcar: A cross-platform programmer's editor written in Ruby.](http://github.com/danlucraft/redcar)  
> > Try following the ‘Installing From Source’ section.
> 
> finally i got recar working after installing “jruby-complete-1.4.0.jar”  
> in redcar/lib

For everyone else reading this thread, the easier way to install redcar  
(if you don’t want to hack on the source code but just want to use the  
editor) is to install it as a gem. You don’t even need jruby installed:

```
sudo gem install redcar
sudo redcar install
redcar

```

thanks,  
Dan

---

<div class="post-metadata">

**Author:** ![Une\_BSSSSvue](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/b4bc9f/32.png) [@Une\_BSSSSvue](https://www.ruby-forum.com/u/Une_BSSSSvue)\
**Post date:** [March 15, 2010, 7:55pm UTC](https://www.ruby-forum.com/t/redcar-install/185118/7 "2010-03-15T19:55:33Z")

</div>

2010/3/15 Une BÃ©vue [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> or the one from MacPorts being of 1.1.6 ?

Bleh…MacPorts is still on 1.1.6? That’s almost a year and a half old  
☹

- Charlie

---

<div class="post-metadata">

**Author:** ![Une\_BSSSSvue](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/b4bc9f/32.png) [@Une\_BSSSSvue](https://www.ruby-forum.com/u/Une_BSSSSvue)\
**Post date:** [March 15, 2010, 2:15pm UTC](https://www.ruby-forum.com/t/redcar-install/185118/8 "2010-03-15T14:15:24Z")

</div>

Daniel L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> the README is a good place to start: [GitHub - danlucraft/redcar: A cross-platform programmer's editor written in Ruby.](http://github.com/danlucraft/redcar)  
> Try following the ‘Installing From Source’ section.

finally i got recar working after installing “jruby-complete-1.4.0.jar”  
in redcar/lib

however :  
zsh-% jruby -S rake build  
(in /Users/yt/git/redcar)  
rake aborted!  
no such file to load – cucumber/rake/task  
/Users/yt/git/redcar/Rakefile:4  
(See full trace by running task with --trace)

but i’m able to launch it :

zsh-% jruby -J-XstartOnFirstThread bin/redcar  
Redcar 0.3.4 ( java )  
java -XstartOnFirstThread -Xmx500m -Xss1024k -Djruby.memory.max=500m  
-Djruby.stack.max=1024k -cp  
“/Users/yt/git/redcar/lib/jruby-complete-1.4.0.jar” org.jruby.Main  
“/Users/yt/git/redcar/lib/redcar/…/…/bin/redcar” --no-sub-jruby  
Redcar 0.3.4 ( java )  
loading osx64/swt  
Error loading plugin: \<Plugin redcar\_debug 1.0 depends:[redcar\>0] 0  
files\>  
no such file to load – jruby-prof

file:/Users/yt/git/redcar/lib/jruby-complete-1.4.0.jar!/META-INF/jruby.h  
ome/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in `require’

file:/Users/yt/git/redcar/lib/jruby-complete-1.4.0.jar!/META-INF/jruby.h  
ome/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in `require' /Users/yt/git/redcar/plugins/redcar_debug/lib/redcar_debug.rb:3 /Users/yt/git/redcar/plugins/redcar_debug/lib/redcar_debug.rb:31:in `require’

file:/Users/yt/git/redcar/lib/jruby-complete-1.4.0.jar!/META-INF/jruby.h  
ome/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in `require’

/Users/yt/git/redcar/lib/plugin\_manager/lib/plugin\_manager/plugin\_defini  
tion.rb:28:in `load’

/Users/yt/git/redcar/lib/plugin\_manager/lib/plugin\_manager/plugin\_defini  
tion.rb:44:in `log\_requires’

/Users/yt/git/redcar/lib/plugin\_manager/lib/plugin\_manager/plugin\_defini  
tion.rb:27:in `load' /Users/yt/git/redcar/lib/plugin_manager/lib/plugin_manager.rb:49:in `load’  
/Users/yt/git/redcar/lib/redcar.rb:91:in `load’  
/Users/yt/git/redcar/lib/redcar/…/…/bin/redcar:21  
There was an error loading plugins:

- redcar\_debug  
took 10.712s to attach bundle menus  
took 0.001s to attach bundle menus  
Lost application focus

thanks !

---

<div class="post-metadata">

**Author:** ![Une\_BSSSSvue](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/b4bc9f/32.png) [@Une\_BSSSSvue](https://www.ruby-forum.com/u/Une_BSSSSvue)\
**Post date:** [March 15, 2010, 10:39pm UTC](https://www.ruby-forum.com/t/redcar-install/185118/9 "2010-03-15T22:39:29Z")

</div>

On Mon, Mar 15, 2010 at 7:54 PM, Charles Oliver N.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 2010/3/15 Une Bévue [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
> 
> > or the one from MacPorts being of 1.1.6 ?
> 
> Bleh…MacPorts is still on 1.1.6? That’s almost a year and a half old ☹

Potentially stupid question: Would RVM help on Mac?

R.
