rails -v
不起作用。當我運行~$ rails new
時,db文件夾中沒有任何文件。 ~$ rails g scaffold project
;一切都已創建,但不會創建遷移文件夾。
請幫我解決這個情況。即使它顯示錯誤'寶石安裝包:
ERROR: While executing gem ... (Gem::RemoteSourceException) HTTP Response 302 fetching gems.rubyforge.org/yaml
~$ rails -v
getopt: invalid option -- 'v'
Terminating...
~$RAILS(1) RAILS(1)
NAME
rails - Ruby on Rails deployment script
SYNOPSIS
rails [options] destination(s)...
OPTIONS
-d, --no-docs
Deploys rails without any documentation.
-C, --copy
Deploys rails by copying instead of linking vendor libraries.
-F, --force-overwrite
Overwrites all previously deployed files, if any.
-D, --database
Specify the database to be used. Supported values are mysql,
oracle, postgresql, sqlite3, frontbase and ibm_db
-I, --internal
Manual page rails(1) line 1/42 57%
哪裏是問題產生的? – 2012-02-28 09:25:03
所以..你的問題是?? – darnir 2012-02-28 09:31:57
軌道,當我跑〜$軌新 db文件夾是不是有內它 〜$軌摹腳手架項目中創建 一切,但沒有遷移文件夾中創建 請任何文件-v不工作 – purti 2012-02-28 09:32:30