Rails 3.2.6 install on Centos6
===

I did the following steps in order, but have issues running webrick

I have a centos 6 install

Step 1: 
http://blog.jeffcosta.com/2011/07/22/install-ruby-version-manager-rvm-on-centos-6/

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

Step 3:
sudo install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
gem install -y mysql -- --with-mysql-config=/usr/bin/mysql_config

It installed all the gems without any issues.

But when I load webrick from the application which was created using <br>
<strong> rails new simple_cms -d mysql </strong>

Result:
create  
      create  README.rdoc <br>
      create  Rakefile <br>
      create  config.ru <br>
      create  .gitignore <br>
      create  Gemfile <br>
      create  app <br>
      create  app/assets/images/rails.png <br>
      create  app/assets/javascripts/application.js <br>
      create  app/assets/stylesheets/application.css <br>
      create  app/controllers/application_controller.rb <br>
      create  app/helpers/application_helper.rb <br>
      create  app/mailers <br>
      create  app/models <br>
      create  app/views/layouts/application.html.erb <br>
      create  app/mailers/.gitkeep <br>
      create  app/models/.gitkeep <br>
      create  config <br>
      create  config/routes.rb <br>
      create  config/application.rb <br>
      create  config/environment.rb <br>
      create  config/environments <br>
      create  config/environments/development.rb <br>
      create  config/environments/production.rb <br>
      create  config/environments/test.rb <br>
      create  config/initializers <br>
      create  config/initializers/backtrace_silencers.rb <br>
      create  config/initializers/inflections.rb <br>
      create  config/initializers/mime_types.rb <br>
      create  config/initializers/secret_token.rb <br>
      create  config/initializers/session_store.rb <br>
      create  config/initializers/wrap_parameters.rb <br>
      create  config/locales <br>
      create  config/locales/en.yml <br>
      create  config/boot.rb <br>
      create  config/database.yml <br>
      create  db <br>
      create  db/seeds.rb <br>
      create  doc <br>
      create  doc/README_FOR_APP <br>
      create  lib <br>
      create  lib/tasks <br>
      create  lib/tasks/.gitkeep <br>
      create  lib/assets <br>
      create  lib/assets/.gitkeep <br>
      create  log <br>
      create  log/.gitkeep <br>
      create  public <br>
      create  public/404.html <br>
      create  public/422.html <br>
      create  public/500.html <br>
      create  public/favicon.ico <br>
      create  public/index.html <br>
      create  public/robots.txt <br>
      create  script <br>
      create  script/rails <br>
      create  test/fixtures <br>
      create  test/fixtures/.gitkeep <br>
      create  test/functional <br>
      create  test/functional/.gitkeep <br>
      create  test/integration <br>
      create  test/integration/.gitkeep <br>
      create  test/unit <br>
      create  test/unit/.gitkeep <br>
      create  test/performance/browsing_test.rb <br>
      create  test/test_helper.rb <br>
      create  tmp/cache <br>
      create  tmp/cache/assets <br>
      create  vendor/assets/javascripts <br>
      create  vendor/assets/javascripts/.gitkeep <br>
      create  vendor/assets/stylesheets <br>
      create  vendor/assets/stylesheets/.gitkeep <br>
      create  vendor/plugins <br>
      create  vendor/plugins/.gitkeep <br>
         run  bundle install <br>
Fetching gem metadata from https://rubygems.org/. <br>
Could not load OpenSSL.
You must recompile Ruby with OpenSSL support or change the sources in your
Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL
using RVM are available at rvm.io/packages/openssl.
<br>

<strong> I get the following error when running rails server: </strong>

/usr/local/rvm/gems/ruby-1.9.3-p194/gems/execjs-1.4.0/lib/execjs/runtimes.rb:51:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable) <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/execjs-1.4.0/lib/execjs.rb:5:in `<module:ExecJS>' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/execjs-1.4.0/lib/execjs.rb:4:in `<top (required)>' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `require' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `require' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `require' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `<top (required)>' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:68:in `require' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:68:in `block (2 levels) in require' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:66:in `each' <br>
	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' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in `each' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in `require' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler.rb:119:in `require' <br>
	from /root/railsdev/simple_cms/config/application.rb:7:in `<top (required)>'
	from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.6/lib/rails/commands.rb:53:in `require' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.6/lib/rails/commands.rb:53:in `block in <top (required)>' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.6/lib/rails/commands.rb:50:in `tap' <br>
	from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.6/lib/rails/commands.rb:50:in `<top (required)>' <br>
	from script/rails:6:in `require' <br>
	from script/rails:6:in `<main>' <br>

How do i fix this?