I'm working on moving an application from ruby 1.8.7 to jRuby 1.6.7. We have some local dependencies of which we have two versions: one for ruby and one for jruby.
My gemfile looks this:
platforms :jruby do
gem "service_client", :require => 'service_client', :path => '../service_client_jruby'
end
platforms :mri do
gem "service_client", :require => 'service_client', :path => '../service_client'
end
When running bundle install I get the following error:
You cannot specify the same gem twice coming from different sources. You specified that service_client (~> 0.5.16) should come from source at ../service_client_jruby and source at ../service_client
Any suggestions?