CAn u please tell wats the prob in runnning my project?


#1

[~/kallori]# rake db:migrate
(in /home/gm/kallori)
no such file to load – hmac-sha1
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:510:in require' /home/gm/kallori/vendor/rails/activesupport/lib/active_support/ dependencies.rb:355:innew_constants_in’
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:510:in require' /home/gm/kallori/vendor/gems/oauth-0.3.1/lib/oauth/signature/hmac/ sha1.rb:3 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in require' /home/gm/kallori/vendor/rails/activesupport/lib/active_support/ dependencies.rb:510:inrequire’
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:355:in new_constants_in' /home/gm/kallori/vendor/rails/activesupport/lib/active_support/ dependencies.rb:510:inrequire’
/home/gm/kallori/vendor/gems/oauth-0.3.1/lib/oauth/client/helper.rb:5
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:510:in require' /home/gm/kallori/vendor/rails/activesupport/lib/active_support/ dependencies.rb:355:innew_constants_in’
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:510:in require' /home/gm/kallori/vendor/gems/oauth-0.3.1/lib/oauth.rb:1 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in require' /home/gm/kallori/vendor/rails/activesupport/lib/active_support/ dependencies.rb:510:inrequire’
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:355:in new_constants_in' /home/gm/kallori/vendor/rails/activesupport/lib/active_support/ dependencies.rb:510:inrequire’
/home/gm/kallori/config/…/vendor/rails/railties/lib/rails/
gem_dependency.rb:61:in load' /home/gm/kallori/config/../vendor/rails/railties/lib/initializer.rb: 250:inload_gems’
/home/gm/kallori/config/…/vendor/rails/railties/lib/initializer.rb:
250:in each' /home/gm/kallori/config/../vendor/rails/railties/lib/initializer.rb: 250:inload_gems’
/home/gm/kallori/config/…/vendor/rails/railties/lib/initializer.rb:
141:in process' /home/gm/kallori/config/../vendor/rails/railties/lib/initializer.rb: 97:insend’
/home/gm/kallori/config/…/vendor/rails/railties/lib/initializer.rb:
97:in run' /home/gm/kallori/config/environment.rb:21 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in require' /home/gm/kallori/vendor/rails/activesupport/lib/active_support/ dependencies.rb:510:inrequire’
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:355:in new_constants_in' /home/gm/kallori/vendor/rails/activesupport/lib/active_support/ dependencies.rb:510:inrequire’
/home/gm/kallori/vendor/rails/railties/lib/tasks/misc.rake:3
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in call' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:inexecute’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:inexecute’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in
invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:insynchronize’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in
invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:ininvoke_prerequisites’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:ininvoke_prerequisites’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:577:in
invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:insynchronize’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in
invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:ininvoke’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in
invoke_task' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:intop_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:intop_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in
standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:intop_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:instandard_exception_handling’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 /usr/bin/rake:19:inload’
/usr/bin/rake:19
no such file to load – hpricot_scan
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:510:in require' /home/gm/kallori/vendor/rails/activesupport/lib/active_support/ dependencies.rb:355:innew_constants_in’
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:510:in require' /home/gm/kallori/vendor/gems/hpricot-0.8.1/lib/hpricot.rb:20 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in require' /home/gm/kallori/vendor/rails/activesupport/lib/active_support/ dependencies.rb:510:inrequire’
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:355:in new_constants_in' /home/gm/kallori/vendor/rails/activesupport/lib/active_support/ dependencies.rb:510:inrequire’
/home/gm/kallori/config/…/vendor/rails/railties/lib/rails/
gem_dependency.rb:61:in load' /home/gm/kallori/config/../vendor/rails/railties/lib/initializer.rb: 250:inload_gems’
/home/gm/kallori/config/…/vendor/rails/railties/lib/initializer.rb:
250:in each' /home/gm/kallori/config/../vendor/rails/railties/lib/initializer.rb: 250:inload_gems’
/home/gm/kallori/config/…/vendor/rails/railties/lib/initializer.rb:
141:in process' /home/gm/kallori/config/../vendor/rails/railties/lib/initializer.rb: 97:insend’
/home/gm/kallori/config/…/vendor/rails/railties/lib/initializer.rb:
97:in run' /home/gm/kallori/config/environment.rb:21 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in require' /home/gm/kallori/vendor/rails/activesupport/lib/active_support/ dependencies.rb:510:inrequire’
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:355:in new_constants_in' /home/gm/kallori/vendor/rails/activesupport/lib/active_support/ dependencies.rb:510:inrequire’
/home/gm/kallori/vendor/rails/railties/lib/tasks/misc.rake:3
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in call' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:inexecute’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:inexecute’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in
invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:insynchronize’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in
invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:ininvoke_prerequisites’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:ininvoke_prerequisites’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:577:in
invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:insynchronize’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in
invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:ininvoke’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in
invoke_task' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:intop_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:intop_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in
standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:intop_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:instandard_exception_handling’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 /usr/bin/rake:19:inload’
/usr/bin/rake:19
rake aborted!
no such file to load – ferret


#2

On 25/05/2009, at 4:46 PM, gm wrote:

[~/kallori]# rake db:migrate
(in /home/gm/kallori)
no such file to load – hmac-sha1

Just hazarding a guess, I’d say you’re missing ferret. which is
relying on a hmac-sh1 library


Learn: http://sensei.zenunit.com/
Last updated 20-May-09 (Rails, Basic Unix)
Blog: http://random8.zenunit.com/
Twitter: http://twitter.com/random8r


#3

where to get hmac-sha1