[katello-devel] Installing Katello under RVM
Lukas Zapletal
lzap at redhat.com
Thu May 26 11:20:35 UTC 2011
Hello,
after Fedora 15 upgrade I have decided to try installing Katello in RVM.
This tool lets you install Ruby and all the gems in a separate directories.
Here is a short tutorial. It installs everything into the $HOME/.rvm
directory and does not need root privileges:
# bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
Follow on-screen instructions and add the rvm script to your .bashrc.
# rvm install 1.8.7
# rvm use 1.8.7
# rvm gemset create katello
# rvm use 1.8.7 at katello
# gem install bundler
# bundle install
# rails server
Katello is running. After you logout you wont be able to run the Rails
server and you need to select the gemset again:
# rails server
rails: command not found
# rvm use 1.8.7 at katello
# rails server
You can also create gemsets for separate Ruby projects and keep your
global rubygems directory clean.
--
Later,
Lukas Zapletal | E32E400A
RHN Satellite Engineering
Red Hat Czech s.r.o. Brno
More information about the katello-devel
mailing list