'Ruby'에 해당되는 글 2건
- 2007.02.24 [ruby gem] How to install
- 2007.02.23 [ruby] multiline comment
c:\ruby>cmd /k "c:\ruby\bin\gem"
RubyGems is a sophisticated package manager for Ruby. This is a
basic help message containing pointers to more information.
Usage:
gem -h/--help
gem -v/--version
gem command [arguments...] [options...]
Examples:
gem install rake
gem list --local
gem build package.gemspec
gem help install
Further help:
gem help commands list all 'gem' commands
gem help examples show some examples of usage
gem help <COMMAND> show help on COMMAND
(e.g. 'gem help install')
Further information:
http://rubygems.rubyforge.org
c:\ruby>gem install net-ssh-1.0.10
ERROR: While executing gem ... (RuntimeError)
Error instaling net-ssh-1.0.10:
net-ssh requires needle >= 1.2.0
간혹 특정 라이브러리를 설치할 경우 추가로 필요한 라이브러리를
요구한다. 그때 http://raa.ruby-lang.org/ 에서 찾아서 추가로 설치후
처음 라이브러리를 설치해준다.
c:\ruby>gem install needle-1.3.0.gem
Successfully installed needle, version 1.3.0
Installing ri documentation for needle-1.3.0...
Installing RDoc documentation for needle-1.3.0...
c:\ruby>gem install net-ssh-1.0.10.gem
Successfully installed net-ssh, version 1.0.10
Installing ri documentation for net-ssh-1.0.10...
Installing RDoc documentation for net-ssh-1.0.10...
c:\ruby>
* gem 으로 라이브러리를 설치하면 라이브러리가 설치되는 경로
C:\ruby\lib\ruby\gems\1.8\gems
* 필요한 프로그램은 아래 url에서 검색하여 찾는다.(gem파일 권장:윈도우)
http://raa.ruby-lang.org/
RubyGems is a sophisticated package manager for Ruby. This is a
basic help message containing pointers to more information.
Usage:
gem -h/--help
gem -v/--version
gem command [arguments...] [options...]
Examples:
gem install rake
gem list --local
gem build package.gemspec
gem help install
Further help:
gem help commands list all 'gem' commands
gem help examples show some examples of usage
gem help <COMMAND> show help on COMMAND
(e.g. 'gem help install')
Further information:
http://rubygems.rubyforge.org
c:\ruby>gem install net-ssh-1.0.10
ERROR: While executing gem ... (RuntimeError)
Error instaling net-ssh-1.0.10:
net-ssh requires needle >= 1.2.0
간혹 특정 라이브러리를 설치할 경우 추가로 필요한 라이브러리를
요구한다. 그때 http://raa.ruby-lang.org/ 에서 찾아서 추가로 설치후
처음 라이브러리를 설치해준다.
c:\ruby>gem install needle-1.3.0.gem
Successfully installed needle, version 1.3.0
Installing ri documentation for needle-1.3.0...
Installing RDoc documentation for needle-1.3.0...
c:\ruby>gem install net-ssh-1.0.10.gem
Successfully installed net-ssh, version 1.0.10
Installing ri documentation for net-ssh-1.0.10...
Installing RDoc documentation for net-ssh-1.0.10...
c:\ruby>
* gem 으로 라이브러리를 설치하면 라이브러리가 설치되는 경로
C:\ruby\lib\ruby\gems\1.8\gems
* 필요한 프로그램은 아래 url에서 검색하여 찾는다.(gem파일 권장:윈도우)
http://raa.ruby-lang.org/
=begin
multiline comment
fkfkfkf
fkfkf
=end
the following snippet don't correctly work by multiline comments.
com=<<park
multiline comment
park
+---+---+
1라인 주석처리 : #
multiline comment
fkfkfkf
fkfkf
=end
the following snippet don't correctly work by multiline comments.
com=<<park
multiline comment
park
+---+---+
1라인 주석처리 : #
Recent Comment