I want to be able to specify something like this.
group :development do
gem 'mygem', :path => File.expand_path(File.dirname(__FILE__) + '/../mygem')
end
group :production do
gem 'bingatron-core', :git => "[email protected]:myaccount/mygem.git"
end
Bundler doesn't like this at all and complains I am specifying the
same gemname twice
I tried doing something like if ::Socket.gethostname == 'myhost' gem ...
but that doesn't work either because the Gemfile.lock ends up with the
wrong gem when capistrano deploys.
What is a good strategy for dealing with this?
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.