Why are you building your own ruby instead of using one of the packages available already for your operating system?
You shouldn't need to compile ruby in order to use Puppet. -Jeff On Oct 12, 2012, at 4:57 AM, mastinder singh <mastin...@gmail.com> wrote: Hi Jeff, I have run this command in ruby .But is still got error. ruby extconf.rb --with-openssl-include=/usr/local/ssl/include --with-openssl-lib=/usr/local/ssl/ LD_RUN_PATH=/usr/local/ssl/lib && make && make install On Thu, Oct 11, 2012 at 9:58 PM, Jeff McCune <j...@puppetlabs.com> wrote: > Did you build your own Ruby and forget to compile the openssl ruby > bindings into MRI? I've certainly done this and forgot to compile against > OpenSSL which caused this error. > > If you're building your own ruby, I strongly recommend using a build tool > like rbenv [1] and ruby-build [2] to get a consistent build. > > Also, I strongly encourage you _not_ to use install.rb. These days, > install.rb is really meant for package maintainers instead of end users. > I'd recommend using a package from {apt,yum,downloads}.puppetlabs.com, > your distribution, or rubygems.org. > > [1] https://github.com/sstephenson/rbenv > [2] https://github.com/sstephenson/ruby-build > > -Jeff > > On Thu, Oct 11, 2012 at 8:28 AM, mastinder singh <mastin...@gmail.com>wrote: > >> I am getting below error. >> >> ruby install.rb >> Could not load openssl; cannot install >> [root@BL08DL365 puppet-3.0.0]# >> >> >> -- >> regards, >> >> Mastinder singh >> Uk Number +447624169401 >> India +918105601518 >> USA 1-855-946-2329 / (205) 588-4757 >> Israel *057 - 9463862 >> Website: http://mastinder.in >> * >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet-users@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- regards, Mastinder singh Uk Number +447624169401 India +918105601518 USA 1-855-946-2329 / (205) 588-4757 Israel *057 - 9463862 Website: http://mastinder.in * -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.