When I try to run the
bundle install --without production
command on Ubuntu 12.04, I get an error message like this:
Could not find gem 'pg0.12.2 (>= 0) ruby' in the gems available on this machine
Any ideas about why this is happening? Thanks
If you want 0.12.2 gem to be installed please write in the following way.
gem 'pg', '0.12.2'
If you want version which is greater than 0.12.2 then write in following way
gem 'pg' , '>= 0.12.2'
Please use this link to know more about how to bundle gems in rails Bundle
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.