Unpack a ruby .gem without 'gem unpack' available? -


I have to compel the old Rubygum version at work I

what .gem file without a gem unpack is a way to open upgrade.

Thank you.

Gems files are just uncompressed tar archives You can use them by using the tar command Can unpack:

  $ ls fruit -0.2.0 .Gem $ tar xf fruity-0.2.0.gem $ ls data. Tar .gz freight -0.2.0.gem metadata Gz   

file data.tar.gz is a gzip compressed tar archive containing gem files, you open it using tar Can:

  $ mkdir gem; CD gem $ tar xzf ../data.tar.gz $ ls fruity.gemspec Gemfile.lock LICENSE.txt README.rdoc version Gemfile lib Rakefile spec    

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -