Re: [Rails] Gem dependency issue

2015-09-28 Thread Eito Katagiri
Hi, Before using `gon.variable`, do you call `include_gon` somewhere in your view? HTH, :eito On Tue, Sep 29, 2015 at 6:01 AM Colin Law wrote: > I am developing a rails gem. It uses the gon gem so in the gemspec > file I have included > > spec.add_dependency 'gon' > > Then in the Gemfile for

Re: [Rails] Gem dependency issue

2015-09-28 Thread Marco Antonio Almeida
Hi Colin, On Mon, Sep 28, 2015 at 11:00 PM Colin Law wrote: > I am developing a rails gem. It uses the gon gem so in the gemspec > file I have included > > spec.add_dependency 'gon' > > Then in the Gemfile for the application using my gem I have put > > gem 'my_gem', :path => '/path/to/dir/cont

[Rails] Gem dependency issue

2015-09-28 Thread Colin Law
I am developing a rails gem. It uses the gon gem so in the gemspec file I have included spec.add_dependency 'gon' Then in the Gemfile for the application using my gem I have put gem 'my_gem', :path => '/path/to/dir/containing/my_gem' When I run bundle install I see that it includes my gem and