Ruby on Rails Monday, May 1, 2017

Thanks Edsil, Frederick. How did you solve it? Is it as simple as specifying a Ruby version >= 2.3 in your gemfile?

I noticed from the Heroku doco the default ruby version if none is specified in the gemfile is MRI 2.3.4

On Tuesday, 2 May 2017 07:13:03 UTC+8, Edsil Basadre wrote:
Frederick is correct, it is a dependency.

On Tue, May 2, 2017 at 12:47 AM, Frederick Cheung <frederic...@gmail.com> wrote:
On Monday, May 1, 2017 at 5:42:22 PM UTC+1, Simon Fisher wrote:
> Hi Edsil, I have the same issue as Edsil and it is because of the Ruby version running on Heroku. Curious thing is that xmlrpc-0.3.0 is not a gem in my gemfile (pasted below) so I'm not sure how to downgrade the gem and I can't upgrade the version of Ruby on Heroku (to my knowledge). Any ideas?
>

It's probably a dependency of one of your dependencies (you can see these in your Gemfile.lock).

Heroku should pick the ruby version specified in either you Gemfile or your .ruby-version file. Amy relatively recent version of ruby should be absolutely fine (see https://devcenter.heroku.com/articles/ruby-support#ruby-versions for their supported version policy)

Fred
>
> --- GEM FILE ---
>
>
>
> source 'https://rubygems.org'
>
>
> gem 'rails',                    '5.0.0.1'
> gem 'puma',                     '3.4.0'
> gem 'sass-rails',               '5.0.6'
> gem 'uglifier',                 '3.0.0'
> gem 'coffee-rails',             '4.2.1'
> gem 'jquery-rails',             '4.1.1'
> gem 'turbolinks',               '5.0.1'
> gem 'jbuilder',                 '2.4.1'
> gem 'bootstrap-sass',           '3.3.6'
> gem 'carrierwave',              '0.11.2'
> gem 'mini_magick',              '4.5.1'
> gem 'fog',                      '1.38.0'
> gem 'bcrypt',                   '3.1.11'
> gem 'faker',                    '1.6.3'
> gem 'will_paginate',            '3.1.0'
> gem 'bootstrap-will_paginate',  '0.0.10'
>
>
> group :development, :test do
>   gem 'sqlite3', '1.3.11'
>   gem 'byebug',  '9.0.0', platform: :mri
> end
>
>
> group :development do
>   gem 'web-console',           '3.1.1'
>   gem 'listen',                '3.0.8'
>   gem 'spring',                '1.7.2'
>   gem 'spring-watcher-listen', '2.0.0'
> end
>
>
> group :test do
>   gem 'rails-controller-testing', '0.1.1'
>   gem 'minitest-reporters',       '1.1.9'
>   gem 'guard',                    '2.13.0'
>   gem 'guard-minitest',           '2.4.4'
> end
>
>
> group :production do
>   gem 'pg', '0.18.4'
> end
>
>
> # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
> gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
> On Monday, 1 May 2017 21:36:43 UTC+8, Edsil Basadre  wrote:
> Great! So, how did you solved it?
>
>
> On Mon, 1 May 2017 at 9:35 PM, eben sinaga <ebenpe...@gmail.com> wrote:
>
> Thank you, I got finished about it. 
>
>
> On Sunday, 30 April 2017 15:23:46 UTC+7, Edsil Basadre  wrote:
>
> What is your Ruby version? Based on that error you need to have the version that required for that Gem. So either you upgrade your ruby version or downgrade the gem that requiring the specific version of ruby.
>
>
>
>
> On Sun, 30 Apr 2017 at 3:11 PM, eben sinaga <ebenpe...@gmail.com> wrote:
>
>
>
>
> Hi
>
>
> I got error xmlrpc-0.3.0 requires ruby version >= 2.3 when i deploy to heroku . what should I do ?
>
>
> Thank you
>
>
>
>
> --
>
> 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-ta...@googlegroups.com.
>
> To post to this group, send email to rubyonra...@googlegroups.com.
>
>
>
>
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ae91d3a6-4bd9-41b9-8741-2322b52caf44%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
>
> --
>
> 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-ta...@googlegroups.com.
>
> To post to this group, send email to rubyonra...@googlegroups.com.
>
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/25f51776-37a0-4cf4-8aa5-82b83a5d6504%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

--
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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d7a15994-d6ee-4272-9797-2381c705c031%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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/fe071453-102d-4cd5-9ab8-d7a279c6845b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment