I downloaded ruby-install version 0.6.1 and for some reason I get this make error:
*** No rule to make target 'install'. Stop.
What can I do to fix this?
deploy@blah:~$ sudo ls /root/
ruby-install-0.6.1 ruby-install.tar.gz
deploy@blah:~$ sudo make /root/ruby-install-0.6.1/ install
make: Nothing to be done for '/root/ruby-install-0.6.1/'.
make: *** No rule to make target 'install'. Stop.
Update
I went into the directory now:
root@blah:~/ruby-install-0.6.1# sudo make install
for dir in `find bin share -type d`; do mkdir -p /usr/local/$dir; done
for file in `find bin share -type f`; do cp $file /usr/local/$file; done
mkdir -p /usr/local/share/doc/ruby-install-0.6.1
cp -r *.md *.txt /usr/local/share/doc/ruby-install-0.6.1/
Did this work?
You need to cd
into the directory, not pass the directory as an argument to make
. E.g.
cd ruby-install-0.6.1
sudo make install