[Eric] configuring eric4 for ruby
detlev
detlev at die-offenbachs.de
Sun Feb 7 17:05:18 GMT 2010
On Sonntag, 7. Februar 2010, Kirk Lowery wrote:
> On Fri, Feb 5, 2010 at 11:46 AM, detlev <detlev at die-offenbachs.de> wrote:
> > On Freitag, 5. Februar 2010, Kirk Lowery wrote:
> > > I've been using eric4 for a while for python programming. Now I'm
> > > getting into ruby, and have a question:
> > >
> > > I see that the syntax highlighting JustWorks(tm) which is great. One of
> >
> > the
> >
> > > great benefits of eric is the shell in the horizontal toolbox. I'm able
> >
> > to
> >
> > > explore the language by doing tests of code there. I'd like to do the
> >
> > same
> >
> > > with ruby (I assume with ri), but I don't see any setting in
> > > preferences
> >
> > to
> >
> > > do that, and eric (apparently) doesn't do it automatically.
> > >
> > > How do I access ri in eric4?
> > >
> > > TIA!
> > >
> > > Kirk
> >
> > Just open the Shell context menu, Start, Ruby.
> >
> > If you save your script with a .rb extension, you may use eric to debug
> > it. To
> > develop Ruby projects just select Ruby as it's programming language in
> > the project properties dialog.
>
> After installing Eric4.4.1 on my four year old PowerBook G4 (OS X 10.5.8)
> -- a very non-trivial task, indeed! -- I was able to get the interactive
> mode working. Thanks!
>
> Now, another question for Ruby configuration:
>
> I'd like to use Eric's Help Documentation facilities for Ruby
> documentation. I'll be exploring this over the next several days, but any
> pointers would be appreciated! For example: would setting the directories
> in Preferences for Python Help documentation with Ruby instead of Python
> doc directories be at all useful?
That should work. However, the menu entry will still read "Python".
>
> Thanks, again!
>
> Kirk
>
Detlev
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the Eric
mailing list