I know there have been several posts on this, but for some reason my iPhone is saying i don't have enough space to install rvm through the command line. I know I have 12.5 GB open on my iPhone 3GS. I run the install command and I get this error:

================================================== ================================
Phone:~ root# \curl -sSL https://get.rvm.io | bash -s stable --ruby
Downloading https://github.com/wayneeseguin/rvm/.../stable.tar.gz
Creating group 'rvm'
./scripts/functions/group: line 97: dscl: command not found
./scripts/functions/utility: line 377: dscl: command not found

Upgrading the RVM installation in /usr/local/rvm/
stat: cannot read file system information for `%Sg': No such file or directory
chown: invalid group: `:rvm'
could not set group of '/usr/local/rvm/man/man1/rvm.1', prefix the command with 'rvmsudo' to fix it, if the situation persist report a bug.
stat: cannot read file system information for `%Sp': No such file or directory
stat: cannot read file system information for `%Sg': No such file or directory
chown: invalid group: `:rvm'
could not set group of '/usr/local/rvm/man/man1/rvm.1.gz', prefix the command with 'rvmsudo' to fix it, if the situation persist report a bug.
stat: cannot read file system information for `%Sp': No such file or directory
stat: cannot read file system information for `%Sg': No such file or directory
chown: invalid group: `:rvm'
could not set group of '/etc/rvmrc', prefix the command with 'rvmsudo' to fix it, if the situation persist report a bug.
stat: cannot read file system information for `%Sp': No such file or directory
chown: invalid group: `root:rvm'
find: invalid argument `rvm' to `-group'
Upgrade of RVM in /usr/local/rvm/ is complete.

# Administrator,
#
# Thank you for using RVM!
# We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne, Michal & team.

In case of problems: RVM: Ruby Version Manager - RVM Support and https://twitter.com/rvm_io

Upgrade Notes:


* WARNING: you are missing '/dev/fd' it is important for shell scripting used by RVM,
You can fix it on most linux systems with:

ln -sf /proc/self/fd /dev/fd

/usr/local/rvm/scripts/functions/utility_system: line 387: dscl: command not found
Error checking user shell via dscl ... something went wrong, report a bug.
* No new notes to display.


rvm 1.25.18 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]

Searching for binary rubies, this might take some time.
No binary rubies available for: osx/6.1/iPhone2,1/ruby-2.1.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Not enough space (232MB) to install ruby (440MB).

================================================== ================================

I know when you download something through cydia, it puts it on the main partition but that doesn't appear happen when I install things through the command line. Any idea on how to fix this? Thanks!