Hi Geoff

Not that long ago I was using a much more recent ruby with openssl.


I'm running 2.3.2 and just re-installed openssl

cogitext:~ peterabramowitsch$ rvm list
rvm rubies
=* ruby-2.3.2 [ x86_64 ]
# => - current
# =* - current && default
#  * - default


cogitext:~ peterabramowitsch$ gem list openssl
*** LOCAL GEMS ***
openssl (2.1.2)

The gemsite can function with http or https, I think yours is an issue
with bundler which I've seen before which is caused by a kind of
catch-22.   It needs ssl to do a download of openssl which it needs to
do the download.....

Fix 1.
Change the first line of the gemfile to http:
source 'http://rubygems.org'
And now do a bundle install
After a successful bundle install you might be able to change it back

Fix 2.
manually install openssl  via "gem install openssl"
and then your bundle install should work correctly



-P.

Sent from my iPad


> On Mar 19, 2019, at 16:38, Geoff Macartney <geoff.macart...@gmail.com> wrote:
>
> Hi all,
>
> I made a start to adding changes to the Apache Brooklyn website to comply 
> with Apache Foundation naming guidelines, wip is at [1].
>
> However I’ve run into a problem trying to test it with Jekyll, which I 
> haven’t installed on this machine up to now (it’s a MacBook Pro). I’ve added 
> the version of Ruby that’s required (very old now, 2.1.2) via rvm, but when I 
> run the “bundle install” per the docs at [2] I get complaints about openssl.
>
> This is even when I install 2.1.2 with
>
> rvm install 2.1.2 --with-opt-dir=/usr/local --with-openssl
>
> Despite requesting openssl, when I do bundle install I get
>
> $ bundle install
> 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.
>
> I’m loth to start building 2.1.2 from source just to get the openssl support, 
> before I launch into that has anyone encountered this problem or can advise 
> on an alternative approach?
>
> Cheers
> Geoff
>
> [1] https://github.com/apache/brooklyn-docs/pull/280
> [2] https://github.com/apache/brooklyn-docs/tree/website#workstation-setup
>

Reply via email to