I decided to install MacPorts on Tiger. I basically had two options: to use the .pkg installer or to install it from source. Since I’m new to MacPorts I decided to take the easier road and use the package installer.
This is the description of what the package installer does on the MacPorts site:
This procedure will place a fully-functional and default MacPorts installation on your host system, ready for usage. If needed your shell configuration files will be adapted by the installer to include the necessary settings to run MacPorts and the programs it installs, but you may need to open a new shell for these changes to take effect.
So I mounted the image, double-clicked on the .pkg file and installed the software. That was easy. Then I opened the terminal and decided to run the following:
$ sudo port -v selfupdate
I got the “command not found” error. What gives? I thought the installer was supposed to make the necessary changes to my environment. Anyway, I found no .profile file in my home directory so I had to add the following lines to the end of my .bash_profile file manually:
# For MacPorts
And that was it. Not a big deal I guess.
You know, Ruby on Rails is great. It can make you a very productive web developer and it can make programming more fun. Unfortunately I always have trouble finding the right documentation. Sure, there’s plenty out there, but most of it is for Rails 1.2.x. And yes, there are some sites out there with Rails 2.x docs but usually it’s just the API.
But what about code examples or tutorials? I haven’t been able to find many for Rails 2.1, but I did find this one over at Tutorials Point. It covers all the basic things you need to know about Rails and you can read it in a few minutes. I recommend it to all Rails beginners who want to start from version 2.1. They also have a Ruby tutorial that’s worth checking out.
Unfortunately that’s the only 2.1 tutorial I’ve found so far. But nonetheless, I will continue to look for more.
I would appreciate any articles, tutorials or recommended books on Rails 2.1.
Man, I had to post these. Looks like it’s gonna be a great tour. I hope they announce a San Diego show.
You gotta love this one from xkcd.com.
Welcome to my new blog, everyone!
I will be using this space to talk about all kinds of different things including, but not limited to, technology, software development, gadgets and pretty much anything that pops up in my head; hopefully you enjoy my posts or at least find them amusing.
Feel free to comment about the site or any of the topics. I can learn more about things that way.