# Again .. Proplem while creating new ruby project

**URL:** <https://www.ruby-forum.com/t/again-proplem-while-creating-new-ruby-project/128039>\
**Category:** Rails\
**Created:** [February 4, 2008, 4:09pm UTC](https://www.ruby-forum.com/t/again-proplem-while-creating-new-ruby-project/128039 "2008-02-04T16:09:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mutati0N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@Mutati0N](https://www.ruby-forum.com/u/Mutati0N)\
**Post date:** [February 4, 2008, 4:09pm UTC](https://www.ruby-forum.com/t/again-proplem-while-creating-new-ruby-project/128039/1 "2008-02-04T16:09:58Z")

</div>

hello everyone,  
i have a proplem while creating new application .  
when i starting the WEBrick Built-in Server by writing the command  
ruby script/server in the directory of the project ,it’s appear to me  
a long Error Message  
it’s here :  
[http://pastie.caboo.se/145093.txt](http://pastie.caboo.se/145093.txt)  
i uses the rubygems version 1.0.1 and the rails 2.0.2 and openssl in  
the latest version .  
thnx

---

<div class="post-metadata">

**Author:** ![Mutati0N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@Mutati0N](https://www.ruby-forum.com/u/Mutati0N)\
**Post date:** [February 4, 2008, 4:31pm UTC](https://www.ruby-forum.com/t/again-proplem-while-creating-new-ruby-project/128039/2 "2008-02-04T16:31:25Z")

</div>

This error is stating that the openssl extension for your ruby is not  
present. More information is needed in order to fix this. Try  
remaking the openssl extension:

1. cd to the ruby distro
2. cd ext/openssl
3. ruby extconf.rb
4. make
5. [sudo] make install

---

<div class="post-metadata">

**Author:** ![Mutati0N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@Mutati0N](https://www.ruby-forum.com/u/Mutati0N)\
**Post date:** [February 4, 2008, 6:55pm UTC](https://www.ruby-forum.com/t/again-proplem-while-creating-new-ruby-project/128039/3 "2008-02-04T18:55:02Z")

</div>

thnx Reacher for solution ,but this proplem appear to me while  
executing ruby extconf.rb  
=== OpenSSL for Ruby configurator ===  
=== Checking for system dependent stuff… ===  
checking for t\_open() in -lnsl… no  
checking for socket() in -lsocket… no  
checking for assert.h… yes  
=== Checking for required stuff… ===  
checking for openssl/ssl.h… no  
=== Checking for required stuff failed. ===  
Makefile wasn’t created. Fix the errors above.

so how can i fix this new Proplem !!!

---

<div class="post-metadata">

**Author:** ![Mutati0N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@Mutati0N](https://www.ruby-forum.com/u/Mutati0N)\
**Post date:** [February 4, 2008, 7:10pm UTC](https://www.ruby-forum.com/t/again-proplem-while-creating-new-ruby-project/128039/4 "2008-02-04T19:10:32Z")

</div>

It’s failing to find the openssl header file (that is, the openssl  
development directories are not in your path). Lets say your openssl  
was built into the folder /usr/local/openssl

> ls /usr/local/openssl  
> bin include lib

Then you can pass this parameter to the config script:

> ruby extconf.rb --with-openssl-dir=/usr/local/openssl

There are other params too like --with-openssl-include-dir, --with-  
openssl-lib-dir, etc

---

<div class="post-metadata">

**Author:** ![Mutati0N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@Mutati0N](https://www.ruby-forum.com/u/Mutati0N)\
**Post date:** [February 5, 2008, 3:51am UTC](https://www.ruby-forum.com/t/again-proplem-while-creating-new-ruby-project/128039/5 "2008-02-05T03:51:28Z")

</div>

thnx alot aboy help me in this proplem ,i do what u said above but the  
problem still alive , i downloaded the last version of openssl in it’s  
official site in this link:  
[http://www.openssl.org/source/openssl-0.9.8g.tar.gz](http://www.openssl.org/source/openssl-0.9.8g.tar.gz) ,and install the  
source of ruby again from the official site and install both the  
openssl and ruby ,  
coz i think thats the lack of lib can be found in the source but  
after setup the problem still alive !!!  
any other solution ??

---

<div class="post-metadata">

**Author:** ![Mutati0N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@Mutati0N](https://www.ruby-forum.com/u/Mutati0N)\
**Post date:** [March 13, 2008, 9:21pm UTC](https://www.ruby-forum.com/t/again-proplem-while-creating-new-ruby-project/128039/6 "2008-03-13T21:21:57Z")

</div>

I think --with\* options need to get passed to the toplevel ruby ./  
configure script. Then run the make and the openssl extension should  
build. Check the notes in this thread

> **[groupsrv.com - groupsrv Resources and Information.](http://ww1.groupsrv.com/computers/about65075.html)**
>
> groupsrv.com is your first and best source for all of the information you’re looking for. From general topics to more of what you would expect to find here, groupsrv.com has it all. We hope you find what you are searching for!

---

<div class="post-metadata">

**Author:** ![Mutati0N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@Mutati0N](https://www.ruby-forum.com/u/Mutati0N)\
**Post date:** [March 12, 2008, 10:52am UTC](https://www.ruby-forum.com/t/again-proplem-while-creating-new-ruby-project/128039/7 "2008-03-12T10:52:33Z")

</div>

On 2ÔÂ5ÈÕ, ÉÏÎç2Ê±09·Ö, Reacher [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > ruby extconf.rb --with-openssl-dir=/usr/local/openssl
> 
> There are other params too like --with-openssl-include-dir, --with-  
> openssl-lib-dir, etc

–with-openssl-include-dir does not work for me.
