Therefore, I know that in Gemfile I can do something like this:
group :development, :test do gem 'gem1' gem 'gem2' end
I want to do the following:
group :production do gem 'gem1' gem 'gem2' end group :development, :test do gem 'gem1', :path => '/Documents/Code/gem1/' gem 'gem2', :path => '/Documents/Code/gem2/' end
Thus, our application uses 2 stones, which we also develop locally. To improve development time on our local machines, we want our Dev environments to point to local copies of the gemstones - this way it gets all the changes without having to restart our rails server. Otherwise, we would have to rebuild the gem, reinstall the gem and restart the rails with each change in development in the gem.
However, this results in the following error:
You cannot specify the same gem twice coming from different sources. You specified that gem1 (>= 0) should come from an unspecfied source and source at /Documents/Code/gem1
I even tried running something like bundle install --without production and I get the same error.
Does anyone know if I can do what I would like to do?
Thanks!
source share