RubyMotion is an IDE of the
Ruby
A ruby is a pinkish red to blood-red colored gemstone, a variety of the mineral corundum (aluminium oxide). Ruby is one of the most popular traditional jewelry gems and is very durable. Other varieties of gem-quality corundum are called sapp ...
programming language that runs on
iOS
iOS (formerly iPhone OS) is a mobile operating system created and developed by Apple Inc. exclusively for its hardware. It is the operating system that powers many of the company's mobile devices, including the iPhone; the term also include ...
,
OS X
macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and la ...
and
Android. RubyMotion is a commercial product created by
Laurent Sansonetti for HipByte
[RubyMotion - About](_blank)
RubyMotion.com. Retrieved 2012-06-16. and is based on
MacRuby
MacRuby is a discontinued implementation of the Ruby language that ran on the Objective-C runtime and CoreFoundation framework under development by Apple Inc. which "was supposed to replace RubyCocoa". It targeted Ruby 1.9 and used the high per ...
for OS X. RubyMotion adapted and extended MacRuby to work on platforms beyond OS X.
RubyMotion apps execute in an iOS simulator alongside a
read-eval-print loop (REPL) for interactive inspection and modification.
3rd-party Objective-C libraries can be included in a RubyMotion project, either manually or by using a package manager such as
CocoaPods. Programs are
statically compiled into
machine code
In computer programming, machine code is any low-level programming language, consisting of machine language instructions, which are used to control a computer's central processing unit (CPU). Each instruction causes the CPU to perform a ver ...
by use of
Rake as its build and execution tool.
[Exclusive: building native iOS apps with RubyMotion](_blank)
ArsTechnica.com. Published 2012-05-03. Retrieved 2012-06-16.
RubyMotion projects can be developed with any text editor. The
RubyMine
JetBrains s.r.o. (formerly IntelliJ Software s.r.o.) is a Czech software development company which makes tools for software developers and project managers. , the company has offices in Prague; Munich; Berlin; Boston, Massachusetts; Amsterdam; ...
IDE provides support for the RubyMotion toolchain, such as
code-completion and visual
debugging
In computer programming and software development, debugging is the process of finding and resolving ''bugs'' (defects or problems that prevent correct operation) within computer programs, software, or systems.
Debugging tactics can involve in ...
.
[Getting Started with RubyMotion](_blank)
jetbrains.com.
As of version 2.0, RubyMotion now supports the development of applications for OS X in addition to iOS.
[RubyMotion Goes 2.0 And Gets OS X Support, Templates and Plugins](_blank)
RubyMotion.com. Retrieved 2013-06-16. Android support was added in version 3.0.
RubyMotion.com. Retrieved 2014-12-14.
Examples of applications built in RubyMotion include
37signals's
Basecamp
Mountaineering or alpinism, is a set of outdoor activities that involves ascending tall mountains. Mountaineering-related activities include traditional outdoor climbing, skiing, and traversing via ferratas. Indoor climbing, sport climbing, ...
for iPhone,
[Why I loved building Basecamp for iPhone in RubyMotion](_blank)
37signals.com. Retrieved 2013-06-16. the
Bandcamp
Bandcamp is an American online audio distribution platform founded in 2007 by Oddpost co-founder Ethan Diamond and programmers Shawn Grunberger, Joe Holt and Neal Tucker, with headquarters in Oakland, California, US. On March 2, 2022, Bandcamp ...
iPhone app,
[RubyMotion Success Story: Bandcamp](_blank)
The RubyMotion Blog. Retrieved 2014-12-13. and
A Dark Room
''A Dark Room'' is an open-source text-based role-playing game. It was originally published for web browsers by Canadian indie studio Doublespeak Games on June 10, 2013. Later that year, it was released in the App Store for iOS devices. In 2 ...
for iOS.
[RubyMotion Success Story: A Dark Room](_blank)
The RubyMotion Blog. Retrieved 2014-12-13.
See also
*
mruby
mruby is an interpreter for the Ruby programming language with the intention of being lightweight and easily embeddable. The project is headed by Yukihiro Matsumoto, with over 100 contributors currently working on the project.
Features
mruby 1.0 ...
- another minimal Ruby implementation, targeted at embedded devices, that could be compiled to native code
References
External links
RubyMotion websiteHipByte website
Mobile software programming tools
Object-oriented programming languages
Ruby (programming language)
{{compu-prog-stub