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?
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 irb
On Jul 9, 9:10 pm, Ryan D. [email protected] wrote:
read instructions. I suggest usage #2. then:
C-c C-s ; to run irb
C-c C-s is not defined.
On Thu, 10 Jul 2008 08:36:08 +0900
ssecorp [email protected] wrote:
inf-ruby RET
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 Jul 9, 9:10 pm, Ryan D. [email protected] wrote:
read 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?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs