That only causes a failure on gem build, not on gem install.

Bryan


On 11-04-29 07:26 AM, Domizio Demichelis wrote:
I think it's possible at install time, if we add just something like:

begin
   require 'openssl'
rescue
   raise "Your ruby doesn't seems to include the openssl library. Hobo
couldn't work without it."
end

right in the gemfile.

dd


On Fri, Apr 29, 2011 at 6:44 AM, Bryan Larsen <[email protected]
<mailto:[email protected]>> wrote:


          It would be even better if hobo could detect
        this
        on installation and suggest the appropriate fix.


    We can add a check earlier at run time, but I don't think it's
    possible to add it at install time.   I asked the question on stack
    overflow:
    
http://stackoverflow.com/questions/5830835/how-to-add-openssl-dependency-to-gemspec

    Suggesting an appropriate fix is also hard to do because the fix is
    different for each operating system, and depends on whether you're
    using rvm or not.  We might be better off not suggesting anything,
    because, quite frankly, googling for LoadError, openssl and your
    operating system might be the best solution.

    Bryan

    --
    You received this message because you are subscribed to the Google
    Groups "Hobo Users" group.
    To post to this group, send email to [email protected]
    <mailto:[email protected]>.
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:hobousers%[email protected]>.
    For more options, visit this group at
    http://groups.google.com/group/hobousers?hl=en.


--
You received this message because you are subscribed to the Google
Groups "Hobo Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.

--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to