Skip to content

Bundle install #102

Open
Open

Description

@Ovayo

bundle install --without production, can you please revise this line? I'm using windows and I get an error every time.

Activity

  1. Ovayo commented on Mar 5, 2015

    @Ovayo
    Author

    sorry, I was missing '' inside bundle install --without production.
    Thanks

  2. schleary commented on Mar 24, 2015

    @schleary

    I'm having this problem as well. What exactly do I need to type? I've tried:
    bundle install --without production
    and
    bundle install ''--without production

    The response I get is "Could not locate Gemfile"

    Edit: nevermind, I didn't cd into the project!

  3. nmenag commented on Jul 10, 2016

    @nmenag

    please view this issue #114

  4. DcubeIT commented on Jun 20, 2019

    @DcubeIT

    when i run bundle install/ bundle / bundle install -without production, runs and stops @ this point giving me this error .
    "An error occurred while installing json (1.7.7), and Bundler cannot continue.
    Make sure that gem install json -v '1.7.7' succeeds before bundling."

    plase Any Help

    and When I run `gem install json -v '1.7.7
    Building native extensions. This could take a while...
    ERROR: Error installing json:
    ERROR: Failed to build gem native extension.

    current directory: /home/seg/.rbenv/versions/2.4.4/lib/ruby/gems/2.4.0/gems/json-1.7.7/ext/json/ext/generator
    

    /home/seg/.rbenv/versions/2.4.4/bin/ruby -r ./siteconf20190620-14034-1eiciim.rb extconf.rb
    creating Makefile

    current directory: /home/seg/.rbenv/versions/2.4.4/lib/ruby/gems/2.4.0/gems/json-1.7.7/ext/json/ext/generator
    make "DESTDIR=" clean

    current directory: /home/seg/.rbenv/versions/2.4.4/lib/ruby/gems/2.4.0/gems/json-1.7.7/ext/json/ext/generator
    make "DESTDIR="
    compiling generator.c
    In file included from generator.c:1:0:
    ../fbuffer/fbuffer.h: In function ‘fbuffer_to_s’:
    ../fbuffer/fbuffer.h:175:47: error: macro "rb_str_new" requires 2 arguments, but only 1 given
    VALUE result = rb_str_new(FBUFFER_PAIR(fb));
    ^
    ../fbuffer/fbuffer.h:175:20: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
    VALUE result = rb_str_new(FBUFFER_PAIR(fb));
    ^~~~~~~~~~
    generator.c: In function ‘generate_json’:
    generator.c:832:25: error: ‘rb_cFixnum’ undeclared (first use in this function); did you mean ‘mFixnum’?
    } else if (klass == rb_cFixnum) {
    ^~~~~~~~~~
    mFixnum
    generator.c:832:25: note: each undeclared identifier is reported only once for each function it appears in
    generator.c:834:25: error: ‘rb_cBignum’ undeclared (first use in this function); did you mean ‘rb_cFixnum’?
    } else if (klass == rb_cBignum) {
    ^~~~~~~~~~
    rb_cFixnum
    generator.c: At top level:
    cc1: warning: unrecognized command line option ‘-Wno-self-assign’
    cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
    cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
    Makefile:241: recipe for target 'generator.o' failed
    make: *** [generator.o] Error 1

    make failed, exit code 2

    Gem files will remain installed in /home/seg/.rbenv/versions/2.4.4/lib/ruby/gems/2.4.0/gems/json-1.7.7 for inspection.
    Results logged to /home/seg/.rbenv/versions/2.4.4/lib/ruby/gems/2.4.0/extensions/x86_64-linux/2.4.0-static/json-1.7.7/gem_make.out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions