[Lovd by Less] Rake problem: rake aborted! no such file to load -- test/unit/error <internal:lib/rubygems/custom_require>:29:in `require'

997 views
Skip to first unread message

Boutheina

unread,
Dec 23, 2010, 3:02:30 PM12/23/10
to Lovd by Less, rbout...@gmail.com
Hi, I am trying to install lovdbyless

I am getting this error in my terminal when i execute : rake
db:create:all --trace

I think it is that lovdbyless isn't ready for ruby 1.9.2 ... What
should I do..!!!!
I already made some steps I found in one post (thanks to the poster) :
>> Removed these plugins: shoulda, thinking-sphinx and installed them as gems
>> Changed config/environment.rb so that:
> > config.gem 'hpricot', :version=> '0.8.2'
> > The => was somehow being interpreted as =0.6.164, and the -v0.6.164
> > hpricot wouldn't build for me.
> > Modified these two lines at the top of the flickr gem file "/opt/lib/
> > ruby/gems/1.9.1/gems/rflickr-2006.02.01/lib/flickr/base.rb":
> > require 'digest/md5'
> > # no longer needed in 1.9.1 # require 'parsedate'
)

but i still have problems ..

rake aborted!
no such file to load -- test/unit/error
<internal:lib/rubygems/custom_require>:29:in `require'
<internal:lib/rubygems/custom_require>:29:in `require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `block in require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:521:in `new_constants_in'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/deprecation.rb:224:in `<top (required)>'
<internal:lib/rubygems/custom_require>:29:in `require'
<internal:lib/rubygems/custom_require>:29:in `require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `block in require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:521:in `new_constants_in'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.2.2/lib/
active_support.rb:37:in `<top (required)>'
<internal:lib/rubygems/custom_require>:29:in `require'
<internal:lib/rubygems/custom_require>:29:in `require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.2.2/lib/tasks/misc.rake:
11:in `<top (required)>'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.2.2/lib/tasks/rails.rb:
4:in `load'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.2.2/lib/tasks/rails.rb:
4:in `block in <top (required)>'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.2.2/lib/tasks/rails.rb:
4:in `each'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.2.2/lib/tasks/rails.rb:
4:in `<top (required)>'
<internal:lib/rubygems/custom_require>:29:in `require'
<internal:lib/rubygems/custom_require>:29:in `require'
C:/Documents and Settings/Boutheina.BB-2795194E3898/lovdbyless/
Rakefile:10:in `<top (required)>'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2383:in
`load'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2383:in
`raw_load_rakefile'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2017:in
`block in load_rakefile'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2016:in
`load_rakefile'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2000:in
`block in run'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1998:in
`run'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.8.7/bin/rake:31:in `<top
(required)>'

C:/Ruby192/bin/rake:19:in `load'
C:/Ruby192/bin/rake:19:in `<main>'

C:\Documents and Settings\Boutheina.BB-2795194E3898\lovdbyless>

Can someone help me..
Thanks in advance
Boutheina

Steven Bristol

unread,
Dec 23, 2010, 4:33:21 PM12/23/10
to lovdb...@googlegroups.com
On Thu, Dec 23, 2010 at 3:02 PM, Boutheina <rbout...@gmail.com> wrote:
> Hi, I am trying to install lovdbyless
>
> I am getting this error in my terminal when i execute : rake
> db:create:all --trace
>
> I think it is that lovdbyless isn't ready for ruby 1.9.2 ... What
> should I do..!!!!

Why don't you fork it and make a 192 version?


cheers,
steven bristol

gezope

unread,
Dec 23, 2010, 6:04:22 PM12/23/10
to Lovd by Less
I'm also interested in it, maybe we could do together, hm?

But I think it's easier to work it out with RVM http://rvm.beginrescueend.com/

good luck,
gezope

jerry

unread,
Feb 6, 2011, 12:22:54 PM2/6/11
to Lovd by Less
try installing the test-unit gem

gem install test-unit
Reply all
Reply to author
Forward
0 new messages