[Rails] Re: Problems referencing code in bundled gems
On Thursday, January 16, 2014 6:12:58 PM UTC, Ruby-Forum.com User wrote:
> I initially tried that and got:
>
>
>
> "`require': cannot load such file"
>
>
>
> My question is, does adding
>
>
>
> gem 'test_company_libs', :git =>
>
> 'git@github.com:test_company/test_company-libs.git', :require => false
>
>
>
> to the Gem's Gemfile and doing a bundle install, ensure that gem's code
>
> can be referenced at runtime?
I don't think the gem's Gemfile is used in this case - normally a gem's dependencies on other gems should be in your gemspec. Then in your app you would add the above to the app's Gemfile to say how the test_company_libs gem should be found.
Fred
>
>
>
> --
>
> 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/3773c239-253e-460b-8787-318b3d67c03d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home