-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build gem based on latest code - can anyone help? #3
Comments
You can keep jeweler if it's working for you. Bundler can also generate a raw skeleton for a gem, just run |
If your using bundler just add the project as a git source. See http://gembundler.com/git.html |
This is a topic that seems to have it's partisans on different fronts. I like using the rake tasks provided by bundler for gem releasing myself. Rip out all the jeweler stuff, add one line (I could look up) requiring bundler's rake tasks into your Rakefile, then it's just "rake release". You have to make sure the gemspec is up-to-date before doing a 'rake release', for instance up-to-date with it's file list. You can do that by making the file list dynamic ruby code (bundler's generator actually does a shell out to |
I'd just use bundler, as it's a bit simpler and more maintained. The easiest way to switch over is:
|
Josh originally set this up with Jeweler. I don't know if that's the best/right way to do a gem in Ruby these days.
Can someone who knows please update the code for current best-practices in Ruby and help me build the gem?
Thanks!
The text was updated successfully, but these errors were encountered: