[Rails] Re: Problems referencing code in bundled gems
On Tuesday, January 14, 2014 12:37:27 PM UTC, Ruby-Forum.com User wrote:
pricing_extensions.rb lives in the test_company_libs which is added to
the test_company_models's Gemfile:
Where precisely? If require 'pricing_extensions' doesn't work then it sounds like it's not in a folder on ruby's load path. A gem's lib folder (but not sub directories thereof) is usually added to the load path
Fred
gem 'test_company_libs', :git
=>'git@github.com:test_company/test_company-libs.git' , :require => false
--
Posted via http://www.ruby-forum.com/.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/705a0f27-1e7f-41dc-b38b-e573e1f6653a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home