Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not load in console #5

Closed
cbmeeks opened this issue Jun 19, 2010 · 2 comments
Closed

Can not load in console #5

cbmeeks opened this issue Jun 19, 2010 · 2 comments

Comments

@cbmeeks
Copy link

cbmeeks commented Jun 19, 2010

I installed ap:
"Successfully installed awesome_print-0.2.1"

Now, when I go to the console and try to require 'ap', get the following error:

LoadError: cannot load such file -- ap
from /Users/cbmeeks/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:212:in require' from /Users/cbmeeks/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:212:inblock in require'
from /Users/cbmeeks/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:198:in block in load_dependency' from /Users/cbmeeks/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:554:innew_constants_in'
from /Users/cbmeeks/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:198:in load_dependency' from /Users/cbmeeks/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:212:inrequire'
from (irb):1
from /Users/cbmeeks/.rvm/gems/ruby-1.9.2-head/gems/railties-3.0.0.beta4/lib/rails/commands/console.rb:47:in start' from /Users/cbmeeks/.rvm/gems/ruby-1.9.2-head/gems/railties-3.0.0.beta4/lib/rails/commands/console.rb:8:instart'
from /Users/cbmeeks/.rvm/gems/ruby-1.9.2-head/gems/railties-3.0.0.beta4/lib/rails/commands.rb:23:in <top (required)>' from script/rails:9:inrequire'
from script/rails:9:in `

'

I am using rvm, ruby 1.9.2-head, Snow Leopard

Other gems load fine like pp.

Any help would be appreciated.

Thanks!

@michaeldv
Copy link
Collaborator

Please add the following line to Gemfile (should be in root directory of your Rails3 project):

gem 'awesome_print', :require => 'ap'

@cbmeeks
Copy link
Author

cbmeeks commented Jun 21, 2010

Worked great! Thanks.

Makes sense when I actually "RTFM" lol

Thanks.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants