This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/opt/sensu/embedded/bin/ruby | |
# | |
# This file was generated by RubyGems. | |
# | |
# The application 'sensu' is installed as part of a gem, and | |
# this file is here to facilitate running it. | |
# | |
require 'rubygems' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem install ./sensu-0.28.0.gem | |
Fetching: parse-cron-0.1.4.gem (100%) | |
Successfully installed parse-cron-0.1.4 | |
Fetching: eventmachine-1.2.2.gem (100%) | |
Building native extensions. This could take a while... | |
Successfully installed eventmachine-1.2.2 | |
Fetching: em-http-server-0.1.8.gem (100%) | |
Successfully installed em-http-server-0.1.8 | |
Fetching: sensu-redis-2.1.0.gem (100%) | |
Successfully installed sensu-redis-2.1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo gem install ./sensu-0.28.0.gem | |
Fetching: eventmachine-1.2.2.gem (100%) | |
Building native extensions. This could take a while... | |
ERROR: Error installing ./sensu-0.28.0.gem: | |
ERROR: Failed to build gem native extension. | |
/usr/bin/ruby1.9.1 extconf.rb | |
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError) | |
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from extconf.rb:2:in `<main>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem build -V sensu.gemspec | |
Invalid gemspec in [sensu.gemspec]: can't modify frozen String | |
ERROR: Error loading gemspec. Aborting. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Successfully built RubyGem | |
Name: sensu | |
Version: 0.28.0 | |
File: sensu-0.28.0.gem | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git diff | |
diff --git a/sensu.gemspec b/sensu.gemspec | |
index 5fbdb5e..ab3eed2 100644 | |
--- a/sensu.gemspec | |
+++ b/sensu.gemspec | |
@@ -3,7 +3,7 @@ require File.join(File.dirname(__FILE__), "lib", "sensu", "constants") | |
Gem::Specification.new do |s| | |
s.name = "sensu" | |
- s.version = Sensu::VERSION |