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.

i18n issue when installing on shared host?

Added by Andrew Leaf at 2011-03-05 10:30 am

Hello,

I'm attempting to install chili project on a shared host, and even though I have the right dependencies installed, including 0.4.2 of i18n, however I'm getting the following error:

Missing the i18n 0.4.2 gem. Please `gem install -v=0.4.2 i18n`

Can anyone provide any insight?

Thanks,

Andrew


Replies (5)

RE: i18n issue when installing on shared host? - Added by Muntek Singh at 2011-03-06 01:27 pm

Do you get a success message after doing gem install -v=0.4.2 ii18n ? Is the i18n gem in gem list local ? What kind of shared environment? cPanel, directadmins, plesk, something custom?

RE: i18n issue when installing on shared host? - Added by Andrew Leaf at 2011-03-06 06:26 pm

I do get success after doing the gem install, and the gem is listed in the local. I'm using cPanel on Site5.

For what it's worth, I'm seeing some redmine users have the same error with 1.1.0 on their discussion forums.

*** LOCAL GEMS ***

actionmailer (2.3.8, 2.3.5, 2.3.4, 2.3.3)
actionpack (2.3.8, 2.3.5, 2.3.4, 2.3.3)
activerecord (2.3.8, 2.3.5, 2.3.4, 2.3.3)
activeresource (2.3.8, 2.3.5, 2.3.4, 2.3.3)
activesupport (2.3.8, 2.3.5, 2.3.4, 2.3.3)
bundler (1.0.2)
capistrano (2.5.8)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
fastthread (1.0.7)
fcgi (0.8.7)
ferret (0.11.6)
flvtool2 (1.0.6)
gem_plugin (0.2.3)
highline (1.5.1)
i18n (0.4.2)
id3lib-ruby (0.5.0)
mongrel (1.1.5)
mysql (2.8.1, 2.7)
net-scp (1.0.2)
net-sftp (2.0.2)
net-ssh (2.0.11)
net-ssh-gateway (1.0.1)
passenger (2.2.15, 2.2.11, 2.2.7, 2.2.4, 2.1.3)
rack (1.2.1, 1.1.0, 1.0.1, 1.0.0)
rails (2.3.8, 2.3.5, 2.3.4, 2.3.3)
rake (0.8.7, 0.8.3)
rmagick (2.13.1, 2.10.0)
rubygems-update (1.3.7, 1.3.5)
sqlite3-ruby (1.2.5)
tzinfo (0.3.13)
vim-ruby (2007.05.07)

RE: i18n issue when installing on shared host? - Added by Eric Davis at 2011-03-07 11:24 pm

This sounds like a path issue. Like maybe gem on the command line is using a different set of gems than the web server.

Can you paste the output of gem env?

Eric Davis

RE: i18n issue when installing on shared host? - Added by Andrew Leaf at 2011-03-07 11:44 pm

Here's the output of gem env

- RUBYGEMS VERSION: 1.3.7
  - RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]
  - INSTALLATION DIRECTORY: /home/cooliond/ruby/gems
  - RUBY EXECUTABLE: /usr/bin/ruby
  - EXECUTABLE DIRECTORY: /home/cooliond/ruby/gems/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /home/cooliond/ruby/gems
     - /home/cooliond/.gems
     - /usr/lib/ruby/gems/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gempath" => ["/home/cooliond/.gems", "/usr/lib/ruby/gems/1.8"]
     - "gem" => "--remote --gen-rdoc --run-tests" 
     - "gemhome" => "/home/cooliond/ruby/gems" 
     - "rdoc" => "--inline-source --line-numbers" 
  - REMOTE SOURCES:
     - http://rubygems.org/

Thanks for all of the help.

Cheers,

Andrew

RE: i18n issue when installing on shared host? - Added by Eric Davis at 2011-03-14 09:07 pm

Andrew Leaf:

Try checking the two gempaths now and look the i18n gem. ls /home/cooliond/.gems and the ls /usr/lib/ruby/gems/1.8. I suspect that it's present in your user's path (/home/cooliond/.gems) but not in the system path.

Eric Davis

(1-5/5)