Ok so now I have removed RubyGems and reinstalled it using 1.4.2. Running 'gem -v' now produces: 1.4.2
Then I do the following: $ export RAILS_ENV=production $ rake db:create $ rake db:create still generates this error: (in /var/www/gitorious) rake aborted! Bundler couldn't find some gems. Did you run `bundle install`? /var/www/gitorious/Rakefile:4 (See full trace by running task with --trace) Running 'rake db:create --trace' shows: (in /var/www/gitorious) rake aborted! Bundler couldn't find some gems. Did you run `bundle install`? /var/www/gitorious/config/../config/preinitializer.rb:18 /var/www/gitorious/config/boot.rb:28:in `load' /var/www/gitorious/config/boot.rb:28:in `preinitialize' /var/www/gitorious/config/boot.rb:10:in `boot!' /var/www/gitorious/config/boot.rb:123 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require' /var/www/gitorious/Rakefile:4 /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `load' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `raw_load_rakefile' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in `load_rakefile' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in `load_rakefile' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/local/bin/rake:19:in `load' /usr/local/bin/rake:19 Then running the 'bundle install' produces this: Fetching source index for http://rubygems.org/ Using rake (0.8.7) /usr/local/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:218:in `finish': invalid distance code (Zlib::DataError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package/ tar_input.rb:218 :in `zipped_stream' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package/ tar_input.rb:125 :in `each' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package/ tar_reader.rb:64 :in `each' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package/ tar_reader.rb:55 :in `loop' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package/ tar_reader.rb:55 :in `each' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package/ tar_input.rb:123 :in `each' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/format.rb: 63:in `from_io ' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package/ tar_input.rb:22: in `open' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb: 53:in `open' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/format.rb: 59:in `from_io ' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/format.rb: 47:in `from_fi le_by_path' from /usr/local/lib/ruby/1.8/open-uri.rb:32:in `open_uri_original_open' from /usr/local/lib/ruby/1.8/open-uri.rb:32:in `open' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/format.rb: 46:in `from_fi le_by_path' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/ bundler/rubyge ms_integration.rb:97:in `spec_from_gem' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/ bundler/source .rb:77:in `fetch' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/ bundler/instal ler.rb:50:in `run' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/ bundler/spec_s et.rb:12:in `each' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/ bundler et.rb:12:in `each' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/ bundler ler.rb:49:in `run' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/ bundler ler.rb:8:in `install' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/ bundler :222:in `install' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/ bundler /thor/task.rb:22:in `send' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/ bundler /thor/task.rb:22:in `run' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/ bundler /thor/invocation.rb:118:in `invoke_task' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/ bundler /thor.rb:246:in `dispatch' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/lib/ bundler /thor/base.rb:389:in `start' from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.13/bin/ bundle: from /usr/local/bin/bundle:19:in `load' from /usr/local/bin/bundle:19 Thank-you so much for your help so far. On May 10, 3:28 pm, Christian Johansen <[email protected]> wrote: > Seems your RubyGems setup is borked somehow. Have never seen it fail on `gem > -v`. My best suggestion at this point is to remove rubygems and reinstall > version 1.4.2 (which is known to work with Gitorious without work-arounds). > > Christian > > > > > > > > > > On Tue, May 10, 2011 at 14:04, Garth <[email protected]> wrote: > > If I run ‘gem –v’ it generates this: > > > NOTE: Gem::Specification#default_executable= is deprecated with no > > replacement. It will be removed on or after 2011-10-01. > > > Gem::Specification#default_executable= called from > > /usr/local/lib/ruby/gems/1.8/specifications/treetop-1.4.9.gemspec:11. > > > NOTE: Gem::Specification#default_executable= is deprecated with no > > replacement. It will be removed on or after 2011-10-01. > > > Gem::Specification#default_executable= called from > > /usr/local/lib/ruby/gems/1.8/specifications/spruz-0.2.5.gemspec:10. > > > NOTE: Gem::Specification#default_executable= is deprecated with no > > replacement. It will be removed on or after 2011-10-01. > > > Gem::Specification#default_executable= called from > > /usr/local/lib/ruby/gems/1.8/specifications/file-tail-1.0.5.gemspec:10. > > > NOTE: Gem::Specification#default_executable= is deprecated with no > > replacement. It will be removed on or after 2011-10-01. > > > Gem::Specification#default_executable= called from > > /usr/local/lib/ruby/gems/1.8/specifications/bundler-1.0.10.gemspec:10. > > > NOTE: Gem::Specification#default_executable= is deprecated with no > > replacement. It will be removed on or after 2011-10-01. > > > Gem::Specification#default_executable= called from > > /usr/local/lib/ruby/gems/1.8/specifications/rails-3.0.4.gemspec:10. > > > NOTE: Gem::Specification#default_executable= is deprecated with no > > replacement. It will be removed on or after 2011-10-01. > > > Gem::Specification#default_executable= called from > > /usr/local/lib/ruby/gems/1.8/specifications/erubis-2.6.6.gemspec:10. > > > NOTE: Gem::Specification#default_executable= is deprecated with no > > replacement. It will be removed on or after 2011-10-01. > > > Gem::Specification#default_executable= called from > > /usr/local/lib/ruby/gems/1.8/specifications/rack-1.2.1.gemspec:10. > > > 1.8.1 > > > Running ‘ruby –v’ generates this: > > > ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-linux], MBARI 0x8770, Ruby > > Enter se Edition 2011.03 > > > Thanks > > > *From:* [email protected] [mailto:[email protected]] *On > > Behalf Of *Christian Johansen > > *Sent:* 10 May 2011 11:22 > > *To:* [email protected] > > *Subject:* Re: [gitorious] Re: Ubuntu Server 10.10 Error > > > Hmm, what's your RubyGems version? I.e. `gem -v`? > > > On Mon, May 9, 2011 at 15:50, rendered <[email protected]> wrote: > > > Hi Christian, > > > Thanks for the reply. > > > I ran 'rm -fr ~/.gem/cache' and re-ran the bundle install but I still > > seem to be getting the same error. > > > -- > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > > -- > > MVH > > Christian > > > -- > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > > -- > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > -- > MVH > Christian -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
