
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
= Gem bundler A simple lib for bundling gems into jars. This obviously is intended for use with JRuby. Install the gem and create a rake task and a configuration file in your project:
your/config/gems.rb: GemBundler.instance.configure do |g| g.gem "foo_gem" g.gem "path/to/a/gemfile/some_gem-0.3.2.gem" #version requirement will not work here g.gem "activerecord", ">= 2.3"
g.setup "tmp/gems", "foo/lib"
end
Rake task: require 'gem_bundler' require 'path/to/your/config/gems.rb'
desc "Bundle gems into a JAR file" task :bundle_gems do GemBundler.instance.bundle end
This will install the configured gems into "tmp/gems" (this dir will be deleted, so be cautious), move any JAR files inside the gems to "foo/lib" and package the gems into "foo/lib/gems.jar".
In your JRuby application you should put "foo/lib" onto your $LOAD_PATH (because the moved jars from the gems will probably be required) and require gems.jar.
See http://blog.nicksieger.com/articles/2009/01/10/jruby-1-1-6-gems-in-a-jar for details.
I use this mechanism to bundle gems to go with applications packaged using rawr[http://rawr.rubyforge.org/].
FAQs
Unknown package
We found that gem_bundler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.