[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Can't Install Ruby Builder

Marc Ch

3/15/2009 9:11:00 AM

Pretty new to ruby and trying to install Builder but not having much
luck. If I try to install it via the RubyGems Package Manager I get the
problem shown in the below image. Basically it says it installs, but
gives an error for installing the ri documentation. If I try to require
builder after this I get an error saying there is no such file to load.
Not really sure what to do to get around this problem, so any help would
be much appreciated.

Thanks,
Marc


http://rubyforge.org/project...

http://img19.imageshack.us/img19/982/errorme...
--
Posted via http://www.ruby-....

5 Answers

Phlip

3/15/2009 1:29:00 PM

0

Marc Ch wrote:

> http://img19.imageshack.us/img19/982/errorme...

Tip: Use the context menu (the "right" mouse button) on the icon in the upper
left corner of the CMD.EXE program. Find Preferences, and turn something like
Quick Edit on. Save the Preference to leave it turned on.

Then drag-select that text. Programmers must do this all the time, and it should
not be hard!

Tip 2: Use Console2! http://sourceforge.net/project...

Tip 3: You already have Builder - just start using it. The error message is
about its 'ri' entry, which is obsolete technology for people without ubiquitous
WiFi access to Google.

--
Phlip

Marc Ch

3/16/2009 7:17:00 AM

0

Thanks a ton for the tips. However, despite it saying builder is
installed I still get the same issue when I try to require builder. No
idea what I'm doing wrong. The error is as follows:

C:/Ruby/programs/xmltest.rb:1:in `require': no such file to load --
builder (LoadError)
from C:/Ruby/programs/xmltest.rb:1
--
Posted via http://www.ruby-....

Heesob Park

3/16/2009 7:54:00 AM

0

Hi,

2009/3/16 Marc Ch <wooingruby@gmail.com>:
> Thanks a ton for the tips. =C2=A0However, despite it saying builder is
> installed I still get the same issue when I try to require builder. =C2=
=A0No
> idea what I'm doing wrong. =C2=A0The error is as follows:
>
> C:/Ruby/programs/xmltest.rb:1:in `require': no such file to load --
> builder (LoadError)
> =C2=A0 =C2=A0 =C2=A0 =C2=A0from C:/Ruby/programs/xmltest.rb:1

First check the environment variable "RUBYOPT" with "echo %RUBYOPT%".
If you installed OCI ruby properly, it must be "-rubygems".

If it is not "-rubygems", you can set it by "set RUBYOPT=3D-rubygems".
Or insert "require 'rubygems' " before require 'builder' will work for you.

Regards,

Park Heesob

Marc Ch

3/17/2009 6:43:00 AM

0

[Note: parts of this message were removed to make it a legal post.]

That helped, thanks a ton!

On Mon, Mar 16, 2009 at 1:54 AM, Heesob Park <phasis@gmail.com> wrote:

> Hi,
>
> 2009/3/16 Marc Ch <wooingruby@gmail.com>:
> > Thanks a ton for the tips. However, despite it saying builder is
> > installed I still get the same issue when I try to require builder. No
> > idea what I'm doing wrong. The error is as follows:
> >
> > C:/Ruby/programs/xmltest.rb:1:in `require': no such file to load --
> > builder (LoadError)
> > from C:/Ruby/programs/xmltest.rb:1
>
> First check the environment variable "RUBYOPT" with "echo %RUBYOPT%".
> If you installed OCI ruby properly, it must be "-rubygems".
>
> If it is not "-rubygems", you can set it by "set RUBYOPT=-rubygems".
> Or insert "require 'rubygems' " before require 'builder' will work for you.
>
> Regards,
>
> Park Heesob
>
>

Luis Lavena

3/17/2009 4:03:00 PM

0

On Mar 16, 3:54 am, Heesob Park <pha...@gmail.com> wrote:
> Hi,
>
> 2009/3/16 Marc Ch <wooingr...@gmail.com>:
>
> > Thanks a ton for the tips.  However, despite it saying builder is
> > installed I still get the same issue when I try to require builder.  No
> > idea what I'm doing wrong.  The error is as follows:
>
> > C:/Ruby/programs/xmltest.rb:1:in `require': no such file to load --
> > builder (LoadError)
> >        from C:/Ruby/programs/xmltest.rb:1
>
> First check the environment variable "RUBYOPT" with "echo %RUBYOPT%".
> If you installed OCI ruby properly, it must be "-rubygems".
>
> If it is not "-rubygems", you can set it by "set RUBYOPT=-rubygems".
> Or insert "require 'rubygems' " before require 'builder' will work for you.
>

I'll suggest not set RUBYOPT at all and instead use 'require
"rubygems"' in your script prior requiring builder.

The new One-Click Installer does not set RUBYOPT at all, since it only
has proven to put more differences between Linux and Windows users
than help out new comers.

--
Luis Lavena