[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: old ruby 1.9.1 problem - Solved



On Thu, Jan 10, 2013 at 07:54:54AM -0500, Lázaro wrote:
> Thread name: "Re: old ruby 1.9.1 problem" 
> Mail number: 3 
> Date: Thu, Jan 10, 2013 
> In reply to: Darac Marjal 
> >
> > On Wed, Jan 09, 2013 at 10:38:31AM -0700, Paul Scott wrote:
> > > I have had the following problem for months but didn't want to break my system:
> > > The answers I have found like install ruby1.9.1-dev give the same prpblem.
> > > 
> > > /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- 
> > 
> > I'm not an expert in ruby by a long shot, but "--" is used as a comment
> > marker in some languages. Have a look at the specified line in the
> > specified file (line 36 in /usr/lib/.../custom_require.rb) and see if
> > there's a line commented out. That line might be illegal in ruby.
> 
> just like bash, use # as comment, ruby is not so weird
> 
> > If
> > so, try removing the line and trying again.
> > 
> 
> I suggest purge the debian's ruby and compile your own. For dependency
> problems you can use "equivs" and simulate an installed ruby. If you 
> will work with gems, debian's version would crunch your head...

That inspired me to use dpkg to purge the file.  That allowed to continue 
updating.

Unfortunately I ended up with a broken system and reinstalled.

Thanks for everyone's help!!

Paul



Reply to: