GVIM Gives Ruby Compiler errror

This is a discussion on GVIM Gives Ruby Compiler errror within the Editors forums in Theory and Concepts category; I have just loaded gvim on my laptop along with ruby. When I try amd run a simple ruby program from gvim with the command: :ruby.exe vimrubytest.rb I get an error: Syntax Error: (eval): 312: compile error The ruby file is pretty simple: puts ("A") It compiles and runs when I execute it from the command line and from my other installation of gvim from my desktop. I have c:\ruby and c:\ruby\bin and c: ruby\lib in my path I have the latest vim installed 7.2 and it was compiled with ruby support. Any ideas why this error is given or ...

Go Back   Application Development Forum > Theory and Concepts > Editors

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-07-2008, 05:09 PM
Dave
Guest
 
Default GVIM Gives Ruby Compiler errror

I have just loaded gvim on my laptop along with ruby.

When I try amd run a simple ruby program from gvim with the command:

:ruby.exe vimrubytest.rb

I get an error:
Syntax Error: (eval): 312: compile error

The ruby file is pretty simple:

puts ("A")

It compiles and runs when I execute it from the command line and from my
other installation of gvim from my desktop.

I have c:\ruby and c:\ruby\bin and c: ruby\lib in my path


I have the latest vim installed 7.2 and it was compiled with ruby support.


Any ideas why this error is given or what clues it gives me to debug the
situation.







Reply With Quote
  #2  
Old 09-08-2008, 04:54 PM
Dave
Guest
 
Default Re: GVIM Gives Ruby Compiler errror


"Dave" <rjtechnology@gmail.com> wrote in message
news:_pXwk.12782$L_.1739@flpi150.ffdc.sbc.com...
>I have just loaded gvim on my laptop along with ruby.
>
> When I try amd run a simple ruby program from gvim with the command:
>
> :ruby.exe vimrubytest.rb
>
> I get an error:
> Syntax Error: (eval): 312: compile error
>
> The ruby file is pretty simple:
>
> puts ("A")
>
> It compiles and runs when I execute it from the command line and from my
> other installation of gvim from my desktop.
>
> I have c:\ruby and c:\ruby\bin and c: ruby\lib in my path
>
>
> I have the latest vim installed 7.2 and it was compiled with ruby support.
>
>
> Any ideas why this error is given or what clues it gives me to debug the
> situation.
>
>
>
>

Someone on the Googlle VIM group found my error.

Instead off starting like :ruby.exe filename.rb I should have typed
:rubyfile filelname.rb
This solved my issue


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:58 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.