Skip to content

Commit

Permalink
Rewrite rubymotion guide from HAML to Markdown (#1059)
Browse files Browse the repository at this point in the history
Signed-off-by: Takuya Noguchi <[email protected]>
  • Loading branch information
tnir authored Jan 3, 2023
1 parent 4ad4dc5 commit 8d2d430
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 37 deletions.
37 changes: 0 additions & 37 deletions source/guides/rubymotion.html.haml

This file was deleted.

34 changes: 34 additions & 0 deletions source/guides/rubymotion.html.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
## How to use Bundler with RubyMotion

If you don't have a RubyMotion app yet, generate one.

~~~
$ motion create myapp
$ cd myapp
~~~

You'll need to create a Gemfile. Here we're using bubblewrap.

~~~ruby
gem 'bubble-wrap'
~~~

Then, set up your Rakefile to require your bundled gems at compile time.
Add this to the top of the file, right beneath the line `require 'motion/project'`

~~~ruby
require 'bundler'
Bundler.require
~~~

Next, install your dependencies:

~~~
$ bundle install
~~~

Now you can just compile your app as normal.

~~~
$ bundle exec rake
~~~

0 comments on commit 8d2d430

Please sign in to comment.