質問編集履歴

3

誤字

2017/12/18 13:35

投稿

seen
seen

スコア49

test CHANGED
File without changes
test CHANGED
@@ -12,236 +12,232 @@
12
12
 
13
13
  仮想環境の起動は出来ていると自分自身は認識しています。でも今までとは違うような気もします。SSHの接続にも成功していますがそこから作成中のフォルダが無いとエラーが出ます。rails newも出来ません。
14
14
 
15
- エラー文
15
+ 環境
16
+
17
+ - windows10
18
+
19
+ - virtualBox5.1.18
20
+
21
+ - vagrant1.8.6
22
+
23
+ - MobaXterm10.2.0.0
24
+
25
+ - ruby2.3.3
26
+
27
+ - rails5.0.3
28
+
29
+
30
+
31
+ エラー内容<コマンドプロンプト>
16
32
 
17
33
  ---
18
34
 
19
- 環境
20
-
21
- - windows10
22
-
23
- - virtualBox5.1.18
24
-
25
- - vagrant1.8.6
26
-
27
- - MobaXterm10.2.0.0
28
-
29
- - ruby2.3.3
30
-
31
- - rails5.0.3
32
-
33
-
34
-
35
- エラー内容<コマンドプロンプト>
35
+ vagrant>vagrant up
36
+
37
+ Bringing machine 'default' up with 'virtualbox' provider...
38
+
39
+ ==> default: Checking if box 'ubuntu/trusty32' is up to date...
40
+
41
+ ==> default: A newer version of the box 'ubuntu/trusty32' is available! You currently
42
+
43
+ ==> default: have version '20170330.0.1'. The latest is version '20171208.0.0'. Run
44
+
45
+ ==> default: `vagrant box update` to update.
46
+
47
+ ==> default: Clearing any previously set forwarded ports...
48
+
49
+ ==> default: Clearing any previously set network interfaces...
50
+
51
+ ==> default: Preparing network interfaces based on configuration...
52
+
53
+ default: Adapter 1: nat
54
+
55
+ default: Adapter 2: hostonly
56
+
57
+ ==> default: Forwarding ports...
58
+
59
+ default: 3000 (guest) => 3000 (host) (adapter 1)
60
+
61
+ default: 22 (guest) => 2222 (host) (adapter 1)
62
+
63
+ ==> default: Booting VM...
64
+
65
+ ==> default: Waiting for machine to boot. This may take a few minutes...
66
+
67
+ default: SSH address: 127.0.0.1:2222
68
+
69
+ default: SSH username: vagrant
70
+
71
+ default: SSH auth method: private key
72
+
73
+ default: Warning: Remote connection disconnect. Retrying...
74
+
75
+ ==> default: Machine booted and ready!
76
+
77
+ [default] GuestAdditions versions on your host (5.1.16) and guest (5.1.18) do not match.
78
+
79
+ stdin: is not a tty
80
+
81
+ Reading package lists...
82
+
83
+ Building dependency tree...
84
+
85
+ Reading state information...
86
+
87
+ dkms is already the newest version.
88
+
89
+ linux-headers-3.13.0-115-generic is already the newest version.
90
+
91
+ The following packages were automatically installed and are no longer required:
92
+
93
+ acl at-spi2-core colord dconf-gsettings-backend dconf-service libasound2
94
+
95
+ libasound2-data libatk-bridge2.0-0 libatspi2.0-0 libcanberra-gtk3-0
96
+
97
+ libcanberra-gtk3-module libcanberra0 libcolord1 libcolorhug1 libdconf1
98
+
99
+ libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 libgl1-mesa-dri
100
+
101
+ libgl1-mesa-glx libglapi-mesa libgphoto2-6 libgphoto2-l10n libgphoto2-port10
102
+
103
+ libgtk-3-0 libgtk-3-bin libgtk-3-common libgudev-1.0-0 libgusb2
104
+
105
+ libieee1284-3 libllvm3.4 libnotify-bin libnotify4 libogg0 libpciaccess0
106
+
107
+ libsane libsane-common libtdb1 libtxc-dxtn-s2tc0 libv4l-0 libv4lconvert0
108
+
109
+ libvorbis0a libvorbisfile3 libwayland-client0 libwayland-cursor0 libx11-xcb1
110
+
111
+ libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-sync1
112
+
113
+ libxfont1 libxkbcommon0 libxkbfile1 libxmu6 libxshmfence1 libxtst6
114
+
115
+ libxxf86vm1 notification-daemon sound-theme-freedesktop x11-xkb-utils
116
+
117
+ xfonts-base xfonts-encodings xfonts-utils xserver-common xserver-xorg-core
118
+
119
+ Use 'apt-get autoremove' to remove them.
120
+
121
+ 0 upgraded, 0 newly installed, 0 to remove and 128 not upgraded.
122
+
123
+ Copy iso file C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
124
+
125
+ Mounting Virtualbox Guest Additions ISO to: /mnt
126
+
127
+ stdin: is not a tty
128
+
129
+ mount: block device /tmp/VBoxGuestAdditions.iso is write-protected, mounting read-only
130
+
131
+ Installing Virtualbox Guest Additions 5.1.16 - guest version is 5.1.18
132
+
133
+ stdin: is not a tty
134
+
135
+ Verifying archive integrity... All good.
136
+
137
+ Uncompressing VirtualBox 5.1.16 Guest Additions for Linux...........
138
+
139
+ VirtualBox Guest Additions installer
140
+
141
+ Removing installed version 5.1.18 of VirtualBox Guest Additions...
142
+
143
+ vboxadd-service.sh: Stopping VirtualBox Guest Addition service.
144
+
145
+ vboxadd.sh: Stopping VirtualBox Additions.
146
+
147
+ Copying additional installer modules ...
148
+
149
+ Installing additional modules ...
150
+
151
+ vboxadd.sh: Building Guest Additions kernel modules.
152
+
153
+ vboxadd.sh: Starting the VirtualBox Guest Additions.
154
+
155
+
156
+
157
+ Could not find the X.Org or XFree86 Window System, skipping.
158
+
159
+ stdin: is not a tty
160
+
161
+ vboxadd.sh: Starting the VirtualBox Guest Additions.
162
+
163
+
164
+
165
+ Could not find the X.Org or XFree86 Window System, skipping.
166
+
167
+ stdin: is not a tty
168
+
169
+ vboxadd-service.sh: Starting VirtualBox Guest Addition service.
170
+
171
+ Unmounting Virtualbox Guest Additions ISO from: /mnt
172
+
173
+ stdin: is not a tty
174
+
175
+
176
+
177
+ ==> default: Checking for guest additions in VM...
178
+
179
+ ==> default: Configuring and enabling network interfaces...
180
+
181
+ ==> default: Mounting shared folders...
182
+
183
+ default: /vagrant => C:/Users/shn/Desktop/work/vagrant
184
+
185
+ Vagrant was unable to mount VirtualBox shared folders. This is usually
186
+
187
+ because the filesystem "vboxsf" is not available. This filesystem is
188
+
189
+ made available via the VirtualBox Guest Additions and kernel module.
190
+
191
+ Please verify that these guest additions are properly installed in the
192
+
193
+ guest. This is not a bug in Vagrant and is usually caused by a faulty
194
+
195
+ Vagrant box. For context, the command attempted was:
196
+
197
+
198
+
199
+ mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant
200
+
201
+
202
+
203
+ The error output from the command was:
204
+
205
+
206
+
207
+ : No such file or directory
208
+
209
+
210
+
211
+ C:\Users\shn\Desktop\work\vagrant>vagrant ssh
212
+
213
+ `ssh` executable not found in any directories in the %PATH% variable. Is an
214
+
215
+ SSH client installed? Try installing Cygwin, MinGW or Git, all of which
216
+
217
+ contain an SSH client. Or use your favorite SSH client with the following
218
+
219
+ authentication information shown below:
220
+
221
+
222
+
223
+ Host: 127.0.0.1
224
+
225
+ Port: 2222
226
+
227
+ Username: vagrant
228
+
229
+ Private key: C:/Users/shn/Desktop/work/vagrant/.vagrant/machines/default/virtualbox/private_key
230
+
231
+
232
+
233
+ C:\Users\shn\Desktop\work\vagrant>
234
+
235
+
236
+
237
+ エラー内容<MobaXterm>
36
238
 
