how to bundle a local gem? #194

Open
iamacourser opened this Issue Aug 16, 2010 · 1 comment

Comments

Projects
None yet
2 participants

I have a modifer.gem on /home/courser/Downloads/

so I wrote into Gemfile

gem "mofifer", :path => "~/Downloads/modifer"

bundle install, it throw me error:
he path /home/ning/Downloads/modifer does not exist.

gem "mofifer", :path => "~/Downloads/"
then get this error.
Could not find gem 'modifer (>= 0, runtime)' in source at /home/courser/Downloads.

so how to ?

@iamacourser did you ever get this figured out? You need a valid gemspec file in that directory. You can run rake gem spec if you're using jeweler.

This error threw me for a loop as well, perhaps bundler could tell us why it thinks that directory is not a valid gem.

Could not find valid gemspec or gem for 'modifer (>= 0, runtime)' in source at /home/courser/Downloads.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment