Comments (2)
There are other gems such as ncurses-ruby and ncursesw, but I wouldn't like to list all gems in README.
I think the gem version badge in README and the homepage attribute of the curses gem are sufficient.
from curses.
I know that this issue is old and has been closed several years ago but I came across this solution: just download the ncurses gem from https://rubygems.org/gems/ncurses via Download button or just type wget https://rubygems.org/downloads/ncurses-0.9.1.gem
, then write gem unpack ncurses-0.9.1.gem
, cd
to unarchived folder of gem and create .gemspec
file in project root with following content:
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = 'ncurses'
s.version = '0.9.1'
s.licenses = ['MIT']
s.summary = 'This is an example!'
s.description = 'Much longer explanation of the example!'
s.authors = ['Ruby Coder']
s.email = '[email protected]'
s.files = ['lib/ncurses.rb']
s.homepage = 'https://rubygems.org/gems/example'
s.metadata = { 'source_code_uri' => 'https://github.com/example/example' }
end
You can also edit all of this metatags if you want. Then do gem build .gemspec && gem install ncurses-0.9.1.gem
I know that ncurses
gem is deprecated and replaced by ncurses-ruby
gem (luckily, there is the same author for both gems), so this info is just for scientific interest or "just for fun". I think that the issue is in RubyGems utility: first releases of gem
didn't check for some values of .gemspec
file, but now it does, so RubyGems version < 2.x will install this gem without any errors, so this case is better suited for legacy versions of Ruby (1.8-2.0)
from curses.
Related Issues (20)
- Pass ansi color codes straight through to a curses window? HOT 2
- Compatibility with Ruby 2.7 on Windows HOT 3
- Documentation is incomplete
- Curses::addch doesn't support attributes HOT 2
- Support for chgat?
- Not Displaying Wide Characters HOT 2
- Are some files missing on the .gem release? HOT 2
- Encoding issues HOT 1
- Curses.get_char fails on multibyte characters HOT 2
- sample/color.rb error HOT 15
- error: unknown warning option '-Wno-cast-function-type'; did you mean '-Wno-bad-function-cast'? [-Werror,-Wunknown-warning-option]
- Gem document is incomplete and lack of examples.
- Use NUM2CHTYPE()/CHTYPE2NUM() in window_attron/attroff/attrset/color_pair?
- gem installation warning: "Couldn't find file to include xyz" HOT 1
- 256 colours support in ncurses?
- I think there is an error in https://github.com/ruby/curses/blob/master/sample/form.rb HOT 1
- NCURSES_EXT_COLORS - see python HOT 2
- uninitialized constant Curses::Menu (NameError) HOT 3
- Does not compile and cannot be installed on macOS (Apple Silicon) HOT 17
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 curses.