ruby-ore / ore

Mine beautiful RubyGems from Ore
MIT License
241 stars 29 forks source link

requiring 'ore/specification' in Gemfile doesn't make sense? #5

Closed brandonweiss closed 12 years ago

brandonweiss commented 13 years ago

I didn't notice this at first, but as I attempted to develop my gem on a new computer, where ore wasn't already installed, I realized that requiring ore/specification at the top of the Gemfile kind of negates the whole point of using Bundler, doesn't it? You have to manually install ore first?

postmodern commented 13 years ago

I removed require 'ore/specification' from the Gemfile template, and instead try to auto-load ore-core from the gemspec file. You still have to install ore-core, in order for Bundler to load the gemspec. You can also generate a raw gemspec:

$ ore gemspec > project.gemspec
postmodern commented 12 years ago

Ore will now generate a pure-Ruby *.gemspec file, which populates the gemspec using the data in gemspec.yml. Anything that uses a *.gemspec file should work normally.