回答編集履歴
1
同じ手順でできる動作確認を実施 historyコマンドの結果を貼り付け
test
CHANGED
@@ -4,4 +4,38 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
+
```shell
|
8
|
+
|
9
|
+
[root@d5db93187167 sqlite-autoconf-3320300]# history
|
10
|
+
|
11
|
+
1 yum install -y gem wget make gcc
|
12
|
+
|
13
|
+
2 wget https://www.sqlite.org/2020/sqlite-autoconf-3320300.tar.gz
|
14
|
+
|
15
|
+
3 tar xzf sqlite-autoconf-3320300.tar.gz
|
16
|
+
|
17
|
+
4 cd sqlite-autoconf-3320300
|
18
|
+
|
19
|
+
5 ./configure --prefix=/usr/local
|
20
|
+
|
21
|
+
6 make && make install
|
22
|
+
|
23
|
+
7 yum install -y ruby-devel
|
24
|
+
|
25
|
+
8 gem install sqlite3-ruby
|
26
|
+
|
27
|
+
9 vi test.rb
|
28
|
+
|
7
|
-
|
29
|
+
10 ruby test.rb
|
30
|
+
|
31
|
+
11 history
|
32
|
+
|
33
|
+
[root@d5db93187167 sqlite-autoconf-3320300]# cat test.rb
|
34
|
+
|
35
|
+
require 'sqlite3'
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
puts "execute require 'sqlite3'"
|
40
|
+
|
41
|
+
```
|