Code Monkey home page Code Monkey logo

api-ruby's People

Contributors

joshmcrae avatar metaxy avatar stewpoll avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

api-ruby's Issues

Wrong permissions

When trying to include with require 'elvanto (which isnt documented) i get the following error:

/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require': cannot load such file -- elvanto/client (LoadError)
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `rescue in require'
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require'
        from /var/lib/gems/2.3.0/gems/elvanto-api-1.0.1/lib/elvanto.rb:6:in `<top (required)>'
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require'
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `rescue in require'
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require'
        from create.rb:2:in `<main>'

The reason is:

ls -la /var/lib/gems/2.3.0/gems/elvanto-api-1.0.1/lib
drwxr-xr-x 3 root root 4096 Apr  7 11:48 .
drwxr-xr-x 3 root root 4096 Apr  7 11:48 ..
drwxr-xr-x 4 root root 4096 Apr  7 11:48 elvanto
-rw-rw-r-- 1 root root 3794 Apr  7 11:48 elvanto.rb
ls -la /var/lib/gems/2.3.0/gems/elvanto-api-1.0.1/lib/elvanto
drwxr-xr-x 4 root root 4096 Apr  7 11:48 .
drwxr-xr-x 3 root root 4096 Apr  7 11:48 ..
-rw------- 1 root root 2552 Apr  7 11:48 client.rb
-rw------- 1 root root 1557 Apr  7 11:48 error.rb
-rw------- 1 root root 5584 Apr  7 11:48 pager.rb
drwxr-xr-x 2 root root 4096 Apr  7 11:48 resources
-rw------- 1 root root   90 Apr  7 11:48 resources.rb
drwxr-xr-x 2 root root 4096 Apr  7 11:48 response
-rw------- 1 root root 2195 Apr  7 11:48 utils.rb
-rw-rw-r-- 1 root root   44 Apr  7 11:48 version.rb

The file client.rb is not readable.

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.