Closed asonas closed 11 years ago
[hirano@f1 public_html]$ cd
[hirano@f1 ~]$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
Cloning into '/home/hirano/.rbenv'...
remote: Counting objects: 1618, done.
remote: Compressing objects: 100% (645/645), done.
remote: Total 1618 (delta 1044), reused 1459 (delta 941)
Receiving objects: 100% (1618/1618), 233.40 KiB | 171 KiB/s, done.
Resolving deltas: 100% (1044/1044), done.
[hirano@f1 ~]$ mkdir -p ~/.rbenv/plugins
[hirano@f1 ~]$ git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
Cloning into '/home/hirano/.rbenv/plugins/ruby-build'...
remote: Counting objects: 1866, done.
remote: Compressing objects: 100% (1135/1135), done.
remote: Total 1866 (delta 764), reused 1631 (delta 555)
Receiving objects: 100% (1866/1866), 251.08 KiB | 149 KiB/s, done.
Resolving deltas: 100% (764/764), done.
[hirano@f1 ~]$
[hirano@f1 ~]$ vi .bashrc
[hirano@f1 ~]$ source .bashrc
[hirano@f1 ~]$ cat .bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
[hirano@f1 ~]$
[hirano@f1 ~]$ rbenv
rbenv 0.4.0-45-g060f141
Usage: rbenv <command> [<args>]
Some useful rbenv commands are:
commands List all available rbenv commands
local Set or show the local application-specific Ruby version
global Set or show the global Ruby version
shell Set or show the shell-specific Ruby version
install Install a Ruby version using the ruby-build plugin
uninstall Uninstall a specific Ruby version
rehash Rehash rbenv shims (run this after installing executables)
version Show the current Ruby version and its origin
versions List all Ruby versions available to rbenv
which Display the full path to an executable
whence List all Ruby versions that contain the given executable
See `rbenv help <command>' for information on a specific command.
For full documentation, see: https://github.com/sstephenson/rbenv#readme
[hirano@f1 ~]$ rbenv commands
--version
commands
completions
exec
global
help
hooks
init
install
local
prefix
rehash
root
shell
shims
uninstall
version
version-file
version-file-read
version-file-write
version-name
version-origin
versions
whence
which
それっぽいコマンドを打ってみる
[hirano@f1 ~]$ rbenv install
Usage: rbenv install [-f|--force] [-k|--keep] [-v|--verbose] <version>
rbenv install [-f|--force] [-k|--keep] [-v|--verbose] <definition-file>
rbenv install -l|--list
-l/--list List all available versions
-f/--force Install even if the version appears to be installed already
-k/--keep Keep source tree in $RBENV_BUILD_ROOT after installation
(defaults to $RBENV_ROOT/sources)
-v/--verbose Verbose mode: print compilation status to stdout
For detailed information on installing Ruby versions with
ruby-build, including a list of environment variables for adjusting
compilation, see: https://github.com/sstephenson/ruby-build#usage
[hirano@f1 ~]$ rbenv install -l
Available versions:
1.8.6-p383
1.8.6-p420
1.8.7-p249
1.8.7-p302
1.8.7-p334
1.8.7-p352
1.8.7-p357
1.8.7-p358
1.8.7-p370
1.8.7-p371
1.9.1-p378
1.9.2-p180
1.9.2-p290
1.9.2-p318
1.9.2-p320
1.9.3-dev
1.9.3-p0
1.9.3-p125
1.9.3-p194
1.9.3-p286
1.9.3-p327
1.9.3-p362
1.9.3-p374
1.9.3-p385
1.9.3-p392
1.9.3-preview1
1.9.3-rc1
2.0.0-dev
2.0.0-p0
2.0.0-preview1
2.0.0-preview2
2.0.0-rc1
2.0.0-rc2
2.1.0-dev
jruby-1.5.6
jruby-1.6.3
jruby-1.6.4
jruby-1.6.5
jruby-1.6.5.1
jruby-1.6.6
jruby-1.6.7
jruby-1.6.7.2
jruby-1.6.8
jruby-1.7.0
jruby-1.7.0-preview1
jruby-1.7.0-preview2
jruby-1.7.0-rc1
jruby-1.7.0-rc2
jruby-1.7.1
jruby-1.7.2
jruby-1.7.3
jruby-1.7.4-dev
maglev-1.0.0
maglev-1.1.0-dev
mruby-dev
rbx-1.2.4
rbx-2.0.0-dev
rbx-2.0.0-rc1
ree-1.8.6-2009.06
ree-1.8.7-2009.09
ree-1.8.7-2009.10
ree-1.8.7-2010.01
ree-1.8.7-2010.02
ree-1.8.7-2011.03
ree-1.8.7-2011.12
ree-1.8.7-2012.01
ree-1.8.7-2012.02
topaz-dev
[hirano@f1 ~]$ rbenv install 1.9.3-p392
Downloading yaml-0.1.4.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/36c852831d02cf90508c29852361d01b
Installing yaml-0.1.4...
Installed yaml-0.1.4 to /home/hirano/.rbenv/versions/1.9.3-p392
Downloading ruby-1.9.3-p392.tar.gz...
-> http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz
Installing ruby-1.9.3-p392...
[hirano@f1 ~]$ rbenv install 2.0.0-p0
Downloading ruby-2.0.0-p0.tar.gz...
-> http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.gz
Installing ruby-2.0.0-p0...
Installed ruby-2.0.0-p0 to /home/hirano/.rbenv/versions/2.0.0-p0
[hirano@f1 ~]$ ruby --version
ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
[hirano@f1 ~]$ rbenv shell ^C
[hirano@f1 ~]$ ^C
[hirano@f1 ~]$ ll .rbenv/versions/
合計 8
drwxr-xr-x. 6 hirano hirano 4096 5月 7 20:48 2013 1.9.3-p392
drwxr-xr-x. 6 hirano hirano 4096 5月 7 20:53 2013 2.0.0-p0
[hirano@f1 ~]$ rbenv shell 2.0.0-p0
[hirano@f1 ~]$ ll
合計 12
drwxrwxr-x. 3 hirano hirano 4096 5月 7 21:04 2013 bin
drwxrwxr-x. 5 hirano hirano 4096 4月 25 12:20 2013 public_html
drwxrwxr-x. 2 hirano hirano 4096 5月 7 12:34 2013 work
[hirano@f1 ~]$ ruby --version
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
[hirano@f1 ~]$
[hirano@f1 RubyPractice]$ cd
[hirano@f1 ~]$ cd .rbenv/
[hirano@f1 .rbenv]$ ll
合計 56
-rw-rw-r--. 1 hirano hirano 1058 5月 7 20:36 2013 LICENSE
-rw-rw-r--. 1 hirano hirano 20649 5月 7 20:36 2013 README.md
drwxrwxr-x. 2 hirano hirano 4096 5月 7 20:36 2013 bin
drwxrwxr-x. 2 hirano hirano 4096 5月 7 20:36 2013 completions
drwxrwxr-x. 2 hirano hirano 4096 5月 7 20:36 2013 libexec
drwxrwxr-x. 3 hirano hirano 4096 5月 7 20:36 2013 plugins
drwxrwxr-x. 2 hirano hirano 4096 5月 7 20:53 2013 shims
drwxrwxr-x. 3 hirano hirano 4096 5月 7 20:36 2013 test
drwxrwxr-x. 4 hirano hirano 4096 5月 7 20:53 2013 versions
[hirano@f1 .rbenv]$ cd versions/
[hirano@f1 versions]$ ll
合計 8
drwxr-xr-x. 6 hirano hirano 4096 5月 7 20:48 2013 1.9.3-p392
drwxr-xr-x. 6 hirano hirano 4096 5月 7 20:53 2013 2.0.0-p0
[hirano@f1 versions]$ ln -s 1.9.3-p392 1.9.3
[hirano@f1 versions]$ ll
合計 8
lrwxrwxrwx. 1 hirano hirano 10 5月 7 21:22 2013 1.9.3 -> 1.9.3-p392
drwxr-xr-x. 6 hirano hirano 4096 5月 7 20:48 2013 1.9.3-p392
drwxr-xr-x. 6 hirano hirano 4096 5月 7 20:53 2013 2.0.0-p0
[hirano@f1 versions]$ ln -s 2.0.0-p0 2.0.0
[hirano@f1 versions]$ ll
合計 8
lrwxrwxrwx. 1 hirano hirano 10 5月 7 21:22 2013 1.9.3 -> 1.9.3-p392
drwxr-xr-x. 6 hirano hirano 4096 5月 7 20:48 2013 1.9.3-p392
lrwxrwxrwx. 1 hirano hirano 8 5月 7 21:23 2013 2.0.0 -> 2.0.0-p0
drwxr-xr-x. 6 hirano hirano 4096 5月 7 20:53 2013 2.0.0-p0
https://github.com/fr-hirano/RubyPractice/pull/2
[hirano@f1 RubyPractice]$ rbenv shell 2.0.0
[hirano@f1 RubyPractice]$ ruby helloworld.rb
hello world
[hirano@f1 RubyPractice]$ rbenv shell 1.9.3
[hirano@f1 RubyPractice]$ ruby helloworld.rb
hello world
[hirano@f1 RubyPractice]$ gem install pry pry-doc
Fetching: coderay-1.0.9.gem (100%)
Fetching: slop-3.4.4.gem (100%)
Fetching: method_source-0.8.1.gem (100%)
Fetching: pry-0.9.12.1.gem (100%)
Successfully installed coderay-1.0.9
Successfully installed slop-3.4.4
Successfully installed method_source-0.8.1
Successfully installed pry-0.9.12.1
Fetching: yard-0.8.6.1.gem (100%)
Fetching: pry-doc-0.4.5.gem (100%)
Successfully installed yard-0.8.6.1
Successfully installed pry-doc-0.4.5
6 gems installed
Installing ri documentation for coderay-1.0.9...
Installing ri documentation for slop-3.4.4...
Installing ri documentation for method_source-0.8.1...
Installing ri documentation for pry-0.9.12.1...
RDoc::Parser::Ruby failure around line 25 of
lib/pry/commands/ls.rb
Before reporting this, could you check that the file you're documenting
has proper syntax:
/home/hirano/.rbenv/versions/1.9.3-p392/bin/ruby -c lib/pry/commands/ls.rb
RDoc is not a full Ruby parser and will fail when fed invalid ruby programs.
The internal error was:
(NoMethodError) undefined method `name' for #<RDoc::RubyToken::TkDOT:0x00000003cab6d0>
ERROR: While generating documentation for pry-0.9.12.1
... MESSAGE: undefined method `name' for #<RDoc::RubyToken::TkDOT:0x00000003cab6d0>
... RDOC args: --ri --op /home/hirano/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/doc/pry-0.9.12.1/ri lib --title pry-0.9.12.1 Documentation --quiet
失敗したので2.0.0に切り替えてインストール
[hirano@f1 RubyPractice]$ rbenv shell 2.0.0
[hirano@f1 RubyPractice]$ gem install pry pry-doc
Fetching: coderay-1.0.9.gem (100%)
Successfully installed coderay-1.0.9
Fetching: slop-3.4.4.gem (100%)
Successfully installed slop-3.4.4
Fetching: method_source-0.8.1.gem (100%)
Successfully installed method_source-0.8.1
Fetching: pry-0.9.12.1.gem (100%)
Successfully installed pry-0.9.12.1
invalid options: -SNw2
(invalid options are ignored)
Parsing documentation for coderay-1.0.9
Installing ri documentation for coderay-1.0.9
Parsing documentation for slop-3.4.4
Installing ri documentation for slop-3.4.4
Parsing documentation for method_source-0.8.1
Installing ri documentation for method_source-0.8.1
Parsing documentation for pry-0.9.12.1
Installing ri documentation for pry-0.9.12.1
Done installing documentation for coderay, slop, method_source, pry (4 sec).
Fetching: yard-0.8.6.1.gem (100%)
Successfully installed yard-0.8.6.1
Fetching: pry-doc-0.4.5.gem (100%)
Successfully installed pry-doc-0.4.5
Parsing documentation for yard-0.8.6.1
unable to convert "\xF5" from ASCII-8BIT to UTF-8 for lib/yard/server/templates/default/fulldoc/html/images/processing.gif, skipping
Installing ri documentation for yard-0.8.6.1
Parsing documentation for pry-doc-0.4.5
unable to convert "\x8D" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/object_types, skipping
unable to convert "\xEC" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/ArgumentError.dat, skipping
unable to convert "\xB1" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array.dat, skipping
unable to convert "\xFB" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/-_i.dat, skipping
unable to convert "\x98" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/_26_i.dat, skipping
unable to convert "\xF0" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/_2A_i.dat, skipping
unable to convert "\xA0" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/_2B_i.dat, skipping
unable to convert "\xE7" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/_3C_3C_i.dat, skipping
unable to convert "\x8C" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/_3C_3D_3E_i.dat, skipping
unable to convert "\xDB" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/_5B_5D_3D_i.dat, skipping
unable to convert "\xF6" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/_5B_5D_i.dat, skipping
unable to convert "\xAB" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/_7C_i.dat, skipping
unable to convert "\xED" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/assoc_i.dat, skipping
unable to convert "\x8B" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/at_i.dat, skipping
unable to convert "\xEA" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/choice_i.dat, skipping
unable to convert "\x9C" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/collect_i.dat, skipping
unable to convert "\xA8" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/combination_i.dat, skipping
unable to convert "\xB8" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/compact_21_i.dat, skipping
unable to convert "\x91" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/compact_i.dat, skipping
unable to convert "\xB7" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/concat_i.dat, skipping
unable to convert "\xB9" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/count_i.dat, skipping
unable to convert "\xFB" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/cycle_i.dat, skipping
unable to convert "\xFE" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/delete_at_i.dat, skipping
unable to convert "\xB1" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/delete_i.dat, skipping
unable to convert "\xA0" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/delete_if_i.dat, skipping
unable to convert "\x91" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/drop_i.dat, skipping
unable to convert "\xE7" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/drop_while_i.dat, skipping
unable to convert "\xB6" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/each_i.dat, skipping
unable to convert "\xC2" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/each_index_i.dat, skipping
unable to convert "\x84" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/empty_3F_i.dat, skipping
unable to convert "\x9B" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/eql_3F_i.dat, skipping
unable to convert "\xFB" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/fetch_i.dat, skipping
unable to convert "\x8F" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/fill_i.dat, skipping
unable to convert "\x94" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/find_index_i.dat, skipping
unable to convert "\x95" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/flatten_21_i.dat, skipping
unable to convert "\xA5" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/flatten_i.dat, skipping
unable to convert "\x84" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/frozen_3F_i.dat, skipping
unable to convert "\x8D" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/hash_i.dat, skipping
unable to convert "\xF6" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/include_3F_i.dat, skipping
unable to convert "\x94" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/index_i.dat, skipping
unable to convert "\x9B" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/indexes_i.dat, skipping
unable to convert "\x9B" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/indices_i.dat, skipping
unable to convert "\xFD" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/initialize_copy_i.dat, skipping
unable to convert "\xFA" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/initialize_i.dat, skipping
unable to convert "\xE8" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/insert_i.dat, skipping
unable to convert "\xBF" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/join_i.dat, skipping
unable to convert "\x95" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/last_i.dat, skipping
unable to convert "\x87" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/length_i.dat, skipping
unable to convert "\x9C" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/map_i.dat, skipping
unable to convert "\xF4" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/nitems_i.dat, skipping
unable to convert "\x8A" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/pack_i.dat, skipping
省略
unable to convert "\xEB" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/TypeError.dat, skipping
unable to convert "\xED" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/UnboundMethod.dat, skipping
unable to convert "\x81" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/UnboundMethod/_3D_3D_i.dat, skipping
unable to convert "\x92" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/UnboundMethod/arity_i.dat, skipping
unable to convert "\xDE" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/UnboundMethod/bind_i.dat, skipping
unable to convert "\xB0" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/UnboundMethod/inspect_i.dat, skipping
unable to convert "\xCC" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/UnboundMethod/name_i.dat, skipping
unable to convert "\xDC" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/UnboundMethod/owner_i.dat, skipping
unable to convert "\xB0" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/UnboundMethod/to_s_i.dat, skipping
unable to convert "\xE6" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/ZeroDivisionError.dat, skipping
unable to convert "\xE6" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/fatal.dat, skipping
unable to convert "\x93" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/gets_c.dat, skipping
unable to convert "\xDD" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/induced_from_c.dat, skipping
unable to convert "\x92" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/readline_c.dat, skipping
unable to convert "\xB1" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/readlines_c.dat, skipping
unable to convert "\xB1" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/to_a_c.dat, skipping
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_19/objects/root.dat, skipping
unable to convert "\xBF" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_20/object_types, skipping
unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_20/objects/root.dat, skipping
Installing ri documentation for pry-doc-0.4.5
Done installing documentation for yard, pry-doc (5 sec).
6 gems installed
参考: http://labs.timedia.co.jp/2011/12/rubyist-should-use-pry.html
[hirano@f1 RubyPractice]$ pry
-bash: pry: コマンドが見つかりません
[hirano@f1 RubyPractice]$ rbenv rehash
[hirano@f1 RubyPractice]$ pry
[1] pry(main)> puts('hello world')
hello world
=> nil
Fetching: awesome_print-1.1.0.gem (100%)
Successfully installed awesome_print-1.1.0
Parsing documentation for awesome_print-1.1.0
Installing ri documentation for awesome_print-1.1.0
Done installing documentation for awesome_print (0 sec).
1 gem installed
[hirano@f1 RubyPractice]$ rbenv rehash
[hirano@f1 RubyPractice]$
切り替えるrubyのバージョンをsymlinkにした
今回は問題ありませんが、同じ2.0.0系でもパッチがあてられればフォルダ名が変わりゆくのでそこには注意してください。
pry-doc
今回においては使わないので不必要です。
切り替えるrubyのバージョンをsymlinkにした
今回は問題ありませんが、同じ2.0.0系でもパッチがあてられればフォルダ名が変わりゆくのでそこには注意してください。
そうですね。そこは注意していきます。 皆さんって切り替えるときってバージョンを全部打ってきりかえてるんでしょうか?
rbenv shell 2.0.0-p0
皆さんって切り替えるときってバージョンを全部打ってきりかえてるんでしょうか?
切り替えてますねー。pXXX含めてバージョン番号なので。
皆さんって切り替えるときってバージョンを全部打ってきりかえてるんでしょうか?
多分何の設定をしていなくても、rbe<TAB> gl<TAB> 2<TAB>
で補完できるのでそこまでSymlinkにこだわっていないという感じです。
なるほどー。補間してくれるのか
インストールの確認ができたので、この課題は終わりです。 お疲れ様でした。
rvm, rbenvのどちらかをインストールしてください
rubyのインストールしてください
hello world
を出力してくださいhello world
の実行結果を書いてくださいgemのインストールしてください