I have fixed ruby-mode for emacs but I dont understand how to run the
interpreter.
I have inf-ruby.el in my ruby-path but what do I need to add to
my .emacs-file?
I have fixed ruby-mode for emacs but I dont understand how to run the
interpreter.
I have inf-ruby.el in my ruby-path but what do I need to add to
my .emacs-file?
M-x find-library RET
inf-ruby RET
read instructions. I suggest usage #2. then:
C-c C-s ; to run irb
On Jul 9, 2008, at 09:21 , ssecorp wrote:
I have fixed ruby-mode for emacs but I dont understand how to run the
interpreter.I have inf-ruby.el in my ruby-path but what do I need to add to
my .emacs-file?
C-c C-s is not defined.
On Jul 9, 9:10 pm, Ryan Davis <ryand-r...@zenspider.com> wrote:
On Jul 9, 2008, at 09:21 , ssecorp wrote:
> I have fixed ruby-mode for emacs but I dont understand how to run the
> interpreter.> I have inf-ruby.el in my ruby-path but what do I need to add to
> my .emacs-file?M-x find-library RET
inf-ruby RETread instructions. I suggest usage #2. then:
C-c C-s ; to run irb
;; (autoload 'ruby-mode "ruby-mode"
;; "Mode for editing ruby source files" t)
;; (setq auto-mode-alist
;; (append '(("\\.rb$" . ruby-mode)) auto-mode-alist))
;; (setq interpreter-mode-alist (append '(("ruby" . ruby-mode))
;; interpreter-mode-alist))
(autoload 'run-ruby "inf-ruby"
"Run an inferior Ruby process")
(autoload 'inf-ruby-keys "inf-ruby"
"Set local key defs for inf-ruby in ruby-mode")
(add-hook 'ruby-mode-hook
'(lambda ()
(inf-ruby-keys)
))
i need to change something?
On Jul 9, 9:10 pm, Ryan Davis <ryand-r...@zenspider.com> wrote:
On Jul 9, 2008, at 09:21 , ssecorp wrote:
> I have fixed ruby-mode for emacs but I dont understand how to run the
> interpreter.> I have inf-ruby.el in my ruby-path but what do I need to add to
> my .emacs-file?M-x find-library RET
inf-ruby RETread instructions. I suggest usage #2. then:
C-c C-s ; to run irb
Open a ruby file and see what mode you are in then C-h m and C-h b will tell you the mode(s) that u have going and the keybindings for them. Ruby mode is very handy!
On Thu, 10 Jul 2008 08:36:08 +0900 ssecorp <circularfunc@gmail.com> wrote:
On Jul 9, 9:10 pm, Ryan Davis <ryand-r...@zenspider.com> wrote:
> On Jul 9, 2008, at 09:21 , ssecorp wrote:
>
> > I have fixed ruby-mode for emacs but I dont understand how to run
> > the interpreter.
>
> > I have inf-ruby.el in my ruby-path but what do I need to add to
> > my .emacs-file?
>
> M-x find-library RET
> inf-ruby RET
>
> read instructions. I suggest usage #2. then:
>
> C-c C-s ; to run irbC-c C-s is not defined.