How do I install ruby 1.9.3-p429 using rbenv? -
i tried install ruby 1.9.3-p429 using rbenv follows; (on ubuntu linux 12.04)
% git clone https://github.com/sstephenson/rbenv.git /path/to/rbenv % ln -s /path/to/rbenv ~/.rbenv % cd ~/.rbenv % echo 'export path="$home/.rbenv/bin:$path"' >> ~/.zshenv % echo 'eval "$(rbenv init -)"' >> ~/.zshenv % exec $shell -l % git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
but, ruby-build dumps error message.
% rbenv install 1.9.3-p429 downloading yaml-0.1.4.tar.gz... -> http://dqw8nmjcqpjn7.cloudfront.net/36c852831d02cf90508c29852361d01b -> http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz build failed inspect or clean working tree @ /tmp/ruby-build.20130701184855.7206 results logged /tmp/ruby-build.20130701184855.7206.log last 10 log lines: checksum mismatch: yaml-0.1.4.tar.gz (file corrupt) expected 36c852831d02cf90508c29852361d01b, got 956baf72fd20659d7045498cc3954bf2 : -q curl: (33) http server doesn't seem support byte ranges. cannot resume. checksum mismatch: yaml-0.1.4.tar.gz (file corrupt) expected 36c852831d02cf90508c29852361d01b, got 956baf72fd20659d7045498cc3954bf2 : -q
what should trouble?
sorry, had created shellscript named 'md5' in $home/bin , caused incorrect action.
(please refer ~/.rbenv/plugins/ruby-build/bin/ruby-build compute_md5() )
it's fault.
finally success 'rbenv install 1.9.3-p429'.
Comments
Post a Comment