Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Can't migrate DB on Heroku

Hey I get this funny error ->

DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released.

I can't get this to work, I installed rails12factor gem, to prevent plugin injection by Heroku, but still the same issue.

I tried this -> heroku run db:create.. It says that sqlite db exists in test and dev ..

Anyone ??

2 Answers

Stone Preston
Stone Preston
42,016 Points

you cant use sqlite with heroku. you have to use postgresql (i think the gem is called pg)

hey, i use sqlite for test and development, it's in the error code too. for production I used pg.

Anyways i found solution

Thanks to all