descala/haltr — Issue #16: Chiliproject installation issue: no such file to load -- gettext
Author: kirantpatil
Created: 2011-11-23 06:58:45+00:00
State: open

System Information:
--------------------------
ubuntu@gtt-ubuntu:~/chiliproject$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]

ubuntu@gtt-ubuntu:~/chiliproject$ rails -v
Rails 2.3.14

ChiliProject Version: 2011-10-31 v2.4.0

ubuntu@gtt-ubuntu:~/chiliproject$ gem list

*** LOCAL GEMS ***

actionmailer (3.1.3, 2.3.14)
actionpack (3.1.3, 2.3.14)
activemodel (3.1.3)
activerecord (3.1.3, 2.3.14)
activeresource (3.1.3, 2.3.14)
activesupport (3.1.3, 2.3.14)
archive-tar-minitar (0.5.2)
arel (2.2.1)
babosa (0.3.5)
builder (3.0.0)
bundler (1.0.21 ruby)
chili_videos (0.2.1)
coderay (0.9.8)
columnize (0.3.4)
crack (0.1.8)
daemon-spawn (0.4.2)
daemons (1.1.4)
delayed_job (2.1.4, 2.0.4)
edavis10-object_daddy (0.4.3)
erubis (2.7.0)
friendly_id (3.3.0.1, 3.2.1.1)
gettext (2.1.0)
gettext_activerecord (2.1.0)
gettext_rails (2.1.0)
hashie (1.2.0, 1.0.0)
hike (1.2.1)
httparty (0.7.4)
i18n (0.6.0, 0.4.2)
json (1.6.1)
linecache19 (0.5.12)
locale (2.0.5)
locale_rails (2.0.5)
mail (2.3.0)
metaclass (0.0.1)
mime-types (1.17.2)
mocha (0.10.0)
money (4.0.1)
multi_json (1.0.3)
mysql2 (0.2.17)
pg (0.9.0)
polyglot (0.3.3)
rack (1.3.5, 1.1.2)
rack-cache (1.1)
rack-mount (0.8.3)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (2.3.14)
railties (3.1.3)
rake (0.9.2.2, 0.9.2)
rdoc (3.11)
rmagick (2.13.1)
ruby-debug-base19 (0.11.25)
ruby-debug19 (0.11.6)
ruby-openid (2.1.8)
ruby_core_source (0.1.5)
rubytree (0.5.3)
shoulda (2.10.3)
sprockets (2.0.3)
sqlite3 (1.3.4)
state_machine (1.1.0)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.31)

Steps to reproduce:
---------------------------
1) Install Chiliproject stable version
2) Install Haltr plugin
3) We skipped the step: rake gems:install since it results in below error and we have changed in database.yml mysql->mysql2 while building ChiliProject and now we commented 'mysql' in Gemfile and Gemfile.lock to get rid of below error but not successful.
ubuntu@gtt-ubuntu:~/chiliproject$ rake gems:install
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install
mysql.
rake aborted!
no such file to load -- mysql

Tasks: TOP => environment
(See full trace by running task with --trace)

4) The next step: rake db:migrate:plugins RAILS_ENV=production
(Even we installed gem install gettext_rails)
It results in following error:
ubuntu@gtt-ubuntu:~/chiliproject$ rake db:migrate:plugins RAILS_ENV=production
rake aborted!
no such file to load -- gettext

Tasks: TOP => db:migrate:plugins => environment
(See full trace by running task with --trace)