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 =>
"git-9UaJU3cA/F/QT0dZR+AlfA@public.gmane.org: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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.