I know this has been asked multiple times before, but I've tried those things and still am not having any luck.
For the mechanize
gem, I keep getting the "Missing these required gems" error when I run db:migrate
on my production server.
Here's the full error:
Missing these required gems:
mechanize
You're running:
ruby 1.8.6.111 at /usr/bin/ruby1.8
rubygems 1.3.5 at /home/user/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8
Output of which ruby
is /usr/bin/ruby
Output of which gem
is /usr/bin/gem
When I run gem list
mechanize (1.0.0)
is definitely in the list.
What am I doing wrong here?