Ruby on Rails Friday, December 28, 2018

On Friday, December 28, 2018 at 12:39:28 PM UTC, leyla kapi wrote:
> Hello everyone,
>
>
> I try to upgrade rails version of my rails app from 5.0.7.1 to 5.2.0 . 
>
>
> I copied from rubygems `gem 'rails', '~> 5.2'` then bundle, but I realized that installed rails 5.2.2 version not 5.2.0 . I assume that instead of `gem 'rails', '~> 5.2'`, it should be something like `gem 'rails', '~> 5.2.0'` or whatever. 
>
>

~> 5.2 means ">= 5.2 and < 5.3" (see https://bundler.io/v1.5/gemfile.html#gemfiles for more examples). If you want a specific version use "= 5.2.2"

Fred


> Thanks in advance for your time!
>
>
> Have a good day!

--
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/48be6a6c-7f8f-41a1-8b1d-ae45676ede29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment