-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Bundler 2 compatibility #50
Comments
Hi Ryan! Great that you're giving this gem a try! The Additionally, the Therefore, I won't be able to merge your pull request for the reasons mentioned above. |
Hi Piotr, Thanks for taking a look, and that sounds fair enough. Bundler follows Semver, so perhaps the PR you're looking for replaces As an aside, In the meantime I'll drop this dependency in favour of the specific package. Thanks again for your work on this 💯. |
You need not to accept bundler |
@spikeheap The fact that bundler follows semver, at least in my understanding, means that current APIs won't break. However, this doesn't mean that internal APIs won't change including code refactorings. I'm relying on the @metalefty Not necessarily. Please see my comment above. One idea I had is to actually vendor a version of bundler inside the gem and reference it relatively. Then the gem itself wouldn't specify a dependency on bundler at all. Any new release of Any ideas/comments appreciated. |
Small update on this issue. I decided that I'm going to drop dependency on bundler all together and forge my own solution for scaffolding a brand new gem setup. It's too unpredictable to keep building on bundler. However, this is also a significant undertaking for which I need some uninterrupted chunk of time. You will see commits being made against this issue once I start working on it. |
I really wanted to use this, but I'll have to drop down to doing it myself with |
@dbalatero I hope you won't give up on
I know roughly what I want the project to look like and behave. The only thing is the time! I really wish I could spend more time on this. I need to figure out how to get funding though. |
It sounds like a good plan! Unfortunately I gotta keep rolling on my thing, but I'll check in next time I have a CLI-oriented project! edit: also |
@piotrmurach any news in that effort? Absolutely fabulous project you have here, but absence of Bundler 2 support is a downer. |
@bopm My plan is to start working on this from the next week. I cannot give you a deadline but my main focus will be on switching to Bundler 2 support. I'm currently finishing a new tty-option gem that, in future, will power options parsing. |
@piotrmurach great to know, I have some itch in moving some of my bash scripts to your framework, but as projects are all on bundler 2, it blocking me. I can probably even offer some help, if any needed. |
@bopm To clarify. Don't let the Bundler version delay you. Bundler is only used to generate your CLI app structure - it isn't a dependency for a new project. To use older bundler, you can do |
@piotrmurach I think the plan you've posted on mar/3 is a really nice roadmap for TTY 1.0! Why don't you create a project for it on GH and split all those steps into issues? I'd be easier for us to know what to do and how to help :) |
@DNA Thank you for the interest! I know it's a bit disappointing to still see this issue here. I can assure you that I'm annoyed as well. I'm painfully aware that the Bundler issue is preventing a lot of people from using tty and having a good experience. So that's why I'm currently full steam ahead on the first point of the 'grand' plan. I finished recently the tty-option gem which will serve as a replacement for The way I can see people contributing and providing help at this stage is by triaging issues or fixing bugs on a specific tty project. |
# Issue Title - [Chore] Increment ruby support # Main changes - Increments max ruby version to 3 (so it supports any 2.x version) - Updates development environment to use bundler 2 - Updates development environment to use ruby 2.7.1 - Removes all deprecation warnings found due to keyword arguments - Dropped dev dependency as per documentation (piotrmurach/tty#50 (comment)) # Remove from here below if there is nothing to be added to the changelog CHANGELOG - Removes all deprecation warnings found due to keyword arguments with ruby 2.7.x --- 8< ---
My team has been enjoying using an older version of |
@piotrmurach What help do you need to get a release cut? Is there any harm in releasing |
@cwant Thank you for your comment Chris. This issue is solved in the master branch. Unfortunately, the gem is not ready for release yet. I have a system where I truck all issues/features in my open-source projects and nothing escapes my attention. In order for |
@mike-yesware Thanks for you comment Mike. I appreciate your enthusiasm for making a new release. But the |
@piotrmurach is there a way we could fetch the unreleased version in a gemspec ? We maintain a custom version of We can't move to bundler 2 because of this 😿 |
Thanks for the feedback we were able to fix the issue doing so 😁 |
I think you should consider putting a version of this message right at the top of the main repo markup page. I was about to give up on this, but then read this comment and had it working 20 seconds later (after an hour of trying to get it to work). I had no idea using an old version of bundler was so easy, and doesn't change the system state. Given how straight forward it is, perhaps staying on the old version of bundler longer term isn't really a problem for this project. |
Hi,
I suspect a solution will be to use rvm to get a setup that is compatible with tty, just thought I'd check in here in case there's other solutions. Thanks, |
Here's what I did to get up and running with # bash console
asdf install ruby 2.7.8
asdf local ruby 2.7.8
gem install bundler -v 1.17.3 # Gemfile
ruby "2.7.8"
gem "tty" # bash console
bundle _1.17.3_ |
Describe the problem
Bundling a project with this gem and bundler 2 yields the following error:
This is because Bundler is pinned to <2.0 here.
Steps to reproduce the problem
bundle
Describe your environment
The text was updated successfully, but these errors were encountered: