Code Monkey home page Code Monkey logo

Comments (8)

petems avatar petems commented on June 12, 2024

Can you try with ssh_key: ['1690771']?

I think I need to fix up that logic because it assumes it's an array...

from tugboat.

tribou avatar tribou commented on June 12, 2024

Now the error is this:

Queueing creation of droplet 'dev2'.../Users/user/.rvm/gems/ruby-2.2.1/gems/tugboat-2.2.0/lib/tugboat/middleware/create_droplet.rb:50:in `call': undefined method `split' for ["1690771"]:Array (NoMethodError)

from tugboat.

petems avatar petems commented on June 12, 2024

Hi @tribou!

Can you checkout this repo and try creating a droplet on the fix_ssh_key_array_from_config branch?

I think I've fixed it there, and added a PR to make the change and update the docs: #235, #236

After that I'll push out the update as Tugboat 2.2.1 (bugfix)

from tugboat.

petems avatar petems commented on June 12, 2024

This should be fixed in v2.2.1, can you check for me @tribou?

from tugboat.

tribou avatar tribou commented on June 12, 2024

Here's what I found with v2.2.1:

ssh_key: 1234567      #fails
ssh_key: '1234567'    #works
ssh_key: ['1234567']  #works

I didn't go through the authorize process again, but I assume it populates one of the latter two ssh_key entries now?

from tugboat.

petems avatar petems commented on June 12, 2024

I need to double check the authorize process. But I should probably put in a to_s fix so people can user plain numbers...

from tugboat.

petems avatar petems commented on June 12, 2024

Fix for fixnum in #240

from tugboat.

petems avatar petems commented on June 12, 2024

Fix for authorize prompting to be given an array: #241

from tugboat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.