-
Must use the same bundle version as what the ruby interpreter at runtime will be, so aka need to use the bundle for Ruby 2.2 Easiest way:
brew install [email protected]
, and then use just that one and its associated ruby tools, ie bundle. -
Remember that if you want to add a gem need to check if its a native dependency, if it is, then need to use the prebuilt versions done by the traveling ruby people, it is platform dependent. Then need to run bundle install in the root, so that we get a new
Gemfile.lock
. -
Build the whole thing with:
rake package
, need to do this any time you do a change with the scripts inactions
.
- Go to
Gemfile
and change version. - Using the ruby interpreter (and associated ruby tools) provided by
brew install [email protected]
or whatever is the version of the interpreter built bytraveling-ruby
, dobundle install
. This will make a newGemfile.lock
. - You should probably bump the versions of the packages, do this in
the
Rakefile
, theVERSION
variable. Then also change in thedarwin
andlinux
packages in publishing, need to change inindex.js
and their respectivepackage.json
- Now can just run
rake package
, this will end up doing annpm publish
as well.