gpt4 book ai didi

ruby-on-rails - rails 脚本/服务器不启动服务器

转载 作者:行者123 更新时间:2023-12-03 15:45:45 25 4
gpt4 key购买 nike

我下载并为 http://github.com/bestbuyremix/BBYIDX 设置了所有 gems

现在当我输入:

rails 脚本/服务器

我得到了输出,但服务器没有启动??

create  
create app/controllers
create app/helpers
create app/models
create app/views/layouts
create config/environments
create config/initializers
create db
create doc
create lib
create lib/tasks
create log
create public/images
create public/javascripts
create public/stylesheets
create script/performance
create script/process
create test/fixtures
create test/functional
create test/integration
create test/unit
create vendor
create vendor/plugins
create tmp/sessions
create tmp/sockets
create tmp/cache
create tmp/pids
create Rakefile
create README
create app/controllers/application.rb
create app/helpers/application_helper.rb
create test/test_helper.rb
create config/database.yml
create config/routes.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/new_rails_defaults.rb
create config/boot.rb
create config/environment.rb
create config/environments/production.rb
create config/environments/development.rb
create config/environments/test.rb
create script/about
create script/console
create script/dbconsole
create script/destroy
create script/generate
create script/performance/benchmarker
create script/performance/profiler
create script/performance/request
create script/process/reaper
create script/process/spawner
create script/process/inspector
create script/runner
create script/server
create script/plugin
create public/dispatch.rb
create public/dispatch.cgi
create public/dispatch.fcgi
create public/404.html
create public/422.html
create public/500.html
create public/index.html
create public/favicon.ico
create public/robots.txt
create public/images/rails.png
create public/javascripts/prototype.js
create public/javascripts/effects.js
create public/javascripts/dragdrop.js
create public/javascripts/controls.js
create public/javascripts/application.js
create doc/README_FOR_APP
create log/server.log
create log/production.log
create log/development.log
create log/test.log

最佳答案

在 Rails 3 之前,rails 的工作脚本只是创建一个新的 RoR 应用程序,这就是您所做的全部:在 script/server 中创建一个新的 Rails 应用程序目录。

您要运行 ruby script/server使用 Ruby 解释器调用服务器脚本。

在 Rails 3 中,rails script 还负责在您的应用程序中调用其他脚本:ruby script/server已成为rails server , ruby script/generate已成为rails generate等等。

关于ruby-on-rails - rails 脚本/服务器不启动服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3949855/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com