ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Installation issue caused by Rubytree

Added by Yanis Guenane at 2011-10-20 11:03 am

Hi Everyone,

I decided to make the move from Redmine to Chiliproject and tried to instal it following the wiki.

Everything worked find until I had to execute this command : bundle exec rake generate_session_store

When I do launch it I have the following error : Could not find gem 'rubytree (~> 0.5.2) ruby' in any of the gem sources listed in your Gemfile.

I am not rubyist so I don't quite understand the architecture of the differents files and repository but could some one send me to a lead and where to start looking ?

I am using ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] and running on Debian 6.0.

Thank you in advance,

--
Yanis Guenane


Replies (3)

RE: Installation issue caused by Rubytree - Added by Felix Schäfer at 2011-10-21 06:46 am

Have you successfully run the bundle install step?

RE: Installation issue caused by Rubytree - Added by Yanis Guenane at 2011-11-01 06:02 pm

Sorry for the time to answer,

Thanks for your answer bu no, I can't run bundle install step succesfully.

This is the stack I get :

/home/spredzy/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.21/lib/bundler/definition.rb:194:in `initialize': Permission denied - /srv/www/chiliproject/Gemfile.lock (Errno::EACCES)
    from /home/spredzy/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.21/lib/bundler/definition.rb:194:in `open'
    from /home/spredzy/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.21/lib/bundler/definition.rb:194:in `lock'
    from /home/spredzy/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.21/lib/bundler/environment.rb:39:in `lock'
    from /home/spredzy/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.21/lib/bundler/installer.rb:53:in `run'
    from /home/spredzy/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.21/lib/bundler/installer.rb:8:in `install'
    from /home/spredzy/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.21/lib/bundler/cli.rb:219:in `install'
    from /home/spredzy/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.21/lib/bundler/vendor/thor/task.rb:22:in `send'
    from /home/spredzy/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.21/lib/bundler/vendor/thor/task.rb:22:in `run'
    from /home/spredzy/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.21/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
    from /home/spredzy/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.21/lib/bundler/vendor/thor.rb:263:in `dispatch'
    from /home/spredzy/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.21/lib/bundler/vendor/thor/base.rb:386:in `start'
    from /home/spredzy/.rvm/gems/ruby-1.8.7-p352/gems/bundler-1.0.21/bin/bundle:13
    from /home/spredzy/.rvm/gems/ruby-1.8.7-p352/bin/bundle:19:in `load'
    from /home/spredzy/.rvm/gems/ruby-1.8.7-p352/bin/bundle:19

I did type

rvm use 1.8.7

rvm --version gives this output

rvm 1.8.1 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]

Thanks for any help,

RE: Installation issue caused by Rubytree - Added by Felix Schäfer at 2011-11-01 09:20 pm

It seems you have already executed this step as another user and the file bundle creates isn't accessible to the user you are working with currently.

Try deleting the Gemfile.lock file in your ChiliProject directory and start again from the bundle install step.

(1-3/3)