Đầu ra thiết bị đầu cuối:
(^_^) - (vagrant@ubuntu) - (jobs:0) - (~) - (531)
----> rails
/// Bunch'O Rails stuff, clearly installed ///
(^_^) - (vagrant@ubuntu) - (jobs:0) - (~) - (531)
----> cd -
/home/vagrant/Development/ksaa
(^_^) - (vagrant@ubuntu) - (jobs:0) - (~/Development/ksaaa) - (532)
----> rails
The program 'rails' is currently not installed. You can install it by typing:
sudo apt-get install rails
Tại sao điều này sẽ xảy ra? Rails hoạt động ở mọi nơi, ngoại trừ trong thư mục này (/ home / vagrant / Development / ksaa).
/ nhà / mơ hồ / Phát triển / ksaa:
drwxr-xr-x 14 vagrant 4.0K 2013-04-11 17:57 .
drwxr-xr-x 15 vagrant 4.0K 2013-04-11 17:57 ..
drwxr-xr-x 8 vagrant 4.0K 2013-04-11 17:57 app
drwxr-xr-x 5 vagrant 4.0K 2013-04-11 17:57 config
-rw-r--r-- 1 vagrant 154 2013-04-11 17:57 config.ru
drwxr-xr-x 2 vagrant 4.0K 2013-04-11 17:57 db
drwxr-xr-x 2 vagrant 4.0K 2013-04-11 17:57 doc
-rw-r--r-- 1 vagrant 932 2013-04-11 17:57 Gemfile
-rw-r--r-- 1 vagrant 3.6K 2013-04-11 17:57 Gemfile.lock
drwxr-xr-x 8 vagrant 4.0K 2013-04-11 17:57 .git
-rw-r--r-- 1 vagrant 434 2013-04-11 17:57 .gitignore
drwxr-xr-x 4 vagrant 4.0K 2013-04-11 17:57 lib
drwxr-xr-x 2 vagrant 4.0K 2013-04-11 17:57 log
drwxr-xr-x 2 vagrant 4.0K 2013-04-11 17:57 public
-rw-r--r-- 1 vagrant 269 2013-04-11 17:57 Rakefile
-rw-r--r-- 1 vagrant 9.1K 2013-04-11 17:57 README.rdoc
-rw-r--r-- 1 vagrant 15 2013-04-11 17:57 .rspec
-rw-r--r-- 1 vagrant 24 2013-04-11 17:57 .rvmrc
drwxr-xr-x 2 vagrant 4.0K 2013-04-11 17:57 script
drwxr-xr-x 3 vagrant 4.0K 2013-04-11 17:57 spec
drwxr-xr-x 7 vagrant 4.0K 2013-04-11 17:57 test
drwxr-xr-x 4 vagrant 4.0K 2013-04-11 17:57 vendor