search for: loadpath

Displaying 20 results from an estimated 29 matches for "loadpath".

2006 Apr 10
0
Loadpath question
Im installed gems on a custom gem path indicated by GEM_HOME. I updated rails to 1.1.2 via gem install rails --include-dependencies then rails -v Rails 1.1.2 but un a webapp via dispatch.rb through apache cgi, got rails 1.1.1 and dependencies. Where can be the loadpath to retrieve rails 1.1.1 when I need rails 1.1.2? thanks P -- Posted via http://www.ruby-forum.com/.
2013 Feb 13
4
[PATCH 0/3] FLASK policy build rework
These patches update the example FLASK policy shipped with Xen and enable its build if the required tools are present. The third patch requires rerunning autoconf to update tools/configure. [PATCH 1/3] flask/policy: sort dom0 accesses [PATCH 2/3] flask/policy: rework policy build system [PATCH 3/3] tools/flask: add FLASK policy to build
2017 Jul 31
0
[PATCH v11 02/10] daemon: Embed the ocaml-augeas library in the daemon.
...tom_operations, + sizeof (augeas_t), used, max); + Augeas_t_val(rv) = t; + + CAMLreturn (rv); +} + +#pragma GCC diagnostic ignored "-Wmissing-prototypes" + +/* val create : string -> string option -> flag list -> t */ +CAMLprim value +ocaml_augeas_create (value rootv, value loadpathv, value flagsv) +{ + CAMLparam1 (rootv); + char *root = String_val (rootv); + char *loadpath; + int flags = 0, i; + augeas_t t; + + /* Optional loadpath. */ + loadpath = + loadpathv == Val_int (0) + ? NULL + : String_val (Field (loadpathv, 0)); + + /* Convert list of flags to C. */...
2017 Aug 09
0
[PATCH v12 02/11] common: Bundle the ocaml-augeas library for use by the daemon.
...tom_operations, + sizeof (augeas_t), used, max); + Augeas_t_val(rv) = t; + + CAMLreturn (rv); +} + +#pragma GCC diagnostic ignored "-Wmissing-prototypes" + +/* val create : string -> string option -> flag list -> t */ +CAMLprim value +ocaml_augeas_create (value rootv, value loadpathv, value flagsv) +{ + CAMLparam1 (rootv); + char *root = String_val (rootv); + char *loadpath; + int flags = 0, i; + augeas_t t; + + /* Optional loadpath. */ + loadpath = + loadpathv == Val_int (0) + ? NULL + : String_val (Field (loadpathv, 0)); + + /* Convert list of flags to C. */...
2006 May 22
0
Bug in text_helper.rb
...quire_library_or_gem "redcloth". The problem is, that this call will always fail and the methods will never be defined when you install RedCloth as a plugin under vendor/plugins. That is because text_helper.rb is loaded before <YOURAPP>/vendor/plugins/RedCloth-x.x.x/lib is in the loadpath. So you''re stuck to having the gem for RedCloth installed, or copy redcloth.rb to the vendor/ directory which is in the loadpath on time. (comments appreciated) Btw. reading the source for require_library_or_gem I was wondering if the last call shouldn''t read >require_gem l...
2009 Sep 30
10
Can't run specs after upgrading gems... get 0 tests, 0 assertions...
So after I updated all my gems, I started getting: /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/ dependencies.rb:105:in `const_missing'': uninitialized constant Test::Unit::TestResult::TestResultFailureSupport (NameError) from /Library/Ruby/Gems/1.8/gems/test-unit-2.0.3/lib/test/unit/ testresult.rb:28 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
2010 Nov 14
5
Authlogic and rails 3 : NameError in User sessionsController#new
Hi everybody, I''ve installed Authlogic on Rails 3 following the Railscast (http:// railscasts.com/episodes/160-authlogic), and the resources I was able to find on the web, but I''m facing a problem. Once I''ve generated the user_sessions controller and mapped the login and logout routes, I get an error if I try to load the login page : uninitialized constant
2009 Apr 07
5
mongrel server core dump on Sun Solaris
...8:41 config -rw------- 1 root root 39992793 Apr 6 18:48 core drwxr-xr-x 4 root root 512 Apr 6 18:40 db drwxr-xr-x 3 root root 512 Apr 6 18:41 doc drwxr-xr-x 4 root root 512 Apr 6 18:41 lib -rw-r--r-- 1 root root 610 Apr 6 18:41 .loadpath drwxr-xr-x 3 root root 512 Apr 6 18:40 log -rw-r--r-- 1 root root 443 Apr 6 18:41 .project drwxr-xr-x 6 root root 512 Apr 6 18:41 public -rw-r--r-- 1 root root 307 Apr 6 18:41 Rakefile -rw-r--r-- 1 root root 10619 Apr 6 18:41...
2019 May 30
5
[PATCH 0/5] RFC: switch augeas APIs to OCaml
This synchronizes the embedded ocaml-augeas copy, and reimplements the augeas APIs using it (dropping all the C code). The behaviour seems unchanged, although I may have not tested all the various corner cases. Pino Toscano (5): common/mlaugeas: Synchronize with latest ocaml-augeas daemon: fix/enhance error reporting of Augeas exceptions Revert "Revert "daemon: implement
2006 Sep 05
0
Undefined class/module error: solved?
...and those model :user, :group, :project From what I''ve been told, "model" is deprecated in Edge Rails, so this isn''t a permanent solution. But this does make for an interim workaround. I guess my question is: why would a class be undefined? Is this some kind of a loadpath issue? - Ian C. Blenke <ian at blenke.com> http://ian.blenke.com/
2009 Jul 31
6
Augeas and grub.conf
Having just spent about 2 hours trying to work out how to add a password --md5 $1$Qejy8/$.qFUuDeYL.cuSDpN1ZD.S1 line to my grub.conf I thought it would be worth sharing how I finally got it to work. augeas {"/boot/grub/grub.conf": context => "/files/boot/grub/grub.conf", changes => [ "set timeout 15",
2011 Jun 09
0
ANNOUNCE: Puppet 2.7.0rc4 Available
...or ticket 7117 68c106e (#5318) Always notice changes to manifests when compiling. a5a78a5 (#7557) Remove Faces Application ea7908b maint: Fix order dependent spec failure for face indirection 2aa9f2f (#7690) Don''t blow up when listing terminuses available for faces 9447cb9 maint: Dedup the loadpath so we don''t have to walk it multiple times 149a12f Maint: Fix ellipses for short descriptions 7688706 (#7563) DRY: Remove indirector boilerplate from individual faces 4662f4d (#7564) Finish templates 331d812 (#7561) Complete help text for all faces and actions 069a6b8 Maint: Add ellipsis t...
2014 Sep 18
1
LDAP and dovecot
At my company I have users who are now becoming remote and using their mobile devices for email. I use Solaris 10 10/09 s10x_u8wos_08a X86 as an operating system and I now need a more secure email solution than the generic sendmail / imap solution. I want to use dovecot and postfix because I have read good reports on these products for ease of setup and use. I need to use both with SSL
2012 Jan 31
26
[PATCH 00/10] FLASK updates: MSI interrupts, cleanups
This patch set adds XSM security labels to useful debugging output locations, and fixes some assumptions that all interrupts behaved like GSI interrupts (which had useful non-dynamic IDs). It also cleans up the policy build process and adds an example of how to use the user field in the security context. Debug output: [PATCH 01/10] xsm: Add security labels to event-channel dump [PATCH 02/10] xsm:
2007 Oct 26
7
rspec_autotest failing
Is the rspec_autotest plugin mentioned here, http://blog.nicksieger.com/articles/2006/11/15/rspec-autotest-now-a-rails-plugin the accepted method of auto testing specs? It''s an old article, and after grabbing the plugin, and giving it a run, it fails with: $ rake spec:autotest:rails trunk/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/rails_example.rb:31: undefined method
2019 Dec 16
4
[PATCH 0/2] Move ocaml-augeas copy to libguestfs repo
ocaml-augeas is used only by virtlibguestfs, so move it to this repository, instead of having it around in the common submodule. The removal from common will happen later. Pino Toscano (2): Bundle the ocaml-augeas library for use by libguestfs build: switch embedded copy of ocaml-augeas .gitignore | 1 + 3rdparty/ocaml-augeas/COPYING.LIB | 515
2005 Mar 08
3
Making a module method available in view
I have a Rails application called RailsApp. In my RailsApp/lib directory, I have a file called localization.rb that defines a module called RailsApp with a Localization class that implements a method l. (RForum devs and fans will recognize this as the YAML-based localization feature in that package.) I want to be able to call this method from my controllers and views. I have added a
2017 Jun 12
1
[PATCH] UNFINISHED daemon: Reimplement most inspection APIs in the daemon.
This is the (incomplete) patch which reimplements inspection APIs in the daemon. All ‘XXX’s in this patch indicate areas which are not yet implemented or need further work. Rich.
2007 Sep 24
3
Trouble using backgroundrb
Hi all, I''m a newbie to backgroundrb and am having trouble integrating it into my rails-app. I''m using namespaces to differentiate between the parts of my app. When I want to create a new worker, it seems that it cannot find the worker object. Here''s my code: -------------------- controller app/passwd/index -------------------- class Passwd::IndexController <
2006 Mar 20
24
Newbie Question about Custom Classes
Sorry if this is a complete newbish question, but I''m trying to wrap my head around creating custom classes in my rails webapp. I''m normally a Java developer, but I figured I''d give RoR a try and see how I like it, and whether it would be useful for production use with a new client. Anyways, what are the best practices for custom classes? Where and/or how do I create