[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Rubuntu LiveCD I need vim/emacs configs!

Ezra Zygmuntowicz

2/16/2006 9:12:00 PM

Friends-

I am working on a linux distro liveCD called Rubuntu. Which is, you
guessed it, a ruby/raisl centric ubuntu livecd that has the option to
install to your HD if your so inclined. I hope to have my build
system for this set up this weekend so i can start pumping out a few
betas while I tweak it to perfection.

I need some help from the community.

What I really need some help with is killer ruby configs for vim,
emacs and jedit. And anything else you would like to see included,
please drop me a note and any pointers you have for configuration
that would be best suited for this.

I already have all the basics included as far as ruby/gems and a
bunch of database bindings and ruby configured mongrel, apache and
lighty. And I already have plenty of usefull ruby libs installed.
What I really need is the icing on the cake. I want thsi to come
setup with all the trimmings. So all you folks with killer vimrc's
and emacs ruby configs please contact me.

Any little creature comforts you like or nice customization you rely
on to get through you ruby work on linux would be much appreciated.

Other thoughts or suggestions? I'm all ears at this point


Thanks-
-Ezra



24 Answers

Barry Dmytro

2/16/2006 9:38:00 PM

0

* Ezra Zygmuntowicz (ezmobius@gmail.com) wrote:
> Friends-
>
> Other thoughts or suggestions? I'm all ears at this point

I'm sorry I can't offer my ruby vimrc file. I lost it some time ago and
instead of rewritting it I switched to scite. :(

Although you've mostly likely considered it already a nice suite of ruby aware
editors besides emacs, vim, and jedit would be nice. I am suggesting including
gedit, scite, freeride, and kate (if you are going to include some kde
libraries). I would also recommend some pure ruby editors such as diakonos.

One other must in my eyes would be to include every ruby app and game that you
can find that is runnable. Also of interest would be to include the ruSH (a
ruby shell) and possibly some ruby extensions to the shell.

You've most likely been here already, but in case you haven't I recommend
looking at: http://rubyforge.org/projects...

Kind Regards,
--------------------------------------------------------------------
Barry Dmytro
badcherry@mailc.net
http://badc...
--------------------------------------------------------------------


Phil Hagelberg

2/16/2006 11:20:00 PM

0

On Fri, 2006-02-17 at 06:12 +0900, Ezra Zygmuntowicz wrote:
> Other thoughts or suggestions? I'm all ears at this point

Awesome idea.

Make sure it has an .irbrc with require 'irb/completion' in it. Make
sure it includes Ruby-GNOME2. Ruby-Gecko[1] as the default browser would
be a nice touch, if not the most effective choice. =D

Also, ruby-electric[2] is a nice emacs mode. chris2 has some nifty ruby
stuff[3] that requires emacs22 if you are thinking of going that route.

I would advise against using MMM-mode for ERB by default since it seems
to usually be more trouble than it's worth. CSS-mode is worth including.

You can see my .emacs[4], but it's nothing special.

-Phil Hagelberg

1 - http://ruby-gnome2.sourceforge.jp/hiki.cgi...
2 - http://shylock.uw.hu/Emacs/ruby-e...
3 -
http://chneukirchen.org/blog/archive/2004/09/ete-errors-to-...
4 - http://dev.technomancy.us/phil/browse...



Eero Saynatkari

2/16/2006 11:32:00 PM

0

Phil Hagelberg wrote:
> On Fri, 2006-02-17 at 06:12 +0900, Ezra Zygmuntowicz wrote:
>> Other thoughts or suggestions? I'm all ears at this point
>
> Awesome idea.
>
> Make sure it has an .irbrc with require 'irb/completion' in it.

Also, sticking this in ~/.irbrc helps:

# Works both with constants and strings (ri Hash vs ri 'Hash')
def ri(obj)
puts `ri #{obj}`
end

> Make
> sure it includes Ruby-GNOME2. Ruby-Gecko[1] as the default browser would
> be a nice touch, if not the most effective choice. =D
>
> Also, ruby-electric[2] is a nice emacs mode. chris2 has some nifty ruby
> stuff[3] that requires emacs22 if you are thinking of going that route.
>
> I would advise against using MMM-mode for ERB by default since it seems
> to usually be more trouble than it's worth. CSS-mode is worth including.
>
> You can see my .emacs[4], but it's nothing special.
>
> -Phil Hagelberg
>
> 1 - http://ruby-gnome2.sourceforge.jp/hiki.cgi...
> 2 - http://shylock.uw.hu/Emacs/ruby-e...
> 3 -
> http://chneukirchen.org/blog/archive/2004/09/ete-errors-to-...
> 4 - http://dev.technomancy.us/phil/browse...


E

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


Ezra Zygmuntowicz

2/16/2006 11:50:00 PM

0



Cool, I have a killer .irbrc already with some really nice stuff in
it. I have made an entry on my blog and I would like to collect the
information from everyone there in the comments if possible please:

http://brainspl.at/articles/2006/02/16/rubuntu-is-a...

There's even a cool new logo for it there ;-)

Cheers-
-Ezra


Jon Baer

2/21/2006 3:35:00 PM

0

Ive switched from emacs to the new RadRails IDE as it is pretty slick
although Im not sure if included a Java JVM will bloat your distro any
or *if* you are even allowed to include a VM (I think you are) ...

http://www.ra...

Will the distro have mysql/postgres/kirbybase installed?

- Jon

Martin Ellis

2/21/2006 7:37:00 PM

0

<posted & mailed>

Ezra Zygmuntowicz wrote:
> Other thoughts or suggestions? I'm all ears at this point

Well, if we're brainstorming...

The KDevelop packages come with modes and templates and example apps
for developing (KDE, or other) apps in Ruby, presumably largely
courtesy of Richard Dale.

KOffice 1.5 will also include some (rather experimental) support for
scripting Krita (images) and Kexi (databases) in Ruby. Only the beta
is out so far, but you can get the Debian and Kubuntu packages.

Martin

Pistos

2/22/2006 6:13:00 AM

0

Ezra Zygmuntowicz wrote:
> Any little creature comforts you like or nice customization you rely
> on to get through you ruby work on linux would be much appreciated.
>
> Other thoughts or suggestions? I'm all ears at this point

Well, I was about to toot my own horn, but it looks as though someone
already mentioned it: I would be quite appreciative if you included
Diakonos. :)

Pistos

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


Pistos

2/22/2006 6:15:00 AM

0

Pistos wrote:
> Ezra Zygmuntowicz wrote:
>> Any little creature comforts you like or nice customization you rely
>> on to get through you ruby work on linux would be much appreciated.
>>
>> Other thoughts or suggestions? I'm all ears at this point
>
> Well, I was about to toot my own horn, but it looks as though someone
> already mentioned it: I would be quite appreciative if you included
> Diakonos. :)
>
> Pistos

