# Failed to load Rails: Could not find RubyGem jruby-openssl

**URL:** <https://www.ruby-forum.com/t/failed-to-load-rails-could-not-find-rubygem-jruby-openssl/126919>\
**Category:** Rails\
**Created:** [January 23, 2008, 1:05pm UTC](https://www.ruby-forum.com/t/failed-to-load-rails-could-not-find-rubygem-jruby-openssl/126919 "2008-01-23T13:05:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bharathchunchu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/65b543/32.png) [@bharathchunchu](https://www.ruby-forum.com/u/bharathchunchu)\
**Post date:** [January 23, 2008, 1:05pm UTC](https://www.ruby-forum.com/t/failed-to-load-rails-could-not-find-rubygem-jruby-openssl/126919/1 "2008-01-23T13:05:51Z")

</div>

Hi,  
I am new to Rails.I am trying to run rails application in Tomcat.  
I am getting the fallowing error.

INFO: Failed to load Rails: Could not find RubyGem jruby-openssl (\>=  
0.0.0)

But I have installed JRuby-openssl . It is not packing JRuby-openssl.gem  
while making the war file.

Can anybody tell me please?

Thanks

Bharath.

Jan 23, 2008 3:38:26 PM org.apache.catalina.core.ApplicationContext log  
INFO: Failed to load Rails: Could not find RubyGem jruby-openssl (\>=  
0.0.0)

```
    C:/Tomcat-5.5.12/webapps/Workorders/WEB-INF/gems/gems/rails-2.0.2/lib/in

```

itializer.rb:159:in `require_frameworks' C:/Tomcat-5.5.12/webapps/Workorders/WEB-INF/gems/gems/rails-2.0.2/lib/in itializer.rb:88:in`process’  
C:/Tomcat-5.5.12/webapps/Workorders/WEB-INF/gems/gems/rails-2.0.2/lib/in  
itializer.rb:49:in `send' C:/Tomcat-5.5.12/webapps/Workorders/WEB-INF/gems/gems/rails-2.0.2/lib/in itializer.rb:49:in`run’  
C:/Tomcat-5.5.12/webapps/Workorders//config/environment.rb:20  
:1

javax.servlet.ServletException: Could not load Rails. See the logs for  
more deta  
ils.  
at  
org.jruby.webapp.RailsFactory.makeObject(RailsFactory.java:137)  
at  
org.jruby.webapp.util.CustomObjectPool.addObjectInternal(CustomObject  
Pool.java:111)  
at  
org.jruby.webapp.util.CustomObjectPool.access$200(CustomObjectPool.ja  
va:15)  
at  
org.jruby.webapp.util.CustomObjectPool$PoolSizeManager.run(CustomObje  
ctPool.java:193)

---

<div class="post-metadata">

**Author:** ![bharathchunchu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/65b543/32.png) [@bharathchunchu](https://www.ruby-forum.com/u/bharathchunchu)\
**Post date:** [January 24, 2008, 5:18am UTC](https://www.ruby-forum.com/t/failed-to-load-rails-could-not-find-rubygem-jruby-openssl/126919/2 "2008-01-24T05:18:00Z")

</div>

On Jan 23, 2008 6:05 AM, Bharath Chunchu  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Can anybody tell me please?

What did you use to package the war file? Either way, you’ll need to  
tell Goldspike or Warbler about the gem so that it gets included in  
the war.

/Nick

---

<div class="post-metadata">

**Author:** ![bharathchunchu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/65b543/32.png) [@bharathchunchu](https://www.ruby-forum.com/u/bharathchunchu)\
**Post date:** [January 24, 2008, 3:07pm UTC](https://www.ruby-forum.com/t/failed-to-load-rails-could-not-find-rubygem-jruby-openssl/126919/3 "2008-01-24T15:07:41Z")

</div>

Nick S. wrote:

> On Jan 23, 2008 6:05 AM, Bharath Chunchu  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Can anybody tell me please?
> 
> What did you use to package the war file? Either way, you’ll need to  
> tell Goldspike or Warbler about the gem so that it gets included in  
> the war.
> 
> /Nick

Thanks for your reply.

I am using Goldspike for packaging the war file.Which file do I need to  
update in Goldspike to add new gem.

Thanks,  
bharath.
