Problems with installation Coupa Express

194 views
Skip to first unread message

Ricardo

unread,
May 31, 2010, 10:58:48 AM5/31/10
to Coupa Express
Hi,

When I run the follow command:
rake db:schema:load --trace

The error is:

rake aborted!
undefined method `deprecate' for #<Class:ActiveRecord::Base>
/home/user/.gem/ruby/1.8/gems/activerecord-1.15.3/lib/active_record/
deprecated_finders.rb:13
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
/home/user/.gem/ruby/1.8/gems/activerecord-1.15.3/lib/active_record/
base.rb:4
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
/home/user/.gem/ruby/1.8/gems/activerecord-1.15.3/lib/active_record.rb:
37
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
/home/user/coupa-1.5/config/../vendor/plugins/coupa_engine/tasks/
coupa_engine.rake:18
/usr/local/lib/site_ruby/1.8/rake.rb:1571:in `in_namespace'
/usr/local/lib/site_ruby/1.8/rake.rb:641:in `namespace'
/home/user/coupa-1.5/config/../vendor/plugins/coupa_engine/tasks/
coupa_engine.rake:17
/home/user/.gem/ruby/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:8:in
`load'
/home/user/.gem/ruby/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:8
/home/user/.gem/ruby/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:8:in
`each'
/home/user/.gem/ruby/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:8
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
/home/user/coupa-1.5/Rakefile:10
/usr/local/lib/site_ruby/1.8/rake.rb:1940:in `load'
/usr/local/lib/site_ruby/1.8/rake.rb:1940:in `raw_load_rakefile'
/usr/local/lib/site_ruby/1.8/rake.rb:1727:in `load_rakefile'
/usr/local/lib/site_ruby/1.8/rake.rb:1761:in
`standard_exception_handling'
/usr/local/lib/site_ruby/1.8/rake.rb:1726:in `load_rakefile'
/usr/local/lib/site_ruby/1.8/rake.rb:1710:in `run'
/usr/local/lib/site_ruby/1.8/rake.rb:1761:in
`standard_exception_handling'
/usr/local/lib/site_ruby/1.8/rake.rb:1708:in `run'
/usr/bin/rake:8

My gem list:

actionmailer (1.3.3)
actionpack (1.13.3)
actionwebservice (1.2.3)
activerecord (1.15.3)
activeresource (2.3.8)
activesupport (2.3.8, 1.4.2)
acts_as_ferret (0.4.1)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
fastthread (1.0.7)
ferret (0.11.4)
fxri (0.3.6)
fxruby (1.6.20)
gem_plugin (0.2.3)
hoe (2.6.0)
hpricot (0.6.164)
json_pure (1.4.3)
log4r (1.1.7)
mongrel (1.1.5)
mysql (2.8.1)
rack (1.1.0)
rails (1.2.3)
rake (0.7.3)
rdoc (2.5.8)
rtf (0.1.0)
rubyforge (2.0.4)
test (0.1)
vpim (0.695)

What's happen ??
Ricardo

Amin Taufik

unread,
May 9, 2012, 1:59:52 PM5/9/12
to coupa-...@googlegroups.com
Hello everyone,

I just want to install Coupa Express under windows XP SP3, and had the same problem when want to load the database using 'rake db:schema:load' command.

C:\coupa-1.5>Rake db:schema:load
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-0.7.3/lib/rake.rb:32: warning: already
initialized constant RAKEVERSION
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require':
cannot load such file -- ftools (LoadError)
        from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-0.7.3/lib/rake.rb:35:in `< top (required)>'
        from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-0.7.3/bin/rake:5:in `rescue in <top (required)>'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-0.7.3/bin/rake:1:in `<top (required)>'
        from C:/Ruby193/bin/rake:23:in `load'
        from C:/Ruby193/bin/rake:23:in `<main>'

Here is my gem list :

H:\>gem list

*** LOCAL GEMS ***


