Created
August 27, 2008 01:41
-
-
Save jackdempsey/7394 to your computer and use it in GitHub Desktop.
This file contains 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
~/git/merb_has_flash master$ rake --trace | |
(in /Users/jack/git/merb_has_flash) | |
rake aborted! | |
undefined local variable or method `spec' for main:Object | |
/Users/jack/git/merb_has_flash/rakefile:5 | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2149:in `load' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2149:in `raw_load_rakefile' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1897:in `load_rakefile' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1896:in `load_rakefile' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1880:in `run' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31 | |
/usr/local/bin/rake:19:in `load' | |
/usr/local/bin/rake:19 | |
~/git/merb_has_flash master$ cat -n Rakefile | |
1 require 'rubygems' | |
2 require 'rake/gempackagetask' | |
3 require 'spec' | |
4 | |
5 Rake::GemPackageTask.new(spec) do |pkg| | |
6 pkg.gem_spec = spec | |
7 end | |
8 | |
9 task :install => [:package] do | |
10 sh %{sudo gem install pkg/#{NAME}-#{VERSION}} | |
11 end | |
12 | |
13 task :release => :package do | |
14 sh %{rubyforge add_release merb-plugins merb_has_flash #{VERSION} pkg/#{NAME}-#{VERSION}.gem} | |
15 end | |
~/git/merb_has_flash master$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment