Skip to content
forked from rvm/rvm

Ruby enVironment (Version) Manager ( rvm ) ~ Monitor GitHub Issues ( https://github.com/wayneeseguin/rvm/issues/ ) for bug reports and fixes. RVM Google Group ( http://groups.google.com/group/rubyversionmanager/ )

License

Notifications You must be signed in to change notification settings

alexfouche/rvm-rpm

 
 

Repository files navigation

This is a fork of http://github.com/wayneeseguin/rvm. I added branches rpm and rpmtest. The main branch to use is rpm.

I do not plan to work on RVM. I simply added a rpm folder which contains a rvm-ruby.spec and a script to create the RPM from the sources.

Just clone this repo, customize the rubies and gems needed as indicated below, go at the root, and launch:

./rpm/create_rpm_from_here

The rvm-ruby.spec file is based on https://github.com/mdkent/rvm-rpm/blob/master/SPECS/rvm-ruby.spec. I applied some customizations to make it compatibe with the small script i made to create the RPM. What i added is at the end of the %install section, beginning at

# At this point, install of RVM is finished
# Now install some rubies
(...)
ruby_tag=ruby-1.9.3-p0
rvm install $ruby_tag
rvm use $ruby_tag
gem install bundler --no-ri --no-rdoc
(...)

There, i added instructions to build and packages some rubies and gems i want to deploy on all my servers. Up to you to modify that for your own needs.

Last time i checked, it did not work on the master branch or RVM. It works with the stable branch.

About

Ruby enVironment (Version) Manager ( rvm ) ~ Monitor GitHub Issues ( https://github.com/wayneeseguin/rvm/issues/ ) for bug reports and fixes. RVM Google Group ( http://groups.google.com/group/rubyversionmanager/ )

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 82.2%
  • Ruby 17.8%