It seems you have installed rails version 2.3, but when you run gem
dependency rails, it shows the data for the latest release.
Run gem install rails -v 4.2.0 to get the 4.2.0 version
Correct me if I am wrong.
ᐧ

On Sat, Jan 31, 2015 at 11:00 AM, Tiago Rossi <[email protected]>
wrote:

> Hello, and first of all, Im starting with ruby and Ive installed into my
> server, sorry for my newbie question here guys.
> After install rails when I type *rails -v* it shows *Rails 2.3.18* but
> after I type g*em dependency rails* it shows Gem rails-4.2.0 and other
> dependencies.
> Please, what are the real version?
> Thanks very much.
>
> Like that:
>
> #rails -v
> Rails 2.3.18
>
> # gem dependency rails
> Gem rails-4.2.0
> ...show the dependencies
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/bb878be5-99e0-4db1-af8d-d009564562d1%40googlegroups.com
> <https://groups.google.com/d/msgid/rubyonrails-talk/bb878be5-99e0-4db1-af8d-d009564562d1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAP5dY1XmTp2a0ex4Q-0FxRPvaWB3Xzq84%3D3BrqrxQTtF6FbjeQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to