This is a great link to fixing issues around Bundler. Some I have not hit yet, but I have a feeling I could. So, good to know and for anyone else working with Rails 3.
Fixing Common Bundler Problems.
Cheers.
This is a great link to fixing issues around Bundler. Some I have not hit yet, but I have a feeling I could. So, good to know and for anyone else working with Rails 3.
Fixing Common Bundler Problems.
Cheers.
So, with Ruby versions coming out so often, well it feels like it. Don’t get me wrong, that is a good thing. The problem is that it requires some testing of existing applications on different versions until it is upgraded. Not only does this apply to Ruby, but also Ruby on Rails as well.
I did my trusty search on Bing! and come across RVM: Ruby Version Manager.
To Install RVM, do the following:
$ gem sources -a http://gemcutter.org/
$ gem install rvm
$ rvm-install
$ echo “if [[ ! -z $HOME/.rvm ]] ; then source $HOME/.rvm ; fi” >> ~/.bash_profile
$ source ~/.rvm/scripts/rvm
Now, you can install the necessary gems, that you want to install. Notice: Also, don’t use sudo as it will mess up the configuration.
Here I install the different Ruby interpreters:
$ rvm install ruby-1.8.7-p160
$ rvm install ruby-1.9.1
Now it’s important to notice that at this point you have separate gem installations for each of the interpreters you’ve installed in the previous step. That said, just go ahead and switch between your interpreters and use your command line scripts – ruby, gem, etc… – as usual.
Now, here is a way to switch between interpreters and install Ruby on Rails versions as well.
$ rvm ruby-1.8.7-p160 #switch to the specified version
$ ruby -v
ruby 1.8.7 (2009-04-08 patchlevel 160) [i686-darwin9.8.0]
$ gem install rails #note I’m not using sudo since the new gem paths point to the user’s home directory
$ rvm ruby-1.9.1 #switch to the specified version
$ ruby -v
ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-darwin9.8.0]
$ gem install rails #note I’m not using sudo since the new gem paths point to the user’s home directory
Okay, you can now switch to a specific interpreter and have multiple rails versions, especially if you are migrating from 2.x to 3.
$ rvm gemset create rails222 rails126
Gemset ‘rails222′ created.
Gemset ‘rails126′ created.
$ rvm 1.9.2-head@rails222
$ gem install rails -v 2.2.2
$ rvm 1.9.2-head@rails126
$ gem install rails -v 1.2.6
There you go, pretty cool!
-Later.
After looking around on the Internet, I found a site that provides exactly what I am looking for.
Namely, creating an alias, as I am swapping from different operating systems and still put the wrong commands in.
So, I know how to do an alias, but the step I always forget is to reload my profile settings.
Here is a quick blurb, for those who have not used the command before.
1. First we edit/create a profile. For a normal user do:
pico /etc/profle
…or if you are not a root/superuser do:
pico ~/.profile
2. Add your alias like so to the file:
alias aliasname=’mycommand /path/path’ , I usually put in alias cls=‘clear’ as an example.
(notice no space between equal sign and ‘)
. /etc/profile
…or if you are not a root/superuser do:
. ~/.profile
*Note: the last file is probably already there as a normal user. Also this is the step I always forget.
6. Done.
-Later
The streaming music recommendation service Pandora is a great example of a native Web application: it stores content in the cloud, it gets better as it adds users, it is personalized, and most recently it has been focused on the mobile experience. So what happens when a Web app hits on all these cylinders? Let’s look at the numbers.
I find this interesting, given not so long ago I got an email from the Founder of Pandora, saying they where in financial trouble.
Thanks to LukeW to providing the numbers.
Mothers have found a even better way to humiliate their children than showing baby pictures: becoming a friend on Facebook.
Internet: Teens on Facebook GOL (grumble out loud) as mothers become friends – latimes.com.
Great accessories for iphone and ipad.
iPhone Accessories, iPhone Cases, iPod Accessories & Cases: XtremeMac.
The first program that I discovered today was Xyle Scope. This application provides a better way of understand CSS.
Here is a screen shot of the capabilities.
The beauty of this application is that it is free!
Another program I came across was Carbon Copy Cloner, this is a backup program, I like it because you can use other macs as the backup destination.
It is free as well, it would be nice to donate to the author as well. Some other features are:

* A Better Bootable Backup — your data, the operating system’s data, all preserved impeccably on a bootable volume, ready for production at a moments notice
* Simplest method to migrate to a new, larger hard drive
* Support for block-level disk-to-disk clones for super-fast upgrades.
Don’t take my word for it, try it out yourself!
The last program is Anxiety, this program is a simple ToDo program.
I like this program because it is simple, yet very functional.
Also, this program of course is free too.
This is an interesting slides from data to design.
Here is some interesting facts about Twitter captured on paper.

This is a great article on how to sync your Google Calendar on the iPhone Calendar.