37
239
  ---
38
240
 
39
- vagrant>vagrant up
40
-
41
- Bringing machine 'default' up with 'virtualbox' provider...
42
-
43
- ==> default: Checking if box 'ubuntu/trusty32' is up to date...
44
-
45
- ==> default: A newer version of the box 'ubuntu/trusty32' is available! You currently
46
-
47
- ==> default: have version '20170330.0.1'. The latest is version '20171208.0.0'. Run
48
-
49
- ==> default: `vagrant box update` to update.
50
-
51
- ==> default: Clearing any previously set forwarded ports...
52
-
53
- ==> default: Clearing any previously set network interfaces...
54
-
55
- ==> default: Preparing network interfaces based on configuration...
56
-
57
- default: Adapter 1: nat
58
-
59
- default: Adapter 2: hostonly
60
-
61
- ==> default: Forwarding ports...
62
-
63
- default: 3000 (guest) => 3000 (host) (adapter 1)
64
-
65
- default: 22 (guest) => 2222 (host) (adapter 1)
66
-
67
- ==> default: Booting VM...
68
-
69
- ==> default: Waiting for machine to boot. This may take a few minutes...
70
-
71
- default: SSH address: 127.0.0.1:2222
72
-
73
- default: SSH username: vagrant
74
-
75
- default: SSH auth method: private key
76
-
77
- default: Warning: Remote connection disconnect. Retrying...
78
-
79
- ==> default: Machine booted and ready!
80
-
81
- [default] GuestAdditions versions on your host (5.1.16) and guest (5.1.18) do not match.
82
-
83
- stdin: is not a tty
84
-
85
- Reading package lists...
86
-
87
- Building dependency tree...
88
-
89
- Reading state information...
90
-
91
- dkms is already the newest version.
92
-
93
- linux-headers-3.13.0-115-generic is already the newest version.
94
-
95
- The following packages were automatically installed and are no longer required:
96
-
97
- acl at-spi2-core colord dconf-gsettings-backend dconf-service libasound2
98
-
99
- libasound2-data libatk-bridge2.0-0 libatspi2.0-0 libcanberra-gtk3-0
100
-
101
- libcanberra-gtk3-module libcanberra0 libcolord1 libcolorhug1 libdconf1
102
-
103
- libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 libgl1-mesa-dri
104
-
105
- libgl1-mesa-glx libglapi-mesa libgphoto2-6 libgphoto2-l10n libgphoto2-port10
106
-
107
- libgtk-3-0 libgtk-3-bin libgtk-3-common libgudev-1.0-0 libgusb2
108
-
109
- libieee1284-3 libllvm3.4 libnotify-bin libnotify4 libogg0 libpciaccess0
110
-
111
- libsane libsane-common libtdb1 libtxc-dxtn-s2tc0 libv4l-0 libv4lconvert0
112
-
113
- libvorbis0a libvorbisfile3 libwayland-client0 libwayland-cursor0 libx11-xcb1
114
-
115
- libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-sync1
116
-
117
- libxfont1 libxkbcommon0 libxkbfile1 libxmu6 libxshmfence1 libxtst6
118
-
119
- libxxf86vm1 notification-daemon sound-theme-freedesktop x11-xkb-utils
120
-
121
- xfonts-base xfonts-encodings xfonts-utils xserver-common xserver-xorg-core
122
-
123
- Use 'apt-get autoremove' to remove them.
124
-
125
- 0 upgraded, 0 newly installed, 0 to remove and 128 not upgraded.
126
-
127
- Copy iso file C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
128
-
129
- Mounting Virtualbox Guest Additions ISO to: /mnt
130
-
131
- stdin: is not a tty
132
-
133
- mount: block device /tmp/VBoxGuestAdditions.iso is write-protected, mounting read-only
134
-
135
- Installing Virtualbox Guest Additions 5.1.16 - guest version is 5.1.18
136
-
137
- stdin: is not a tty
138
-
139
- Verifying archive integrity... All good.
140
-
141
- Uncompressing VirtualBox 5.1.16 Guest Additions for Linux...........
142
-
143
- VirtualBox Guest Additions installer
144
-
145
- Removing installed version 5.1.18 of VirtualBox Guest Additions...
146
-
147
- vboxadd-service.sh: Stopping VirtualBox Guest Addition service.
148
-
149
- vboxadd.sh: Stopping VirtualBox Additions.
150
-
151
- Copying additional installer modules ...
152
-
153
- Installing additional modules ...
154
-
155
- vboxadd.sh: Building Guest Additions kernel modules.
156
-
157
- vboxadd.sh: Starting the VirtualBox Guest Additions.
158
-
159
-
160
-
161
- Could not find the X.Org or XFree86 Window System, skipping.
162
-
163
- stdin: is not a tty
164
-
165
- vboxadd.sh: Starting the VirtualBox Guest Additions.
166
-
167
-
168
-
169
- Could not find the X.Org or XFree86 Window System, skipping.
170
-
171
- stdin: is not a tty
172
-
173
- vboxadd-service.sh: Starting VirtualBox Guest Addition service.
174
-
175
- Unmounting Virtualbox Guest Additions ISO from: /mnt
176
-
177
- stdin: is not a tty
178
-
179
-
180
-
181
- ==> default: Checking for guest additions in VM...
182
-
183
- ==> default: Configuring and enabling network interfaces...
184
-
185
- ==> default: Mounting shared folders...
186
-
187
- default: /vagrant => C:/Users/shn/Desktop/work/vagrant
188
-
189
- Vagrant was unable to mount VirtualBox shared folders. This is usually
190
-
191
- because the filesystem "vboxsf" is not available. This filesystem is
192
-
193
- made available via the VirtualBox Guest Additions and kernel module.
194
-
195
- Please verify that these guest additions are properly installed in the
196
-
197
- guest. This is not a bug in Vagrant and is usually caused by a faulty
198
-
199
- Vagrant box. For context, the command attempted was:
200
-
201
-
202
-
203
- mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant
204
-
205
-
206
-
207
- The error output from the command was:
208
-
209
-
210
-
211
- : No such file or directory
212
-
213
-
214
-
215
- C:\Users\shn\Desktop\work\vagrant>vagrant ssh
216
-
217
- `ssh` executable not found in any directories in the %PATH% variable. Is an
218
-
219
- SSH client installed? Try installing Cygwin, MinGW or Git, all of which
220
-
221
- contain an SSH client. Or use your favorite SSH client with the following
222
-
223
- authentication information shown below:
224
-
225
-
226
-
227
- Host: 127.0.0.1
228
-
229
- Port: 2222
230
-
231
- Username: vagrant
232
-
233
- Private key: C:/Users/shn/Desktop/work/vagrant/.vagrant/machines/default/virtualbox/private_key
234
-
235
-
236
-
237
- C:\Users\shn\Desktop\work\vagrant>
238
-
239
-
240
-
241
- エラー内容<MobaXterm>
242
-
243
- ---
244
-
245
241
  vagrant@vagrant-ubuntu-trusty-32:~$ cd /vagrant
