I followed every step described in Redmine installation page and in this article.
I put the following path in environment.rb
:
ENV['GEM_PATH'] = '/开发者_开发百科home/myusername/ruby/gems/gems:/usr/lib64/ruby/gems/1.8'
I tried the following path too:
ENV['GEM_PATH'] = '/home/myusername/ruby/gems:/usr/lib64/ruby/gems/1.8'
Still there is an error when I'm trying to execute the command
RAILS_ENV=production rake config/initializers/session_store.rb
Error message is the following:
Missing the i18n 0.4.2 gem. Please `gem install -v=0.4.2 i18n`
Although gem is there with the specific verison.
Any idea?
try with this
export GEM_HOME=$HOME/ruby/gems/
Bye.
did you set those environment variables and install the gems there, I assume?
精彩评论