Ticket #155 (closed defect: fixed)

Opened 6 months ago

Last modified 5 months ago

Can't activate activesupport (= 1.4.4), already activated activesupport-2.0.2]

Reported by: qwzybug Owned by: why
Priority: major Milestone:
Component: camping.gem Version: 1.5
Keywords: Cc:

Description

My new Leopard and I were trying to go on one of my old Camping trips, and ran into this nasty woodland creature:

Glaukopis-Athena:camping d$ camping ./storytelling.rb 
!! trouble loading storytelling: [Gem::Exception] can't activate activesupport (= 1.4.4), already activated activesupport-2.0.2]
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:319:in `activate'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:337:in `activate'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:336:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:336:in `activate'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
/Library/Ruby/Gems/1.8/gems/camping-1.5/lib/camping/db.rb:4
/Users/d/Desktop/camping/storytelling.rb:8
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load'
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load'
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load'
/Library/Ruby/Gems/1.8/gems/camping-1.5/lib/camping/reloader.rb:61:in `load_app'
/Library/Ruby/Gems/1.8/gems/camping-1.5/lib/camping/reloader.rb:40:in `initialize'
/Library/Ruby/Gems/1.8/gems/camping-1.5/bin/camping:88:in `new'
/Library/Ruby/Gems/1.8/gems/camping-1.5/bin/camping:88
/Library/Ruby/Gems/1.8/gems/camping-1.5/bin/camping:88:in `map!'
/Library/Ruby/Gems/1.8/gems/camping-1.5/bin/camping:88
/usr/bin/camping:19:in `load'
/usr/bin/camping:19
** No apps successfully loaded

Eek! Luckily I had my trusty kludgel along to batter it off. I modified /usr/bin/camping thusly:

...
gem 'activesupport', '= 1.4.4'
gem 'camping', version
load 'camping'

That seemed to do the trick. I suspect that the varmint arose due to the Rakefile only specifying ActiveSupport? >= 1.3.1, but I'm not well-versed in the ways of the forest. Is that right?

We should fix this ere more campers are disgustingly dismembered.

Change History

Changed 6 months ago by qwzybug

  • version set to 1.5

Changed 5 months ago by judofyr

  • status changed from new to closed
  • resolution set to fixed

We no longer depend on ActiveSupport? :-)

Note: See TracTickets for help on using tickets.