Shopify / Shopify/mruby-engine

Rake build missing dependency

Open
#25 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
81
Forks
19
Avg merge
12d 4h
Merged PRs (30d)
1

Description

When running 'bin/rake spec' on a fresh ubuntu box the build will fail complaining about missing libunwind.h. This can be fixed by first running 'sudo apt-get install libunwind8-dev'. I am not familiar with ruby so i don't know the proper place to add this dependency in the build chain, but it should be added no the less.

For less experienced ruby users it would also be nice to specify that bundle and ruby must be installed through RVM. It took an annoying amount of time to realize that using the installing bundle through the linux package manager was not a supported build path.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the bin/rake spec path and inspect how dependencies are declared for a fresh Ubuntu build. Verify the failure when libunwind.h is unavailable, then review how RVM, Ruby, and Bundler setup is documented. Done means the build path accounts for libunwind8-dev and newcomers can identify the supported Ruby and Bundler installation path.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby, ubuntu
Domain
build-system, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.