Tag Archives: gem

`gem install activerecord-postgresql-adapter` (pg is not part of the bundle. Add it to Gemfile.) (LoadError)

If you see this error in your heroku logs “`gem install activerecord-postgresql-adapter` (pg is not part of the bundle. Add it to Gemfile.” Then you must add this to your production section of your Gemfile or create it if you don’t have one:

Error installing heroku gem

My goal is to push my rails app to Heroku. However, I wasn’t able to install the heroku gem. If you get the following error when trying to do a gem install herokuĀ –no-rdoc –no-ri After researching online there were two things that could potentially be the problem. The first is that there is that my […]

Bundle Install – missing mysql.h

If you’re seeing the following error: The way I was able to resolve it was to follow Boonedocks.net, since I’m also using MAMP for its MySQL Database instance. The only difference is that I already had MAMP 1.9.4 installed and so I had to download the MAMP_components_1.9.dmg which contains the mysql-5.1.44 source code. MAMP 1.9.4 […]

RVM and Frozen Rails Conflict

I have an existing rails application and want to switch to using RVM in order to tie particular versions of Ruby, Rails and RubyGems to this application. My existing Rails application has a frozen Rails version 2.2.2 tied into it and so exists in my vendor/rails directory. Before I installed RVM, the following question came […]

Adding or Installing Gems

See what gems you have installed on your machine To see a list of gem commands To install a gem To Search your Local Gems by providing a search term that’s part of the Gem name To Search Remote Repositories for Gems by providing a search term that’s part of the Gem name To list […]