I’m using 18.104.22.168 and I want to upgrade to Rails 22.214.171.124. So I adjusted my Gemfile like so
but when I try and run “bundle install” (after deleting Gemfile.lock), I get these errors …
localhost:myproject davea$ bundle install Fetching https://github.com/dryruby/tor.rb.git Fetching gem metadata from https://rubygems.org/......... Fetching version metadata from https://rubygems.org/... Fetching dependency metadata from https://rubygems.org/.. Resolving dependencies................................................. Bundler could not find compatible versions for gem "activerecord": In Gemfile: activerecord-import was resolved to 0.16.1, which depends on activerecord (>= 3.2) rails (~> 126.96.36.199) was resolved to 188.8.131.52, which depends on activerecord (= 184.108.40.206) uuids was resolved to 1.4.0, which depends on activerecord (~> 4.1) Bundler could not find compatible versions for gem "hexx-active_record": In Gemfile: uuids was resolved to 4.0.0, which depends on hexx-active_record (~> 1.3) Could not find gem 'hexx-active_record (~> 1.3)', which is required by gem 'uuids', in any of the sources.Bundler could not find compatible versions for gem "rails": In Gemfile: rails (~> 220.127.116.11) uuids was resolved to 0.0.1, which depends on rails (~> 4.1)
What do I need to do to get my Rails version upgraded?
Edit: Output in response to answer given
localhost:myproject davea$ rails app:update Error: Command 'app:update' not recognized Usage: rails COMMAND [ARGS] The most common rails commands are: generate Generate new code (short-cut alias: "g") console Start the Rails console (short-cut alias: "c") server Start the Rails server (short-cut alias: "s") dbconsole Start a console for the database specified in config/database.yml (short-cut alias: "db") new Create a new Rails application. "rails new my_app" creates a new application called MyApp in "./my_app" In addition to those, there are: destroy Undo code generated with "generate" (short-cut alias: "d") plugin new Generates skeleton for developing a Rails plugin runner Run a piece of code in the application environment (short-cut alias: "r") All commands can be run with -h (or --help) for more information.