Skip to content

Commit

Permalink
switching to Ruby 2.1.2
Browse files Browse the repository at this point in the history
- 2.1.2 is recommended on Heroku:
  https://devcenter.heroku.com/changelog-items/468

- `debugger` gem does not build on 2.1.2; switching to `byebug`
   `bye bug` is the recommended debugger for current Ruby + Rails (see cldwalker/debugger#125 (comment) and rails/rails#14533)

- The following commands may help in switching your local version (assuming you use rbenv):

	rbenv install 2.1.2
	rbenv local 2.1.2
	gem install bundler
	bundle
  • Loading branch information
techieshark committed Oct 31, 2014
1 parent c674fd4 commit 6b01dd2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.1
2.1.2
6 changes: 2 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
source 'https://rubygems.org'

ruby '2.1.1'
ruby '2.1.2'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.2'

group :development, :test do
gem 'awesome_print'
gem 'debugger'
gem 'byebug'
gem 'rspec-rails', '2.14.2'
gem 'shoulda-matchers', '2.6.1'
end
Expand Down Expand Up @@ -68,5 +68,3 @@ gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano', group: :development

# Use debugger
# gem 'debugger', group: [:development, :test]
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ GEM
arel (4.0.2)
awesome_print (1.2.0)
builder (3.1.4)
byebug (3.5.1)
columnize (~> 0.8)
debugger-linecache (~> 1.2)
slop (~> 3.6)
capybara (2.1.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
Expand All @@ -48,12 +52,7 @@ GEM
columnize (0.8.9)
dbf (2.0.7)
fastercsv (~> 1.5.4)
debugger (1.6.8)
columnize (>= 0.3.1)
debugger-linecache (~> 1.2.0)
debugger-ruby_core_source (~> 1.3.5)
debugger-linecache (1.2.0)
debugger-ruby_core_source (1.3.5)
diff-lcs (1.2.5)
erubis (2.7.0)
execjs (2.2.1)
Expand Down Expand Up @@ -158,6 +157,7 @@ GEM
websocket (~> 1.0.4)
shoulda-matchers (2.6.1)
activesupport (>= 3.0.0)
slop (3.6.0)
sprockets (2.11.0)
hike (~> 1.2)
multi_json (~> 1.0)
Expand Down Expand Up @@ -191,9 +191,9 @@ PLATFORMS
DEPENDENCIES
activerecord-postgis-adapter (= 0.6.5)
awesome_print
byebug
capybara (= 2.1.0)
coffee-rails (= 4.0.1)
debugger
factory_girl_rails (= 4.2.1)
faraday
faraday_middleware
Expand Down

0 comments on commit 6b01dd2

Please sign in to comment.