Ruby on Rails Saturday, January 31, 2015

On 31 January 2015 at 05:30, Tiago Rossi <tiago@boltassessoria.com> 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 gem dependency rails it shows Gem rails-4.2.0 and other dependencies.

I presume by that you mean that it shows the dependencies for several
versions of rails. In which case it means you have several versions
of rails installed. Your application will use whichever version you
specify in Gemfile.

rails -v shows you which version is in use.
If you need to manage multiple versions I advise using rvm. Others
like rbenv I believe.

gem list will show you all the versions of gems that are installed.

If you have not already done so then, as you are a beginner with
rails, I suggest working right through a good tutorial such as
railstutorial.org (which is free to use online). That will show you
the basics of rails.

Colin

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu%3DXTQFU7uoq%3D570ReFp_CLtA2i8O3v3N5nEOezojAYPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment