alex@ubuntu:~/Documents/ruby_projects/my_project$ rvm --create --rvmrc 1.9.3@my_project
this one gives me
RVM is not a function, selecting rubies with 'rvm use ...' will not work.
You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for a example.
Why am I unable to create rvmrc this way?
It could be you’ve corrupted your
rvminstallation somehow. It may be possible to fix it by wrecking around in the various shell script files it incorporates, but the easiest way to cure that problem is to re-install it.If re-installing on top of your existing install doesn’t work, try removing it completely before installing with:
It’s usually best to create a new shell after it’s been destroyed in order to start with a clean-slate. RVM has all kinds of hooks that can persist in any existing shells even after it’s been imploded.