Sorry for the double post, but, for reference:
http://purepistos.ne... .

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


Gregory Brown

2/22/2006 6:49:00 AM

0

On 2/21/06, David Vallner <david@vallner.net> wrote:> Dna Utorok 21 Február 2006 16:38 Jon Baer napísal:> > Ive switched from emacs to the new RadRails IDE as it is pretty slick> > although Im not sure if included a Java JVM will bloat your distro any> > or *if* you are even allowed to include a VM (I think you are) ...> >>> sun-j2re from an unofficial Debian repository, 30 MB compressed, 90 MB> uncompressed. It doth hurt a bit, but I'd put it in for the heck of it if> possible. I think Eclipse itself amounts to more, and even Postgres eats 20> megs in full.>> The problem is, the Sun Java is classified as non-free, so I don't think you> can bundle that in an "official" Debian-based distribution - don't know if> Ubuntu loosened their licencing restrictions on the issue.why not just use ubuntu's free-java-sdk which wraps around the GNUtools and acts as a replacement for sun's SDK.it's in universe on breezy

Gary Watson

2/22/2006 5:03:00 PM

0

The only must have change I always make is to include some commands at
the bottom of the ruby.vim script in the indent directory that sets
tabstop softtabstop and shiftwidth to 2 and turns on expandtab. This is
nice because it only affects the .rb files, other files have the tab
settings set to 4 which is usually what I use for non ruby stuff. I'm
sortof surprised that these changes aren't in that file by default.

Good luck on this project. It sounds very cool.
Gary

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