I have two rails applications, I user jruby-1.6.2 and rails 3.0.7.
When I run bundle update for the first application I have no problems.
When I run bundle update for the second application it runs
indefinitely.
The Gemfile of the first application is:
source ‘http://rubygems.org’
gem ‘rails’
gem ‘compass’
gem ‘annotate’
gem ‘normalize_attributes’
gem ‘haml-rails’
gem ‘jquery-rails’
gem ‘devise_ldap_authenticatable’
gem ‘meta_where’
gem ‘meta_search’
gem ‘simple_form’
gem ‘fastercsv’
gem ‘inherited_resources’
gem ‘inherited_resources_views’
gem ‘rails_config’
gem ‘simple-navigation’
gem ‘mongrel’
gem ‘kaminari’
Bundle edge Rails instead:
gem ‘rails’, :git => ‘git://github.com/rails/rails.git’
platforms :ruby do
gem ‘sqlite3’
gem ‘pg’
Deploy with Capistrano
gem ‘capistrano’
end
platforms :jruby do
gem ‘activerecord-jdbc-adapter’
As rails --database switch does not support derby, hsqldb, h2 nor
mssql
as valid values, if you are not using SQLite, comment out the SQLite
gem
below and uncomment the gem declaration for the adapter you are
using.
If you are using oracle, db2, sybase, informix or prefer to use the
plain
JDBC adapter, comment out all the adapter gems below.
SQLite JDBC adapter
gem ‘jdbc-sqlite3’, :require => false
gem ‘jdbc-sqlite3’, :require => false
Postgres JDBC adapter
#gem ‘activerecord-jdbcpostgresql-adapter’
gem ‘jdbc-postgres’
gem ‘jruby-openssl’
gem ‘warbler’
end
Use unicorn as the web server
gem ‘unicorn’
Deploy with Capistrano
gem ‘capistrano’
To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby
1.9.2+)
#platforms :ruby_18 do
gem ‘ruby-debug’
gem ‘mongrel’, ‘1.1.5’
gem ‘thin’
#end
#platforms :ruby_19 do
#gem ‘ruby-debug19’, :require => ‘ruby-debug’
#gem ‘mongrel’, ‘1.2.0.pre2’
#end
Bundle the extra gems:
gem ‘bj’
gem ‘nokogiri’
gem ‘sqlite3-ruby’, :require => ‘sqlite3’
gem ‘aws-s3’, :require => ‘aws/s3’
Bundle gems for the local environment. Make sure to
put test-only gems in this group so their generators
and rake tasks are available in development mode:
group :development, :test do
gem ‘rspec-rails’
gem ‘cucumber-rails’
gem ‘capybara’
gem ‘launchy’
gem ‘autotest’
gem ‘autotest-notification’
gem ‘database_cleaner’
gem ‘spork’, ‘~> 0.9.0.rc’
gem ‘machinist’, ‘>= 2.0.0.beta1’
gem ‘faker’
end
group :development do
gem ‘hpricot’
gem ‘ruby_parser’
end
The Gemfile for the second application is:
source ‘http://rubygems.org’
gem ‘rails’
Bundle edge Rails instead:
gem ‘rails’, :git => ‘git://github.com/rails/rails.git’
platforms :jruby do
gem ‘activerecord-jdbc-adapter’
As rails --database switch does not support derby, hsqldb, h2 nor
mssql
as valid values, if you are not using SQLite, comment out the SQLite
gem
below and uncomment the gem declaration for the adapter you are
using.
If you are using oracle, db2, sybase, informix or prefer to use the
plain
JDBC adapter, comment out all the adapter gems below.
SQLite JDBC adapter
gem ‘jdbc-sqlite3’, :require => false
Postgres JDBC adapter
#gem ‘activerecord-jdbcpostgresql-adapter’
gem ‘jdbc-postgres’
gem ‘jruby-openssl’
gem ‘warbler’
end
#if defined?(JRUBY_VERSION)
gem ‘activerecord-jdbc-adapter’
gem ‘activerecord-jdbcpostgresql-adapter’
gem ‘jdbc-postgres’
#else
gem ‘postgres-ruby’, :require => ‘postgres’
#end
Use unicorn as the web server
gem ‘unicorn’
Deploy with Capistrano
gem ‘capistrano’
To use debugger
gem ‘ruby-debug’
Bundle the extra gems:
gem ‘bj’
gem ‘nokogiri’
gem ‘sqlite3-ruby’, :require => ‘sqlite3’
gem ‘aws-s3’, :require => ‘aws/s3’
Bundle gems for the local environment. Make sure to
put test-only gems in this group so their generators
and rake tasks are available in development mode:
group :development, :test do
gem ‘webrat’
end
gem “will_paginate”, “~> 3.0.pre2”
gem ‘foreigner’
gem ‘jquery-rails’
gem ‘simple_form’
gem ‘devise_ldap_authenticatable’
gem ‘normalize_attributes’
gem ‘annotate’
gem ‘mongrel’
If I copy the Gemfile of the first application in the second one
bundle update works.
I should think that the problem is the Gemfile but it sounds strange
to me and I don’t see problem in the Gemfile of the second
application.
What do you think about?