[Top][All Lists]

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

Re: Ruby and RubyOn Rails setup - Cannot enable indentation and snippets

From: Dmitry Gutov
Subject: Re: Ruby and RubyOn Rails setup - Cannot enable indentation and snippets
Date: Sat, 05 Jan 2013 18:59:46 +0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 05.01.2013 16:53, Sayth Renshaw wrote:
    I don't understand why (find-library-name "ruby-mode") still signals
    error, but hopefully after you uninstall ruby-mode from Marmalade
    the problem goes away, so we won't have to dig deeper.

After uninstalling ruby-mode the problem still exists

Debugger entered--Lisp error: (void-function find-library-name)
   (find-library-name "ruby-mode")
   eval((find-library-name "ruby-mode") nil)
   call-interactively(eval-last-sexp t nil)
   call-interactively(execute-extended-command nil nil)

This error says is can't find the function find-library-name, which should be fixed with (require 'find-func).

But we're trying to solve the problem with indentation, not this.

> So I installed ruby-mode from melpa and it now works. I installed robe and ruby-electric all seems to work.

Well, that's good. But are you saying that stuff didn't work before you installed it?

The Fedora emacs-common package has a byte-compiled ruby-mode included:

(Which is, I guess, the reason we couldn't find the library, uncompiled sources are in separate package:

I guess the ruby-mode from Melpa is good enough for now, but please don't forget to uninstall it when Emacs 24.3 comes out.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]