You are not logged in.

#1 2008-02-12 00:29:24

cschep
Member
Registered: 2006-12-02
Posts: 124
Website

ruby + vim, workflow?

Hey there,

Does anyone use vim to edit ruby code? I'd like to get a good setup going and hear how your work flow goes? I'd like to be able to edit and debug ruby code using vim, without having to save, quit, ruby <scriptname>.rb, look at results, go back into vim, edit, etc...

I'm sure there is a way to check the script from within vim, how does it work?

thanks!

Offline

#2 2008-02-12 05:14:49

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: ruby + vim, workflow?

I'm sure there's a compiler plugin for ruby that will let you do :make to run it. It will not only run it, but should catch errors and point you to the requisite line. Assuming someone made a compiler plugin.

Offline

#3 2008-02-12 18:44:58

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: ruby + vim, workflow?

http://vim-ruby.rubyforge.org/

Should be most everything you need smile  It worked wonders for me.

Offline

#4 2008-02-13 03:04:37

cschep
Member
Registered: 2006-12-02
Posts: 124
Website

Re: ruby + vim, workflow?

hey thanks guys. I stumbled upon vim-ruby, and :rubyf was the command that got me going.

thanks!

Offline

Board footer

Powered by FluxBB