From: Robert Dober on
2010/3/14 Une Bévue <unbewusst.sein(a)google.com.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 <branch> 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
> 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 ?
> --
> « L'essence même du génie, c'est de mettre en pratique
> les idées les plus simples. »
> (Charles Peguy)
>
>



--
Learning without thought is labor lost; thought without learning is perilous.”
--- Confucius

From: Daniel Lucraft on
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: http://github.com/danlucraft/redcar
Try following the 'Installing From Source' section.

Did you see the steps you were following somewhere online?

thanks,
Dan

--
Posted via http://www.ruby-forum.com/.

From: =?ISO-8859-1?Q?Une_B=E9vue?= on
Daniel Lucraft <dan(a)fluentradical.com> wrote:

> the README is a good place to start: 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
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.

--
� L'essence m�me du g�nie, c'est de mettre en pratique
les id�es les plus simples. �
(Charles Peguy)
From: =?ISO-8859-1?Q?Une_B=E9vue?= on
Une B�vue <unbewusst.sein(a)google.com.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
---> 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 ?
--
� L'essence m�me du g�nie, c'est de mettre en pratique
les id�es les plus simples. �
(Charles Peguy)
From: =?ISO-8859-1?Q?Une_B=E9vue?= on
Daniel Lucraft <dan(a)fluentradical.com> wrote:

> the README is a good place to start: 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 !
--
� L'essence m�me du g�nie, c'est de mettre en pratique
les id�es les plus simples. �
(Charles Peguy)