Comments (6)
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.
Hi, Arne :)
Unfortunately, I don't have the script output anymore! Here are the commands result:
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.
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.
Thank you so much, I'm sorry for that!
from installation-scripts.
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.
Not really... But, I did an downgrade and now everything is fine!
from installation-scripts.
Related Issues (16)
- Add link to boxen setup scripts? HOT 6
- rails-install-fedora might not need to install RVM
- Installer stops working when using .bash_profile HOT 5
- Ubuntu install script - ruby version that is no longer maintained HOT 1
- Linux install guide/script is super out of date HOT 2
- rails-install-fedora.sh out of date rvm and ruby
- rails-install-fedora.sh out of date nodejs install for CentOS 6.6 HOT 1
- E: Unable to locate package libreadline for rails-install-ubuntu.sh
- Ubuntu script failing due to invalid link HOT 2
- Ubuntu script does not yet support xenial
- Need to install curl before being able to run Ubuntu installer (which installs curl).
- rails isn't installed HOT 3
- Change NodeJS repository to Node Source from Chris Lea HOT 2
- Ubuntu script does not yet support Cosmic Cuttlefish during node installation HOT 3
- public key not found for rvm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installation-scripts.