Git Product home page Git Product logo

sugar_refinery's Issues

Building zucker gem?

Hi, I am trying to add an alias_methods to my fork of your gem.

I can't seem to be able to build the gem however. I always use Jeweler as my gem package manager and RSpec 2 for specs. I tried $ rake

$ rake
(in /Users/kristianconsult/Development/Languages/Ruby/Apps/Gems/_forks/zucker)
rake aborted!
uninitialized constant Object::Zucker
/Users/kristianconsult/Development/Languages/Ruby/Apps/Gems/_forks/zucker/Rakefile:23:in `block in '
(See full trace by running task with --trace)

Why isn't Zucker loaded I wonder!?

require 'lib/zucker' # version

I then tried require 'zucker' # version, but without luck :(

I am using ruby 1.9.2-rc2

Please help ;)

gem rdoc failing for zucker 8

I noticed while running "gem rdoc --all" that the rdoc process seemed to silently fail when trying to process zucker. All it showed was:

Installing ri documentation for zucker-8...
gem 2.5.8

I enabled debugging and verbose and rdoc appears to be complaining:

greg-mbp-wireless:Desktop greg$ gem rdoc -V --debug  zucker
Exception `NameError' at /Users/greg/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/command_manager.rb:164 - uninitialized constant Gem::Commands::RdocCommand
Exception `Gem::LoadError' at /Users/greg/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:762 - Could not find RubyGem rdoc (>= 0)

Exception `Errno::ENOENT' at /Users/greg/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/fileutils.rb:1212 - No such file or directory - /Users/greg/.rvm/gems/ruby-1.9.2-p0/doc/zucker-8/ri
Exception `Errno::ENOENT' at /Users/greg/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/fileutils.rb:1212 - No such file or directory - /Users/greg/.rvm/gems/ruby-1.9.2-p0/doc/zucker-8/ri
Exception `Errno::ENOENT' at /Users/greg/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/fileutils.rb:1309 - No such file or directory - /Users/greg/.rvm/gems/ruby-1.9.2-p0/doc/zucker-8/ri
Installing ri documentation for zucker-8...
rdoc --ri --op /Users/greg/.rvm/gems/ruby-1.9.2-p0/doc/zucker-8/ri --version --quiet lib --title zucker-8 Documentation
gem 2.5.8

I jumped over to the zucker gem directory to nose around but haven't figured out what makes rdoc so mad so far. I did notice that it appears that there are a bunch of old directories hanging around in the distribution, at least they're old versions based on the directory layout. Is there any reason we have to have directories 1..8? I compared several of the files using vimdiff and they appear identical, so it looks like we're dragging around a bunch of old files we don't need.

So, do you have any idea why rdoc would be complaining, and is it OK to remove the 1..8 directories?

Thanks.

Permissions broken in 12.1 gem

When you install zucker as part of your system ruby (i.e., as root), you can't read most files, as they are 0600.
(A few are 664, which is a security hole.)

A

chmod -R og+r,g-w .

fixes this. You should do this before doing an updated gem.

Wrong permissions in zucker-9

It looks like the zucker-9 gem doesn't have its permissions set right, and certain files fail to load (e.g. 'zucker/all.rb')

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.