Hi,
I'm curious for the new development code so I wanted to checkout and
give it a spin. Unfortunately I'm unable to do so.
I used the instructions from:
http://theforeman.org/projects/foreman/wiki/Installing_latest_code
Up to the point before I run 'RAILS_ENV=production bundle exec rake
db:migrate' I have no issues, but when I run it I hit the error as
shown below. It cannot find 'facter' altough the gem facter is
installed on my system.
mawi@mawi-laptop:~/foreman$ RAILS_ENV=production bundle exec rake db:migrate
/home/mawi/foreman/vendor/ruby/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:10:
warning: already initialized constant ENC_NONE
/home/mawi/foreman/vendor/ruby/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:11:
warning: already initialized constant ENC_EUC
/home/mawi/foreman/vendor/ruby/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:12:
warning: already initialized constant ENC_SJIS
/home/mawi/foreman/vendor/ruby/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:13:
warning: already initialized constant ENC_UTF8
rake aborted!
no such file to load – facter
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
mawi@mawi-laptop:~/foreman$
specs workstation:
Description: Ubuntu 12.04 LTS
ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux]
On my production system it cannot find 'puppet' although installed.
<HOST> foreman # RAILS_ENV=production bundle exec rake db:migrate
/usr/share/foreman/vendor/ruby/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:10:
warning: already initialized constant ENC_NONE
/usr/share/foreman/vendor/ruby/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:11:
warning: already initialized constant ENC_EUC
/usr/share/foreman/vendor/ruby/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:12:
warning: already initialized constant ENC_SJIS
/usr/share/foreman/vendor/ruby/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:13:
warning: already initialized constant ENC_UTF8
rake aborted!
no such file to load – puppet
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
<HOST> foreman #
specs production dashboard server:
Description: Ubuntu 10.04.4 LTS
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
gem list facter
*** LOCAL GEMS ***
facter (1.6.6, 1.6.4, 1.6.3, 1.6.0)
gem list puppet
*** LOCAL GEMS ***
puppet (2.7.12, 2.7.9, 2.7.6, 2.7.5)
Any help will be really appreciated!
···
--- Kind Regards,Martin Willemsma