Coder Social home page Coder Social logo

gem "hashie" issue about desk HOT 7 CLOSED

chriswarren avatar chriswarren commented on June 24, 2024
gem "hashie" issue

from desk.

Comments (7)

chriswarren avatar chriswarren commented on June 24, 2024

Can you upgrade hashie in a branch, make sure tests run, and then make a
pull request for it?

Thanks!

On Fri, May 16, 2014 at 12:06 PM, kushbhandari [email protected]:

After adding "desk" gem to my Gemfile and runnin bundle install I get into
below errors:

Bundler could not find compatible versions for gem "hashie":
In Gemfile:
desk (>= 0) ruby depends on
hashie (~> 1.2.0) ruby

grape (>= 0) ruby depends on
hashie (2.0.3)

Can "hashie" be upgraded to >= 2.0.3 ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/35
.

from desk.

kushbhandari avatar kushbhandari commented on June 24, 2024

I tried running tests but ran into few errors like below:

/desk/spec/helper.rb:12:in `require': cannot load such file -- ruby-debug (LoadError)

Then I installed ruby-debug19 for this and updated Gemfile too. But still getting few more errors:

`require': dlopen(path/ruby-1.9.3-p448/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle, 9): Symbol not found: _ruby_current_thread (LoadError)
Referenced from: /.rvm/gems/ruby-1.9.3-p448/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle
Expected in: flat namespace
in/.rvm/gems/ruby-1.9.3-p448/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle - /.rvm/gems/ruby-1.9.3-p448/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle

I think I will keep on getting these errors to use this so I will stop here and ask if this is expected for Ruby version on my system.
My Ruby Version: ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-darwin13.0.1]

I am running tests by running:

rspec spec/desk_spec.rb

I am doing this before even upgrading hashie gem version. Please let me know if this is expected or I am into completely different direction.

Thanks,
Kush

from desk.

kushbhandari avatar kushbhandari commented on June 24, 2024

@chriswarren Another update:
I did below also:

bundle exec rake spec

And got almost similar errors:

/.rvm/gems/ruby-1.9.3-p448/gems/ruby-debug-base19-0.11.25/lib/ruby-debug-base.rb:1:in require': dlopen(/.rvm/gems/ruby-1.9.3-p448/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle, 9): Symbol not found: _ruby_current_thread (LoadError) Referenced from: /.rvm/gems/ruby-1.9.3-p448/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle Expected in: flat namespace in /.rvm/gems/ruby-1.9.3-p448/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle - /.rvm/gems/ruby-1.9.3-p448/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle from /.rvm/gems/ruby-1.9.3-p448/gems/ruby-debug-base19-0.11.25/lib/ruby-debug-base.rb:1:in<top (required)>'

from desk.

chriswarren avatar chriswarren commented on June 24, 2024

@kushbhandari Have you had any luck with this?

from desk.

kushbhandari avatar kushbhandari commented on June 24, 2024

Sorry for late reply, no I haven't tried enough after that. Will let you know if I am able to resolve this sometime later. I will close this issue for now and come back to open if need more information. Thanks.

from desk.

wkoffel avatar wkoffel commented on June 24, 2024

I'm running into this same issue. Did anyone find a work-around? My conflict is with elasticsearch-model gem which requires hashie > 2.1.1. The requirement for 1.x within desk is going to continue to bite more places.

from desk.

wkoffel avatar wkoffel commented on June 24, 2024

So I updated the gemspec on a branch, and didn't have any issues with the tests. Maybe there was something else going on with kushbhandari's setup. I created a pull request if you want to give it a go, Chris.

from desk.

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.