2012-09-20 11 views
1

번들이 성공적으로 설치되었으므로 이제 레일 서버를 시작할 때이 오류가 발생합니다.레일 서버가 시작되지 않음

이미 openssl을 설치하고 rvm을 다시 설치하여 서버를 시작하려고했습니다. rvm 1.8.7 및 3.0.10 레일을 사용하고 있습니다.

[email protected] ~/Documents/trunk $ rails s 
/home/rony/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:239:in `require': no such file to load -- openssl (LoadError) 
    from /home/rony/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:239:in `require' 
    from /home/rony/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:225:in `load_dependency' 
    from /home/rony/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:593:in `new_constants_in' 
    from /home/rony/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:225:in `load_dependency' 
    from /home/rony/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:239:in `require' 
    from /home/rony/.rvm/gems/ruby-1.8.7-p370/gems/stripe-1.7.0/lib/stripe.rb:7 
    from /home/rony/.rvm/gems/[email protected]/gems/bundler-1.2.1/lib/bundler/runtime.rb:68:in `require' 
    from /home/rony/.rvm/gems/[email protected]/gems/bundler-1.2.1/lib/bundler/runtime.rb:68:in `require' 
    from /home/rony/.rvm/gems/[email protected]/gems/bundler-1.2.1/lib/bundler/runtime.rb:66:in `each' 
    from /home/rony/.rvm/gems/[email protected]/gems/bundler-1.2.1/lib/bundler/runtime.rb:66:in `require' 
    from /home/rony/.rvm/gems/[email protected]/gems/bundler-1.2.1/lib/bundler/runtime.rb:55:in `each' 
    from /home/rony/.rvm/gems/[email protected]/gems/bundler-1.2.1/lib/bundler/runtime.rb:55:in `require' 
    from /home/rony/.rvm/gems/[email protected]/gems/bundler-1.2.1/lib/bundler.rb:128:in `require' 
    from /home/rony/Documents/trunk/config/application.rb:8 
    from /home/rony/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.10/lib/rails/commands.rb:28:in `require' 
    from /home/rony/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.10/lib/rails/commands.rb:28 
    from /home/rony/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.10/lib/rails/commands.rb:27:in `tap' 
    from /home/rony/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.10/lib/rails/commands.rb:27 
    from script/rails:6:in `require' 
    from script/rails:6 

답변

2

참조 this

rvm pkg install openssl (older format - rvm package install openssl) 
rvm pkg install iconv (older format - rvm package install iconv) 
rvm remove 1.9.2 
rvm install 1.9.2 -C --with-openssl-dir=$HOME/.rvm/usr,--with-iconv-dir=$HOME/.rvm/usr 

신용 http://www.isnull.com.ar/

관련 문제