Feedback

What’s your question? Only ask questions about Shapado here

By: [ Editor ] Asked from Australia

Unpacked gem devise-1.0.5 in vendor/gems has no specification file.

I get this error when i try to run the rake bootstrap – after googling I found this post and followed the suggestion there but to no avail

http://digitizor.com/2010/04/03/fix-unpacked-gem-vendor-specification-file-error/

I follow the instructions and it gives me the following:

cl-t094-082cl:/var/www/shapado-shapado/vendor/gems/devise-1.0.5# gem specification devise > .specification ERROR: Unknown gem ‘devise’

Anybody know what I’m doing wrong?

Cheers :)

Debian Lenny

Add comment viewed 813 times Latest activity about 2 years ago

NN comments
spacecowboy
-

PS. I never used Ruby before – is it right to stick it in the www folder? I have no idea as I’m a .net guy – I’m assuming it runs under apache somehow

or Cancel

1 answer

  • 1

dagfinn.parnas [ Editor ]

Had the same problem.

First tried to use “gem specification devise -r” but this returned the 1.0.6 version (1.0.5 could not be found when specifying version with -v)

In the end I managed to get around it by 1. Installing the devise-1.0-5 by running “gem install devise -v 1.0.5” 2. Locating the specification file at /usr/lib/ruby/gems/1.8/specifications/devise-1.0.5.gemspec" and copying to vendor/gems/devise-1.0.5 of shapado 3. Then running gem specification devise

(tried some other alternatives such as copying Gemfile from http://github.com/plataformatec/devise/downloads , but believe the above solved it)

Dagfinn

NN comments
spacecowboy
-

Well done mate, I had in fact also got there I just didn’t quite get round to posting the answer yet ‘cos I was writing some blogs :)

or Cancel