Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

rake gems:refresh_specs error on unpacked gems

Tags:

Following the great advice of Chris Wanstrath, I decided to vendor everything.

However, whenever I run a rake task now I get an error for each of my unpacked gems stating

config.gem: Unpacked gem gemname in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this.

I've done this but no dice. Anyone have the same issue? If so, how do I resolve?

TIA

like image 686
mr_urf Avatar asked Mar 09 '09 08:03

mr_urf


1 Answers

I usually go through the following steps:

  1. cd vendor/gems/gemname
  2. gem specification gemname > .specification

Hope it helps.

like image 101
Milan Novota Avatar answered Oct 03 '22 04:10

Milan Novota