actionmailer (1.3.3)
actionpack (1.13.3)
actionwebservice (1.2.3)
activemodel (3.2.3)
activerecord (3.2.3, 1.15.3)
activesupport (3.2.3, 1.4.2)
acts_as_ferret (0.4.1)
ansi (1.4.2)
arel (3.0.2)
bigdecimal (1.1.0)
build-tool (0.6.2)
builder (3.0.0)
cgi_multipart_eof_fix (2.5.0)
diff-lcs (1.1.3)
ferret (0.11.4 mswin32)
fxri (0.3.6)
fxruby (1.6.23 x86-mingw32)
gem_plugin (0.2.3)
grit (2.5.0)
hpricot (0.8.6)
i18n (0.6.0)
io-console (0.3)
json (1.5.4)
little-plugger (1.1.3)
log4r (1.1.10)
logging (1.7.2)
mime-types (1.18)
minitest (2.5.1)
mkrf (0.2.3)
mongrel (1.1.5 x86-mingw32)
multi_json (1.3.4)
mysql (2.8.1 x86-mingw32)
posix-spawn (0.3.6)
ptools (1.1.6)
rails (1.2.3)
rake (0.7.3)
rdiscount (1.6.8)
rdoc (3.9.4)
rtf (0.3.3)
sqlite3 (1.3.6 x86-mingw32)
tzinfo (0.3.33)
vpim (0.695)

Thanks,
Amin

Amin Taufik

unread,
May 9, 2012, 2:07:11 PM5/9/12
to coupa-...@googlegroups.com
Hello,

I have the same problem when load the table using command 'rake db:schema:load'.
My installation under WinXP SP3.


C:\coupa-1.5>Rake db:schema:load
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-0.7.3/lib/rake.rb:32: warning: already
initialized constant RAKEVERSION
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require':
cannot load such file -- ftools (LoadError)
        from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-0.7.3/lib/rake.rb:35:in `<top (required)>'
        from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-0.7.3/bin/rake:5:in `rescue in <top (required)>'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-0.7.3/bin/rake:1:in `<top(required)>'
        from C:/Ruby193/bin/rake:23:in `load'
        from C:/Ruby193/bin/rake:23:in `<main>'

My gem list :


H:\>gem list

*** LOCAL GEMS ***

actionmailer (1.3.3)
actionpack (1.13.3)
actionwebservice (1.2.3)

marishen

unread,
Jan 12, 2013, 12:31:02 PM1/12/13
to coupa-...@googlegroups.com
Hello Amin,
Did you ever get this resolved?  I started trying to install Coupa Exress last month and I am unable to succeed with db:schema:load.
This is what I get.
C:\coupa-1.5>rake db:schema:load
NOTE: Gem.cache is deprecated, use Gem::source_index. It will be removed on or after 2011-08-01.
Gem.cache called from C:/coupa-1.5/config/boot.rb:26.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:1175.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011
-11-01.
Gem::SourceIndex#search called from C:/coupa-1.5/config/boot.rb:26.
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/deprecate.rb:63:Warning: Gem::SourceIndex#search support
for String patterns is deprecated, use #find_name
rake aborted!
ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2
+) instead.
C:/coupa-1.5/Rakefile:8
(See full trace by running task with --trace)
 
thanks,
marishen

David Williams

unread,
Jan 12, 2013, 1:36:17 PM1/12/13
to coupa-...@googlegroups.com
Amin,
It looks like you're trying to install using either ruby 1.9.3 or 1.9.1, neither of which will work-- they're not fully backward-compatible with 1.8.7. You should probably use the version of ruby specified in the installation guide, although any build of 1.8.7 will probably also work.
Regards,
David

David Williams

unread,
Jan 12, 2013, 1:39:18 PM1/12/13
to coupa-...@googlegroups.com
marishen,
It looks like you're using too new a version of rake. Like ruby, newer versions are not fully backwards-compatible. You need to use the version specified in the installation guide.
-David

--
 
 
 

Marcia Henry

unread,
Jan 27, 2013, 8:54:16 PM1/27/13
to coupa-...@googlegroups.com
Hello David,
Would you have the correct version?  Wish you were available for side jobs.


 
--
 
 
 

Reply all
Reply to author
Forward
0 new messages