Skip to content

Commit

Permalink
[RAILS] Changed the dependency on "elasticsearch-model" from local to…
Browse files Browse the repository at this point in the history
… Rubygems

Otherwise, Bundler is stuck in endless "Resolving dependencies" loop.
  • Loading branch information
karmi committed May 27, 2014
1 parent 91814b3 commit 67ea513
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions elasticsearch-rails/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in elasticsearch-rails.gemspec
gemspec

if File.exists? File.expand_path("../../elasticsearch-model", __FILE__)
gem 'elasticsearch-model', :path => File.expand_path("../../elasticsearch-model", __FILE__), :require => true
end
# TODO: Figure out how to specify dependency on local elasticsearch-model without endless "Resolving dependencies"
# if File.exists? File.expand_path("../../elasticsearch-model", __FILE__)
# gem 'elasticsearch-model', :path => File.expand_path("../../elasticsearch-model", __FILE__), :require => true
# end
1 change: 1 addition & 0 deletions elasticsearch-rails/elasticsearch-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Gem::Specification.new do |s|
s.add_development_dependency "rake"

s.add_development_dependency "elasticsearch-extensions"
s.add_development_dependency "elasticsearch-model"

s.add_development_dependency "oj"
s.add_development_dependency "rails", "> 3.0"
Expand Down

0 comments on commit 67ea513

Please sign in to comment.