Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to install backlogs 0.9.9 plugin for redmine 2.1.2 under ubuntu 12.10.

Following the Backlogs installation guide

remine_install_path$ RAILS_ENV=production bundle exec rake db:migrate

rake aborted!
No such file to load -- nokogiri
/home/git/redmine/vendor/bundle/ruby/1.9.1/gems/acti...
[...]

However nokogiri seems to be there

$ gem list | grep nokogiri
nokogiri (1.5.5)

Am I doing something wrong ?

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

You need to edit the Gemfile and add the below line

gem "nokogiri"

to solve the dependencies

Source

share|improve this answer
    
That fixed my problem, Thanks. I added gem "nokogiri", ">= 1.4.2" and reran bundle install --path vendor/bundle --without test development. Now I have the same error with prawn I imagine I should do the same. Shouldn't there be some commands to set the required dependencies ? –  Pierre de LESPINAY Nov 20 '12 at 8:26
    
Actually yes, backlogs should contain the dependencies. I stupidly removed the Gemfile after having conflicting versions. I have put it back by re checking out backlogs –  Pierre de LESPINAY Nov 20 '12 at 9:25
    
So putting it back resolved the error with prawn? –  devav2 Nov 20 '12 at 9:28
    
Yes, all other errors (apart a conflicting version requirement for test-unit) I just commented out one of them –  Pierre de LESPINAY Nov 20 '12 at 9:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.