ruby-1.9.3 on Debian Squeeze and Ubuntu with RVM
Tested on:
- Debian Squeeze
- Ubuntu 12.04.3 LTS
yourshell> curl https://raw.github.com/fabiop/ruby-1.9.3-on-debian-squeeze/master/install.sh| bash
Once rvm is installed you can do things like these:
yourshell> rvm use 1.9.3
Using /usr/local/rvm/gems/ruby-1.9.3-p448
yourshell> ruby -v
ruby 1.9.3p448 (2013-06-27 revision 41675) [i686-linux]
yourshell> rvm use system
Now using system ruby.
yourshell> ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [i486-linux]
Huzzah!
Found great help in this post: http://blog.binarybalance.com.au/2011/10/31/compiling-ruby-1-9-3-on-debian-squeeze
- Author:: Fabio Pedrazzoli [email protected]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.