Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite rubymotion guide from HAML to Markdown #1059

Merged
merged 1 commit into from
Jan 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
~~~