When attempting to create some Rails components using below command, I
receive
the following errors:
[root@localhost blog]# rake db:create
(in /root/work/blog)
db/development.sqlite3 already exists
[root@localhost blog]# script/generate controller home index
/usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/initializer.rb:
271:in rescue in require_frameworks': no such file to load -- openssl (RuntimeError) from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/ initializer.rb:268:in
require_frameworks’
from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/
initializer.rb:134:in process' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/ initializer.rb:113:in
run’
from /root/work/blog/config/environment.rb:9:in <top (required)>' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/ commands/generate.rb:1:in
require’
from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/
commands/generate.rb:1:in <top (required)>' from script/generate:3:in
require’
from script/generate:3:in `’
Suggestions for resolution? - GregN