Skip to content

Instantly share code, notes, and snippets.

@paulsturgess
Created April 6, 2013 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulsturgess/5325973 to your computer and use it in GitHub Desktop.
Save paulsturgess/5325973 to your computer and use it in GitHub Desktop.
Setup rvm and bundler for RubyMotion apps

Create rvmrc file:

$ rvm use 1.9.3@yourgemsetname --create --rvmrc

Add bundler to your Rakefile

$:.unshift("/Library/RubyMotion/lib")
require 'motion/project'
require 'bundler'
Bundler.require
#...

Create your Gemfile via:

$ bundle init

Update your Gemfile

source "https://rubygems.org"
gem "bubble-wrap"

Install gems

$ bundle    

You're done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment