开发者

ruby 1.9.2 does not support pg gem? cant heroku rake db:migrate (

开发者 https://www.devze.com 2023-04-10 21:38 出处:网络
i am using ruby 1.9.2 and rails 3.1.0 please help, cause i very need it to work for studying. It\'s my university project(

i am using ruby 1.9.2 and rails 3.1.0 please help, cause i very need it to work for studying. It's my university project(

i have installed this gems

gem 'thin'
gem 'pg'

but when i use heroku rake db:migrate is tells me to instal postgreadapter. But i have it.

I did all that i read about this problem, als开发者_如何转开发o did

group :production do
  gem 'pg'
end
group :development, :test do
  gem 'sqlite3'
end

in rubymine it writes gem "pg" is not available in SDK 'ruby-1.9.2-p290'

same with thin and heroku gems


It seems you have not installed those gems in rubymine (locally). run "bundle install" or if you need to do something specific in rubymine to install gems.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号