How to update my rails 3.0.0 beta 4 application for 3.0.0 RC rails and eventually Rails 3?

My first problem is ligament conflict

$ bundle install
Fetching source index from http://rubygems.org/
No compatible versions could be found for required dependencies:
    Conflict on: "bundler":
    * bundler (0.9.26) activated by bundler (= 0.9.26, runtime)
    * bundler (>= 1.0.0.rc.1, runtime) required in Gemfile
    All possible versions of origin requirements conflict.

After I realized this, Strike>

What do I need to do to change the Beta 4 Rails application to work on RC?

+3
source share
4 answers

You might want to check out Rails upgrade from beta4 to RC . It mentions changes to the Bundler and your application files (e.g., config/*and Rakefile).

+2
source

(, , ). Yehuda :


( --disable-shared-gems). bundler --production, .

, , ( Capistrano):

  • Gemfile.lock. , Gemfile .

  • Symlink / (symlink release_path/current/vendor/bundle to release_path/shared/bundled_gems)

  • , / --disable--

.

+1
gem install bundler --pre
bundle install
0
source

This screencast came out in the last couple of days, which looks through many changes.

0
source

Source: https://habr.com/ru/post/1756661/


All Articles