Gems tasks don't work
Reported by GrrrD | August 14th, 2008 @ 04:31 PM | in 0.7.0
Both 'rake gems:list' and 'rake gems:install' fail because they are trying to load the gems in the gems initializer.
rake gems:list --trace
(in /Users/gpislopez/helium/api_server)
Loading Configuration Settings!
DEBUG: [2008-08-14 16:02:07] Initializing core classes...
DEBUG: [2008-08-14 16:02:07] Initialization of Mack Core finished.
WARN: [2008-08-14 16:02:08] WARNING: gem htmlentities [version: 4.0.0] is required, but is not installed
rake aborted!
Could not find RubyGem htmlentities (= 4.0.0)
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:379:in `report_activate_error'
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:311:in `activate'
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:65:in `active_gem_with_options'
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:50:in `gem'
/usr/local/lib/ruby/gems/1.8/gems/mack-0.6.1.1/lib/mack/utils/gem_manager.rb:36:in `do_requires'
/usr/local/lib/ruby/gems/1.8/gems/mack-0.6.1.1/lib/mack/utils/gem_manager.rb:33:in `each'
/usr/local/lib/ruby/gems/1.8/gems/mack-0.6.1.1/lib/mack/utils/gem_manager.rb:33:in `do_requires'
/usr/local/lib/ruby/gems/1.8/gems/mack-0.6.1.1/lib/mack_tasks.rb:11
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/Users/gpislopez/helium/api_server/rakefile:6
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2149:in `load'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2149:in `raw_load_rakefile'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1897:in `load_rakefile'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1896:in `load_rakefile'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1880:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31
/usr/local/bin/rake:19:in `load'
/usr/local/bin/rake:19
Comments and changes to this ticket
-

Mark Bates August 14th, 2008 @ 04:33 PM
- → State changed from new to open
- → Assigned user changed from Mark Bates to Darsono Sutedja
- → Tag changed from gems, mack to gems, mack, rake
-

Mark Bates August 14th, 2008 @ 10:58 PM
- → State changed from open to resolved
(from [47f8a16e47d38d117c37b758163b677a56c68fca]) Updated mack_tasks so that when rake gems:* is called with one of the gem not installed, it will only display warning messages and not break the program [#89 state:resolved] http://github.com/markbates/mack...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Mack is a Ruby web application framework focused on writing distributed, portal-like, applications. it's built on best of breed technologies, such as Rack, Cachetastic, and DataMapper.
People watching this ticket
Referenced by
-
#89 Gems tasks don't work
(from [47f8a16e47d38d117c37b758163b677a56c68fca]) Updated...