Version: 11.10.27
- Bug fixes related to LDAP & Active Directory integration.
- Fix the default .ovf path to be compatible with windows paths.
Rubinius Crash Report #rbxcrashreport | |
Error: signal SIGSEGV | |
[[Backtrace]] | |
0 rbx 0x0000000103165011 _ZN8rubiniusL12segv_handlerEi + 241 | |
1 libsystem_c.dylib 0x00007fff94341cfa _sigtramp + 26 | |
2 ??? 0x0000000106e33540 0x0 + 4410520896 | |
3 libsystem_c.dylib 0x00007fff942eb338 fileno + 31 | |
4 kgio_ext.bundle 0x00000001065dd601 my_fileno + 84 |
#!/bin/bash | |
if [[ -z $1 ]] ; then | |
echo "File argument missing" 1>&2 | |
exit 1 | |
else | |
file="$1" | |
fi | |
if [[ -z $2 ]] ; then |
require 'formula' | |
class Dpkg <Formula | |
url 'https://launchpad.net/debian/+archive/primary/+files/dpkg_1.16.0.3.tar.bz2' | |
homepage 'http://en.wikipedia.org/wiki/Dpkg' | |
md5 '0266b06ef9da8278cea008d21e17e5f6' | |
depends_on 'gnu-tar' | |
def patches |
require 'rubygems' | |
require 'typhoeus' | |
response = Typhoeus::Request.run('http://127.0.0.1:3001', {}) | |
p response.headers_hash | |
## => {"HTTP/1.1 200 OK"=>nil, "Date"=>"...", "Content-Length"=>"12", "Connection"=>"close"} |
diff --git a/app/controllers/reporting.rb b/app/controllers/reporting.rb | |
index 3a6768f..662bdd9 100644 | |
--- a/app/controllers/reporting.rb | |
+++ b/app/controllers/reporting.rb | |
@@ -24,34 +24,6 @@ class Reporting < Application | |
if instance.status == :running | |
Merb.logger.error! "instance(#{instance.amazon_id}) ALERT!\n SEVERITY: #{params[:data]['Severity']}\n PLUGIN:#{params[:data]['Plugin']} TYPE:#{params[:data]['Type']}\n MESSAGE:#{params[:data]['alert_message']}" | |
Alert.create_from_json(instance, params['data']) | |
- environment = Environment.get instance.environment.id | |
- if environment.alerting_enabled |
# run very flat apps with merb -I <app file>. | |
# use_orm :datamapper | |
use_test :rspec | |
require 'haml' | |
require 'compass' | |
Merb::Config.use { |c| | |
c[:framework] = { :public => [Merb.root / "public", nil] } | |
c[:session_store] = 'none' | |
c[:exception_details] = true |
def show(id) | |
@post = Post.get(id) | |
raise NotFound unless @post | |
display @post | |
end | |
def create(comment) | |
@comment = Comment.new(comment) | |
if @comment.save | |
eager_cache([Posts, :show], :store => :action_store) { self.class.build_request(url(:post, @comment.post), :id => @comment.post.id) } |
declare -a pids | |
i=0 | |
for pid in log/merb.*.pid ; do | |
if [ $pid == "log/merb.main.pid" ]; then | |
echo "Killing master process" | |
kill -9 `cat $pid` | |
else | |
pids[$i]=`cat $pid` | |
fi |
class Pais | |
include DataMapper::Resource | |
# Configuración de las relaciones | |
has n, :bancos | |
# Propiedades principales | |
property :id, Serial | |
property :nombre, String, :length => (1..50), :nullable => false | |
property :nombre_corto, String, :length => (1..20), :nullable => false |