dayglojesus / macadmin Goto Github PK
View Code? Open in Web Editor NEWGem to assist in performing common systems administration tasks in OSX
License: MIT License
Gem to assist in performing common systems administration tasks in OSX
License: MIT License
https://github.com/dayglojesus/macadmin/blob/master/macadmin.gemspec#L9-L9
Date value in the gemspec is not being updated along with version.
crypto.c is throwing some warnings about rdco during build
Need to clean this up.
bash-3.2# sudo gem update macadmin
Updating installed gems
Updating macadmin
Fetching: macadmin-0.0.6.gem (100%)
Building native extensions. This could take a while...
Successfully installed macadmin-0.0.6
Installing RDoc documentation for macadmin-0.0.6
No definition for salted_sha512_pbkdf2_from_string
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during another chdir block
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during another chdir block
Installing ri documentation for macadmin-0.0.6
No definition for salted_sha512_pbkdf2_from_string
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during another chdir block
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during another chdir block
ERROR: While generating documentation for macadmin-0.0.6
... MESSAGE: Unhandled special: Special: type=33, text="crypto.c"
... RDOC args: --ri --op /Library/Ruby/Gems/1.8/doc/macadmin-0.0.6/ri --quiet lib ext --title macadmin-0.0.6 Documentation
(continuing with the rest of the installation)
Done installing documentation for macadmin after 2 seconds
Gems updated: macadmin
There is a problem building crypto.c under Ruby 2.0
https://github.com/dayglojesus/macadmin/blob/master/lib/macadmin/version.rb#L9
└(~/src/puppet-property_list_key)▷ be irb
irb(main):001:0> require 'macadmin'
Errno::ENOENT: No such file or directory - /Users/glarizza/src/puppet-property_list_key/version.yaml
from /opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/psych.rb:297:in `initialize'
from /opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/psych.rb:297:in `open'
from /opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/psych.rb:297:in `load_file'
from /Users/glarizza/src/puppet-property_list_key/vendor/ruby/1.9.1/gems/macadmin-0.0.5/lib/macadmin/version.rb:21:in `load_yaml_file'
from /Users/glarizza/src/puppet-property_list_key/vendor/ruby/1.9.1/gems/macadmin-0.0.5/lib/macadmin/version.rb:51:in `<module:MacAdmin>'
from /Users/glarizza/src/puppet-property_list_key/vendor/ruby/1.9.1/gems/macadmin-0.0.5/lib/macadmin/version.rb:1:in `<top (required)>'
from /Users/glarizza/src/puppet-property_list_key/vendor/ruby/1.9.1/gems/macadmin-0.0.5/lib/macadmin.rb:9:in `require'
from /Users/glarizza/src/puppet-property_list_key/vendor/ruby/1.9.1/gems/macadmin-0.0.5/lib/macadmin.rb:9:in `<top (required)>'
from (irb):1:in `require'
from (irb):1
from /opt/boxen/rbenv/versions/1.9.3-p392/bin/irb:12:in `<main>'
irb(main):002:0> quit
Looks like it's always looking into CWD for the version.yaml file? If I drop version.yaml into that directory, then it loads.
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.