Hi All, I'm afraid I'm a newbie to foreman, puppet and ruby but I have been tasked with getting up to speed with writing foreman plugins.
I followed the foreman-vagrant guide at: https://github.com/garystafford/foreman-vagrant which gave me 3 VMs: theforeman.example.com agent01.example.com agent02.example.com All are managed by foreman version 1.9.3 and running under CentOS 7.0.1406 with puppet version 3.8.7. All seems to work well however when I cloned the foreman_plugin_template from: https://github.com/theforeman/foreman_plugin_template And tried to follow the instructions... I was stymied when I went to use bundle to install my plugin: [vagrant@theforeman foreman_my_plugin]$ *bundle install* Fetching gem metadata from https://rubygems.org/............ Fetching additional metadata from https://rubygems.org/.. Resolving dependencies... Installing rake 11.3.0 Installing concurrent-ruby 1.0.2 Installing i18n 0.7.0 Installing minitest 5.9.1 Installing thread_safe 0.3.5 Installing tzinfo 1.2.2 Gem::InstallError: activesupport requires Ruby version >= 2.2.2. An error occurred while installing activesupport (5.0.0.1), and Bundler cannot continue. Make sure that `gem install activesupport -v '5.0.0.1'` succeeds before bundling. [vagrant@theforeman foreman_my_plugin]$ *ruby -v* ruby 2.0.0p598 (2014-11-13) [x86_64-linux] Any thoughts? I did try installing the latest ruby but that just broke my foreman installation so I reloaded my vagrant images from scratch. Cheers, Doug -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
