-1

웹에서 여러 가지 솔루션을 시도했으며이 문제를 해결할 수 없었습니다. 당신이 다시 설치하여 확인해야하는 RVM 관련 문제 같은 소리 - 이 내가 당신을 opensll 제대로 설치 한 가정 레일의rails가 내 프로젝트를 시작하지 않습니다.

bash-3.2$ rails s 
=> Booting WEBrick 
=> Rails 3.2.11 application starting in development on http://0.0.0.0:3000 
=> Call with -d to detach 
=> Ctrl-C to shutdown server 
Exiting 
/Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require': cannot load such file -- openssl (LoadError) 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `block in require' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in `load_dependency' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/rack-1.4.4/lib/rack/session/cookie.rb:1:in `<top (required)>' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `block in require' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in `load_dependency' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/actionpack-3.2.11/lib/action_dispatch/middleware/session/cookie_store.rb:4:in `<top (required)>' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/application/configuration.rb:140:in `const_get' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/application/configuration.rb:140:in `session_store' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/application.rb:273:in `block in default_middleware_stack' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/application.rb:237:in `tap' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/application.rb:237:in `default_middleware_stack' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/engine.rb:469:in `app' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/application/finisher.rb:31:in `block in <module:Finisher>' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/initializable.rb:30:in `instance_exec' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/initializable.rb:30:in `run' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/initializable.rb:55:in `block in run_initializers' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/initializable.rb:54:in `each' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/initializable.rb:54:in `run_initializers' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/application.rb:136:in `initialize!' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in `method_missing' 
    from /Users/sr027976/test_app/phappinfra_starter_app/config/environment.rb:5:in `<top (required)>' 
    from /Users/sr027976/test_app/phappinfra_starter_app/config.ru:3:in `require' 
    from /Users/sr027976/test_app/phappinfra_starter_app/config.ru:3:in `block in <main>' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/rack-1.4.4/lib/rack/builder.rb:51:in `instance_eval' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/rack-1.4.4/lib/rack/builder.rb:51:in `initialize' 
    from /Users/sr027976/test_app/phappinfra_starter_app/config.ru:in `new' 
    from /Users/sr027976/test_app/phappinfra_starter_app/config.ru:in `<main>' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/rack-1.4.4/lib/rack/builder.rb:40:in `eval' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/rack-1.4.4/lib/rack/builder.rb:40:in `parse_file' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/rack-1.4.4/lib/rack/server.rb:200:in `app' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/commands/server.rb:46:in `app' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/rack-1.4.4/lib/rack/server.rb:304:in `wrapped_app' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/rack-1.4.4/lib/rack/server.rb:254:in `start' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/commands/server.rb:70:in `start' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/commands.rb:55:in `block in <top (required)>' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/commands.rb:50:in `tap' 
    from /Users/sr027976/.rvm/gems/[email protected]_starter_app/gems/railties-3.2.11/lib/rails/commands.rb:50:in `<top (required)>' 
    from script/rails:6:in `require' 
    from script/rails:6:in `<main>' 
+0

openssl이 실제로 컴퓨터에 설치되어 있습니까? – Raindal

+0

예. bash-3.2 $ openssl version OpenSSL 0.9.8r 8 Feb 2011 – Micheal

+1

ssl이 설치되었지만 루비가 찾을 수 없습니다. 루비는 어떻게 설치 했습니까? RVM? '--with-open-ssl-dir'을 지정 했습니까? 'rvm pkg install ssl'을 사용해 보셨습니까? –

답변

0

이것은 수행 한 단계이며 나를 위해 잘되었습니다. rvm get head

rvm requirements 
rvm pkg remove 
brew install libksba autoconf automake 
rvm reinstall 1.9.2 --with-openssl-dir=/usr/local 
rvm pkg install readline --verify-downloads 1 
rvm use 1.9.3 --default 
0

을 수행 할 때 내가 점점 오전 오류입니다. 최악의 최악에 내가

0

RVM

를 사용하여 gemset 만들기 (혼전의 종류) RVM은
rvm gemset create gemset_name 

그런 다음이 보석의 실제 문제

bundle install 

실행 다시 설치하려고 할 것입니다 온다 의존.

관련 문제