wrong version of ruby recognized on windows

Multi tool use
I have an different version of ruby recognized by my windows10 cmd, even after I've uninstalled that version, and now it's preventing me from running bundle update or bundle install.
C:UsersmartiDocumentsprojectsdiscogsTaggerherokutest2jruby-getting-started>bundle install
Your Ruby version is 2.3.3, but your Gemfile specified 2.3.1
But if I run ruby -v, it says I have the correct version installed.
C:UsersmartiDocumentsprojectsdiscogsTaggerherokutest2jruby-getting-started>ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32]
I'm trying to host a rubyonrails app with heroku, and need to be running 2.3.1, which is what I have installed, but cmd still thinks I'm using 2.3.3, which I've uninstalled. Thanks
ruby-on-rails ruby version-control installation version
add a comment |
I have an different version of ruby recognized by my windows10 cmd, even after I've uninstalled that version, and now it's preventing me from running bundle update or bundle install.
C:UsersmartiDocumentsprojectsdiscogsTaggerherokutest2jruby-getting-started>bundle install
Your Ruby version is 2.3.3, but your Gemfile specified 2.3.1
But if I run ruby -v, it says I have the correct version installed.
C:UsersmartiDocumentsprojectsdiscogsTaggerherokutest2jruby-getting-started>ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32]
I'm trying to host a rubyonrails app with heroku, and need to be running 2.3.1, which is what I have installed, but cmd still thinks I'm using 2.3.3, which I've uninstalled. Thanks
ruby-on-rails ruby version-control installation version
add a comment |
I have an different version of ruby recognized by my windows10 cmd, even after I've uninstalled that version, and now it's preventing me from running bundle update or bundle install.
C:UsersmartiDocumentsprojectsdiscogsTaggerherokutest2jruby-getting-started>bundle install
Your Ruby version is 2.3.3, but your Gemfile specified 2.3.1
But if I run ruby -v, it says I have the correct version installed.
C:UsersmartiDocumentsprojectsdiscogsTaggerherokutest2jruby-getting-started>ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32]
I'm trying to host a rubyonrails app with heroku, and need to be running 2.3.1, which is what I have installed, but cmd still thinks I'm using 2.3.3, which I've uninstalled. Thanks
ruby-on-rails ruby version-control installation version
I have an different version of ruby recognized by my windows10 cmd, even after I've uninstalled that version, and now it's preventing me from running bundle update or bundle install.
C:UsersmartiDocumentsprojectsdiscogsTaggerherokutest2jruby-getting-started>bundle install
Your Ruby version is 2.3.3, but your Gemfile specified 2.3.1
But if I run ruby -v, it says I have the correct version installed.
C:UsersmartiDocumentsprojectsdiscogsTaggerherokutest2jruby-getting-started>ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32]
I'm trying to host a rubyonrails app with heroku, and need to be running 2.3.1, which is what I have installed, but cmd still thinks I'm using 2.3.3, which I've uninstalled. Thanks
ruby-on-rails ruby version-control installation version
ruby-on-rails ruby version-control installation version
asked Dec 30 '18 at 0:55


MartinMartin
88118
88118
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Install the latest version of rails (my preference is the install rails website).
Then you want to type:
$rvm use ruby-2.3.1
I believe this will force your system to use that specific version of ruby. While I believe this will work alone, if rails throws some errors, try this:
$gem update rails --no-ri --no-rdoc
side note I know your question is about ruby, but the rails installer should handle ruby too, and I see that your question is still externally in regards to rails.
@Martin No problem. I've added a small step just in case.
– Terry Dorsey
Dec 30 '18 at 1:19
does railsinstaller automatically download rvm ? win10 command prompt says command not found
– Martin
Dec 30 '18 at 1:40
Yes it does. The rails installer downloads and installs the "ruby version manager". For your future reference, anytime you try a command in cmd and it says "command not found" or something like that, it is because you are not in the directory where the executable is located. Browse to the directory where rvm is installed and try the commands there. Alternatively, you could add the rvm directory to your system path to be able to run it from any directory. Also, runnig cmd "with ruby-on-rails" may allow you to run rvm commands from anywhere. Not positive though.
– Terry Dorsey
Dec 30 '18 at 15:29
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%2f53974509%2fwrong-version-of-ruby-recognized-on-windows%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Install the latest version of rails (my preference is the install rails website).
Then you want to type:
$rvm use ruby-2.3.1
I believe this will force your system to use that specific version of ruby. While I believe this will work alone, if rails throws some errors, try this:
$gem update rails --no-ri --no-rdoc
side note I know your question is about ruby, but the rails installer should handle ruby too, and I see that your question is still externally in regards to rails.
@Martin No problem. I've added a small step just in case.
– Terry Dorsey
Dec 30 '18 at 1:19
does railsinstaller automatically download rvm ? win10 command prompt says command not found
– Martin
Dec 30 '18 at 1:40
Yes it does. The rails installer downloads and installs the "ruby version manager". For your future reference, anytime you try a command in cmd and it says "command not found" or something like that, it is because you are not in the directory where the executable is located. Browse to the directory where rvm is installed and try the commands there. Alternatively, you could add the rvm directory to your system path to be able to run it from any directory. Also, runnig cmd "with ruby-on-rails" may allow you to run rvm commands from anywhere. Not positive though.
– Terry Dorsey
Dec 30 '18 at 15:29
add a comment |
Install the latest version of rails (my preference is the install rails website).
Then you want to type:
$rvm use ruby-2.3.1
I believe this will force your system to use that specific version of ruby. While I believe this will work alone, if rails throws some errors, try this:
$gem update rails --no-ri --no-rdoc
side note I know your question is about ruby, but the rails installer should handle ruby too, and I see that your question is still externally in regards to rails.
@Martin No problem. I've added a small step just in case.
– Terry Dorsey
Dec 30 '18 at 1:19
does railsinstaller automatically download rvm ? win10 command prompt says command not found
– Martin
Dec 30 '18 at 1:40
Yes it does. The rails installer downloads and installs the "ruby version manager". For your future reference, anytime you try a command in cmd and it says "command not found" or something like that, it is because you are not in the directory where the executable is located. Browse to the directory where rvm is installed and try the commands there. Alternatively, you could add the rvm directory to your system path to be able to run it from any directory. Also, runnig cmd "with ruby-on-rails" may allow you to run rvm commands from anywhere. Not positive though.
– Terry Dorsey
Dec 30 '18 at 15:29
add a comment |
Install the latest version of rails (my preference is the install rails website).
Then you want to type:
$rvm use ruby-2.3.1
I believe this will force your system to use that specific version of ruby. While I believe this will work alone, if rails throws some errors, try this:
$gem update rails --no-ri --no-rdoc
side note I know your question is about ruby, but the rails installer should handle ruby too, and I see that your question is still externally in regards to rails.
Install the latest version of rails (my preference is the install rails website).
Then you want to type:
$rvm use ruby-2.3.1
I believe this will force your system to use that specific version of ruby. While I believe this will work alone, if rails throws some errors, try this:
$gem update rails --no-ri --no-rdoc
side note I know your question is about ruby, but the rails installer should handle ruby too, and I see that your question is still externally in regards to rails.
edited Dec 30 '18 at 1:18
answered Dec 30 '18 at 1:02


