Skip to content

Commit 6da4272

Browse files
committed
Update ruby version to 2.1.4
1 parent 1750ed9 commit 6da4272

2 files changed

Lines changed: 17 additions & 14 deletions

File tree

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,25 @@ You need to install [VirtualBox](https://www.virtualbox.org/) and [Vagrant](http
1212
$ vagrant up
1313
$ vagrant ssh
1414
$ mkdir -p ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
15-
$ (cd ~/rpmbuild/SOURCES && curl -LO http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz)
15+
$ (cd ~/rpmbuild/SOURCES && curl -LO http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.4.tar.gz)
1616
$ cp /vagrant/ruby21x.spec ~/rpmbuild/SPECS
1717
$ sudo yum update -y
1818
$ sudo yum install -y rpm-build
1919
$ rpmbuild -ba ~/rpmbuild/SPECS/ruby21x.spec
2020
エラー: ビルド依存性の失敗:
21-
readline-devel は ruby-2.1.2-2.el6.x86_64 に必要とされています
22-
ncurses-devel は ruby-2.1.2-2.el6.x86_64 に必要とされています
23-
gdbm-devel は ruby-2.1.2-2.el6.x86_64 に必要とされています
24-
glibc-devel は ruby-2.1.2-2.el6.x86_64 に必要とされています
25-
gcc は ruby-2.1.2-2.el6.x86_64 に必要とされています
26-
openssl-devel は ruby-2.1.2-2.el6.x86_64 に必要とされています
27-
db4-devel は ruby-2.1.2-2.el6.x86_64 に必要とされています
28-
libyaml-devel は ruby-2.1.2-2.el6.x86_64 に必要とされています
29-
libffi-devel は ruby-2.1.2-2.el6.x86_64 に必要とされています
30-
zlib-devel は ruby-2.1.2-2.el6.x86_64 に必要とされています
21+
readline-devel は ruby-2.1.4-2.el6.x86_64 に必要とされています
22+
ncurses-devel は ruby-2.1.4-2.el6.x86_64 に必要とされています
23+
gdbm-devel は ruby-2.1.4-2.el6.x86_64 に必要とされています
24+
glibc-devel は ruby-2.1.4-2.el6.x86_64 に必要とされています
25+
gcc は ruby-2.1.4-2.el6.x86_64 に必要とされています
26+
openssl-devel は ruby-2.1.4-2.el6.x86_64 に必要とされています
27+
db4-devel は ruby-2.1.4-2.el6.x86_64 に必要とされています
28+
libyaml-devel は ruby-2.1.4-2.el6.x86_64 に必要とされています
29+
libffi-devel は ruby-2.1.4-2.el6.x86_64 に必要とされています
30+
zlib-devel は ruby-2.1.4-2.el6.x86_64 に必要とされています
3131
$ sudo yum install -y readline-devel ncurses-devel gdbm-devel glibc-devel gcc openssl-devel db4-devel libyaml libyaml-devel libffi-devel zlib-devel
3232
$ rpmbuild -ba ~/rpmbuild/SPECS/ruby21x.spec
3333
(snip)
34-
書き込み完了: /home/vagrant/rpmbuild/SRPMS/ruby-2.1.2-2.el6.src.rpm
35-
書き込み完了: /home/vagrant/rpmbuild/RPMS/x86_64/ruby-2.1.2-2.el6.x86_64.rpm
34+
書き込み完了: /home/vagrant/rpmbuild/SRPMS/ruby-2.1.4-2.el6.src.rpm
35+
書き込み完了: /home/vagrant/rpmbuild/RPMS/x86_64/ruby-2.1.4-2.el6.x86_64.rpm
3636
```

ruby21x.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
%define rubyver 2.1.2
1+
%define rubyver 2.1.4
22

33
Name: ruby
44
Version: %{rubyver}
@@ -64,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT
6464
%{_libdir}/*
6565

6666
%changelog
67+
* Fri Oct 31 2014 Takashi Masuda <masutaka@feedforce.jp> - 2.1.4
68+
- Update ruby version to 2.1.4
69+
6770
* Wed Oct 29 2014 Takashi Masuda <masutaka@feedforce.jp> - 2.1.2
6871
- Remove dependencies on tcl-devel and byacc
6972

0 commit comments

Comments
 (0)