Skip to content

Instantly share code, notes, and snippets.

Avatar

Orlin M Bozhinov orlin

  • Astrolet
  • Varna, Bulgaria
  • Twitter @orlin
View GitHub Profile
View install rubycocoa over rvm's 1.8.7
~$ ARCHFLAGS='-arch i386 -arch x86_64'
~$ rvm install 1.8.7 --debug --reconfigure -C --enable-shared=yes
~$ wget http://sourceforge.net/projects/rubycocoa/files/RubyCocoa/1.0.0/RubyCocoa-1.0.0.tar.gz/download
~$ tar xzf RubyCocoa-1.0.0.tar.gz && rm RubyCocoa-1.0.0.tar.gz && cd RubyCocoa-1.0.0
~/RubyCocoa-1.0.0$ ruby install.rb config --build-universal=yes
~/RubyCocoa-1.0.0$ ruby install.rb setup
~/RubyCocoa-1.0.0$ sudo ruby install.rb install
@orlin
orlin / rakefile.rb
Created Dec 11, 2009
auto-compressed sprockets
View rakefile.rb
#!/usr/bin/env ruby
#
# sprockets watch
#
# changed to:
# * use yui/compressor
# * load config/sprockets.yml
# * rake watch[lib/javascripts,public/javascripts,sprockets,config/sprockets.yml]
#
# ------------------------------------------------------