michaeldv/awesome_print — Issue #59: Awesome Print (development) + Bundler + Rake
Author: blakewatters
Created: 2011-11-10 14:31:21+00:00
State: open

I've recently added awesome_print to my Gemfile tracking the development branch. When ap is part of my bundle, running rake tasks goes crazy. Setting :require => false to try and add the dependency without including it globally also doesn't seem to help. Any ideas?

```
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:30: warning: already initialized constant RAKEVERSION
WARNING: Possible conflict with Rake extension: String#ext already exists
WARNING: Possible conflict with Rake extension: String#pathmap already exists
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:402: warning: already initialized constant EMPTY_TASK_ARGS
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:450: warning: already initialized constant EMPTY
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:962: warning: already initialized constant RUBY
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:1031: warning: already initialized constant LN_SUPPORTED
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:1240: warning: already initialized constant ARRAY_METHODS
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:1243: warning: already initialized constant MUST_DEFINE
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:1247: warning: already initialized constant MUST_NOT_DEFINE
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:1251: warning: already initialized constant SPECIAL_RETURN
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:1257: warning: already initialized constant DELEGATING_METHODS
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:1561: warning: already initialized constant DEFAULT_IGNORE_PATTERNS
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:1567: warning: already initialized constant DEFAULT_IGNORE_PROCS
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:1604: warning: already initialized constant FileList
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:1630: warning: already initialized constant EARLY
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:1960: warning: already initialized constant DEFAULT_RAKEFILES
rake aborted!
stack level too deep
rake aborted!
wrong number of arguments (1 for 0)
/Users/blake/.rvm/rubies/ruby-1.9.2-p290-railsexpress/lib/ruby/1.9.1/rake.rb:2447:in `rakefile_location': wrong number of arguments (1 for 0) (ArgumentError)
from /Users/blake/.rvm/gems/ruby-1.9.2-p290-railsexpress@gateguru/gems/rake-0.9.2.2/lib/rake/application.rb:154:in `display_error_message'
from /Users/blake/.rvm/gems/ruby-1.9.2-p290-railsexpress@gateguru/gems/rake-0.9.2.2/lib/rake/application.rb:142:in `rescue in standard_exception_handling'
from /Users/blake/.rvm/gems/ruby-1.9.2-p290-railsexpress@gateguru/gems/rake-0.9.2.2/lib/rake/application.rb:132:in `standard_exception_handling'
from /Users/blake/.rvm/gems/ruby-1.9.2-p290-railsexpress@gateguru/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
from /Users/blake/.rvm/gems/ruby-1.9.2-p290-railsexpress@gateguru/gems/rake-0.9.2.2/bin/rake:33:in `'
from /Users/blake/.rvm/gems/ruby-1.9.2-p290-railsexpress@gateguru/bin/rake:19:in `load'
from /Users/blake/.rvm/gems/ruby-1.9.2-p290-railsexpress@gateguru/bin/rake:19:in `

'
```