Tuesday, May 13, 2014

Upgrading TryRuby

Upgrading TryRuby from Rails 3.0.9 to 4.1.1


Because the Rails version is so old I have to incrementally update it as suggested by the Rails Guides. I will probably also switch to Postgres for the database but one thing at a time. :)
"If your application is currently on any version of Rails older than 3.1.x, you should upgrade to Rails 3.1 before attempting an update to Rails 3.2"
First I have to upgrade to Rails 3.0.10
    http://railsdiff.org/diff/v3.0.9/v3.0.10/
    http://stackoverflow.com/questions/7288361/how-to-upgrade-a-rails-3-0-app-to-rails-3-1
Current Gemfile
source 'http://rubygems.org'

gem 'rails', '3.0.9'

gem 'mysql2', '< 0.3'
gem 'fakefs', '0.2.1', :git => "http://github.com/defunkt/fakefs.git",
  :ref => "aa0cb96b8ebc81287a2e",  :require => 'fakefs/safe'


# Use unicorn as the web server
# gem 'unicorn'
gem 'i18n'
# Deploy with Capistrano
# gem 'capistrano'

gem 'devise'

# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
# gem 'ruby-debug'
# gem 'ruby-debug19', :require => 'ruby-debug'
gem 'jquery-rails'
gem 'ruby_parser'
gem 'racc'

#gem 'ruby2ruby'
#gem 'newrelic_rpm'
#gem 'madmimi'
#gem 'delayed_job'
#gem 'dalli'
# Bundle the extra gems:
# gem 'bj'

gem 'nokogiri'
# gem 'sqlite3-ruby', :require => 'sqlite3'
# gem 'aws-s3', :require => 'aws/s3'

# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
# group :development, :test do
gem 'capybara'
gem 'rspec-rails'
gem 'cucumber-rails'
#gem 'factory-girl'

No comments:

Post a Comment