[JIRA] Created: (WARBLER-11) Missing the Rails 2.3.5 gem

  • From: "rodrigob (JIRA)" <jira-no-reply@kenai.com>
  • To: issues@warbler.kenai.com
  • Subject: [JIRA] Created: (WARBLER-11) Missing the Rails 2.3.5 gem
  • Date: Sun, 24 Jan 2010 17:31:51 +0000 (GMT+00:00)

Missing the Rails 2.3.5 gem
---------------------------

                 Key: WARBLER-11
                 URL: http://kenai.com/jira/browse/WARBLER-11
             Project: warbler
          Issue Type: Bug
         Environment: Ubuntu 9.10
            Reporter: rodrigob


After installing Warble, setting up the project, creating the war file; the 
java web application fails at runtime with the error:

Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`, update your 
RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you 
do have installed, or comment out RAILS_GEM_VERSION to use the latest version 
installed.
10184 [btpool0-1] WARN  - unable to create shared application instance
org.jruby.rack.RackInitializationException: exit
        from 
/tmp/Jetty_0_0_0_0_8080_weboloco-1.0-SNAPSHOT.war___-pofzo7/webapp/WEB-INF/config/boot.rb:38:in
 `run'
        from 
file:/tmp/Jetty_0_0_0_0_8080_weboloco-1.0-SNAPSHOT.war___-pofzo7/webapp/WEB-INF/lib/jruby-rack-0.9.5.jar!/jruby/rack/rails_boot_hook.rb:20:in
 `run'
[and plenty more message down here]

Looking inside the war file I see:

WEB-INF/gems/specifications/ with

actionmailer-2.3.5.gemspec  
activerecord-2.3.5.gemspec    
activesupport-2.3.5.gemspec  
actionpack-2.3.5.gemspec    
activeresource-2.3.5.gemspec 
rails-2.3.5.gemspec
rack-1.0.1.gemspec          
rake-0.8.7.gemspec

and  WEB-INF/gems/gems/ with
actionmailer-2.3.5  
actionpack-2.3.5  
activerecord-2.3.5  
activeresource-2.3.5  
rack-1.0.1  
rake-0.8.7

it seems that the rails-2.3.5.gemspec is included but for an unknown reason 
(bug ?) the actual gem code is not included.

I'm using warbler (0.9.14) with the fix mentioned in 
http://kenai.com/jira/browse/WARBLER-9


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://kenai.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Created: (WARBLER-11) Missing the Rails 2.3.5 gem

rodrigob (JIRA) 01/24/2010
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close