Tagged with tips

Merb 1.0 Install Error:merb-core requires RubyGems version >= 1.3.0

Written by Ben

When I tried to gem install Merb 1.0 I got this error
ERROR: Error installing merb:
merb-core requires RubyGems version >= 1.3.0

I tried to do a gem system update to the newest version of RubyGems (1.3.1) which failed.
$ sudo gem update –system
Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.3.1
ERROR: While executing gem … (NameError)
[...]

Switch from SVN to Git with no history

Written by Ben

A while ago the team switched to git/github from subversion (svn), but we needed to get the latest copy of our code and leave behind the massive history to save space on github.
How?
I used the git svn command as follows:
git svn clone <current_svn_revision>:HEAD <url_to_svn>
Simply note down the latest svn revision number [...]