You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following errors running rake in RubyMotion, using Redpotion gem (promotion).
/usr/local/Cellar/ruby/2.7.1_2/lib/ruby/gems/2.7.0/gems/ProMotion-3.0.0/lib/ProMotion.rb:9: warning: deprecated Object#=~ is called on Array; it always returns nil
/usr/local/Cellar/ruby/2.7.1_2/lib/ruby/gems/2.7.0/gems/ProMotion-3.0.0/lib/ProMotion.rb:9: warning: deprecated Object#=~ is called on Array; it always returns nil
rake aborted!
NoMethodError: undefined method new' for BigDecimal:Class /Users/username/Documents/ruby-projects/ipu/my_new_app/Rakefile:7:in <top (required)>'
(See full trace by running task with --trace)
Rakefile:Line 7
Bundler.require
/usr/local/Cellar/ruby/2.7.1_2/lib/ruby/gems/2.7.0/gems/ProMotion-3.0.0/lib/ProMotion.rb: Line 9
insert_point = app.files.find_index { |file| file =~ /^(?:./)?app// } || 0
Reply from Eamon Webster:
BigDecimal.new was deprecated in ruby 2.6 and removed from ruby 2.7
The text was updated successfully, but these errors were encountered:
Apparently there are some deprecated calls that need to be updated.
https://motioneers.slack.com/archives/C055RS0VA/p1588922704034900
Reply from Eamon Webster:
The text was updated successfully, but these errors were encountered: