Ruby: bundle not working with rbenv (path name contains null byte (ArgumentError)Invalid date format specification in gemspecruby - heroku: command not foundBundle says gem is missing - but it's not?where are my gems installed with rbenv?Issues installing ActiveTcl with rbenvEvery chef commands gets error (Mac OS X)capistrano regenerating wrappers errorCould not find public_suffix-2.0.4 in any of the sourcesBundle not working with rbenv and cannot gem install bundlerRails: “bundle install” failed because of old rails version(3.2)
Can more than one instance of Bend Luck be applied to the same roll by multiple Wild Magic sorcerers?
Is my company merging branches wrong?
Are there any crystals that are theoretically possible, but haven't yet been made?
Working hours and productivity expectations for game artists and programmers
Why do academics prefer Mac/Linux?
What is the probability that two cards drawn from a deck are both face cards and at least one is red?
Failing students when it might cause them economic ruin
how to create an executable file for an AppleScript?
Does a windmilling propeller create more drag than a stopped propeller in an engine out scenario
How can I monitor the bulk API limit?
Why does Taylor’s series “work”?
Why is Drogon so much better in battle than Rhaegal and Viserion?
Does the usage of mathematical symbols work differently in books than in theses?
Prints each letter of a string in different colors
Who is frowning in the sentence "Daisy looked at Tom frowning"?
What's is the easiest way to purchase a stock and hold it
How to customize the pie chart background in PowerPoint?
How come Arya Stark wasn't hurt by this in Game of Thrones Season 8 Episode 5?
Cycling to work - 30mile return
I recently started my machine learning PhD and I have absolutely no idea what I'm doing
How can sister protect herself from impulse purchases with a credit card?
How did Arya not get burned in S8E05, "The Bells"?
Is there any deeper thematic meaning to the white horse that Arya finds in The Bells (S08E05)?
Why didn't Daenerys' advisers suggest assassinating Cersei?
Ruby: bundle not working with rbenv (path name contains null byte (ArgumentError)
Invalid date format specification in gemspecruby - heroku: command not foundBundle says gem is missing - but it's not?where are my gems installed with rbenv?Issues installing ActiveTcl with rbenvEvery chef commands gets error (Mac OS X)capistrano regenerating wrappers errorCould not find public_suffix-2.0.4 in any of the sourcesBundle not working with rbenv and cannot gem install bundlerRails: “bundle install” failed because of old rails version(3.2)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have created a RubyGem and today, I was going to update the dependencies, but now after I go to the gem's directory and type bundle install
I get this error, whose last line is:
/Users/myuser/.rbenv/versions/2.6.2/lib/ruby/2.6.0/rubygems/specification.rb:2663:in `directory?': path name contains null byte (ArgumentError)
I have reinstalled bundler, updated the system gem, etc., but nothing seems to be working. How can I avoid this?
Thanks a lot in advance!
ruby rubygems bundler rbenv
add a comment |
I have created a RubyGem and today, I was going to update the dependencies, but now after I go to the gem's directory and type bundle install
I get this error, whose last line is:
/Users/myuser/.rbenv/versions/2.6.2/lib/ruby/2.6.0/rubygems/specification.rb:2663:in `directory?': path name contains null byte (ArgumentError)
I have reinstalled bundler, updated the system gem, etc., but nothing seems to be working. How can I avoid this?
Thanks a lot in advance!
ruby rubygems bundler rbenv
are you sure you on the correct ruby version in the root path of your gem? Can you show the output ofgem env
– lacostenycoder
Mar 24 at 1:43
I have- RUBY VERSION: 2.6.2 (2019-03-13 patchlevel 47) [x86_64-darwin18] - INSTALLATION DIRECTORY: /Users/myuser/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0 - USER INSTALLATION DIRECTORY: /Users/myuser/.gem/ruby/2.6.0
could that be the problem? how could I change it?
– noloman
Mar 24 at 18:28
add a comment |
I have created a RubyGem and today, I was going to update the dependencies, but now after I go to the gem's directory and type bundle install
I get this error, whose last line is:
/Users/myuser/.rbenv/versions/2.6.2/lib/ruby/2.6.0/rubygems/specification.rb:2663:in `directory?': path name contains null byte (ArgumentError)
I have reinstalled bundler, updated the system gem, etc., but nothing seems to be working. How can I avoid this?
Thanks a lot in advance!
ruby rubygems bundler rbenv
I have created a RubyGem and today, I was going to update the dependencies, but now after I go to the gem's directory and type bundle install
I get this error, whose last line is:
/Users/myuser/.rbenv/versions/2.6.2/lib/ruby/2.6.0/rubygems/specification.rb:2663:in `directory?': path name contains null byte (ArgumentError)
I have reinstalled bundler, updated the system gem, etc., but nothing seems to be working. How can I avoid this?
Thanks a lot in advance!
ruby rubygems bundler rbenv
ruby rubygems bundler rbenv
asked Mar 23 at 17:31
nolomannoloman
5,471136396
5,471136396
are you sure you on the correct ruby version in the root path of your gem? Can you show the output ofgem env
– lacostenycoder
Mar 24 at 1:43
I have- RUBY VERSION: 2.6.2 (2019-03-13 patchlevel 47) [x86_64-darwin18] - INSTALLATION DIRECTORY: /Users/myuser/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0 - USER INSTALLATION DIRECTORY: /Users/myuser/.gem/ruby/2.6.0
could that be the problem? how could I change it?
– noloman
Mar 24 at 18:28
add a comment |
are you sure you on the correct ruby version in the root path of your gem? Can you show the output ofgem env
– lacostenycoder
Mar 24 at 1:43
I have- RUBY VERSION: 2.6.2 (2019-03-13 patchlevel 47) [x86_64-darwin18] - INSTALLATION DIRECTORY: /Users/myuser/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0 - USER INSTALLATION DIRECTORY: /Users/myuser/.gem/ruby/2.6.0
could that be the problem? how could I change it?
– noloman
Mar 24 at 18:28
are you sure you on the correct ruby version in the root path of your gem? Can you show the output of
gem env
– lacostenycoder
Mar 24 at 1:43
are you sure you on the correct ruby version in the root path of your gem? Can you show the output of
gem env
– lacostenycoder
Mar 24 at 1:43
I have
- RUBY VERSION: 2.6.2 (2019-03-13 patchlevel 47) [x86_64-darwin18] - INSTALLATION DIRECTORY: /Users/myuser/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0 - USER INSTALLATION DIRECTORY: /Users/myuser/.gem/ruby/2.6.0
could that be the problem? how could I change it?– noloman
Mar 24 at 18:28
I have
- RUBY VERSION: 2.6.2 (2019-03-13 patchlevel 47) [x86_64-darwin18] - INSTALLATION DIRECTORY: /Users/myuser/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0 - USER INSTALLATION DIRECTORY: /Users/myuser/.gem/ruby/2.6.0
could that be the problem? how could I change it?– noloman
Mar 24 at 18:28
add a comment |
2 Answers
2
active
oldest
votes
Check your gemspec
file, in my case I replaced by mistake the double quotes with single quotes around the null character.
- `git ls-files -z`.split('x0').reject f
+ `git ls-files -z`.split("x0").reject f
add a comment |
Go to the root of your project and run these commands
rbenv global 2.6.2
gem install bundler
rbenv rehash
bundle install
the same error comes after doingbundle install
– noloman
Mar 25 at 21:34
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55316513%2fruby-bundle-not-working-with-rbenv-path-name-contains-null-byte-argumenterror%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Check your gemspec
file, in my case I replaced by mistake the double quotes with single quotes around the null character.
- `git ls-files -z`.split('x0').reject f
+ `git ls-files -z`.split("x0").reject f
add a comment |
Check your gemspec
file, in my case I replaced by mistake the double quotes with single quotes around the null character.
- `git ls-files -z`.split('x0').reject f
+ `git ls-files -z`.split("x0").reject f
add a comment |
Check your gemspec
file, in my case I replaced by mistake the double quotes with single quotes around the null character.
- `git ls-files -z`.split('x0').reject f
+ `git ls-files -z`.split("x0").reject f
Check your gemspec
file, in my case I replaced by mistake the double quotes with single quotes around the null character.
- `git ls-files -z`.split('x0').reject f
+ `git ls-files -z`.split("x0").reject f
answered Apr 23 at 21:36
csoriacsoria
53847
53847
add a comment |
add a comment |
Go to the root of your project and run these commands
rbenv global 2.6.2
gem install bundler
rbenv rehash
bundle install
the same error comes after doingbundle install
– noloman
Mar 25 at 21:34
add a comment |
Go to the root of your project and run these commands
rbenv global 2.6.2
gem install bundler
rbenv rehash
bundle install
the same error comes after doingbundle install
– noloman
Mar 25 at 21:34
add a comment |
Go to the root of your project and run these commands
rbenv global 2.6.2
gem install bundler
rbenv rehash
bundle install
Go to the root of your project and run these commands
rbenv global 2.6.2
gem install bundler
rbenv rehash
bundle install
answered Mar 24 at 19:04
lacostenycoderlacostenycoder
4,94121431
4,94121431
the same error comes after doingbundle install
– noloman
Mar 25 at 21:34
add a comment |
the same error comes after doingbundle install
– noloman
Mar 25 at 21:34
the same error comes after doing
bundle install
– noloman
Mar 25 at 21:34
the same error comes after doing
bundle install
– noloman
Mar 25 at 21:34
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55316513%2fruby-bundle-not-working-with-rbenv-path-name-contains-null-byte-argumenterror%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
are you sure you on the correct ruby version in the root path of your gem? Can you show the output of
gem env
– lacostenycoder
Mar 24 at 1:43
I have
- RUBY VERSION: 2.6.2 (2019-03-13 patchlevel 47) [x86_64-darwin18] - INSTALLATION DIRECTORY: /Users/myuser/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0 - USER INSTALLATION DIRECTORY: /Users/myuser/.gem/ruby/2.6.0
could that be the problem? how could I change it?– noloman
Mar 24 at 18:28