246
242
 
247
243
  vagrant@vagrant-ubuntu-trusty-32:/vagrant$ cd shinya

2

エラー文追記

2017/12/18 13:35

投稿

seen
seen

スコア49

test CHANGED
File without changes
test CHANGED
@@ -3,3 +3,323 @@
3
3
  はじめてプログラムを作っているもので全くの素人な質問で申しわかないのですが、この度1年前くらいから作っているプログラムの完成が近かずいたのですが、急に仮想サーバーに入れなくなってしまい困っています。 復旧に全力を尽くしているのですがうまくいかず、仮想環境の作り直しも頭をよぎるようになりました。  
4
4
 
5
5
  普通のホームページも公開したことのないレベルなのですがHTML、CSSはフォルダごとサーバーにアップロードしますよね。 同じようにrailsを書いたフォルダもどの仮想サーバーでも開くことはできるのでしょうか。 それとも仮想サーバーもプログラムの一部と考えて1から作らないと動作しないのでしょうか。  すみませんがお答えいただけると助かります。
6
+
7
+ 追記
8
+
9
+ ---
10
+
11
+ sublimetextなどの製作途中フォルダを入れられますか?とはSublimeTextを使って編集しているRubyのコードという意味です。また、仮想サーバとは私のパソコンの中のVirtualBoxやVagrantといった仮想環境のことです。
12
+
13
+ 仮想環境の起動は出来ていると自分自身は認識しています。でも今までとは違うような気もします。SSHの接続にも成功していますがそこから作成中のフォルダが無いとエラーが出ます。rails newも出来ません。
14
+
15
+ エラー文
16
+
17
+ ---
18
+
19
+ 環境
20
+
21
+ - windows10
22
+
23
+ - virtualBox5.1.18
24
+
25
+ - vagrant1.8.6
26
+
27
+ - MobaXterm10.2.0.0
28
+
29
+ - ruby2.3.3
30
+
31
+ - rails5.0.3
32
+
33
+
34
+
35
+ エラー内容<コマンドプロンプト>
36
+
37
+ ---
38
+
39
+ vagrant>vagrant up
40
+
41
+ Bringing machine 'default' up with 'virtualbox' provider...
42
+
43
+ ==> default: Checking if box 'ubuntu/trusty32' is up to date...
44
+
45
+ ==> default: A newer version of the box 'ubuntu/trusty32' is available! You currently
46
+
47
+ ==> default: have version '20170330.0.1'. The latest is version '20171208.0.0'. Run
48
+
49
+ ==> default: `vagrant box update` to update.
50
+
51
+ ==> default: Clearing any previously set forwarded ports...
52
+
53
+ ==> default: Clearing any previously set network interfaces...
54
+
55
+ ==> default: Preparing network interfaces based on configuration...
56
+
57
+ default: Adapter 1: nat
58
+
59
+ default: Adapter 2: hostonly
60
+
61
+ ==> default: Forwarding ports...
62
+
63
+ default: 3000 (guest) => 3000 (host) (adapter 1)
64
+
65
+ default: 22 (guest) => 2222 (host) (adapter 1)
66
+
67
+ ==> default: Booting VM...
68
+
69
+ ==> default: Waiting for machine to boot. This may take a few minutes...
70
+
71
+ default: SSH address: 127.0.0.1:2222
72
+
73
+ default: SSH username: vagrant
74
+
75
+ default: SSH auth method: private key
76
+
77
+ default: Warning: Remote connection disconnect. Retrying...
78
+
79
+ ==> default: Machine booted and ready!
80
+
81
+ [default] GuestAdditions versions on your host (5.1.16) and guest (5.1.18) do not match.
82
+
83
+ stdin: is not a tty
84
+
85
+ Reading package lists...
86
+
87
+ Building dependency tree...
88
+
89
+ Reading state information...
90
+
91
+ dkms is already the newest version.
92
+
93
+ linux-headers-3.13.0-115-generic is already the newest version.
94
+
95
+ The following packages were automatically installed and are no longer required:
96
+
97
+ acl at-spi2-core colord dconf-gsettings-backend dconf-service libasound2
98
+
99
+ libasound2-data libatk-bridge2.0-0 libatspi2.0-0 libcanberra-gtk3-0
100
+
101
+ libcanberra-gtk3-module libcanberra0 libcolord1 libcolorhug1 libdconf1
102
+
103
+ libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 libgl1-mesa-dri
104
+
105
+ libgl1-mesa-glx libglapi-mesa libgphoto2-6 libgphoto2-l10n libgphoto2-port10
106
+
107
+ libgtk-3-0 libgtk-3-bin libgtk-3-common libgudev-1.0-0 libgusb2
108
+
109
+ libieee1284-3 libllvm3.4 libnotify-bin libnotify4 libogg0 libpciaccess0
110
+
111
+ libsane libsane-common libtdb1 libtxc-dxtn-s2tc0 libv4l-0 libv4lconvert0
112
+
113
+ libvorbis0a libvorbisfile3 libwayland-client0 libwayland-cursor0 libx11-xcb1
114
+
115
+ libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-sync1
116
+
117
+ libxfont1 libxkbcommon0 libxkbfile1 libxmu6 libxshmfence1 libxtst6
118
+
119
+ libxxf86vm1 notification-daemon sound-theme-freedesktop x11-xkb-utils
120
+
121
+ xfonts-base xfonts-encodings xfonts-utils xserver-common xserver-xorg-core
122
+
123
+ Use 'apt-get autoremove' to remove them.
124
+
125
+ 0 upgraded, 0 newly installed, 0 to remove and 128 not upgraded.
126
+
127
+ Copy iso file C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
128
+
129
+ Mounting Virtualbox Guest Additions ISO to: /mnt
130
+
131
+ stdin: is not a tty
132
+
133
+ mount: block device /tmp/VBoxGuestAdditions.iso is write-protected, mounting read-only
134
+
135
+ Installing Virtualbox Guest Additions 5.1.16 - guest version is 5.1.18
136
+
137
+ stdin: is not a tty
138
+
139
+ Verifying archive integrity... All good.
140
+
141
+ Uncompressing VirtualBox 5.1.16 Guest Additions for Linux...........
142
+
143
+ VirtualBox Guest Additions installer
144
+
145
+ Removing installed version 5.1.18 of VirtualBox Guest Additions...
146
+
147
+ vboxadd-service.sh: Stopping VirtualBox Guest Addition service.
148
+
149
+ vboxadd.sh: Stopping VirtualBox Additions.
150
+
151
+ Copying additional installer modules ...
152
+
153
+ Installing additional modules ...
154
+
155
+ vboxadd.sh: Building Guest Additions kernel modules.
156
+
157
+ vboxadd.sh: Starting the VirtualBox Guest Additions.
158
+
159
+
160
+
161
+ Could not find the X.Org or XFree86 Window System, skipping.
162
+
163
+ stdin: is not a tty
164
+
165
+ vboxadd.sh: Starting the VirtualBox Guest Additions.
166
+
167
+
168
+
169
+ Could not find the X.Org or XFree86 Window System, skipping.
170
+
171
+ stdin: is not a tty
172
+
173
+ vboxadd-service.sh: Starting VirtualBox Guest Addition service.
174
+
175
+ Unmounting Virtualbox Guest Additions ISO from: /mnt
176
+
177
+ stdin: is not a tty
178
+
179
+
180
+
181
+ ==> default: Checking for guest additions in VM...
182
+
183
+ ==> default: Configuring and enabling network interfaces...
184
+
185
+ ==> default: Mounting shared folders...
186
+
187
+ default: /vagrant => C:/Users/shn/Desktop/work/vagrant
188
+
189
+ Vagrant was unable to mount VirtualBox shared folders. This is usually
190
+
191
+ because the filesystem "vboxsf" is not available. This filesystem is
192
+
193
+ made available via the VirtualBox Guest Additions and kernel module.
194
+
195
+ Please verify that these guest additions are properly installed in the
196
+
197
+ guest. This is not a bug in Vagrant and is usually caused by a faulty
198
+
199
+ Vagrant box. For context, the command attempted was:
200
+
201
+
202
+
203
+ mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant
204
+
205
+
206
+
207
+ The error output from the command was:
208
+
209
+
210
+
211
+ : No such file or directory
212
+
213
+
214
+
215
+ C:\Users\shn\Desktop\work\vagrant>vagrant ssh
216
+
217
+ `ssh` executable not found in any directories in the %PATH% variable. Is an
218
+
219
+ SSH client installed? Try installing Cygwin, MinGW or Git, all of which
220
+
221
+ contain an SSH client. Or use your favorite SSH client with the following
222
+
223
+ authentication information shown below:
224
+
225
+
226
+
227
+ Host: 127.0.0.1
228
+
229
+ Port: 2222
230
+
231
+ Username: vagrant
232
+
233
+ Private key: C:/Users/shn/Desktop/work/vagrant/.vagrant/machines/default/virtualbox/private_key
234
+
235
+
236
+
237
+ C:\Users\shn\Desktop\work\vagrant>
238
+
239
+
240
+
241
+ エラー内容<MobaXterm>
242
+
243
+ ---
244
+
245
+ vagrant@vagrant-ubuntu-trusty-32:~$ cd /vagrant
246
+
247
+ vagrant@vagrant-ubuntu-trusty-32:/vagrant$ cd shinya
248
+
249
+ -bash: cd: shinya: No such file or directory
250
+
251
+ vagrant@vagrant-ubuntu-trusty-32:/vagrant$ ^C
252
+
253
+ vagrant@vagrant-ubuntu-trusty-32:/vagrant$ cd shinya
254
+
255
+ -bash: cd: shinya: No such file or directory
256
+
257
+ vagrant@vagrant-ubuntu-trusty-32:/vagrant$ rails new lesson3
258
+
259
+ create
260
+
261
+ /usr/lib/ruby/2.3.0/fileutils.rb:253:in `mkdir': Permission denied @ dir_s_mkdir - /vagrant/lesson3 (Errno::EACCES)
262
+
263
+ from /usr/lib/ruby/2.3.0/fileutils.rb:253:in `fu_mkdir'
264
+
265
+ from /usr/lib/ruby/2.3.0/fileutils.rb:227:in `block (2 levels) in mkdir_p'
266
+
267
+ from /usr/lib/ruby/2.3.0/fileutils.rb:225:in `reverse_each'
268
+
269
+ from /usr/lib/ruby/2.3.0/fileutils.rb:225:in `block in mkdir_p'
270
+
271
+ from /usr/lib/ruby/2.3.0/fileutils.rb:211:in `each'
272
+
273
+ from /usr/lib/ruby/2.3.0/fileutils.rb:211:in `mkdir_p'
274
+
275
+ from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor/actions/empty_directory.rb:51:in `block in invoke!'
276
+
277
+ from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor/actions/empty_directory.rb:116:in `invoke_with_conflict_check'
278
+
279
+ from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor/actions/empty_directory.rb:50:in `invoke!'
280
+
281
+ from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor/actions.rb:95:in `action'
282
+
283
+ from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor/actions/empty_directory.rb:14:in `empty_directory'
284
+
285
+ from /var/lib/gems/2.3.0/gems/railties-5.0.3/lib/rails/generators/app_base.rb:153:in `create_root'
286
+
287
+ from (eval):1:in `create_root'
288
+
289
+ from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor/command.rb:27:in `run'
290
+
291
+ from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command'
292
+
293
+ from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor/invocation.rb:133:in `block in invoke_all'
294
+
295
+ from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor/invocation.rb:133:in `each'
296
+
297
+ from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor/invocation.rb:133:in `map'
298
+
299
+ from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor/invocation.rb:133:in `invoke_all'
300
+
301
+ from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor/group.rb:232:in `dispatch'
302
+
303
+ from /var/lib/gems/2.3.0/gems/thor-0.19.4/lib/thor/base.rb:444:in `start'
304
+
305
+ from /var/lib/gems/2.3.0/gems/railties-5.0.3/lib/rails/commands/application.rb:17:in `<top (required)>'
306
+
307
+ from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
308
+
309
+ from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
310
+
311
+ from /var/lib/gems/2.3.0/gems/railties-5.0.3/lib/rails/cli.rb:14:in `<top (required)>'
312
+
313
+ from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require'
314
+
315
+ from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `rescue in require'
316
+
317
+ from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require'
318
+
319
+ from /var/lib/gems/2.3.0/gems/railties-5.0.3/exe/rails:9:in `<top (required)>'
320
+
321
+ from /usr/local/bin/rails:22:in `load'
322
+
323
+ from /usr/local/bin/rails:22:in `<main>'
324
+
325
+ vagrant@vagrant-ubuntu-trusty-32:/vagrant$

1

誤字

2017/12/18 13:34

投稿

seen
seen

スコア49

test CHANGED
File without changes
test CHANGED
@@ -1,5 +1,5 @@
1
1
  仮想サーバーを新しく用意した場合、sublimetextなどの製作途中フォルダを入れられますか?
2
2
 
3
- はじめてプログラムを作っているもので全くの素人な質問で申しわかないのですが、この度1年前くらいから作っているプログラムの完成がかずいたのですが、急に仮想サーバーに入れなくなってしまい困っています。 復旧に全力を尽くしているのですがうまくいかず、仮想環境の作り直しも頭をよぎるようになりました。  
3
+ はじめてプログラムを作っているもので全くの素人な質問で申しわかないのですが、この度1年前くらいから作っているプログラムの完成がかずいたのですが、急に仮想サーバーに入れなくなってしまい困っています。 復旧に全力を尽くしているのですがうまくいかず、仮想環境の作り直しも頭をよぎるようになりました。  
4
4
 
5
5
  普通のホームページも公開したことのないレベルなのですがHTML、CSSはフォルダごとサーバーにアップロードしますよね。 同じようにrailsを書いたフォルダもどの仮想サーバーでも開くことはできるのでしょうか。 それとも仮想サーバーもプログラムの一部と考えて1から作らないと動作しないのでしょうか。  すみませんがお答えいただけると助かります。