Gem install aws-sdk

Hey buddys,

sorry to bother you again …

I’m trying to install the aws sdk in SU2020, but to no avail.
Did someone installed it?

follow what i’m doing

Console log error:

“no implicit conversion of Sketchup::Console into String (Line 1)”
Error: #<TypeError: no implicit conversion of TypeError into String>
“myuser”/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/as_rubyeditor/as_rubyeditor.rb:346:in +' "myuser"/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/as_rubyeditor/as_rubyeditor.rb:346:in rescue in block in initialize’
“myuser”/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/as_rubyeditor/as_rubyeditor.rb:335:in `block in initialize’


I just tested using the native Ruby Console (not the AS Ruby Code Editor) and it takes a few minutes, but the gem does install in SU2020.

1 Like
  1. I believe this is discourse, so it supports some markdown. Please enclose console/log/code in triple backticks so it’s readable (like the below code)

  2. Some Ruby code doesn’t deal with spaces in paths, and the folder ‘SketchUp 2020’ has a space. Your username may also have a space.

  3. STDOUT and $stdout aren’t the same in SU, and Sketchup::Console doesn’t have all the methods of STDOUT/IO.

    STDOUT.class    #-> IO
    $stdout.class   #-> Sketchup::Console
1 Like