Repository is archived
No commit activity in last 3 years
No release in over 3 years
Adds the commands to RubyGems for importing and exporting repositories using a command plugin
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

If you are reading this now you are probably using Bundler. You should continue to do so!¶ ↑

gem_import_export¶ ↑

This is a simple command plugin for rubygems (rubygems.rubyforge.net) which adds the commands “import” and “export”. The primary purpose for this plugin is to allow user to specify create mirrors of a gem environment on one machine and them import that environment onto another machine.

The export command generates a yaml file for each gem and each version of that gem that you currently have installed on the machine where you run the command. The import command reads from that yaml file and installs each gem, and its corresponding version, listed.

The other use for this could be the creation of gem environment “templates” where you export your listing and edit it or create a new yaml file with a selection of gems you want installed.

Please add any comments or suggestions to the issues for the github project github.com/pallan/gem_import_export/issues

Requirements¶ ↑

Command plugins require Rubygems >= 1.3.2

Usage¶ ↑

# exports all gems installed into a yaml file gem export gems.yml

# imports all gems listed in the yaml file gem import gems.yml

Todo¶ ↑

  • have the import command add the necessary sources that are included in the export file

Copyright © 2009 Peer Allan. See LICENSE for details.