cannot load such file — openssl (LoadError)

后端 未结 6 581
旧巷少年郎
旧巷少年郎 2021-01-31 02:57

In OS X in rvm how do I check if openssl is configured properly? I get the cannot load such file -- openssl (LoadError) And I have tried everything in Rails 3 - no

6条回答
  •  盖世英雄少女心
    2021-01-31 03:07

    I uninstalled everything (rvm, rails, ruby, etc) on my macbook.

    Installed homebrew

    Installed rvm

    Ran rvm requirements run force

    Ran rvm install rails

    rails new sample_app

    cd sample_app

    Note: source 'https://rubygems.org' is present in Gemfile, openssl is required!

    bundle install and it worked!

    No need to specify: --with-openssl-dir=$HOME/.rvm/usr

提交回复
热议问题