Redcar install

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 ?

2010/3/14 Une Bévue [email protected]:

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 :wink:
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 :frowning:

Hopefully some git guru help us here :wink:

git pull origin stable-branch

but this is probably not the right way

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.
Try following the ‘Installing From Source’ section.

Did you see the steps you were following somewhere online?

thanks,
Dan

Daniel L. [email protected] wrote:

the README is a good place to start: GitHub - danlucraft/redcar: A cross-platform programmer's editor written in Ruby.
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) :

$ 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.

Une Bévue [email protected] 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
—> 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
)

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

unable to connect to the server “jruby.kenai.com”, may be it is down ?

Une Bévue wrote:

Daniel L. [email protected] wrote:

the README is a good place to start: GitHub - danlucraft/redcar: A cross-platform programmer's editor written in Ruby.
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

2010/3/15 Une Bévue [email protected]:

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
:frowning:

  • Charlie

Daniel L. [email protected] wrote:

the README is a good place to start: GitHub - danlucraft/redcar: A cross-platform programmer's editor written in Ruby.
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 !

On Mon, Mar 15, 2010 at 7:54 PM, Charles Oliver N.
[email protected] wrote:

2010/3/15 Une Bévue [email protected]:

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 :frowning:

Potentially stupid question: Would RVM help on Mac?

R.