desc 'Generate documentation for the has_many_friends plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'HasManyFriends'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdocfiles.include('lib/*/_.rb')
end
Echoe.new('has_many_friends', '0.1.0') do |p|
p.description = "Add friends to the user model with a friendship model"
p.url = "git@github.com:thenetduck/has_many_friends.git"
p.author = "swemoney packaged by The Net Duck"
p.ignorepattern = ["tmp/", "script/_"]
p.development_dependencies = []
end
Run the same command with --trace and post the full output here. Also, please use GitHub’s code-block formatting; it’s very hard to read command-line output or code in normal body-text formatting.
Im running MacOSX with RVM installed
When I do rake install with this rakefile
require 'rake' require 'rake/rdoctask' require 'rubygems' require 'echoe'
desc 'Generate documentation for the has_many_friends plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'HasManyFriends' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README') rdoc.rdocfiles.include('lib/*/_.rb') end
Echoe.new('has_many_friends', '0.1.0') do |p| p.description = "Add friends to the user model with a friendship model" p.url = "git@github.com:thenetduck/has_many_friends.git" p.author = "swemoney packaged by The Net Duck" p.ignorepattern = ["tmp/", "script/_"] p.development_dependencies = [] end
I get this error
rake aborted! Unknown package target "ruby".
(See full trace by running task with --trace)
What might be causing this?