Comments (11)
I encountered the same with Ruby 3.0.3. I believe it is due to this change in Ruby 3+ which @piotrmurach and others addressed in some few places already:
piotrmurach/tty-command#56
piotrmurach/tty-command#52
I've fixed it in the below PR:
piotrmurach/tty-command#63
Once that's merged (or a similar fix) we should hopefully get this resolved! 🚀
from tty.
Same issue here, is it related to ruby 3.x version?
from tty.
I don't know...when I try teletype new myproj
on Ruby 2.7.3 after doing gem install tty
, I get this:
/home/kbennett/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/rubygems/specification.rb:2247:in `raise_if_conflicts': Unable to activate tty-0.10.0, because bundler-2.1.4 conflicts with bundler (~> 1.16, < 2.0) (Gem::ConflictError)
from tty.
Same here, on Ubuntu 20.04:
> teletype new app
/home/USER/.asdf/installs/ruby/3.0.2/lib/ruby/gems/3.0.0/gems/tty-command-0.9.0/lib/tty/command.rb:54:in `initialize': wrong number of arguments (given 1, expected 0) (ArgumentError)
...
from tty.
I have experienced the same unfortunate issue.
OS version: Arch Linux x86_64
Ruby version: 3.0.3 & 3.1.0
TTY version: 0.10.0
UPDATE: I can confirm, that installing and using ruby 2.6.6 will not exhibit the problem. This is the same issue as #78 (comment) and #50 relating to Bundler 2 incompatibility.
from tty.
Can confirm that this behaviour occurs with ruby 3.0.2 and teletype 0.10.0
from tty.
Having the same issue with Ruby 3.1.0!
from tty.
Hey! Any news with this issue? As I see - PR isn't merged
from tty.
Related Issues (20)
- teletype new broken in 0.9.0 HOT 1
- Bundler 2 compatibility HOT 24
- Feature request: add hyperlinks support HOT 2
- Overwrite executable warning when trying to install gem HOT 1
- `teletype new` errors if path contains space HOT 1
- integration tests don't work ootb HOT 2
- e2e testing doesn't feel good HOT 1
- Warnings with ruby 2.7 HOT 1
- Error with add config HOT 1
- Add vim modeline for indentation HOT 5
- Documentation for template usage HOT 1
- Initial project creation; 'teletype' command throws exception until gemspec is edited HOT 1
- Only require `tty-...` gems that are used in the app HOT 1
- Getting a success indicator in TTY::File.copy_file() HOT 2
- teletype new app -> wrong number of arguments (given 1, expected 0) HOT 6
- TTY is using old version of gem unicorn-display_width HOT 3
- tty not working with Ruby 3.0.0 HOT 1
- tty is not accepting input when generating a new app using Ruby 2.7.2 via asdf HOT 6
- Consider upgrading versions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tty.