Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running on Ruby 2.3.0 #368

Closed
syamilmj opened this issue Jan 29, 2016 · 11 comments
Closed

Error running on Ruby 2.3.0 #368

syamilmj opened this issue Jan 29, 2016 · 11 comments

Comments

@syamilmj
Copy link

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>'
@ceneon
Copy link

ceneon commented Feb 8, 2016

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

@heliohead
Copy link

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 #<Gem::Specification:0x3ffbac81a0a0 mina-0.3.8> (NoMethodError)

@san983
Copy link

san983 commented Mar 3, 2016

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

@quangthang10d4
Copy link

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

@andretf
Copy link

andretf commented May 2, 2016

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

@MFQ
Copy link

MFQ commented May 13, 2016

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

@staycreativedesign
Copy link

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

@MoonShining
Copy link

Does not work in ruby 2.3.1

@staycreativedesign
Copy link

Moon whats the error youre getting?

@MoonShining
Copy link

log:

/usr/local/rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:2158:in method_missing': undefined methodthis' for #<Gem::Specification:0xec0d74 mina-0.3.8> (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.

@staycreativedesign
Copy link

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

@d4be4st d4be4st closed this as completed Jul 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants