JavaFree.org | RubyOnBr.org

Redcar - Editor de programação feito em Ruby para Linux

Acompanhar Redcar - Editor de programação feito em Ruby para Linux 5 posts, 3 participantes

Avatar Rafael Felix 335 posts

Via Ruby Inside Brasil

http://www.rubyinside.com.br/redcar-um-editor-de-texto-para-programacao-escrito-em-ruby-1148

Site Oficial

http://redcareditor.com/

Eu vo testa :)

 
Avatar Mereghost 1476 posts

Na verdade ele foi feito para Linux (desenvolvido num Ubuntu). =p

Usando ruby-gnome2 e gtk. Tive uma série de problemas para executar ele num ambiente 64bits.

 
Avatar Rafael Felix 335 posts

ahuahuuha, escrevi o titulo errado nem reparei :P

 
Avatar eduardo_resende 24 posts

E ai? conseguiram usar o editor?

nao consigo compilar o danado:

$ rake build

(in /home/eduardo/Desktop/redcar/redcar)
cd /home/eduardo/Desktop/redcar/redcar
Libraries
glib-2.0…………………. found
gtksourceview-2.0…………. found
Oniguruma………………… found
Libgee…………………… found
ruby-dbus………………… found

RubyGems
oniguruma………………… found
cucumber…………………. found
zerenity…………………. found
Building gtksourceview2
cd vendor/gtksourceview2
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc’
to the PKG_CONFIG_PATH environment variable
Package ‘qt-mt’, required by ‘avahi-qt3’, not found
checking for GCC… yes
checking for rb_define_alloc_func() in ruby.h… yes
checking for rb_block_proc() in ruby.h… yes
checking for new allocation framework… yes
checking for attribute assignment… yes
checking for gtksourceview-2.0… yes
checking for G_PLATFORM_WIN32… no
creating rbgtksourceview2version.h
creating Makefile
In file included from rbgtksourcemain.h:29,
from rbgtksourcemain.c:12:
/usr/lib/ruby/site_ruby/1.8/i686-linux/rbgtk.h:19:25: error: rbgtkmacros.h: No such file or directory
/usr/lib/ruby/site_ruby/1.8/i686-linux/rbgtk.h:21:19: error: rbgdk.h: No such file or directory
In file included from /usr/lib/ruby/site_ruby/1.8/i686-linux/rbgtk.h:22,
from rbgtksourcemain.h:29,
from rbgtksourcemain.c:12:
/usr/lib/ruby/site_ruby/1.8/i686-linux/rbgtkconversions.h:15:30: error: rbgdkconversions.h: No such file or directory
In file included from rbgtksourcemain.h:29,
from rbgtksourcemain.c:12:
/usr/lib/ruby/site_ruby/1.8/i686-linux/rbgtk.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘VALUE’
make1: * [rbgtksourcemain.o] Error 1
make: *
[all] Error 2
make1: Entering directory `/home/eduardo/Desktop/redcar/redcar/vendor/gtksourceview2/src’
gcc -I. -I/home/eduardo/Desktop/redcar/redcar/vendor/gtksourceview2/gtk/src -I/home/eduardo/Desktop/redcar/redcar/vendor/gtk/src -I/home/eduardo/Desktop/redcar/redcar/vendor/gtksourceview2/glib/src -I/home/eduardo/Desktop/redcar/redcar/vendor/glib/src -I. -I/usr/lib/ruby/1.8/i686-linux -I. -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DRUBY_GTKSOURCEVIEW2_COMPILATION -D_FILE_OFFSET_BITS=64 -I/usr/lib/ruby/site_ruby/1.8/i686-linux -fPIC -march=i686 -mtune=generic -O2 -pipe -fPIC -Wall -I/usr/include/gtksourceview-2.0 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -c rbgtksourcemain.c
make1: Leaving directory `/home/eduardo/Desktop/redcar/redcar/vendor/gtksourceview2/src’
rake aborted!

/home/eduardo/Desktop/redcar/redcar/Rakefile:39:in `execute_and_check’
(See full trace by running task with —trace)

 
Avatar Mereghost 1476 posts

Tu tem o RubyGnome2 instalado?

E tá faltando um pacote pela saída aí. :P