Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D desi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • desi
  • Issues
  • #1

Closed
Open
Created Sep 29, 2012 by Administrator@rootMaintainer

Error when fetching the latest version

Created by: oz

I get an error when desi tries to fetch the latest version of ES.

$ desi install
 * No release specified, will fetch latest.
 * fetching release elasticsearch-0.19.9.tar.gz
/home/oz/.rvm/gems/ruby-1.9.3-p194/gems/desi-0.2.1/lib/desi/http_client.rb:57:in `match': can't convert URI::HTTP to String (TypeError)
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/desi-0.2.1/lib/desi/http_client.rb:57:in `to_uri'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/desi-0.2.1/lib/desi/http_client.rb:12:in `initialize'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/desi-0.2.1/lib/desi/downloader.rb:14:in `new'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/desi-0.2.1/lib/desi/downloader.rb:14:in `initialize'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/desi-0.2.1/lib/desi/runner.rb:49:in `new'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/desi-0.2.1/lib/desi/runner.rb:49:in `install'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/boson-1.2.4/lib/boson/runner_library.rb:12:in `block (3 levels) in delegate_runner_methods'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/boson-1.2.4/lib/boson/scientist.rb:87:in `call'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/boson-1.2.4/lib/boson/scientist.rb:87:in `block (2 levels) in redefine_command_block'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/boson-1.2.4/lib/boson/scientist.rb:123:in `call'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/boson-1.2.4/lib/boson/scientist.rb:123:in `call_original_command'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/boson-1.2.4/lib/boson/scientist.rb:115:in `during_analyze'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/boson-1.2.4/lib/boson/scientist.rb:107:in `analyze'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/boson-1.2.4/lib/boson/scientist.rb:86:in `block in redefine_command_block'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/boson-1.2.4/lib/boson.rb:79:in `full_invoke'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/boson-1.2.4/lib/boson/bare_runner.rb:42:in `execute_command'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/boson-1.2.4/lib/boson/runner.rb:35:in `execute_command'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/boson-1.2.4/lib/boson/runner.rb:31:in `execute'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/boson-1.2.4/lib/boson/runner.rb:26:in `start'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/gems/desi-0.2.1/bin/desi:7:in `<top (required)>'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/bin/desi:19:in `load'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/bin/desi:19:in `<main>'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval'
    from /home/oz/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>'

System (Debian/amd64):

$ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]

$ gem list desi

*** LOCAL GEMS ***

desi (0.2.1)

Unrelated to this issue, desi install takes an optional version/fullname so I tried the following with more errors:

$ desi install 0.19.9 # fails
$ desi install elasticsearch-0.19.9  # fails too

Maybe a quick note in the README about the actual syntax would help, or if it is a bug, I'll open another issue.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking