teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

3

追記

2016/10/15 15:17

投稿

tkmtmkt
tkmtmkt

スコア1800

answer CHANGED
@@ -62,4 +62,5 @@
62
62
 
63
63
  違いとして`Text file busy @ unlink_internal`が気になったのでググってみたら、以下のような情報がありました。
64
64
 
65
+ * [[小ネタ][Ruby on Rails]bundle install時にText file busy エラー | Developers.IO](http://dev.classmethod.jp/server-side/ruby-on-rails/tips_ruby-on-railsbundle-install_text-file-busy-error/)
65
- [RailsのプロジェクトをVMで共有した際にbundle installでこける問題 - Qiita](http://qiita.com/Yoruno/items/0eb3c8a8622242b0e6ff)
66
+ * [RailsのプロジェクトをVMで共有した際にbundle installでこける問題 - Qiita](http://qiita.com/Yoruno/items/0eb3c8a8622242b0e6ff)

2

内容修正

2016/10/15 15:17

投稿

tkmtmkt
tkmtmkt

スコア1800

answer CHANGED
@@ -35,36 +35,31 @@
35
35
  nio4r (1.2.1)
36
36
  ```
37
37
 
38
- 以下の通り、nio4rはactioncable、railsの依存ライブラリであるため、railsインストール時にインストール済みのはずです
38
+ gem_make.out の内容は以下の通り。
39
39
 
40
40
  ```sh
41
- $ gem uninstall nio4r
41
+ $ head -n 20 gem_make.out
42
+ current directory: $HOME/.rvm/gems/ruby-2.3.0/gems/nio4r-1.2.1/ext/nio4r
43
+ $HOME/.rvm/rubies/ruby-2.3.0/bin/ruby -r ./siteconf20161015-26705-1jnhbkz.rb extconf.rb
44
+ checking for unistd.h... yes
45
+ checking for rb_thread_blocking_region()... no
46
+ checking for rb_thread_call_without_gvl()... yes
47
+ checking for sys/select.h... yes
48
+ checking for poll.h... yes
49
+ checking for sys/epoll.h... yes
50
+ checking for sys/event.h... no
51
+ checking for port.h... no
52
+ checking for sys/resource.h... yes
53
+ creating Makefile
42
54
 
43
- You have requested to uninstall the gem:
55
+ To see why this extension failed to compile, please check the mkmf.log which can be found here:
44
- nio4r-1.2.1
45
56
 
46
- actioncable-5.0.0.1 depends on nio4r (~> 1.2)
47
- actioncable-5.0.0 depends on nio4r (~> 1.2)
48
- If you remove this gem, these dependencies will not be met.
57
+ $HOME/.rvm/gems/ruby-2.3.0/extensions/x86_64-linux/2.3.0/nio4r-1.2.1/mkmf.log
49
- Continue with Uninstall? [yN] n
50
- ```
51
- ```sh
52
- $ gem uninstall actioncable
53
58
 
54
- Select gem to uninstall:
59
+ current directory: $HOME/.rvm/gems/ruby-2.3.0/gems/nio4r-1.2.1/ext/nio4r
55
- 1. actioncable-5.0.0
56
- 2. actioncable-5.0.0.1
57
- 3. All versions
58
- > 3
59
-
60
- You have requested to uninstall the gem:
60
+ make "DESTDIR=" clean
61
- actioncable-5.0.0
62
-
63
- rails-5.0.0 depends on actioncable (= 5.0.0)
64
- If you remove this gem, these dependencies will not be met.
65
- Continue with Uninstall? [yN] n
66
61
  ```
67
62
 
68
- ここで最初の「`rails -v`を実行するとエラー表示されます。」が気になりま
63
+ 違いとして`Text file busy @ unlink_internal`が気になったのでググってみたら、以下のような情報がありました
69
64
 
70
- `gem env`と`gem list`はどようになっているでしょうか?
65
+ [RailsプロジェクトをVM共有た際にbundle installでこける問題 - Qiita](http://qiita.com/Yoruno/items/0eb3c8a8622242b0e6ff)

1

コピペミス

2016/10/15 15:15

投稿

tkmtmkt
tkmtmkt

スコア1800

answer CHANGED
@@ -11,6 +11,16 @@
11
11
  RubyGems Environment:
12
12
  - RUBYGEMS VERSION: 2.5.1
13
13
  - RUBY VERSION: 2.3.0 (2015-12-25 patchlevel 0) [x86_64-linux]
14
+ - INSTALLATION DIRECTORY: $HOME/.rvm/gems/ruby-2.3.0
15
+ - USER INSTALLATION DIRECTORY: $HOME/.gem/ruby/2.3.0
16
+ - RUBY EXECUTABLE: $HOME/.rvm/rubies/ruby-2.3.0/bin/ruby
17
+ - EXECUTABLE DIRECTORY: $HOME/.rvm/gems/ruby-2.3.0/bin
18
+ - SPEC CACHE DIRECTORY: $HOME/.gem/specs
19
+ - SYSTEM CONFIGURATION DIRECTORY: /etc
20
+ - RUBYGEMS PLATFORMS:
21
+ - ruby
22
+ - x86_64-linux
23
+ - GEM PATHS:
14
24
  - $HOME/.rvm/gems/ruby-2.3.0
15
25
  - $HOME/.rvm/gems/ruby-2.3.0@global
16
26