Giter Club home page Giter Club logo

library's Introduction

Homepage / Documentation / Report Issue / Source Code ( Build Status )

Library is library management system for Ruby. More specifically, it is a reformulation and partial-reimplementation of Ruby's load system. At it's core, the Library class is the objectification of a location in the file system from which Ruby scripts can be required. It is accompanied by a Library::Ledger which tracks a set such locations, and makes them available via Ruby's standard require and load methods. Unlike Ruby's built-in load system, Library supports versioning and it does all this in a way that is both easily customizable and fast.

Combined with some supporting functionality, this bestows a variety of useful possibilities to Ruby developers:

  • Work with libraries in an object-oriented manner.
  • Develop interdependent projects in real time without installs or vendoring.
  • Create isolated library environments based on project requirements.
  • Nullify the need for per-project gemsets and multiple copies of the same gem.
  • Access libraries anywhere; there is no special "home" path they must reside.
  • Can also serve gem installed libraries as easily as any others.

Documentation

Because there is fair amount of information to cover this section will refer you to the project wiki pages for instruction. Most users can follow the Quick Start Guide. For more detailed instruction on how setup Library and get the most out select from the following links:

Status

Library started out as a project called "ROLL", which stood for Ruby Objectified Library Ledger. Create in 2006, it was RubyForge project #1004. She's actually been around a while! Over the years the code has gone through several rewrites, but has always remained in service as a development tool. So, on the whole, the underlying functionality is in good working order. However, the system is still undergoing some refinement --as one can imagine, it is not the easiest type of library to write or maintain. So some things are still subject to change.

Copyrights

Library is copyrighted open source software.

Copyright (c) 2006 Rubyworks. All rights reserved.

It can be modified and redistributable in accordance with the BSD-2-Clause license.

See the LICENSE.txt file details.

library's People

Contributors

trans avatar

Watchers

 avatar James Cloos avatar  avatar

library's Issues

requiring library via library

This is a bit esoteric but, if one is working on Library project itself such that is it is in the RUBYLIBS paths, requiring library again can cause a stack overflow.

Example of issue:

  $ gem install library
  $ export RUBYOPT="-rubylibs"
  $ export RUBYLIBS="~/workspace/library/"
  $ irb
  $ require 'library'

The reason is b/c the first RUBYOPT require is getting it form the gem, but the second is getting it from the workspace project.

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.