sudo aptitude update sudo aptitude install build-essential sudo aptitude install ruby1.8-dev ruby1.8 ri1.8 rdoc1.8 irb1.8 libreadline-ruby1.8 libruby1.8 libopenssl-ruby sudo aptitude install libssl-dev libreadline5-dev zlib1g-dev sudo ln -s /usr/bin/ruby1.8 /usr/local/bin/ruby sudo ln -s /usr/bin/ri1.8 /usr/local/bin/ri sudo ln -s /usr/bin/rdoc1.8 /usr/local/bin/rdoc sudo ln -s /usr/bin/irb1.8 /usr/local/bin/irb http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p249.tar.gz tar xzvf ruby-1.8.7-p249.tar.gz cd ruby-1.8.7-p249 ./configure make sudo make install […]
Tag Archives: ruby
Connecting a Rails app on Windows to SQL Server
(1) For this to work properly, first you need to install the DevKit. Just download the executable from RubyInstaller and run it. For rails 2 choose 3.4.5 version. If it’s installed on C:DevKit, for example, then follow the next steps: cd C:DevKit ruby dk.rb init ruby dk.rb install gem install rdiscount –platform=ruby (2) Install the […]
How to install RMagick + ImageMagick
Installation on Windows Issues: A. This version of RMagick was created to run with ImageMagick 6.3.0 but ImageMagick 6.3.5 is installed on this system. You should either 1) Configure and build RMagick for ImageMagick 6.3.5, or 2) download ImageMagick 6.3.0 from http://www.imagemagick.org and install it. B. Errors about missing CORE_.. .dll file(s). C. Errors about […]
How to install Rails 3.0 and Ruby 1.9.2 on Ubuntu
Install RVM 1.0.1 First be sure to do a quick update before you get started. sudo apt-get update Next install curl and git so we can pull down ruby via rvm sudo apt-get install curl git-core Now that you’re all set up, install RVM itself. This is done via a shell script which you can […]