how to completely uninstall ruby + gems + rails out of my Ubuntu 14.04 and then start installing them as...
I am having a lot of issues on ruby & gem installation due to which my running projects are stopped working.
Current issues
Can anyone please guide me on "how to completely uninstall ruby + gems + rails out of my Ubuntu 14.04 and then start installing them as fresh".
I am also unable to remove this. Maybe once I completely throughout of my system. It may allow me to fresh install ruby n rails. Looking into this in order to make things work again.
Can anyone help?
If you can see my question up there, I have rbenv, ruby and rails
installed and a lot more. I am not able to run it though. And due to which I am thinking of removing it out of my system and install them as fresh. Today, I somehow was able to fix a few issues and created a new rails application and started the server using MySQL. But, its too showing errors on other ruby lib command: rails script/generate model Book
Rails is throwing me errors.
/home/<user>/.rvm/gems/ruby-2.5.3/gems/railties-5.2.1/lib/rails/app_loader.rb:53: warning: Insecure world writable dir /home/<user>/.rvm/gems/ruby-2.5.3/bin in PATH, mode 040777
rails aborted!
Don't know how to build task 'script/generate' (see --tasks)
Can anyone help?
ruby-on-rails ruby
add a comment |
I am having a lot of issues on ruby & gem installation due to which my running projects are stopped working.
Current issues
Can anyone please guide me on "how to completely uninstall ruby + gems + rails out of my Ubuntu 14.04 and then start installing them as fresh".
I am also unable to remove this. Maybe once I completely throughout of my system. It may allow me to fresh install ruby n rails. Looking into this in order to make things work again.
Can anyone help?
If you can see my question up there, I have rbenv, ruby and rails
installed and a lot more. I am not able to run it though. And due to which I am thinking of removing it out of my system and install them as fresh. Today, I somehow was able to fix a few issues and created a new rails application and started the server using MySQL. But, its too showing errors on other ruby lib command: rails script/generate model Book
Rails is throwing me errors.
/home/<user>/.rvm/gems/ruby-2.5.3/gems/railties-5.2.1/lib/rails/app_loader.rb:53: warning: Insecure world writable dir /home/<user>/.rvm/gems/ruby-2.5.3/bin in PATH, mode 040777
rails aborted!
Don't know how to build task 'script/generate' (see --tasks)
Can anyone help?
ruby-on-rails ruby
Without knowing how you installed those packages, it's difficult to help you untangle them.
– Volte
Nov 22 '18 at 15:01
I installed gems usingrvm
andrvm
andruby & rails
usingubuntu apt-get
– Curious Developer
Nov 23 '18 at 10:13
add a comment |
I am having a lot of issues on ruby & gem installation due to which my running projects are stopped working.
Current issues
Can anyone please guide me on "how to completely uninstall ruby + gems + rails out of my Ubuntu 14.04 and then start installing them as fresh".
I am also unable to remove this. Maybe once I completely throughout of my system. It may allow me to fresh install ruby n rails. Looking into this in order to make things work again.
Can anyone help?
If you can see my question up there, I have rbenv, ruby and rails
installed and a lot more. I am not able to run it though. And due to which I am thinking of removing it out of my system and install them as fresh. Today, I somehow was able to fix a few issues and created a new rails application and started the server using MySQL. But, its too showing errors on other ruby lib command: rails script/generate model Book
Rails is throwing me errors.
/home/<user>/.rvm/gems/ruby-2.5.3/gems/railties-5.2.1/lib/rails/app_loader.rb:53: warning: Insecure world writable dir /home/<user>/.rvm/gems/ruby-2.5.3/bin in PATH, mode 040777
rails aborted!
Don't know how to build task 'script/generate' (see --tasks)
Can anyone help?
ruby-on-rails ruby
I am having a lot of issues on ruby & gem installation due to which my running projects are stopped working.
Current issues
Can anyone please guide me on "how to completely uninstall ruby + gems + rails out of my Ubuntu 14.04 and then start installing them as fresh".
I am also unable to remove this. Maybe once I completely throughout of my system. It may allow me to fresh install ruby n rails. Looking into this in order to make things work again.
Can anyone help?
If you can see my question up there, I have rbenv, ruby and rails
installed and a lot more. I am not able to run it though. And due to which I am thinking of removing it out of my system and install them as fresh. Today, I somehow was able to fix a few issues and created a new rails application and started the server using MySQL. But, its too showing errors on other ruby lib command: rails script/generate model Book
Rails is throwing me errors.
/home/<user>/.rvm/gems/ruby-2.5.3/gems/railties-5.2.1/lib/rails/app_loader.rb:53: warning: Insecure world writable dir /home/<user>/.rvm/gems/ruby-2.5.3/bin in PATH, mode 040777
rails aborted!
Don't know how to build task 'script/generate' (see --tasks)
Can anyone help?
ruby-on-rails ruby
ruby-on-rails ruby
edited Nov 23 '18 at 13:10
Curious Developer
asked Nov 22 '18 at 12:58
Curious DeveloperCurious Developer
158316
158316
Without knowing how you installed those packages, it's difficult to help you untangle them.
– Volte
Nov 22 '18 at 15:01
I installed gems usingrvm
andrvm
andruby & rails
usingubuntu apt-get
– Curious Developer
Nov 23 '18 at 10:13
add a comment |
Without knowing how you installed those packages, it's difficult to help you untangle them.
– Volte
Nov 22 '18 at 15:01
I installed gems usingrvm
andrvm
andruby & rails
usingubuntu apt-get
– Curious Developer
Nov 23 '18 at 10:13
Without knowing how you installed those packages, it's difficult to help you untangle them.
– Volte
Nov 22 '18 at 15:01
Without knowing how you installed those packages, it's difficult to help you untangle them.
– Volte
Nov 22 '18 at 15:01
I installed gems using
rvm
and rvm
and ruby & rails
using ubuntu apt-get
– Curious Developer
Nov 23 '18 at 10:13
I installed gems using
rvm
and rvm
and ruby & rails
using ubuntu apt-get
– Curious Developer
Nov 23 '18 at 10:13
add a comment |
2 Answers
2
active
oldest
votes
I highly highly recommend not touching the built-in ruby/rails/gems installation.
It's pretty standard these days to use a very lightweight manager, like rbenv which allows you to work with multiple versions of ruby, each with it's own installations of gems. There is also rvm, which is a heavier manager and a bit more invasive.
Yes, you are absolutely right about it. But, I don't have much information on Ubuntu system when start throwing errors. Now, my PC is throwing errors when I try to run ruby application. And, this installation fixing & uninstalling s/w have uninstalled my pgAdmin and maybe databases as well. I need to either fix the setup or remove it completely and then reinstall it.
– Curious Developer
Nov 22 '18 at 16:44
Or Maybe you can help me resolving the issue, I am currently having. I am clue less.
– Curious Developer
Nov 23 '18 at 10:14
add a comment |
install the newer versions with rbenv
- brew install rbenv
- rbenv init
- Close your Terminal window and open a new one so your changes take effect.
- Verify that rbenv is properly set up using this rbenv-doctor script.
- rbenv install.
brew upgrade rbenv ruby-build
and then install rails
ruby on rails setup
for database i preferred sqlite browser
Hi, I think you didn't read my question properly.
– Curious Developer
Nov 23 '18 at 13:11
I have updated my question description about the progress I achieved today. Please check and give me solutions if you can. Thanks
– Curious Developer
Nov 23 '18 at 13:12
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%2f53431575%2fhow-to-completely-uninstall-ruby-gems-rails-out-of-my-ubuntu-14-04-and-then%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
I highly highly recommend not touching the built-in ruby/rails/gems installation.
It's pretty standard these days to use a very lightweight manager, like rbenv which allows you to work with multiple versions of ruby, each with it's own installations of gems. There is also rvm, which is a heavier manager and a bit more invasive.
Yes, you are absolutely right about it. But, I don't have much information on Ubuntu system when start throwing errors. Now, my PC is throwing errors when I try to run ruby application. And, this installation fixing & uninstalling s/w have uninstalled my pgAdmin and maybe databases as well. I need to either fix the setup or remove it completely and then reinstall it.
– Curious Developer
Nov 22 '18 at 16:44
Or Maybe you can help me resolving the issue, I am currently having. I am clue less.
– Curious Developer
Nov 23 '18 at 10:14
add a comment |
I highly highly recommend not touching the built-in ruby/rails/gems installation.
It's pretty standard these days to use a very lightweight manager, like rbenv which allows you to work with multiple versions of ruby, each with it's own installations of gems. There is also rvm, which is a heavier manager and a bit more invasive.
Yes, you are absolutely right about it. But, I don't have much information on Ubuntu system when start throwing errors. Now, my PC is throwing errors when I try to run ruby application. And, this installation fixing & uninstalling s/w have uninstalled my pgAdmin and maybe databases as well. I need to either fix the setup or remove it completely and then reinstall it.
– Curious Developer
Nov 22 '18 at 16:44
Or Maybe you can help me resolving the issue, I am currently having. I am clue less.
– Curious Developer
Nov 23 '18 at 10:14
add a comment |
I highly highly recommend not touching the built-in ruby/rails/gems installation.
It's pretty standard these days to use a very lightweight manager, like rbenv which allows you to work with multiple versions of ruby, each with it's own installations of gems. There is also rvm, which is a heavier manager and a bit more invasive.
I highly highly recommend not touching the built-in ruby/rails/gems installation.
It's pretty standard these days to use a very lightweight manager, like rbenv which allows you to work with multiple versions of ruby, each with it's own installations of gems. There is also rvm, which is a heavier manager and a bit more invasive.
answered Nov 22 '18 at 15:00
VolteVolte
1,5691322
1,5691322
Yes, you are absolutely right about it. But, I don't have much information on Ubuntu system when start throwing errors. Now, my PC is throwing errors when I try to run ruby application. And, this installation fixing & uninstalling s/w have uninstalled my pgAdmin and maybe databases as well. I need to either fix the setup or remove it completely and then reinstall it.
– Curious Developer
Nov 22 '18 at 16:44
Or Maybe you can help me resolving the issue, I am currently having. I am clue less.
– Curious Developer
Nov 23 '18 at 10:14
add a comment |
Yes, you are absolutely right about it. But, I don't have much information on Ubuntu system when start throwing errors. Now, my PC is throwing errors when I try to run ruby application. And, this installation fixing & uninstalling s/w have uninstalled my pgAdmin and maybe databases as well. I need to either fix the setup or remove it completely and then reinstall it.
– Curious Developer
Nov 22 '18 at 16:44
Or Maybe you can help me resolving the issue, I am currently having. I am clue less.
– Curious Developer
Nov 23 '18 at 10:14
Yes, you are absolutely right about it. But, I don't have much information on Ubuntu system when start throwing errors. Now, my PC is throwing errors when I try to run ruby application. And, this installation fixing & uninstalling s/w have uninstalled my pgAdmin and maybe databases as well. I need to either fix the setup or remove it completely and then reinstall it.
– Curious Developer
Nov 22 '18 at 16:44
Yes, you are absolutely right about it. But, I don't have much information on Ubuntu system when start throwing errors. Now, my PC is throwing errors when I try to run ruby application. And, this installation fixing & uninstalling s/w have uninstalled my pgAdmin and maybe databases as well. I need to either fix the setup or remove it completely and then reinstall it.
– Curious Developer
Nov 22 '18 at 16:44
Or Maybe you can help me resolving the issue, I am currently having. I am clue less.
– Curious Developer
Nov 23 '18 at 10:14
Or Maybe you can help me resolving the issue, I am currently having. I am clue less.
– Curious Developer
Nov 23 '18 at 10:14
add a comment |
install the newer versions with rbenv
- brew install rbenv
- rbenv init
- Close your Terminal window and open a new one so your changes take effect.
- Verify that rbenv is properly set up using this rbenv-doctor script.
- rbenv install.
brew upgrade rbenv ruby-build
and then install rails
ruby on rails setup
for database i preferred sqlite browser
Hi, I think you didn't read my question properly.
– Curious Developer
Nov 23 '18 at 13:11
I have updated my question description about the progress I achieved today. Please check and give me solutions if you can. Thanks
– Curious Developer
Nov 23 '18 at 13:12
add a comment |
install the newer versions with rbenv
- brew install rbenv
- rbenv init
- Close your Terminal window and open a new one so your changes take effect.
- Verify that rbenv is properly set up using this rbenv-doctor script.
- rbenv install.
brew upgrade rbenv ruby-build
and then install rails
ruby on rails setup
for database i preferred sqlite browser
Hi, I think you didn't read my question properly.
– Curious Developer
Nov 23 '18 at 13:11
I have updated my question description about the progress I achieved today. Please check and give me solutions if you can. Thanks
– Curious Developer
Nov 23 '18 at 13:12
add a comment |
install the newer versions with rbenv
- brew install rbenv
- rbenv init
- Close your Terminal window and open a new one so your changes take effect.
- Verify that rbenv is properly set up using this rbenv-doctor script.
- rbenv install.
brew upgrade rbenv ruby-build
and then install rails
ruby on rails setup
for database i preferred sqlite browser
install the newer versions with rbenv
- brew install rbenv
- rbenv init
- Close your Terminal window and open a new one so your changes take effect.
- Verify that rbenv is properly set up using this rbenv-doctor script.
- rbenv install.
brew upgrade rbenv ruby-build
and then install rails
ruby on rails setup
for database i preferred sqlite browser
answered Nov 23 '18 at 11:58
adarshadarsh
12411
12411
Hi, I think you didn't read my question properly.
– Curious Developer
Nov 23 '18 at 13:11
I have updated my question description about the progress I achieved today. Please check and give me solutions if you can. Thanks
– Curious Developer
Nov 23 '18 at 13:12
add a comment |
Hi, I think you didn't read my question properly.
– Curious Developer
Nov 23 '18 at 13:11
I have updated my question description about the progress I achieved today. Please check and give me solutions if you can. Thanks
– Curious Developer
Nov 23 '18 at 13:12
Hi, I think you didn't read my question properly.
– Curious Developer
Nov 23 '18 at 13:11
Hi, I think you didn't read my question properly.
– Curious Developer
Nov 23 '18 at 13:11
I have updated my question description about the progress I achieved today. Please check and give me solutions if you can. Thanks
– Curious Developer
Nov 23 '18 at 13:12
I have updated my question description about the progress I achieved today. Please check and give me solutions if you can. Thanks
– Curious Developer
Nov 23 '18 at 13:12
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%2f53431575%2fhow-to-completely-uninstall-ruby-gems-rails-out-of-my-ubuntu-14-04-and-then%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
Without knowing how you installed those packages, it's difficult to help you untangle them.
– Volte
Nov 22 '18 at 15:01
I installed gems using
rvm
andrvm
andruby & rails
usingubuntu apt-get
– Curious Developer
Nov 23 '18 at 10:13