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

Project update #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Project update #1

wants to merge 5 commits into from

Conversation

maxirmx
Copy link

@maxirmx maxirmx commented Dec 20, 2024

Hi @bradgessler

Here is the working sample. It creates an artefact that can be downloaded and executed

  1. To use boost on GHE we have to run
brew update
brew bundle -f

it is not something specific to tebako, they have macOS runners in an unstable state. Most likely this issue is not permanent.

  1. You are not required to run bundle before tebako press

Furthermore if you run brew bundle then Gemfile.lock will indirectly contain for reference to Ruby version
For example, your Gemfile.lock referenced Ruby 3.3.3 that we do not support
There is an issue that we will address in the next release, somewhere in January. For now please do not bundle or remove Gemfile.lock before packaging

Thanks

@bradgessler
Copy link
Contributor

Thanks for looking at this! It's probably best if I pull the Ruby version out of the Gemfile.

I think I figured out a way to build & package Ruby apps with bash and no packaging, which I talked about at https://bsky.app/profile/bradgessler.com/post/3ldmiwxc26k24. I'm going to shift into putting more of my resources behind that and less time trying to get it working with Tebako. That said, I'm happy to keep these issues open and work through them if you want to keep working on them, but I'm also happy to close all the issues I opened to keep the project issue tracker clean.

@maxirmx
Copy link
Author

maxirmx commented Dec 21, 2024

Sure, if you have development environment installed at the target system you do not need tebako or travelling rubt or any other packager.
The issue comes when you do not have development environment installed. You can also have dependency on Gem with native extension that depends on some local library and it will create additional requirements for the target system.

So ruby packagers are not about easy installation whether it is 41 line or more or less. They are about "not-installation"

@bradgessler
Copy link
Contributor

If I understand what you're saying, there's a lot of dependencies that need to be built beyond Ruby so that it can run on workstations that don't have developer dependencies installed.

An example of that on macOS would be running on a machine without Xcode tools installed (and that whole dev tool-chain) and on Linux, an equivalent configuration.

@maxirmx
Copy link
Author

maxirmx commented Dec 24, 2024

The tools you mention in your blog (ruby-install, ruby-build) are build tools. They do not install binaries they build the binaries at the client system. So, the issue is not 'beyonf Ruby'.

You assume that there is dev tool-chain at the target system. If so you do not need a packager.
Well, you do not need a packager until you face complex gem or native library dependency.

How do I know I need tebako

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.

2 participants