Echi-converter problem

37 views
Skip to first unread message

Beto

unread,
Jun 9, 2009, 8:34:04 AM6/9/09
to ECHI Converter
Hi,

I'm new in this enviroment.
I'm trying to configure the echi-converter in a Windows machine with
an Oracle DDBB, but I`m experiencing some problems.
I have install all the required programs regarding the ruby
installation details.
Even I have changed the application.yml and database.yml files with
these info:
application.yml

#Connection details for the Avaya CMS/ECHI host
echi_host: 129.200.100.104
echi_port: 21
echi_username: xxxxxx
echi_password: xxxxxx
echi_connect_type: ftp #only ftp supported now, possible for ssh/sftp
in the future

database.yml

#Database connection configuration, uses Active Record from Ruby on
Rails
adapter: oracle_enhanced
database: 'opr1'
username: 'xxxxx'
password: 'xxxxx'
host: 'localhost'
#encoding: utf8

I've also installed the oracle_enhanced-adapter.

But the problem is when I do the "rake migrate" to create the tables I
receive:

Hoe.new {...} deprecated. Switch to Hoe.spec.
rake aborted!
couldn't find HOME environment -- expanding `~/.h
C:/ruby/echimacbeto/rakefile:64:in `new'
(See full trace by running task with --trace)

And with the "rake migrate --trace"

couldn't find HOME environment -- expanding `~/.hoerc'
c:/ruby/lib/ruby/gems/1.8/gems/hoe-2.0.0/lib/hoe.rb:525:in
`expand_path'
c:/ruby/lib/ruby/gems/1.8/gems/hoe-2.0.0/lib/hoe.rb:525:in
`with_config'
c:/ruby/lib/ruby/gems/1.8/gems/hoe-2.0.0/lib/hoe/signing.rb:52:in
`define_signin
g_tasks'
c:/ruby/lib/ruby/gems/1.8/gems/hoe-2.0.0/lib/hoe.rb:451:in `send'
c:/ruby/lib/ruby/gems/1.8/gems/hoe-2.0.0/lib/hoe.rb:451:in
`load_plugin_tasks'
c:/ruby/lib/ruby/gems/1.8/gems/hoe-2.0.0/lib/hoe.rb:450:in `each'
c:/ruby/lib/ruby/gems/1.8/gems/hoe-2.0.0/lib/hoe.rb:450:in
`load_plugin_tasks'
c:/ruby/lib/ruby/gems/1.8/gems/hoe-2.0.0/lib/hoe.rb:496:in
`post_initialize'
c:/ruby/lib/ruby/gems/1.8/gems/hoe-2.0.0/lib/hoe.rb:413:in
`initialize'
C:/ruby/echimacbeto/rakefile:64:in `new'
C:/ruby/echimacbeto/rakefile:64
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `load'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in
`raw_load_rakefile
'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in
`load_rakefile'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exceptio
n_handling'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in
`load_rakefile'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exceptio
n_handling'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
c:/ruby/bin/rake:19:in `load'
c:/ruby/bin/rake:19


Could anyone give me a hand? Thanks

Beto

unread,
Jun 9, 2009, 10:46:55 AM6/9/09
to ECHI Converter
Ok, I've seen I had to set a HOME variable and then it started to
create the tables. Thanks.
Reply all
Reply to author
Forward
0 new messages