Rails 3.0.3 Gemfile and warbler oddity --------------------------------------
Key: JRUBY-5390 URL: http://jira.codehaus.org/browse/JRUBY-5390 Project: JRuby Issue Type: Bug Components: JRuby-extras, Rails WAR Deployment Affects Versions: JRuby 1.6RC1, JRuby 1.5.6 Environment: dkowis@dkowis-desktop:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS" dkowis@dkowis-desktop:~$ uname -a Linux dkowis-desktop 2.6.32-27-generic-pae #49-Ubuntu SMP Thu Dec 2 00:07:52 UTC 2010 i686 GNU/Linux Reporter: David Kowis Set up a fresh jruby install by adding jruby-<version>/bin to the path (happens the same with both 1.5.6 and 1.6.0.RC1) gem install rails -v=3.0.3 rails new testing copy in this Gemfile <Gemfile> source "http://rubygems.org" # ruby oracle driver: https://github.com/rsim/oracle-enhanced # NOTE on what ~< means: http://robots.thoughtbot.com/post/2508037841/twiddle-wakka gem "rails", "3.0.3" gem "activerecord-oracle_enhanced-adapter", ">= 1.3.2", :group => [:continuousintegration, :devprod, :qa, :staging, :production] platforms :jruby do group :development, :test do gem 'activerecord-jdbc-adapter' gem 'jdbc-mysql', :require => false end # warbler only works in jruby gem 'warbler' end platforms :ruby do #TODO: can't use the native oracle driver yet, need to better define how it's installed # -- dkowis - 17 Jan 2011 #gem 'ruby-oci8', '>= 2.0.4' # using the https://github.com/brianmario/mysql2 gem 'mysql2' end gem "rspec-rails", "~> 2.4", :group => [:development, :test] gem "cucumber-rails", ">= 0.3.2", :group => [:development, :test] gem "webrat", ">= 0.7.2", :group => [:development, :test] </Gemfile> bundle install then run warble -T you should get this: Could not find activerecord-jdbc-adapter-1.1.1 in any of the sources /home/dkowis/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/bundler-1.0.8/lib/bundler/spec_set.rb:87:in `materialize' (See full trace by running task with --trace) That's not supposed to happen, obviously. I've been debugging this issue with nicksieger on IRC in #jruby. I'm BeepDog on there. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email