0
votes

Here are my gems when I type in gem list in the terminal:

* LOCAL GEMS *

abstract (1.0.0) actionmailer (3.0.10) actionpack (3.0.10) activemodel (3.0.10) activerecord (3.0.10) activeresource (3.0.10) activesupport (3.0.10) arel (2.0.10) builder (2.1.2) bundler (1.0.18) erubis (2.6.6) i18n (0.5.0) mail (2.2.19) mime-types (1.16) minitest (1.6.0) mysql2 (0.3.7) polyglot (0.3.2) rack (1.2.3) rack-mount (0.6.14) rack-test (0.5.7) rails (3.0.10) railties (3.0.10) rake (0.8.7) rdoc (3.9.3, 2.5.8) rubygems-update (1.8.9) thor (0.14.6) treetop (1.4.10) tzinfo (0.3.29)

Ruby -v: ruby 1.9.2

How come when I type rails -v it gives me: Rails 1.2.6? I need the 3.0 to be the default.

1

1 Answers

0
votes

Try running:

gem uninstall rails -v 1.2.6

and see if that works. You can also look into RVM there is a RailsCast http://railscasts.com/episodes/200-rails-3-beta-and-rvm

It also may be necissary to use sudo on a mac like so:

sudo gem uninstall rails