Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to start with Ruby on Rails on Mac OS X Snow Leopard? [closed]

Is there any good tutorial on how to get things installed and working on Mac OS X Snow Leopard? Also which tools do you use? TextMate? Or something else?

I am trying my first steps with RoR after years of ASP.NET development on Windows platform but I am getting curious to learn other things as well to become a better developer.

like image 456
Nyla Pareska Avatar asked Jun 18 '10 08:06

Nyla Pareska


People also ask

How do I reinstall Ruby on my Mac?

We'll install Ruby using chruby and ruby-install . If you have installed Ruby before, you may be using RVM (Ruby Version Manager). You may stay with RVM if it is working for you but we recommend using chruby and ruby-install , which we will go over here.


2 Answers

The ruby AND rubygems on snow leopard is sufficient. So to get started:

$ sudo gem install rails
$ rails my_first_project
$ cd my_first_project
$ ./script/server

:-)

like image 123
John Bachir Avatar answered Nov 14 '22 22:11

John Bachir


Dan Benjamin has some great instructions over at Hivelogic for compiling and installing 64-bit Ruby, RubyGems and Rails on Snow Leopard. They get installed in /usr/local so they don't affect the versions that come with Mac OS X.

TextMate works great for Rails development—DHH helped to develop it—but most recently I've switched over to using Vim.

like image 41
John Topley Avatar answered Nov 15 '22 00:11

John Topley