Displaying 20 results from an estimated 300 matches similar to: "Sanity Check"
2011 Oct 18
18
make install not creating lib entries in /usr/lib under Ubunu 11.10
I am building xen-unstable (23860:a422e2a4451e) on Ubuntu 11.10. I
noticed that the "make install" does not create lib entries in
/usr/lib/. I see them only in /usr/lib64/. This is causing program
like xenpaging to not find the xenctrl library (error while loading
shared libraries: libxenctrl.so.4.2: cannot open shared object file:
No such file or directory) Is this expected behavior or
2011 Sep 30
13
[PATCH] tools/check: check for yajl (needed by libxl)
# HG changeset patch
# User Ian Campbell <ian.campbell@citrix.com>
# Date 1317367995 -3600
# Node ID 4b98868690218126b90620d9b43fdd4140145a43
# Parent e50da6b98e3d5933b9c98e8f43096fd3ebbae00d
tools/check: check for yajl (needed by libxl)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
(note to committer, ensure the new file is executable)
diff -r e50da6b98e3d -r
2012 Aug 08
13
[PATCH] tools: don't expand prefix and exec_prefix too early
A comment in tools/configure says that it is intended for these to be
command line overridable, so they shouldn''t get expanded at configure
time.
The patch is fixing tools/m4/default_lib.m4 as far as I can see myself
doing this, but imo it is flawed altogether and should rather be
removed:
- setting prefix and exec_prefix to default values is being done later
in tools/configure anyway
2009 Oct 11
1
passing model data to a plugin called within that model
I am making a plugin which extends ActiveRecord::Base
I have the plugin working in my models in other aspects. I would like
to pass in some data to the plugin, but I can''t get the data I would
like.
so if I have:
class Stuff < ActiveRecord::Base
belongs_to :thing
my_plugin :id => self.thing.other_id
end
it chokes on figuring out what to do with self.thing.other_id.
2006 Jul 27
2
accessing a variable inside a plugin
Hello,
I would like to load an Hash in my init.rb plugin file ... than I would
like to use this hash in my module ...
in my init.rb:
@anHash = load From file...
in mymodule:
module Amodule
def myFunction
#@anHash ....
end
end
How can I access to my hash in my plugin module function ?
thanks for this dummy question ;-)
Arnaud
2007 Apr 13
21
ZenTest autotest now handles RSpec, yay!
Josh Knowles http://joshknowles.com/ just let me know that ZenTest Autotest
3.50 now handles your RSpec specs.
http://blog.zenspider.com/archives/2007/04/zentest_version_350_has_been_released.html
That''s a great news.
Josh also shared with me a quick hack to make autotest work with only the
RSpec plugin installed.
Add the following into your ~/.autotest file
2017 Feb 19
2
Fwd: nbdkit async
----- Forwarded message -----
Date: Sat, 18 Feb 2017 22:21:19 -0500
Subject: nbdkit async
Hello,
Hope this is the right person to contact regarding nbdkit design.
I have a high latency massively parallel device that I am currently
implementing as an nbdkit plugin in c++ and have run into some design
limitations due to the synchronous callback interface nbdkit requires.
Nbdkit is currently
2009 Apr 08
4
Having trouble extending a class from a Rails plugin
I have class in a plugin that I want to crack open and add some
functionality to for a particular application. So, I created a file by
the same name as the class in my app/models folder and added some
methods to the class, but, I can''t seem to get Rails (2.2.2) to pick-up
the extended definition.
I did find while trying to debug the problem that if I paste the
extended definition into,
2006 Aug 08
2
Extending rails with plugins
I''ve been looking at bottling some functionality up into a plugin, but I''m
having some problems including it.
The structure I have is:
/app/controllers/admin/base_controller.rb:
class Admin::BaseController > ApplicationController
#snip#
end
/vendor/plugins/myplugin/lib/my_module.rb:
module MyModule
def new_func
"New Function"
end
end
2006 Feb 08
2
Adding routes via a plugin...
I have a plugin that I am working on that will as part of its distribution
contain a controller. I would like to be able to add a route for it in the
plugin''s init.rb so that when the plugin is loaded, the route will
automatically be registered without having to force the user to edit
routes.rb or even make a rake task to do it for them.
I saw the following code in one of the SVN
2006 Jan 20
4
REST API''s and querying a graph of objects
Hey all,
I am wondering if anyone has given thought to using REST / XPath as
querying mechanism. That way you could have a URL that actually maps
to a collection of records (objects, really) that meet a certain
criteria and that are sorted a certain way.
Mike Pence
2006 Aug 16
6
error with edge rails
I''ve started an app with rails 1.1.6 then ran freeze_edge. My app
will not run with rails in the vendor folder. Have I forgot to do
something? I"ve been without the internet for the last two months.
Has something changed?
2006 Aug 08
5
RubyGems runtime memory use in Rails apps...
This an open plea for someone with knowledge of RubyGems to explain why
RubyGems stays in memory (over 10MB) after a Rails application is loaded. I
am unable to figure out why this would be necessary. I haven''t had any
response from Jim or Chad from RubyGems about it so I thought I would throw
it open to the list to see if anyone could educate me or share thier
experiences with this.
2012 May 04
2
[PATCH] run-init: add drop_capabilities support
Building on the work in ff0a614bd724f6c4c6a5014a9955dc1bc028f336,
this moves the capability code down into the run-init library, so that
run-init can use it as well, via the new "-d" flag.
Signed-off-by: Kees Cook <kees at outflux.net>
---
usr/kinit/Kbuild | 3 +--
usr/kinit/capabilities.h | 10 ++++++++++
usr/kinit/kinit.c | 6 +++---
2007 Dec 19
4
Questions on writing plugin for merb
Hey all,
I am looking to write a plugin for merb and have a few queries about
how to best go about it. I have a few questions (sorry if some are
very merb newbie ones):
- It seems all the plugins are gems; I can just add dependencies (my
plugin will require soap4r) as per any usual gem spec?
- If I want my plugin to add some new generate functionality? Is this
possible? If so, are there
2006 Apr 27
14
cleanWhitespace and parentNode
Hey cats,
I seem to have ran into a problem in IE trying to use parentNode with
the cleanWhitespace method.
doing something like:
var div = $(''mydiv'');
Element.cleanWhitespace(div);
works really great, but try doing:
var div = $(''mydiv'');
Element.cleanWhitespace(div.parentNode);
or
var div = $(''mydiv'');
div = div.parentNode;
2007 Aug 09
7
Modules in lib not follwing naming convension
Hej! Okey i have a problem, i have earlier written a set of classes in
ruby implementing a msrp chat client and now im trying to use it in my
rails app.
The msrp implementation consists of several files and most of the
functions and classes in those files ar encapsulated in a module lets
call it X. so for instance they look like this
header.rb
module X
class Z
...
end
end
The problem now
2016 Jan 17
1
[PATCH klibc] run-init: Add dry-run mode
initramfs-tools wants to validate the real init program before running
it, as there is no way out once it has exec'd run-init. This is
complicated by the increasing use of symlinks for /sbin/init and for
/sbin itself. We can't simply resolve them with 'readlink -f' because
any absolute symlinks will be resolved using the wrong root. Add a
dry-run mode (-n option) to run-init
2006 Mar 15
9
Rails 1.1 is coming!
"Rails 1.1 is coming" - Feb 26, 2006 post in rails-core
* http://www.ruby-forum.com/topic/55991
Final Drive Candidates (highlighted for review by core members)
* http://dev.rubyonrails.org/report/19
Potential Rails 1.1 Blockers
* http://dev.rubyonrails.org/report/10
Did you know you can run many different versions of Rails on the same
physical server? This means you can test
2006 Apr 28
19
Remember James McGovern?
Remember James McGovern and his articles about Rails and enterprise?
Well... Check this one out where he "puts his money where his mouth is"
http://duckdown.blogspot.com/2006/04/ruby-community-proved-mcgovern-wrong.html
--
--------------
Jon Gretar Borgthorsson
http://www.jongretar.net/