Ruby on Rails Development Services: what is the best Ruby on Rails development setup on a Mac Snow Leopard? By Laitkor Infosolutions Ruby on Rails Development
- Posted by: admin
- Category: Ruby on Rails
RVM allows you to run and check in contradiction of several versions of Rails, as well as creating Gemsets which allows you to fix a new assembly of gems to your existing rails default. Then it will test your code against older or latest versions of gems, or assimilate changes to gems to your code swiftly and simply. Best of all, you can install this in your own UserSpace, so no mucking about with sudo to build it as a system wide application.
BEST ROR DEVELOPMENT SETUP ON A MAC SNOW LEOPARD
1. For source control Github is just awesome, and is incredibly easy to use. It features, amongst many other things, sub-modules, which definitely allow you to import other Github repos into your code base.
2. You must also look at assimilating your test with autotest and spork. The prior runs tests as you save files and broadcast the outcomes to Growl, while the latter generates a pool of Rails instances which can be reprocessed; speeding up the process by saving your RSpec tests the above of loading up the entire Rails environment for every test.
3. You may replica the default Terminal app using Terminal Visor, which generates a support similar to those found in ID software games. This terminal drops down through your current screen via keyboard shortcut. You can use this for manual testing with the RSpec framework as well as hasty access to a Terminal so that you can fire off directions from within the same screen as TextMate without having to scroll another screen or Cms+Tab to your iTerm Window
4. Don’t worry with Apache or MySQL on your local machine. Prototyping Rails apps with SQLite and the built-in WebBrick server will aid all purposes. If you want to outspread your dev environment, have a look at running a VM or pushing your code to a server on the web. Run rails apps under Passenger and deploy using Capistrano.
5. You don’t need to install Ruby on Rails because it is already installed. But, you may well need to install the latest version of Rails, which is 3.0. Apple is typically a bit slower on upgrading, and it is significant to have the latest version.
6. Terminal is an extreme important program, which is installed on the Mac. The only program you will have to pay for is Textmate, which assists as the text editor. In short, you will run your shell commands in the Terminal, and will write code in Textmate.
OSX 10.5+ comes with Rails. Usually it is preinstalled but if not, you should install the Developer apparatuses from your OSX DVD or from apple.com. You must also keep in mind, the version includes is Ruby 1.8c and Rails 2.3.5. Few other things you may take interest in as rails dev includes RVM & solid text editor. Ruby on rails development is easy and simple for Mac by following above process.