Mina: Error running on Ruby 2.3.0

Created on 29 Jan 2016  ·  11Comments  ·  Source: mina-deploy/mina

Getting this error when I try to run mina deploy on Ruby 2.3.0

/usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/specification.rb:2158:in `method_missing': undefined method `this' for #<Gem::Specification:0xe792e4 mina-0.3.0> (NoMethodError)
    from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/specification.rb:1057:in `find_active_stub_by_path'
    from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:64:in `require'
    from /usr/local/rvm/gems/ruby-2.3.0/gems/mina-0.3.0/bin/mina:5:in `<top (required)>'
    from /usr/local/rvm/gems/ruby-2.3.0/bin/mina:23:in `load'
    from /usr/local/rvm/gems/ruby-2.3.0/bin/mina:23:in `<main>'
    from /usr/local/rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
    from /usr/local/rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'

Most helpful comment

Had the same error on Ruby 2.1.8
And I fixed it just updating RubyGems and reinstalled this gem and now works

gem update --system
gem uninstall mina
gem install mina

All 11 comments

I'm having the same issue, even on mina v0.3.8 :cry:

Same Error :(
/Users/helio/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/specification.rb:2158:in method_missing': undefined methodthis' for # (NoMethodError)

Had the same error on Ruby 2.1.8
And I fixed it just updating RubyGems and reinstalled this gem and now works

gem update --system
gem uninstall mina
gem install mina

I use RVM to downgrade ruby from 2.3.0 and 2.2.4, reinstall the mina gem and it's working just fine.

I am able now to run mina on Ruby 2.3.0 after following the steps by @san983. Thanks man!

@san983 saved my day with Mina else I was planning to go for Capistrano. Thanks man!

Does not work in version 2.2.1 changed to 2.3.1 and worked...

Does not work in ruby 2.3.1

Moon whats the error youre getting?

log:

/usr/local/rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:2158:in method_missing': undefined methodthis' for # (NoMethodError)
from /usr/local/rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:1057:in find_active_stub_by_path' from /usr/local/rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:64:inrequire'
from /usr/local/rvm/gems/ruby-2.3.1/gems/mina-0.3.8/bin/mina:5:in <top (required)>' from /usr/local/rvm/gems/ruby-2.3.1/bin/mina:23:inload'
from /usr/local/rvm/gems/ruby-2.3.1/bin/mina:23:in <main>' from /usr/local/rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:ineval'
from /usr/local/rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `

'

I use RVM to downgrade ruby from 2.3.1 and 2.2.5, reinstall mina and it's working just fine.

In my instance I uninstalled mina... used rvm 2.3.1 and installed mina and it worked

Was this page helpful?
0 / 5 - 0 ratings

Related issues

krishnateja picture krishnateja  ·  6Comments

folivi picture folivi  ·  4Comments

sosedoff picture sosedoff  ·  9Comments

Ilya-Kuchaev picture Ilya-Kuchaev  ·  4Comments

misteral picture misteral  ·  10Comments