I found that the git configuration is expecting me to make a "ethrernet" project: "./.git/config: url = git@github.com:haoqili/ethernet.git"
So I'm going to set up my github account, which I got a few weeks ago. I followed these github bootcamp instructions to get my SSH keys.
Yay! It's done! https://github.com/haoqili/ethernet
Committing to Github from computer
- make edits
- git status
- git add [the modified files]
- git commit -m "message here"
- git push will push to github!
- sudo gem update --system
- bundle install ~ this adds Gemfile.lock
- vim VERSION ~ if you don't already have a "VERSION" file
- git add VERSION ~ put in "0.0.0" in it
- git commit -m "added a VRESION"
- git push
- rake release
(in /home/haoqili/Desktop/rails/ethernet)
Committing ethernet.gemspec
Pushing master to origin
Tagging v
Pushing v to origin
Generated: ethernet.gemspec
ethernet.gemspec is valid.
Successfully built RubyGem
Name: ethernet
Version:
File: ethernet-.gem
Executing "gem push ./pkg/ethernet-.gem":
gem push ./pkg/ethernet-.gem
Pushing gem to https://rubygems.org...
There was a problem saving your gem: Number is invalid
rake aborted!
Command failed with status (1): [gem push ./pkg/ethernet-.gem...]
(See full trace by running task with --trace)
Search for project name on rubygems.org. I have http://rubygems.org/gems/ethernet
No comments:
Post a Comment