Ruby 导轨3.2.6安装在Centos6上

Ruby 导轨3.2.6安装在Centos6上,ruby,ruby-on-rails-3,centos,centos6,Ruby,Ruby On Rails 3,Centos,Centos6,我按顺序执行了以下步骤,但在运行webrick时遇到问题 我安装了centos 6 步骤1: 步骤2: server world.info/en/note?os=CentOS_6&p=mysql 步骤3: sudo安装mysql--with mysql config=/usr/local/mysql/bin/mysql\u config gem安装-y mysql--with mysql config=/usr/bin/mysql\u config 它安装了所有的gems,没有任何问题 但是当

我按顺序执行了以下步骤,但在运行webrick时遇到问题

我安装了centos 6

步骤1:

步骤2: server world.info/en/note?os=CentOS_6&p=mysql

步骤3: sudo安装mysql--with mysql config=/usr/local/mysql/bin/mysql\u config gem安装-y mysql--with mysql config=/usr/bin/mysql\u config

它安装了所有的gems,没有任何问题

但是当我从使用
rails新的简单cms-Dmysql

结果: 创建
创建README.rdoc
创建Rakefile
创建config.ru
create.gitignore
创建文件
创建应用程序
创建app/assets/images/rails.png
创建app/assets/javascripts/application.js
创建app/assets/stylesheets/application.css
创建应用程序/控制器/应用程序_controller.rb
创建app/helpers/application\u helper.rb
创建应用程序/邮件
创建应用程序/模型
创建app/views/layouts/application.html.erb
创建app/mailers/.gitkeep
创建app/models/.gitkeep
创建配置
创建config/routes.rb
创建config/application.rb
创建config/environment.rb
创建配置/环境
创建config/environments/development.rb
创建config/environments/production.rb
创建config/environments/test.rb
创建配置/初始值设定项
创建config/initializers/backtrace_消音器.rb
创建配置/初始值设定项/拐点.rb
创建config/initializers/mime_types.rb
创建config/initializers/secret_token.rb
创建config/initializers/session_store.rb
创建配置/初始值设定项/wrap_parameters.rb
创建配置/区域设置
创建config/locales/en.yml
创建config/boot.rb
创建config/database.yml
创建数据库
创建db/seeds.rb
创建文档
为应用程序创建文档/自述文件
创建库
创建库/任务
创建lib/tasks/.gitkeep
创建库/资产
创建lib/assets/.gitkeep
创建日志
创建日志/.gitkeep
创建公共文件
创建public/404.html
创建public/422.html
创建public/500.html
创建public/favicon.ico
创建public/index.html
创建public/robots.txt
创建脚本
创建脚本/轨道
创建测试/固定装置
创建测试/装置/.gitcept
创建测试/功能
创建test/functional/.gitkeep
创建测试/集成
创建测试/集成/.gitkeep
创建测试/单元
创建test/unit/.gitkeep
创建测试/性能/浏览\u test.rb
创建test/test\u helper.rb
创建tmp/缓存
创建tmp/缓存/资产
创建供应商/资产/Java脚本
创建供应商/assets/javascripts/.gitcept
创建供应商/资产/样式表
创建供应商/资产/样式表/.gitkeep
创建供应商/插件
创建供应商/插件/.gitkeep
运行捆绑包安装
从中获取gem元数据[https://rubygems.org/].
无法加载OpenSSL。 您必须使用OpenSSL支持重新编译Ruby,或者更改数据库中的源代码 将文件从“https”转换为“http”。使用OpenSSL编译的说明 使用RVM可从RVM.io/packages/openssl获得。

运行rails服务器时出现以下错误:

/usr/local/rvm/gems/ruby-1.9.3-p194/gems/execjs-1.4.0/lib/execjs/runtimes.rb:51:in
autodetect”:找不到JavaScript运行时。看见https://github.com/sstephenson/execjs 获取可用运行时的列表。(ExecJS::RuntimeUnavailable)
从/usr/local/rvm/gems/ruby-1.9.3-p194/gems/execjs-1.4.0/lib/execjs.rb:5:in

来自/usr/local/rvm/gems/ruby-1.9.3-p194/gems/execjs-1.4.0/lib/execjs.rb:4:in

from/usr/local/rvm/gems/ruby-1.9.3-p194/gems/coffee-script-2.2.0/lib/coffee\u script.rb:1:in
require'
from/usr/local/rvm/gems/ruby-1.9.3-p194/gems/coffee-script-2.2.0/lib/coffee\u script.rb:1:in

from/usr/local/rvm/gems/ruby-1.9.3-p194/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in
require'
来自/usr/local/rvm/gems/ruby-1.9.3-p194/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in

来自/usr/local/rvm/gems/ruby-1.9.3-p194/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in
require'
来自/usr/local/rvm/gems/ruby-1.9.3-p194/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in

from/usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:68:in
require'
from/usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:68:in
require中的块(2级)“
from/usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:66:in
each'
from/usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:66:in
block in require'
from/usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in
each'
from/usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in
require'
from/usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler.rb:119:in
require'
from/root/railsdev/simple\u cms/config/application.rb:7:in
'
from/usr/local/rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.6/lib/rails/commands.rb:53:in
require'