I'm trailing this agent out and I've hit a block in that I'm not sure how I need to execute the deployment of the agent stated in step 10 of the README.
I'm running this on a Windows 2008 R2 server.
From the top-level directory, run the following commands:
$ bundle install
$ ./pivotal_agent
These command line option do not work. I've installed Ruby 1.9.3-p484 (RubyInstallers) and tried to execute the commands from the Ruby path.
I'm new at this and Ruby and I'm not sure how this will be deployed.
Update:
I loaded bundle and the Devkit. Seems to see these in the path. I know get this error...
.0.4>bundle install
Fetching gem metadata from http://rubygems.org/..........
Fetching gem metadata from http://rubygems.org/..
Resolving dependencies...
Using multipart-post (1.2.0)
Using faraday (0.8.8)
Using faraday_middleware (0.9.0)
Installing json (1.8.1)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension
.
C:/Program Files (x86)/Ruby193/bin/ruby.exe: invalid switch in RUBYOPT: -F (Runt
imeError)
Gem files will remain installed in C:/Program Files (x86)/Ruby193/lib/ruby/gems/
1.9.1/gems/json-1.8.1 for inspection.
Results logged to C:/Program Files (x86)/Ruby193/lib/ruby/gems/1.9.1/gems/json-1
.8.1/ext/json/ext/generator/gem_make.out
An error occurred while installing json (1.8.1), and Bundler cannot continue.
Make sure that gem install json -v '1.8.1' succeeds before bundling.
C:\Program Files (x86)\New Relic\RabbitMQ\newrelic_pivotal_agent-pivotal_agent-1
.0.4>gem install json
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing json:
ERROR: Failed to build gem native extension.
C:/Program Files (x86)/Ruby193/bin/ruby.exe: invalid switch in RUBYOPT: -F (Runt
imeError)
Gem files will remain installed in C:/Program Files (x86)/Ruby193/lib/ruby/gems/
1.9.1/gems/json-1.8.1 for inspection.
Results logged to C:/Program Files (x86)/Ruby193/lib/ruby/gems/1.9.1/gems/json-1
.8.1/ext/json/ext/generator/gem_make.out
I'm trailing this agent out and I've hit a block in that I'm not sure how I need to execute the deployment of the agent stated in step 10 of the README.
I'm running this on a Windows 2008 R2 server.
From the top-level directory, run the following commands:
These command line option do not work. I've installed Ruby 1.9.3-p484 (RubyInstallers) and tried to execute the commands from the Ruby path.
I'm new at this and Ruby and I'm not sure how this will be deployed.
Update: I loaded bundle and the Devkit. Seems to see these in the path. I know get this error...
.0.4>bundle install Fetching gem metadata from http://rubygems.org/.......... Fetching gem metadata from http://rubygems.org/.. Resolving dependencies... Using multipart-post (1.2.0) Using faraday (0.8.8) Using faraday_middleware (0.9.0) Installing json (1.8.1) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension .
C:/Program Files (x86)/Ruby193/bin/ruby.exe: invalid switch in RUBYOPT: -F (Runt imeError)
Gem files will remain installed in C:/Program Files (x86)/Ruby193/lib/ruby/gems/ 1.9.1/gems/json-1.8.1 for inspection. Results logged to C:/Program Files (x86)/Ruby193/lib/ruby/gems/1.9.1/gems/json-1 .8.1/ext/json/ext/generator/gem_make.out An error occurred while installing json (1.8.1), and Bundler cannot continue. Make sure that
gem install json -v '1.8.1'
succeeds before bundling.C:\Program Files (x86)\New Relic\RabbitMQ\newrelic_pivotal_agent-pivotal_agent-1 .0.4>gem install json Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing json: ERROR: Failed to build gem native extension.
C:/Program Files (x86)/Ruby193/bin/ruby.exe: invalid switch in RUBYOPT: -F (Runt imeError)
Gem files will remain installed in C:/Program Files (x86)/Ruby193/lib/ruby/gems/ 1.9.1/gems/json-1.8.1 for inspection. Results logged to C:/Program Files (x86)/Ruby193/lib/ruby/gems/1.9.1/gems/json-1 .8.1/ext/json/ext/generator/gem_make.out
C:\Program Files (x86)\New Relic\RabbitMQ\newrelic_pivotal_agent-pivotal_agent-1 .0.4>