-
Notifications
You must be signed in to change notification settings - Fork 146
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
Disparate Ruby Versions #1371
Comments
No it's not, it's part of its simple design, the assumption is that you don't need the full projects to bundle on Shipit, only their deploy scripts. If I had to do it all over again today, I'd probably do something docker based, but it wasn't that mature back in the day. An easy way out is often to have the deploy script and dependencies split in a subdirectory and to use That said your issue is probably in big part because you are bypassing the default generated |
Thank you for your reply @casperisfine! You've pointed me in the right direction for where to look. I hadn't realized there was a step to remove this constraint.
You're right. In my last runs, when I used the I've now tried running the sed command |
@casperisfine I was playing with the sed command and for some reason I would need to remove the Has anyone else run into this? I tested the linux sed command and it works fine. Working Unix Command: |
What system is that? |
I'm on a Mac OS Sonoma 14.7 |
I just tried it and it's indeed broken, I suppose I think we should change it for |
Tested on my end and that works as expected! |
Hello ShipIt Team!
First off, thank you for your commitment to OSS.
I've run into an issue during the setup of the ShipIt project. I've initiated the repo with Ruby 3.1 and went through the setup steps. All was going well until I tried to deploy a test application. This application runs on Ruby 3.4. I get the following error at the bundle step:
I've tried running a setup using the shipit.yml where I set the Ruby version in the
dependencies.pre
and overrode using thedependencies.override
and have had no luck getting past this issue. Below is me trying to run the install by installing/setting the version before the bundle install:Unfortunately, many projects won't have the same version as the ShipIt project. Can ShipIt detect/install/use the Ruby version from the project it is trying to deploy? I'm likely doing something wrong.
The text was updated successfully, but these errors were encountered: