0

Everything was working, but today I get this error:

Could not find gem 'cgi (>= 0) ruby' in the gems available on this machine.

I have ruby1.9.1-dev installed.

2
  • 1
    Can you please explain what you are trying to do? what is the command you ran, that gave you this error?
    – devav2
    Sep 3, 2012 at 9:46
  • it's rails bundle problem. When I try to run 'bundle install' in project directory it shows my this error instead of installing missing gems.
    – precz
    Sep 4, 2012 at 10:10

1 Answer 1

1

It sounds like you're trying to install the "cgi" gem. It ships with Ruby, so there's no need for that step. Just "require"-ing it should be sufficient.

2
  • I have gem 'cgi' in Gemfile file, when I run 'bundle install', I get this error.
    – precz
    Sep 4, 2012 at 10:18
  • You were right, problem solved!
    – precz
    Sep 4, 2012 at 10:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .