Closed yangchenyun closed 11 years ago
Hi Steve,
Looks like awesome_print gem is not getting loaded somehow. Please make sure I've run $ bundle install and your .bundle/config installs development mode gems. Also, please check whether the "ap" method is available in Rails console.
BTW, you'll have to use <%= raw ap order %>. This is a known issue to be fixed in the next release.
Thanks, Michael
Hi Michael,
It seems that althought i am include gem 'awesome_print'
in bundle and run bundle
and bundle install
, it is not loaded either in the rails console or the application.
When I run bundle show awesome_print
within the app's directory, this gem is not found either.
It is such a weird behavior as I can correctly require 'awesome_print'
in my irb and other ruby file.
Do you have a clue for this abnormal situation?
Best,
when I echo out the $LOAD_PATH
with the rails c
, there is no path to load awesome_print
, I think that where the problem lies.
[2] pry(main)> $LOAD_PATH
=> ["/Users/yangchenyun/project/huali/lib",
"/Users/yangchenyun/project/huali/vendor",
"/Users/yangchenyun/project/huali/app/admin",
"/Users/yangchenyun/project/huali/app/assets",
"/Users/yangchenyun/project/huali/app/controllers",
"/Users/yangchenyun/project/huali/app/helpers",
"/Users/yangchenyun/project/huali/app/mailers",
"/Users/yangchenyun/project/huali/app/models",
"/Users/yangchenyun/project/huali/app/views_mobile",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bootstrap-sass-2
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bootstrap-sass-2
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/coffee-rails-3.2
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/state_machine-1.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/activeadmin-0.5.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/activeadmin-0.5.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/jquery-rails-2.1
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/jquery-rails-2.1
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/inherited_resour
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/inherited_resour
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/formtastic-2.2.1
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/formtastic-2.2.1
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/kaminari-0.14.1/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bourbon-3.0.1/li
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bourbon-3.0.1/ap
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/devise-2.1.2/lib
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/devise-2.1.2/app
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/devise-2.1.2/app
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/devise-2.1.2/app
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/annotate
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/whenever-0.8.0/l
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/unicorn-4.5.0/li
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/uglifier-1.3.0/l
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/thin-1.5.0/lib",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/simplecov-0.7.1/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/simplecov-html-0
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/shoulda-matchers
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/sass-rails-3.2.5
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rspec-rails-2.12
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rspec-instafail-
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/redis-rails-3.2.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/redis-activesupp
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/redis-actionpack
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/redis-rack-1.4.2
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/redis-store-1.1.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/redis-3.0.2/lib"
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rb-fsevent-0.9.2
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/raindrops-0.10.0
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rails-i18n-0.7.1
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/railroady-1.1.0/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rack-mini-profil
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/pry-stack_explor
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/pry-remote-0.1.6
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/pry-rails-0.2.2/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/pry-debugger-0.2
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/pry-coolline-0.1
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/pg-0.14.1/lib",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/paperclip-3.3.1/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/newrelic_rpm-3.5
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/kramdown-0.14.1/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/kgio-2.7.4/lib",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/io-console-0.3/.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/guard-spork-1.4.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc3/l
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/guard-rspec-2.3.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rspec-2.12.0/lib
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rspec-mocks-2.12
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rspec-expectatio
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/guard-pow-1.0.0/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/guard-livereload
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/guard-bundler-1.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/guard-1.5.4/lib"
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/pry-0.9.10/lib",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/slop-3.3.3/lib",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/method_source-0.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/lumberjack-1.0.2
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/listen-0.6.0/lib
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/growl-1.0.3/lib"
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/friendly_id-4.0.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/factory_girl_rai
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/factory_girl-4.1
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/email_spec-1.4.0
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/launchy-2.1.2/li
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/em-websocket-0.3
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/eventmachine-1.0
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/diff-lcs-1.1.3/l
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/devise-i18n-0.5.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/debugger-1.1.4/l
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/debugger-linecac
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/debugger-ruby_co
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/database_cleaner
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/coolline-0.4.0/l
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/columnize-0.3.6/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/coffee-script-2.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/coffee-script-so
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/cocaine-0.4.2/li
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/chronic-0.8.0/li
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/capybara-1.1.2/l
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/xpath-1.0.0/lib"
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/selenium-webdriv
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.9/li
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/libwebsocket-0.1
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/websocket-1.0.4/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/childprocess-0.3
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/ffi-1.2.0/lib",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/ffi-1.2.0/ext/ff
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.5/l
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/capistrano-zen-0
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/capistrano-2.13.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/net-ssh-gateway-
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/net-sftp-2.0.5/l
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/net-scp-1.0.4/li
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/net-ssh-2.6.2/li
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/highline-1.6.15/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bourne-1.1.2/lib
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/mocha-0.10.5/lib
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/metaclass-0.0.1/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/binding_of_calle
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/coderay-1.0.8/li
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/backup-3.0.27/li
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/open4-1.3.0/lib"
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/addressable-2.3.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rails-3.2.8/lib"
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/activeresource-3
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/meta_search-1.1.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/polyamorous-0.5.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/activerecord-3.2
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/tzinfo-0.3.35/li
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/arel-3.0.2/lib",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/responders-0.9.3
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/has_scope-0.5.1/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/fastercsv-1.5.5/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/warden-1.2.1/lib
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/railties-3.2.8/l
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rdoc-3.12/lib",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/json-1.7.5/lib",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rack-ssl-1.3.2/l
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/orm_adapter-0.4.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bcrypt-ruby-3.0.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/thor-0.16.0/lib"
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/sass-3.2.3/lib",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/arbre-1.0.1/lib"
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/actionmailer-3.2
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/mail-2.4.4/lib",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/treetop-1.4.12/l
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/polyglot-0.3.3/l
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/mime-types-1.19/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/sprockets-2.1.3/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/tilt-1.3.3/lib",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/hike-1.2.1/lib",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rack-test-0.6.2/
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rack-cache-1.2/l
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/journey-1.0.4/li
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/erubis-2.7.0/lib
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/activemodel-3.2.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/builder-3.0.4/li
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/activesupport-3.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/multi_json-1.4.0
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/rake-10.0.2/lib"
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/capistra
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/better_e
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.rc
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/site_ruby/1.9.1",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/site_ruby/1.9.1/x86_64-darwin12.
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/site_ruby",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/vendor_ruby/1.9.1",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/vendor_ruby/1.9.1/x86_64-darwin1
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/vendor_ruby",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/1.9.1",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/1.9.1/x86_64-darwin12.0.0",
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/forgery-
"/Users/yangchenyun/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8
(END)
$ cat .bundle/config
$ cat ~/.bundle/config
What does it show?
I didn't have a global bundle config at ~/.bundle/config
, for the project config, see below:
$ cat .bundle/config
---
BUNDLE_WITHOUT: production
When I want to use the
ap
method in my viewsI get this warnings:
I think the
awesome_print
is not automacially mixed into the ActiveView, how should I enable it in Rails's view?