~ubuntu-branches/ubuntu/utopic/rbenv/utopic

« back to all changes in this revision

Viewing changes to debian/rbenv.pod

  • Committer: Package Import Robot
  • Author(s): Antonio Terceiro
  • Date: 2011-09-24 12:27:44 UTC
  • mfrom: (0.1.1)
  • Revision ID: package-import@ubuntu.com-20110924122744-uwtnwximx88784e5
Tags: 0.1.2+git20100922-1
Initial release (Closes: #642500)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
=head1 NAME
 
2
 
 
3
rbenv - Simple Ruby Version Management
 
4
 
 
5
=head1 USAGE
 
6
 
 
7
Initialize rbenv for your acccount:
 
8
 
 
9
  $ rbenv init
 
10
  $ echo 'eval "$(rbenv init -)"' >> ~/.bashrc
 
11
  # restart your shell after this
 
12
 
 
13
Make the Ruby interpreters installed through APT and configured with the
 
14
alternatives system to rbenv:
 
15
 
 
16
  $ rbenv alternatives
 
17
  Added 1.8.7-debian
 
18
  Added 1.9.2-debian
 
19
 
 
20
Switch between different Ruby interpreters:
 
21
 
 
22
  $ rbenv global 1.9.2-debian
 
23
  $ ruby -v
 
24
  ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
 
25
  $ rbenv global 1.8.7-debian
 
26
  $ ruby -v
 
27
  ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
 
28
 
 
29
The original rbenv README with a more comprehensive documentation,
 
30
including all of the available commands, is available at
 
31
/usr/share/doc/rbenv/README.md.gz
 
32
 
 
33
=head1 ABOUT
 
34
 
 
35
This manual page was written for the Debian system by Antonio Terceiro
 
36
<terceiro@debian.org> and may be used by others.