Created
August 10, 2011 23:41
-
-
Save davidboy/1138574 to your computer and use it in GitHub Desktop.
Derptastic
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 characters
require 'rake' | |
gem_files = FileList[ | |
'src/models/*.rb', 'src/public/*.png', 'src/views/*.erb', | |
'src/app.rb', 'src/config.ru', | |
'catbird', 'catbird-gui.vala', 'extconf.rb' | |
] | |
Gem::Specification.new do |s| | |
s.name = 'catbird' | |
s.version = '0.0.1' | |
s.date = '2011-08-10' | |
s.summary = "A simple git client for Linux" | |
s.description = "Github for Mac for Linux. (Highly unofficial)" | |
s.author = 'David Reed' | |
s.email = '[email protected]' | |
s.homepage = 'https://github.com/davidboy/catbird' | |
s.files = gem_files | |
s.bindir = '.' | |
s.executables << 'catbird' | |
s.extensions << 'extconf.rb' | |
end |
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 characters
#!/usr/bin/env ruby | |
# Make sure we are in the right directory | |
Dir.chdir File.dirname(__FILE__) do | |
system " | |
echo 'Installing system packages. You will be prompted for your password...' | |
sudo apt-get update -y | |
sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev -y | |
sudo apt-get install valac libgtk2.0-dev libwebkitgtk-dev -y | |
echo 'Compiling app...' | |
valac --pkg gtk+-2.0 --pkg webkit-1.0 --thread catbird-gui.vala | |
" | |
end |
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 characters
ERROR: Error installing catbird-0.0.1.gem: | |
ERROR: Failed to build gem native extension. | |
/home/david/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb | |
Installing system packages. You will be prompted for your password... | |
Ign http://us.archive.ubuntu.com natty InRelease | |
Ign http://us.archive.ubuntu.com natty-updates InRelease | |
Ign http://archive.ubuntu.com natty InRelease | |
Ign http://archive.canonical.com natty InRelease | |
Ign http://archive.canonical.com maverick InRelease | |
Ign http://security.ubuntu.com natty-security InRelease | |
Ign http://deb.torproject.org natty InRelease | |
Hit http://us.archive.ubuntu.com natty Release.gpg | |
Ign http://extras.ubuntu.com natty InRelease | |
Hit http://archive.ubuntu.com natty Release.gpg | |
Hit http://archive.canonical.com natty Release.gpg | |
Hit http://security.ubuntu.com natty-security Release.gpg | |
Hit http://us.archive.ubuntu.com natty-updates Release.gpg | |
Hit http://deb.torproject.org natty Release.gpg | |
Hit http://extras.ubuntu.com natty Release.gpg | |
Hit http://archive.ubuntu.com natty Release | |
Hit http://archive.canonical.com maverick Release.gpg | |
Hit http://security.ubuntu.com natty-security Release | |
Hit http://us.archive.ubuntu.com natty Release | |
Hit http://extras.ubuntu.com natty Release | |
Hit http://deb.torproject.org natty Release | |
Hit http://archive.canonical.com natty Release | |
Hit http://archive.ubuntu.com natty/main Sources | |
Hit http://us.archive.ubuntu.com natty-updates Release | |
Hit http://security.ubuntu.com natty-security/restricted Sources | |
Hit http://extras.ubuntu.com natty/main Sources | |
Hit http://archive.canonical.com maverick Release | |
Hit http://archive.ubuntu.com natty/restricted Sources | |
Hit http://deb.torproject.org natty/main Sources | |
Hit http://us.archive.ubuntu.com natty/restricted Sources | |
Hit http://extras.ubuntu.com natty/main amd64 Packages | |
Ign http://extras.ubuntu.com natty/main TranslationIndex | |
Hit http://security.ubuntu.com natty-security/main Sources | |
Hit http://security.ubuntu.com natty-security/multiverse Sources | |
Hit http://security.ubuntu.com natty-security/universe Sources | |
Hit http://security.ubuntu.com natty-security/main amd64 Packages | |
Hit http://security.ubuntu.com natty-security/restricted amd64 Packages | |
Hit http://archive.canonical.com natty/partner Sources | |
Hit http://archive.canonical.com natty/partner amd64 Packages | |
Ign http://archive.canonical.com natty/partner TranslationIndex | |
Hit http://us.archive.ubuntu.com natty/main Sources | |
Hit http://us.archive.ubuntu.com natty/multiverse Sources | |
Hit http://us.archive.ubuntu.com natty/universe Sources | |
Hit http://us.archive.ubuntu.com natty/main amd64 Packages | |
Hit http://deb.torproject.org natty/main amd64 Packages | |
Hit http://us.archive.ubuntu.com natty/restricted amd64 Packages | |
Hit http://us.archive.ubuntu.com natty/universe amd64 Packages | |
Hit http://us.archive.ubuntu.com natty/multiverse amd64 Packages | |
Ign http://us.archive.ubuntu.com natty/main TranslationIndex | |
Ign http://us.archive.ubuntu.com natty/multiverse TranslationIndex | |
Hit http://archive.canonical.com maverick/partner Sources | |
Hit http://archive.canonical.com maverick/partner amd64 Packages | |
Ign http://archive.canonical.com maverick/partner TranslationIndex | |
Hit http://security.ubuntu.com natty-security/universe amd64 Packages | |
Hit http://security.ubuntu.com natty-security/multiverse amd64 Packages | |
Ign http://security.ubuntu.com natty-security/main TranslationIndex | |
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex | |
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex | |
Ign http://us.archive.ubuntu.com natty/restricted TranslationIndex | |
Ign http://security.ubuntu.com natty-security/universe TranslationIndex | |
Ign http://us.archive.ubuntu.com natty/universe TranslationIndex | |
Hit http://us.archive.ubuntu.com natty-updates/restricted Sources | |
Hit http://us.archive.ubuntu.com natty-updates/main Sources | |
Hit http://us.archive.ubuntu.com natty-updates/multiverse Sources | |
Hit http://us.archive.ubuntu.com natty-updates/universe Sources | |
Hit http://us.archive.ubuntu.com natty-updates/main amd64 Packages | |
Hit http://us.archive.ubuntu.com natty-updates/restricted amd64 Packages | |
Hit http://us.archive.ubuntu.com natty-updates/universe amd64 Packages | |
Ign http://deb.torproject.org natty/main TranslationIndex | |
Hit http://us.archive.ubuntu.com natty-updates/multiverse amd64 Packages | |
Ign http://us.archive.ubuntu.com natty-updates/main TranslationIndex | |
Ign http://us.archive.ubuntu.com natty-updates/multiverse TranslationIndex | |
Ign http://us.archive.ubuntu.com natty-updates/restricted TranslationIndex | |
Ign http://us.archive.ubuntu.com natty-updates/universe TranslationIndex | |
Ign http://extras.ubuntu.com natty/main Translation-en_US | |
Ign http://extras.ubuntu.com natty/main Translation-en | |
Ign http://archive.canonical.com natty/partner Translation-en_US | |
Ign http://archive.canonical.com natty/partner Translation-en | |
Ign http://archive.canonical.com maverick/partner Translation-en_US | |
Ign http://archive.canonical.com maverick/partner Translation-en | |
Ign http://security.ubuntu.com natty-security/main Translation-en_US | |
Ign http://security.ubuntu.com natty-security/main Translation-en | |
Ign http://deb.torproject.org natty/main Translation-en_US | |
Ign http://security.ubuntu.com natty-security/multiverse Translation-en_US | |
Ign http://security.ubuntu.com natty-security/multiverse Translation-en | |
Ign http://security.ubuntu.com natty-security/restricted Translation-en_US | |
Ign http://security.ubuntu.com natty-security/restricted Translation-en | |
Ign http://security.ubuntu.com natty-security/universe Translation-en_US | |
Ign http://deb.torproject.org natty/main Translation-en | |
Ign http://security.ubuntu.com natty-security/universe Translation-en | |
Ign http://us.archive.ubuntu.com natty/main Translation-en_US | |
Ign http://us.archive.ubuntu.com natty/main Translation-en | |
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en_US | |
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en | |
Ign http://us.archive.ubuntu.com natty/restricted Translation-en_US | |
Ign http://us.archive.ubuntu.com natty/restricted Translation-en | |
Ign http://us.archive.ubuntu.com natty/universe Translation-en_US | |
Ign http://us.archive.ubuntu.com natty/universe Translation-en | |
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en_US | |
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en | |
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en_US | |
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en | |
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en_US | |
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en | |
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en_US | |
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en | |
Ign http://downloads-distro.mongodb.org dist InRelease | |
Ign http://archive.panda3d.org natty InRelease | |
Hit http://downloads-distro.mongodb.org dist Release.gpg | |
Ign http://archive.panda3d.org natty Release.gpg | |
Hit http://downloads-distro.mongodb.org dist Release | |
Ign http://ppa.launchpad.net natty InRelease | |
Ign http://ppa.launchpad.net natty InRelease | |
Ign http://ppa.launchpad.net natty InRelease | |
Hit http://archive.panda3d.org natty Release | |
Hit http://downloads-distro.mongodb.org dist/10gen amd64 Packages | |
Ign http://archive.panda3d.org natty/main amd64 Packages/DiffIndex | |
Ign http://downloads-distro.mongodb.org dist/10gen TranslationIndex | |
Hit http://ppa.launchpad.net natty Release.gpg | |
Hit http://ppa.launchpad.net natty Release.gpg | |
Ign http://archive.panda3d.org natty/main TranslationIndex | |
Get:1 http://repo.evolonline.org natty InRelease [4,903 B] | |
Hit http://ppa.launchpad.net natty Release.gpg | |
Hit http://ppa.launchpad.net natty Release | |
Hit http://ppa.launchpad.net natty Release | |
Hit http://ppa.launchpad.net natty Release | |
Get:2 http://repo.evolonline.org natty/main Sources [592 B] | |
Hit http://ppa.launchpad.net natty/main Sources | |
Hit http://ppa.launchpad.net natty/main amd64 Packages | |
Ign http://ppa.launchpad.net natty/main TranslationIndex | |
Get:3 http://repo.evolonline.org natty/main amd64 Packages [1,957 B] | |
Hit http://ppa.launchpad.net natty/main Sources | |
Hit http://ppa.launchpad.net natty/main amd64 Packages | |
Ign http://ppa.launchpad.net natty/main TranslationIndex | |
Hit http://ppa.launchpad.net natty/main Sources | |
Hit http://ppa.launchpad.net natty/main amd64 Packages | |
Hit http://archive.panda3d.org natty/main amd64 Packages | |
Ign http://repo.evolonline.org natty/main TranslationIndex | |
Ign http://ppa.launchpad.net natty/main TranslationIndex | |
Ign http://downloads-distro.mongodb.org dist/10gen Translation-en_US | |
Ign http://archive.panda3d.org natty/main Translation-en_US | |
Ign http://downloads-distro.mongodb.org dist/10gen Translation-en | |
Ign http://archive.panda3d.org natty/main Translation-en | |
Ign http://repo.evolonline.org natty/main Translation-en_US | |
Ign http://ppa.launchpad.net natty/main Translation-en_US | |
Ign http://ppa.launchpad.net natty/main Translation-en | |
Ign http://ppa.launchpad.net natty/main Translation-en_US | |
Ign http://repo.evolonline.org natty/main Translation-en | |
Ign http://ppa.launchpad.net natty/main Translation-en | |
Ign http://ppa.launchpad.net natty/main Translation-en_US | |
Ign http://ppa.launchpad.net natty/main Translation-en | |
Fetched 7,452 B in 7s (1,019 B/s) | |
Reading package lists... | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
autoconf is already the newest version. | |
bison is already the newest version. | |
build-essential is already the newest version. | |
git-core is already the newest version. | |
libc6-dev is already the newest version. | |
libreadline6 is already the newest version. | |
libreadline6-dev is already the newest version. | |
libsqlite3-0 is already the newest version. | |
libsqlite3-dev is already the newest version. | |
libssl-dev is already the newest version. | |
libxslt1-dev is already the newest version. | |
libyaml-dev is already the newest version. | |
openssl is already the newest version. | |
sqlite3 is already the newest version. | |
zlib1g is already the newest version. | |
zlib1g-dev is already the newest version. | |
curl is already the newest version. | |
libxml2-dev is already the newest version. | |
The following packages were automatically installed and are no longer required: | |
squashfs-tools gfxboot gfxboot-dev liblzo2-2 mktemp | |
Use 'apt-get autoremove' to remove them. | |
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
libgtk2.0-dev is already the newest version. | |
valac is already the newest version. | |
libwebkitgtk-dev is already the newest version. | |
The following packages were automatically installed and are no longer required: | |
squashfs-tools gfxboot gfxboot-dev liblzo2-2 mktemp | |
Use 'apt-get autoremove' to remove them. | |
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | |
Compiling app... | |
Gem files will remain installed in /home/david/.rvm/gems/ruby-1.9.2-p180@derp/gems/catbird-0.0.1 for inspection. | |
Results logged to /home/david/.rvm/gems/ruby-1.9.2-p180@derp/gems/catbird-0.0.1/./gem_make.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment