# Again .. Proplem while creating new ruby project

**URL:** <https://discuss.rubyonrails.org/t/again-proplem-while-creating-new-ruby-project/24316>\
**Category:** rubyonrails-talk\
**Created:** [February 4, 2008, 3:08pm UTC](https://discuss.rubyonrails.org/t/again-proplem-while-creating-new-ruby-project/24316 "2008-02-04T15:08:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mutati0N](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@Mutati0N](https://discuss.rubyonrails.org/u/Mutati0N)\
**Post date:** [February 4, 2008, 3:08pm UTC](https://discuss.rubyonrails.org/t/again-proplem-while-creating-new-ruby-project/24316/1 "2008-02-04T15:08:59Z")

</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:** ![Reacher](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@Reacher](https://discuss.rubyonrails.org/u/Reacher)\
**Post date:** [February 4, 2008, 3:30pm UTC](https://discuss.rubyonrails.org/t/again-proplem-while-creating-new-ruby-project/24316/2 "2008-02-04T15:30:34Z")

</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://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@Mutati0N](https://discuss.rubyonrails.org/u/Mutati0N)\
**Post date:** [February 4, 2008, 5:54pm UTC](https://discuss.rubyonrails.org/t/again-proplem-while-creating-new-ruby-project/24316/3 "2008-02-04T17:54:08Z")

</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:** ![Reacher](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@Reacher](https://discuss.rubyonrails.org/u/Reacher)\
**Post date:** [February 4, 2008, 6:09pm UTC](https://discuss.rubyonrails.org/t/again-proplem-while-creating-new-ruby-project/24316/4 "2008-02-04T18:09:55Z")

</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://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@Mutati0N](https://discuss.rubyonrails.org/u/Mutati0N)\
**Post date:** [February 5, 2008, 2:50am UTC](https://discuss.rubyonrails.org/t/again-proplem-while-creating-new-ruby-project/24316/5 "2008-02-05T02:50:44Z")

</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:** ![HoLin](https://avatars.discourse-cdn.com/v4/letter/h/ba8739/32.png) [@HoLin](https://discuss.rubyonrails.org/u/HoLin)\
**Post date:** [March 12, 2008, 9:51am UTC](https://discuss.rubyonrails.org/t/again-proplem-while-creating-new-ruby-project/24316/6 "2008-03-12T09:51:30Z")

</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

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

---

<div class="post-metadata">

**Author:** ![Reacher](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@Reacher](https://discuss.rubyonrails.org/u/Reacher)\
**Post date:** [March 13, 2008, 8:21pm UTC](https://discuss.rubyonrails.org/t/again-proplem-while-creating-new-ruby-project/24316/7 "2008-03-13T20:21:00Z")

</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

[http://www.groupsrv.com/computers/about65075.html](http://www.groupsrv.com/computers/about65075.html)
