Created
February 4, 2009 12:28
Revisions
-
rkh revised this gist
Feb 4, 2009 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ spec = Gem::Specification.new do |s| s.name = "json" s.version = "1.1.3" s.summary = "this fakes json (which is now included in stdlib)" s.homepage = "http://gist.github.com/gists/58071" s.has_rdoc = false s.required_ruby_version = '>= 1.9.1' en -
rkh revised this gist
Feb 4, 2009 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ #!/bin/bash cd /tmp wget http://gist.github.com/raw/58071/0384039634f2a32fee200e1d1ceddda68d0e8264/install_datamapper.sh chmod +x install_datamapper.sh ./install_datamapper.sh rm install_datamapper.sh sudo gem1.9 install merb -
rkh revised this gist
Feb 4, 2009 . 1 changed file with 5 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,13 +16,12 @@ sudo $GEM install *.gem cd .. sudo rm -R bcrypt-ruby wget http://gist.github.com/raw/58071/1227b150850f3bdbda052b080943c29b4ad10138/fake_json.gemspec $GEM build fake_json.gemspec sudo $GEM install json-*.gem rm fake_json.gemspec json-*.gem sudo $GEM install datamapper # that's about it exit -
rkh revised this gist
Feb 4, 2009 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ spec = Gem::Specification.new do |s| s.name = "json" s.version = "1.1.3" s.summary = "this fakes json (which is now included in stdlib)" s.homepage = "http://github.com/rkh/fake-json" s.has_rdoc = false s.required_ruby_version = '>= 1.9.1' en -
rkh revised this gist
Feb 4, 2009 . 1 changed file with 10 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ #!/bin/bash which ragel || (echo "install ragel" && exit) cd /tmp git clone git://github.com/rkh/hpricot.git cd hpricot rake ragel && rake ragel_java && rake gem sudo gem1.9 install pkg/*.gem cd .. sudo rm -R hpricot -
rkh revised this gist
Feb 4, 2009 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ #!/bin/bash cd /tmp git clone git://github.com/eventmachine/eventmachine.git cd eventmachine gem1.9 build *.gemspec sudo gem1.9 install *.gem cd .. sudo rm -R eventmachine -
rkh revised this gist
Feb 4, 2009 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ #!/bin/bash gem1.8 list --local --no-versions > 1.8.txt gem1.9 list --local --no-versions > 1.9.txt diff gem1.8.txt gem1.9.txt -
rkh revised this gist
Feb 4, 2009 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ #!/bin/bash # script for installing datamapper under ruby 1.9.1 # tested on Ubuntu and OpenSolaris # change this to your gem binary for ruby 1.9 GEM=gem1.9 -
rkh revised this gist
Feb 4, 2009 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,26 +3,26 @@ # # change this to your gem binary for ruby 1.9 GEM=gem1.9 # don't mess with the file system cd /tmp # bcrypt gem does not work with 1.9, we have to use the sources git clone git://github.com/genki/bcrypt-ruby.git cd bcrypt-ruby $GEM build *.gemspec sudo $GEM install *.gem cd .. sudo rm -R bcrypt-ruby # install all dependencies except json (which is now part of the stdlib) sudo $GEM install dm-core dm-aggregates dm-migrations \ dm-serializer dm-timestamps dm-validations dm-cli \ dm-is-tree dm-observer hoe # install datamapper without dependencies (we already got those) sudo $GEM install dm-types datamapper --ignore-dependencies # that's about it exit -
rkh renamed this gist
Feb 4, 2009 . 1 changed file with 8 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,26 +1,28 @@ #!/bin/bash # script for installing datamapper under ruby 1.9.1 # # change this to your gem binary for ruby 1.9 GEM=`which gem1.9` # don't mess with the file system cd /tmp # bcrypt gem does not work with 1.9, we have to use the sources git clone git://github.com/genki/bcrypt-ruby.git cd bcrypt-ruby gem1.9 build *.gemspec sudo gem1.9 install *.gem cd .. sudo rm -R bcrypt-ruby # install all dependencies except json (which is now part of the stdlib) sudo gem1.9 install dm-core dm-aggregates dm-migrations \ dm-serializer dm-timestamps dm-validations dm-cli \ dm-is-tree dm-observer hoe # install datamapper without dependencies (we already got those) sudo gem1.9 install dm-types datamapper --ignore-dependencies # that's about it exit -
rkh revised this gist
Feb 4, 2009 . 1 changed file with 17 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,26 @@ # # script for installing datamapper under ruby 1.9.1 # # don't mess with the file system cd /tmp # bcrypt gem does not work with 1.9, we have to use the sources git clone git://github.com/genki/bcrypt-ruby.git cd bcrypt-ruby gem1.9 build *.gemspec sudo -s gem1.9 install *.gem cd .. rm -R bcrypt-ruby # install all dependencies except json (which is now part of the stdlib) gem1.9 install dm-core dm-aggregates dm-migrations \ dm-serializer dm-timestamps dm-validations dm-cli \ dm-is-tree dm-observer hoe # install datamapper without dependencies (we already got those) gem1.9 install dm-types datamapper --ignore-dependencies # that's about it exit -
rkh revised this gist
Feb 4, 2009 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,6 +5,9 @@ cd bcrypt-ruby gem1.9 build *.gemspec sudo -s gem1.9 install *.gem cd .. rm -R bcrypt-ruby gem1.9 install dm-core dm-aggregates dm-migrations dm-serializer dm-timestamps dm-validations dm-cli dm-is-tree dm-observer hoe gem1.9 install dm-types datamapper --ignore-dependencies exit cd - -
rkh revised this gist
Feb 4, 2009 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,6 @@ cd bcrypt-ruby gem1.9 build *.gemspec sudo -s gem1.9 install *.gem gem1.9 install dm-core dm-aggregates dm-migrations dm-serializer dm-timestamps dm-validations dm-cli dm-is-tree dm-observer hoe gem1.9 install dm-types datamapper --ignore-dependencies exit -
rkh revised this gist
Feb 4, 2009 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,6 @@ gem1.9 build *.gemspec sudo -s gem1.9 install *.gem gem1.9 install dm-core gem1.9 install dm-types --ignore-dependencies gem1.9 install datamapper exit -
rkh created this gist
Feb 4, 2009 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ # installing datamapper under ruby 1.9 cd /tmp git clone git://github.com/genki/bcrypt-ruby.git cd bcrypt-ruby gem1.9 build *.gemspec sudo -s gem1.9 install *.gem gem1.9 install dm-core gem1.9 install dm-more --ignore-dependencies gem1.9 install datamapper exit