【发布时间】:2012-02-28 09:23:36
【问题描述】:
编辑:
rails -v 不工作。当我运行~$ rails new 时,db 文件夹中没有任何文件。 ~$ rails g scaffold project;一切都创建了,但没有创建迁移文件夹。
请帮我解决这个问题。即使它在 `gem install bundle 中显示错误:
错误:执行 gem 时 ... (Gem::RemoteSourceException) HTTP 响应 302 获取 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%
【问题讨论】:
-
当我运行时~$ rails new db 文件夹中没有任何文件~$ rails g scaffold 项目所有内容都已创建但未创建迁移文件夹请帮我解决问题跨度>
-
即使它在 gem install bundle 中显示错误 ERROR: While execution gem ... (Gem::RemoteSourceException) HTTP Response 302 fetching gems.rubyforge.org/yaml
-
您有时应该尝试使用 Google。这是一个非常棒的网站,可让您在互联网上搜索东西。
-
即使这也不能解决我的问题
标签: ruby-on-rails installation