Git Product home page Git Product logo

Comments (6)

plexus avatar plexus commented on June 24, 2024

Hi Vitoria,

Do you still have the output of the script?

Please open a new terminal and copy the output of these commands to help me diagnose

echo $SHELL
grep rvm ~/.profile ~/.bashrc ~/.bash_profile ~/.zshrc
ls -l ~/.rvm/scripts/rvm
which rvm
which ruby
which gem
which bundle
which rails
ruby --version
rails --version

Thanks,
Arne

from installation-scripts.

vitoriavasconcelos avatar vitoriavasconcelos commented on June 24, 2024

Hi, Arne :)

Unfortunately, I don't have the script output anymore! Here are the commands result:

captura de tela de 2013-10-10 22 05 13

I thought it could be related to gem install rails. BTW, ubuntu 13.04 version is not so stable yet... Then I found something related to it at stackoverflow. The problem was solved running:

sudo apt-get build-dep ruby rubygems rails
sudo gem install rails

from installation-scripts.

plexus avatar plexus commented on June 24, 2024

Hi Vitoria,

While that works, it's not exactly recommended. The problem is you are using the Ruby that was already installed on your system, rather than the one installed by RVM (the Ruby Version Manager). Because of that you need to do "sudo gem install ....", rather than just "gem install".

RVM normally installs a separate ruby under your own home directory, so you have an isolated environment. If you mess it up it won't affect the rest of your system, and you won't need "admin/super user/sudo" access to install gems.

It seems rvm is installed, but it might not be set up correctly (this happens on Ubuntu sometimes).

Try this

type rvm | head -1

If that says "rvm is a function", then all is good, and you should be able to see the installed rubies with rvm list. To select a specific one and set it as the future default use rvm use 1.9.3 --default. If there are no rubies in the list, do rvm install 1.9.3 first.

If it says "rvm is /home/vitoria/.rvm/bin/rvm" then all is not good, it means rvm is installed but not loaded correctly.

echo ". ~/.rvm/scripts/rvm" >> .profile

Then close your terminal, open it again, and try again type rvm | head -1. It should now (hopefully say) rvm is a function, and you can continue with the instructions above :)

Hope that helps. Sorry for the long explanation, I know you just want to get it working! I just want to make sure all is good so you don't run into trouble later on.

from installation-scripts.

vitoriavasconcelos avatar vitoriavasconcelos commented on June 24, 2024

Thank you so much, I'm sorry for that!

from installation-scripts.

plexus avatar plexus commented on June 24, 2024

No problem, did it work?
On 12 Oct 2013 04:03, "Vitória Vasconcelos" [email protected]
wrote:

Thank you so much, I'm sorry for that!


Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-26188741
.

from installation-scripts.

vitoriavasconcelos avatar vitoriavasconcelos commented on June 24, 2024

Not really... But, I did an downgrade and now everything is fine!

from installation-scripts.

Related Issues (16)

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.