Rubymotion completion with Emacs

May 06, 2012 | 9 Minute Read

Rubymotion is a great alternative for iOS apps development using ruby without XCode.

It comes with a nifty rake task for generate tags, wich are very useful for code completion when we are using our favorite editors.

Unfortunately the output file is for VIM, but you’re lucky because the fix for getting it work with Emacs is quick and easy.

All you have to do is add the line ‘-e’ at the end of the file /Library/RubyMotion/data/bridgesupport-ctags.cfg

That file contains the options passed to ctags command, -e is for output in emacs format.

Here is the gist just for reference:



GitHub Logo
Format: Alt Text

Links - automatic!


As Kanye West said:

> We’re living the future so > the present is our past.


Code Examples in Markdown

  <p>Syntax highlighting with <a href="" title="GitHub Flavored Markdown" target="_blank">GFM</a></p>

function fancyAlert(arg) {
if(arg) {



<div class="col">
  <p>Or, indent your code 4 spaces</p>

Here is a Python code example
without syntax highlighting:

def foo:
  if not bar:
    return true</pre>
<div class="col">
  <p>Inline code for comments</p>

I think you should use an
<addr> element here instead.


<div class="ajax-error-message">
  <p><span class="icon"></span> Something went wrong with that request. Please try again. <a href="javascript:;" class="ajax-error-dismiss">Dismiss</a></p>

<div id="logo-popup">
  <h2>Looking for the GitHub logo?</h2>
      <h4>GitHub Logo</h4>
      <a href=""><img alt="Github_logo" src="" /></a>
      <a href="" class="minibutton btn-download download"><span><span class="icon"></span>Download</span></a>
      <h4>The Octocat</h4>
      <a href=""><img alt="Octocat" src="" /></a>
      <a href="" class="minibutton btn-download download"><span><span class="icon"></span>Download</span></a>

<span id='server_response_time' data-time='0.02636' data-host='fe13'></span>

Try to execute

rake ctags

in your rubimotion project directory, and this time you should see a file named TAGS (in capital letters).

For completion in emacs just press M-.
The first time it should ask for TAGS file location.

Enjoy coding with ruby and may the church of Emacs bless you ;)