Giter Club home page Giter Club logo

cita-sdk-ruby's People

Contributors

ashchan avatar classicalliu avatar rainchen avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cita-sdk-ruby's Issues

cannot load such file -- cita-sdk-ruby (LoadError)

It might be a stupid error, but I still can't solve it after whole night surfing on the stackoverflow...

Traceback (most recent call last):
	2: from rpc.rb:1:in `<main>'
	1: from /usr/local/Cellar/ruby/2.6.2/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/local/Cellar/ruby/2.6.2/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- cita-sdk-ruby (LoadError)

I tried to write code in cita-sdk-ruby's path, it works, but I can't load it outside the path.

Though gem info can print cita-sdk-ruby's info, other gems work well while I requiring them.

*** LOCAL GEMS ***

cita-sdk-ruby (0.21.0, 0.20.0)
    Author: classicalliu
    Homepage: https://github.com/cryptape/cita-sdk-ruby
    License: MIT
    Installed at (0.21.0): /Users/mercury/Library/gems
                 (0.20.0): /Users/mercury/Library/gems

    Ruby CITA SDK

Here is my gem environment:

RubyGems Environment:
  - RUBYGEMS VERSION: 3.0.3
  - RUBY VERSION: 2.6.2 (2019-03-13 patchlevel 47) [x86_64-darwin18]
  - INSTALLATION DIRECTORY: /Users/clearloop/Library/gems
  - USER INSTALLATION DIRECTORY: /Users/clearloop/.gem/ruby/2.6.0
  - RUBY EXECUTABLE: /usr/local/opt/ruby/bin/ruby
  - GIT EXECUTABLE: /usr/local/bin/git
  - EXECUTABLE DIRECTORY: /Users/clearloop/Library/gems/bin
  - SPEC CACHE DIRECTORY: /Users/clearloop/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /usr/local/Cellar/ruby/2.6.2/etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-18
  - GEM PATHS:
     - /Users/mercury/Library/gems
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - :sources => ["https://gems.ruby-china.com"]

And I've tried installing cita-sdk-ruby with --user-install tag.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.