jwelshiv / redis-ui Goto Github PK
View Code? Open in Web Editor NEWweb accessible panel to view/manage redis store
License: MIT License
web accessible panel to view/manage redis store
License: MIT License
Hi,
I have tried to install redis-ui with gem:
redis (2.2.0)
redis-ui (0.1.0)
but I got the following error when run:
# redis-ui /usr/local/lib/ruby/gems/1.9.1/gems/redis-2.2.0/lib/redis/client.rb:8:in `[]': can't convert Symbol into Integer (TypeError) from /usr/local/lib/ruby/gems/1.9.1/gems/redis-2.2.0/lib/redis/client.rb:8:in `initialize' from /usr/local/lib/ruby/gems/1.9.1/gems/redis-2.2.0/lib/redis.rb:54:in `new' from /usr/local/lib/ruby/gems/1.9.1/gems/redis-2.2.0/lib/redis.rb:54:in `initialize' from /usr/local/lib/ruby/gems/1.9.1/gems/redis-ui-0.1.0/lib/redis-ui.rb:15:in `new' from /usr/local/lib/ruby/gems/1.9.1/gems/redis-ui-0.1.0/lib/redis-ui.rb:15:in `block in ' from /usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:1211:in `configure' from /usr/local/lib/ruby/gems/1.9.1/gems/redis-ui-0.1.0/lib/redis-ui.rb:13:in `' from /usr/local/lib/ruby/gems/1.9.1/gems/redis-ui-0.1.0/lib/redis-ui.rb:11:in `' from /usr/local/lib/ruby/gems/1.9.1/gems/redis-ui-0.1.0/lib/redis-ui.rb:1:in `' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/local/lib/ruby/gems/1.9.1/gems/redis-ui-0.1.0/bin/redis-ui:3:in `' from /usr/local/bin/redis-ui:19:in `load' from /usr/local/bin/redis-ui:19:in `'
Can you help me solve this?
# ruby -v ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
RubyGems Environment: - RUBYGEMS VERSION: 1.8.3 - RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [x86_64-linux] - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1 - RUBY EXECUTABLE: /usr/local/bin/ruby - EXECUTABLE DIRECTORY: /usr/local/bin - RUBYGEMS PLATFORMS: - ruby - x86_64-linux - GEM PATHS: - /usr/local/lib/ruby/gems/1.9.1 - /root/.gem/ruby/1.9.1 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://rubygems.org/
when i am viewing only the keys in a certain namespace "ns", all of the links to "/keys/foo" should be to "/keys/ns:foo" but instead they are broken to "/keys/foo"
furthermore, they should all really be "/keys/ns%3Afoo", its unhealthy to leave URL-encoding to the browser, but that is a minor gripe.
otherwise, cool utility. thanks for it very much
By the default, redis-ui connect to the Redis which was running on localhost:6379? Therefore, If I haven't any Redis instance running on port 6379, I will got the below error:
Connection refused - Unable to connect to Redis on 127.0.0.1:6379
Can I make redis-ui connect to different Redis port, and moreover is remote Redis server?
I tried to use the -p option, but it seems doesn't support:
# ruby /usr/local/bin/redis-ui -p 2302 WARNING: using the built-in Timeout class which is known to have issues when used for opening connections. Install the SystemTimer gem if you want to make sure the Redis client will not hang. == Sinatra/1.2.6 has taken the stage on 4567 for development with backup from WEBrick [2011-05-21 09:52:43] INFO WEBrick 1.3.1 [2011-05-21 09:52:43] INFO ruby 1.8.7 (2008-05-31) [x86_64-linux] [2011-05-21 09:52:43] WARN TCPServer Error: Address already in use - bind(2) == Someone is already performing on port 4567!
I have a redis instance running on port 4567:
# netstat -nlp | grep :4567 tcp 0 0 192.168.5.199:4567 0.0.0.0:* LISTEN 3813/redis-server
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.