Forum

You are not logged in.

#1 28-05-2017 04:35:54

dblack
Membre
Registered: 28-05-2017
Posts: 2

Ruby issue following migration

Hi, I completed the migration to the 2017 infrastructure yesterday, and one of my personal sites has a problem.

The problem application is a Redmine installation... I'm now trying to install it from scratch as per their installation documentation, but I'm stuck at installing the dependencies: http://www.redmine.org/projects/redmine … stallation

I've run:

$ gem install bundler
Successfully installed bundler-1.15.0
1 gem installed

then when I try bundle install, i get the following:

$ bundle install --without development test
/usr/alwaysdata/ruby/2.2.6/lib/ruby/site_ruby/2.2.0/rubygems.rb:250:in `find_spec_for_exe': can't find gem bundler (>= 0.a) (Gem::GemNotFoundException)
	from /usr/alwaysdata/ruby/2.2.6/lib/ruby/site_ruby/2.2.0/rubygems.rb:278:in `activate_bin_path'
	from /home/totaltrash/.gem/ruby/2.2.0/bin/bundle:22:in `<main>'

In fact, when I try to do anything with bundler, I get the same error (e.g. 'bundle --help')

Any ideas?!

regards
Darren

Last edited by dblack (28-05-2017 05:08:32)

Offline

#2 28-05-2017 11:04:21

@Cyril
Staff
From: Paris
Registered: 06-02-2007
Posts: 5,583
Website

Re: Ruby issue following migration

Hello,

Basically, get rid of your .bash_profile which messes everything up. bundler is even preinstalled on the new infrastructure, so you shouldn't have to install it yourself (although doing it shouldn't cause any issue).

Offline

#3 29-05-2017 00:00:24

dblack
Membre
Registered: 28-05-2017
Posts: 2

Re: Ruby issue following migration

Thank you Cyril, that fixed it!

Offline

#4 25-09-2017 22:18:54

philippelo
Membre
Registered: 11-02-2013
Posts: 5

Re: Ruby issue following migration

Bonjour,

J'avais une installation de redmine sur l'ancienne infrastructure alwaysdata qui ne fonctionne plus depuis la migration. Quelles sont les actions à mener pour faire fonctionner redmine sur la nouvelle infrastructure ? Eventuellement, y aurait-il des indications pour procéder pour une nouvelle installation ?

How to install redmine in the new infrastructure alwaysdata or how to migrate an redmine installation from old infrastructure to the new one ?

Thanks

Phil

Offline

#5 26-09-2017 08:22:10

@Cyril
Staff
From: Paris
Registered: 06-02-2007
Posts: 5,583
Website

Re: Ruby issue following migration

Bonjour,

Tout va dépendre de l'erreur que vous avez, mais plus généralement je vous invite à lire attentivement notre page de documentation consacrée à la migration.

Offline

#6 26-09-2017 22:49:55

philippelo
Membre
Registered: 11-02-2013
Posts: 5

Re: Ruby issue following migration

Merci,

J'ai pu réinstaller redmine.
Le site a fonctionné depuis l'adresse déclarée dans mes sites web (Administration alwaysdata) puis plus rien. Ou puis-je trouver des informations (logs) sur mon problème d'accès ? (redmine est une application utilisant ruby et rails)

Cordialement,

Phil

Offline

#7 27-09-2017 08:06:27

@Cyril
Staff
From: Paris
Registered: 06-02-2007
Posts: 5,583
Website

Re: Ruby issue following migration

Vous avez les logs uWSGI dans ~/admin/logs/uwsgi.

Offline

Board footer

Powered by FluxBB