Hi,
I am new to Rails.I am trying to deploy the rails application in
Tomcat.
While running application I am getting the fallowing error “Could not
find RubyGem ActiveRecord-JDBC (>= 0.0.0)”.
For installing ActiveRecord-JDBC gem I used the fallowing command.
C:\jruby-1.0.3\bin>jruby -S gem install activerecord-jdbc -y --no-ri
–no-rdoc
after installing gem I tried to execute uninstall command .It is
showing the fallowing error.
C:\jruby-1.0.3\bin>jruby -S gem uninstall activerecord-jdbc
ERROR: While executing gem … (Gem::InstallError)
Unknown gem activerecord-jdbc-> 0
It is unable to find the installed gem.
Please Help me on this.
Jan 18, 2008 5:40:49 PM org.apache.catalina.core.ApplicationContext log
INFO: Failed to load Rails: Could not find RubyGem ActiveRecord-JDBC (>=
0.0.0)
file:/C:/Tomcat-5.5.12/webapps/CapmBis/WEB-INF/lib/jruby-complete-1.0.3.
jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:304:in
report_activ ate_error' file:/C:/Tomcat-5.5.12/webapps/CapmBis/WEB-INF/lib/jruby-complete-1.0.3. jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:238:in
activate’
file:/C:/Tomcat-5.5.12/webapps/CapmBis/WEB-INF/lib/jruby-complete-1.0.3.
jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:76:in
active_gem_wi th_options' file:/C:/Tomcat-5.5.12/webapps/CapmBis/WEB-INF/lib/jruby-complete-1.0.3. jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:50:in
gem’
C:/Tomcat-5.5.12/webapps/CapmBis//config/environment.rb:16
:1