<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Develop Ruby Applications Using Vim 7.0 Editor</title>
	<atom:link href="http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/feed/" rel="self" type="application/rss+xml" />
	<link>http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/</link>
	<description>"The time has come...to talk of many [technologies]." --Lewis Carroll('The Walrus and the Carpenter')</description>
	<pubDate>Sun, 07 Sep 2008 19:47:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: taki</title>
		<link>http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-47030</link>
		<dc:creator>taki</dc:creator>
		<pubDate>Fri, 27 Apr 2007 15:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-47030</guid>
		<description>To run the Ruby program currently edited,
you can do this; '%' stands for the current filename:

:rubyf %
or
:!ruby %
(slightly different output from the above)</description>
		<content:encoded><![CDATA[<p>To run the Ruby program currently edited,<br />
you can do this; &#8216;%&#8217; stands for the current filename:</p>
<p>:rubyf %<br />
or<br />
:!ruby %<br />
(slightly different output from the above)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimbo</title>
		<link>http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-2704</link>
		<dc:creator>Jimbo</dc:creator>
		<pubDate>Wed, 06 Dec 2006 18:58:31 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-2704</guid>
		<description>The syntax highlighting in your screenshots uses dark colours that are designed to be seen against a white background, not a black one like is used in your screenshots.

To fix this, use this command (and put it into your .vimrc)
:set background=dark

This tells vim to use bright colours for syntax highlighting.</description>
		<content:encoded><![CDATA[<p>The syntax highlighting in your screenshots uses dark colours that are designed to be seen against a white background, not a black one like is used in your screenshots.</p>
<p>To fix this, use this command (and put it into your .vimrc)<br />
:set background=dark</p>
<p>This tells vim to use bright colours for syntax highlighting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tabrez</title>
		<link>http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-1747</link>
		<dc:creator>tabrez</dc:creator>
		<pubDate>Mon, 13 Nov 2006 08:14:19 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-1747</guid>
		<description>vpslink.com seems to be too cheap for VPS hosting. Nice find! It is not as easy to install our own applications on Dreamhost as it only gives user access on its servers, and root access would be more desirable for managing all the dependencies for applications like Vim.</description>
		<content:encoded><![CDATA[<p>vpslink.com seems to be too cheap for VPS hosting. Nice find! It is not as easy to install our own applications on Dreamhost as it only gives user access on its servers, and root access would be more desirable for managing all the dependencies for applications like Vim.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Lerner</title>
		<link>http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-1599</link>
		<dc:creator>Sean Lerner</dc:creator>
		<pubDate>Wed, 08 Nov 2006 20:15:03 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-1599</guid>
		<description>Hello,

I just thought I'd let you know that I decided to stop using dreamhost, as it was very slow, and I bought a virtual server package from vpslink.com and I've installed ubuntu on there. I used your procedure and I now have vim7 running successfully. 

Thanks,

Sean</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I just thought I&#8217;d let you know that I decided to stop using dreamhost, as it was very slow, and I bought a virtual server package from vpslink.com and I&#8217;ve installed ubuntu on there. I used your procedure and I now have vim7 running successfully. </p>
<p>Thanks,</p>
<p>Sean</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tabrez</title>
		<link>http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-869</link>
		<dc:creator>tabrez</dc:creator>
		<pubDate>Sun, 15 Oct 2006 16:00:08 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-869</guid>
		<description>I don't know of a way to add ruby support by making changes to the Vim configuration files. For full Ruby support, VIM has to be recompiled with the appropriate option.

The error &lt;em&gt;"cannot find -lruby-static"&lt;/em&gt; pretty clearly states that it couldn't find the ruby-static library file(search for libruby-static.a file in LIB directories). To confirm this fact, you can do a test install by dropping the &lt;strong&gt;–enable-rubyinterp&lt;/strong&gt; option when running the configure script - Vim should get installed without any problems in this case. I don't know which distributions use the ruby-static library(neither ubuntu nor gentoo install them with the Ruby package), perhaps it is part of the Ruby package for RPM based distros(fedora, suse etc). 
Here is the only page where I was able to find an RPM package for ruby-static:
http://rpm.rutgers.edu/rpm2php/?id=1781
and it is for Solaris 2.9 UltraSPARC. The library might be a part of a different RPM package for other distributions.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know of a way to add ruby support by making changes to the Vim configuration files. For full Ruby support, VIM has to be recompiled with the appropriate option.</p>
<p>The error <em>&#8220;cannot find -lruby-static&#8221;</em> pretty clearly states that it couldn&#8217;t find the ruby-static library file(search for libruby-static.a file in LIB directories). To confirm this fact, you can do a test install by dropping the <strong>–enable-rubyinterp</strong> option when running the configure script - Vim should get installed without any problems in this case. I don&#8217;t know which distributions use the ruby-static library(neither ubuntu nor gentoo install them with the Ruby package), perhaps it is part of the Ruby package for RPM based distros(fedora, suse etc).<br />
Here is the only page where I was able to find an RPM package for ruby-static:<br />
<a href="http://rpm.rutgers.edu/rpm2php/?id=1781" rel="nofollow">http://rpm.rutgers.edu/rpm2php/?id=1781</a><br />
and it is for Solaris 2.9 UltraSPARC. The library might be a part of a different RPM package for other distributions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Lerner</title>
		<link>http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-859</link>
		<dc:creator>Sean Lerner</dc:creator>
		<pubDate>Thu, 12 Oct 2006 16:02:44 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-859</guid>
		<description>Oh yes, I'm sure Ruby is installed on the machine:

[log]$ ruby -v
ruby 1.8.4 (2005-12-24) [i686-linux]
[log]$

And I'm purposely doing it to take advantage of the coloured ruby code.

Right now I'm using dreamhost.com's VIM (version 6.3.82) and editing ruby, and it's all one colour. It would be really nice to have the extra ruby support available in VIM. Maybe another option is to add it to the current version of VIM that I'm using (that's installed system wide)? 

Any pointers appreciated,

Sean</description>
		<content:encoded><![CDATA[<p>Oh yes, I&#8217;m sure Ruby is installed on the machine:</p>
<p>[log]$ ruby -v<br />
ruby 1.8.4 (2005-12-24) [i686-linux]<br />
[log]$</p>
<p>And I&#8217;m purposely doing it to take advantage of the coloured ruby code.</p>
<p>Right now I&#8217;m using dreamhost.com&#8217;s VIM (version 6.3.82) and editing ruby, and it&#8217;s all one colour. It would be really nice to have the extra ruby support available in VIM. Maybe another option is to add it to the current version of VIM that I&#8217;m using (that&#8217;s installed system wide)? </p>
<p>Any pointers appreciated,</p>
<p>Sean</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tabrez</title>
		<link>http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-858</link>
		<dc:creator>tabrez</dc:creator>
		<pubDate>Thu, 12 Oct 2006 15:54:28 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-858</guid>
		<description>Are you sure that Ruby is installed on the machine? If not, install the ruby package first and then repeat the above steps. Help on installing Ruby on various GNU/Linux distros is available here:

http://beans.seartipy.com/category/ruby/

If you don't want to install ruby support for Vim and want to use it for some other purpose, then you can drop the –enable-rubyinterp option when configuring its installation:

sh# ./configure –prefix=$HOME/vim7
sh# make &#038;&#038; make install</description>
		<content:encoded><![CDATA[<p>Are you sure that Ruby is installed on the machine? If not, install the ruby package first and then repeat the above steps. Help on installing Ruby on various GNU/Linux distros is available here:</p>
<p><a href="http://beans.seartipy.com/category/ruby/" rel="nofollow">http://beans.seartipy.com/category/ruby/</a></p>
<p>If you don&#8217;t want to install ruby support for Vim and want to use it for some other purpose, then you can drop the –enable-rubyinterp option when configuring its installation:</p>
<p>sh# ./configure –prefix=$HOME/vim7<br />
sh# make &#038;&#038; make install</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Lerner</title>
		<link>http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-850</link>
		<dc:creator>Sean Lerner</dc:creator>
		<pubDate>Wed, 11 Oct 2006 15:39:02 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/2006/09/22/develop-ruby-applications-using-vim-70-editor/#comment-850</guid>
		<description>Hi Tabrez,

Thanks--that worked. 

I've run into a new problem now. When I run:

make &#38;&#38; make install
...

...
objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/spell.o objects/syntax.o  objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/window.o      objects/if_ruby.o   objects/netbeans.o  objects/version.o       -lncurses -lnsl  -ldl      -lruby-static -ldl -lcrypt -lm
/usr/bin/ld: cannot find -lruby-static
collect2: ld returned 1 exit status
make[1]: *** [vim] Error 1
make[1]: Leaving directory `/home/.grotton/seanlerner/vim70/src'
make: *** [first] Error 2
[vim70]$

I'm using dreamhost, btw.

Any suggestions? (even pointers to the appropriate manual is appreciated)

Thanks,

Sean</description>
		<content:encoded><![CDATA[<p>Hi Tabrez,</p>
<p>Thanks&#8211;that worked. </p>
<p>I&#8217;ve run into a new problem now. When I run:</p>
<p>make &amp;&amp; make install<br />
&#8230;</p>
<p>&#8230;<br />
objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/spell.o objects/syntax.o  objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/window.o      objects/if_ruby.o   objects/netbeans.o  objects/version.o       -lncurses -lnsl  -ldl      -lruby-static -ldl -lcrypt -lm<br />
/usr/bin/ld: cannot find -lruby-static<br />
collect2: ld returned 1 exit status<br />
make[1]: *** [vim] Error 1<br />
make[1]: Leaving directory `/home/.grotton/seanlerner/vim70/src&#8217;<br />
make: *** [first] Error 2<br />
[vim70]$</p>
<p>I&#8217;m using dreamhost, btw.</p>
<p>Any suggestions? (even pointers to the appropriate manual is appreciated)</p>
<p>Thanks,</p>
<p>Sean</p>
]]></content:encoded>
	</item>
</channel>
</rss>