Terry DorseyTerry Dorsey
608
608
@Martin No problem. I've added a small step just in case.
– Terry Dorsey
Dec 30 '18 at 1:19
does railsinstaller automatically download rvm ? win10 command prompt says command not found
– Martin
Dec 30 '18 at 1:40
Yes it does. The rails installer downloads and installs the "ruby version manager". For your future reference, anytime you try a command in cmd and it says "command not found" or something like that, it is because you are not in the directory where the executable is located. Browse to the directory where rvm is installed and try the commands there. Alternatively, you could add the rvm directory to your system path to be able to run it from any directory. Also, runnig cmd "with ruby-on-rails" may allow you to run rvm commands from anywhere. Not positive though.
– Terry Dorsey
Dec 30 '18 at 15:29
add a comment |
@Martin No problem. I've added a small step just in case.
– Terry Dorsey
Dec 30 '18 at 1:19
does railsinstaller automatically download rvm ? win10 command prompt says command not found
– Martin
Dec 30 '18 at 1:40
Yes it does. The rails installer downloads and installs the "ruby version manager". For your future reference, anytime you try a command in cmd and it says "command not found" or something like that, it is because you are not in the directory where the executable is located. Browse to the directory where rvm is installed and try the commands there. Alternatively, you could add the rvm directory to your system path to be able to run it from any directory. Also, runnig cmd "with ruby-on-rails" may allow you to run rvm commands from anywhere. Not positive though.
– Terry Dorsey
Dec 30 '18 at 15:29
@Martin No problem. I've added a small step just in case.
– Terry Dorsey
Dec 30 '18 at 1:19
@Martin No problem. I've added a small step just in case.
– Terry Dorsey
Dec 30 '18 at 1:19
does railsinstaller automatically download rvm ? win10 command prompt says command not found
– Martin
Dec 30 '18 at 1:40
does railsinstaller automatically download rvm ? win10 command prompt says command not found
– Martin
Dec 30 '18 at 1:40
Yes it does. The rails installer downloads and installs the "ruby version manager". For your future reference, anytime you try a command in cmd and it says "command not found" or something like that, it is because you are not in the directory where the executable is located. Browse to the directory where rvm is installed and try the commands there. Alternatively, you could add the rvm directory to your system path to be able to run it from any directory. Also, runnig cmd "with ruby-on-rails" may allow you to run rvm commands from anywhere. Not positive though.
– Terry Dorsey
Dec 30 '18 at 15:29
Yes it does. The rails installer downloads and installs the "ruby version manager". For your future reference, anytime you try a command in cmd and it says "command not found" or something like that, it is because you are not in the directory where the executable is located. Browse to the directory where rvm is installed and try the commands there. Alternatively, you could add the rvm directory to your system path to be able to run it from any directory. Also, runnig cmd "with ruby-on-rails" may allow you to run rvm commands from anywhere. Not positive though.
– Terry Dorsey
Dec 30 '18 at 15:29
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%2f53974509%2fwrong-version-of-ruby-recognized-on-windows%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
yiJk3ALRdIK8,JUC6NkW1mpp,jK,C hkJXJM,14qphFN,6,O,OOD1f drfl8zJB3Az,SEuuncehfxrzjzdV SNUvJDGO4JJGZNal1syQ5jSCgZ