Ruby on Rails in Ubuntu 7.10 (Gutsy)
So I’ve decided after a few months now to give Ruby on Rails a full go after my September debacle with Circle Hosting. Long story short I’ve just set it up in Ubuntu now. As I have previously stated, the more I use Ubuntu the more awesome it becomes.
It seems that ruby comes installed by default in Ubuntu 7.10 which was awesome. I quickly installed RubyGems and updated and installed the supporting documentation and within 2minutes it was ready. I kid you not, 2minutes and it was setup. Obviously I still to install mySql but getting Ruby on Rails installed was literally that quick in Ubuntu 7.10! I decided to just quickly share what I did to install RoR in Ubuntu so quick.
Open a terminal and execute the following commands::
1) sudo apt-get install ruby irb ri rdoc ruby1.8-dev2.2
2) sudo apt-get install rubygems
3) sudo gem update
4) sudo gem install rails –include-dependencies (thats two dashes in front of “include”, Wordpress seems to remove the second dash)
Thats it! 4 easy steps to Ruby on Rails in Ubuntu!
[...] using Ubuntu check out the following posts I have made regarding the installation of RoR and MySql: Ruby on Rails in Ubuntu 7.10 (Gutsy) Setting up MySql 5 in [...]
Hey, that’s –include-dependencies.
Kinda makes a mess without that other dash…
Thanks for the walkthrough!
Thanks for spotting that man! will edit the post now.
Thanks for that. To install smoothly on my system, I had to make a couple minor simplifications. Dunno why.
1) sudo apt-get install ruby irb ri rdoc
2) sudo apt-get install rubygems
3) sudo gem update
4) sudo gem install rails
ruby1.8 gets installed anyway as a prerequisite of rubygems and, for some reason, using –include-dependencies when installing rails makes it fall over with a 404 not found.
*ahem* I meant to say…
…using (double dash)include-dependencies also falls over with a 404 on my machine
[...] it from stevenmcd.net. It [...]