Skip to content

Add Ruby-Hello application with Firecracker support#91

Draft
lupsalexandra33 wants to merge 1 commit intounikraft:mainfrom
lupsalexandra33:add-ruby-app
Draft

Add Ruby-Hello application with Firecracker support#91
lupsalexandra33 wants to merge 1 commit intounikraft:mainfrom
lupsalexandra33:add-ruby-app

Conversation

@lupsalexandra33
Copy link

This is a Draft PR for the Ruby-Hello application integration. I am following the standard Unikraft catalog structure (similar to other examples) to provide a simple Ruby unikernel example. I am opening this draft to get feedback on the current setup and guidance on build-time errors I am encountering.

Current Progress

1. App Integration: Added Config.uk, Makefile, and Makefile.uk for the ruby-hello application.

2. Setup Automation: Updated the top-level setup.sh to include lib-ruby and required dependencies (lib-newlib, lib-pthread-embedded).

3. Firecracker: Included a draft fc.x86_64.json for testing the application on Firecracker.

4. Documentation: Added a standard README.md with build and run instructions.

Current Blockers & Challenges

1. Ruby Version: I am currently using Ruby 2.6.0 from the lib-ruby repository.

2. Build Errors & Sequence:

I. Missing Auxiliary Files: The build first fails because it cannot find config.guess and config.sub.
II. Manual Workaround: If I manually add these files to the tool/ directory, the process moves forward but hits a second, more critical error.
III. Syntax Error: In the ./configure stage, I get: ./configure: line 4112: syntax error near unexpected token 'fi'.

Root Cause: This appears to be a compatibility issue between Ruby 2.6's older Autotools macros and the modern Autoconf environment on my host, which generates an invalid configuration script.

Fixes #25

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Ruby

1 participant