similar to: Non standard rubygems location

Displaying 20 results from an estimated 5000 matches similar to: "Non standard rubygems location"

2006 May 30
1
Apache can''t load/require rubygems
Hi, I have rubygems installed in my home directory as I''d like to have control over gems without requiring root access. I''m trying to deploy a known working rails app on this machine but it falls down at the "require ''rubygems''" line in boot.rb. I have added the path to rubygems to LOAD_PATH in environment.rb; this is confirmed by dumping $: to a
2006 Aug 24
0
"rake spec" doesn''t work after upgrade to 0.6.1
Hi: spec <files> works though. Stack trace: rake spec (in /home/jhughes/work/media-catalog/trunk) /usr/bin/ruby1.8 -Ilib /usr/lib/ruby/gems/1.8/gems/rspec-0.6.1/bin/spec "spec/models/category_spec.rb" "spec/models/item_spec.rb" /usr/lib/ruby/gems/1.8/gems/rspec-0.6.1/lib/spec.rb:1:in `require'': no such file to load -- spec/version (LoadError) from
2006 Aug 25
4
Rake tasks fail silently, how to debug?
Hi, I''ve been using backgroundrb with some success up to now, but now when I do the start or setup tasks they just fail silently. Nothing in the log, no .pid file, and nothing in the process list. Rake with -trace just says, ** Invoke backgroundrb:setup (first_time) ** Execute backgroundrb:setup Any hints on how I can get more verbosity, or thoughts on what might be happening? (This
2006 Jul 18
7
backgroundrb and autotest
Hi, First, thanks for the plugin. Sorry if this is not strictly a backgroundrb issue but I thought others on this list might have come across this problem. I''m trying to run the test that comes via the worker generator. The test works fine when running ''rake test_functional'', but when the tests are run by autotest I get "uninitialized constant BackgrounDRb"
2006 Jun 08
3
RJS wierdness - Content div display js code
Hi, I have a link_to_remote name ''Show notes'', which calls an action that uses this RJS template: page.replace "notes_remote", :partial => "notes/hide_notes_link" page.insert_html :top, "notes_list", :template => "notes/list" page.visual_effect :highlight, ''notes_list'', :duration => 3 Works great. The
2006 Jul 25
1
can''t dump: session wierdness
Hi, I have "include DRbUndumped" in one of my model classes. Whenever my app accesses the session I get the following: can''t dump /usr/lib/ruby/1.8/drb/drb.rb:395:in `_dump'' /usr/lib/ruby/1.8/pstore.rb:349:in `dump'' /usr/lib/ruby/1.8/pstore.rb:327:in `transaction'' /usr/lib/ruby/1.8/cgi/session/pstore.rb:90:in `update''
2006 Jul 14
0
Can''t see local vars and method params in breakpointer
Hi, Is there a trick to being able to see local variables and method parameters at a breakpoint? I could swear this used to work, but now I get "NameError: undefined local variable or method" when I try and look at anything other than instance variables. jh -- James Hughes Web application developer Vancouver, BC "Developing a coherent political analysis is in many respects
2006 Jul 21
0
has_many :through and form parameters
Hi, The standard setup: class Task: has_many :studies, :class_name => "Study" has_many :datasets, :through => "studies" class Dataset: has_many :studies has_many :tasks, :through => ''studies'' class Study: belongs_to :task belongs_to :dataset Now, if I have an edit view for my Task, is it possible to set up the form so that in the
2006 Mar 10
0
auto_complete_field, :on_hide woes
Hi, I have auto_complete working generating a list and populating a text box in a form. The problem arises when I add the :on_hide option as follows: <%= auto_complete_field "search", { :url => {:action => "search"}, :on_hide => "foo($(''selected_uid''), $(''search_list''))"} > %> :on_hide makes everything stop
2006 Jul 19
1
Testing worker classes
Hi, Does it make sense to test a worker class by calling Middleman.new_worker? Or should I just be testing the functionality in the do_work method, with, say, a mock object. This seems like a really ugly DRY violation: you''d need to keep the code in the mock and the real worker in sync. That''s the philosophical half of my question. In fact, until someone tells me why I
2006 Jun 01
9
@model.errors.empty? => true; @model.valid? => false
Hi, So, how can the situation described in the subject come to be? In other words, what could be invalidating the model, yet not generating an error? thanks, jh ps. here''s the breakpoint session paste: irb(#<#<Class:0xb72eec00>:0xb72eeb10>):003:0> @project.errors.empty? => true irb(#<#<Class:0xb72eec00>:0xb72eeb10>):004:0> @project.valid? => false
2006 Jul 20
4
Plugins: svn externals vs. local repository
...or, what is the best practise for ensuring that capistrano gets plugin code to the production server? Do you hook up your plugins to the originating repository (thereby automatically picking up changes to the plugin), or check them into your application''s repo and use "script/plugin update" to keep plugins fresh? Does that method mess with your .svn directories? thanks for
2007 Sep 19
1
Strange error in StoryRunner (was: Mocks in StoryRunner)
Hi, I''m posting this stack trace again because it keeps popping up, seemingly as the ''default error'' when something is wrong with my story code; for instance, I got it when I referenced a variable in my ''Given'' that I had forgotten to pass into the block. Now I''m getting it when I attempt to post to a login action: And ''user is
2007 Sep 14
2
Mocks in StoryRunner
Hi, I''m trying to get up and running with StoryRunner. I have a story that looks something like the following, but the call to mock_model produces the exception listed below. Am I just misunderstanding the concept? Are mocks not meant to be used in stories like this? Or is this a bug? Changing @user to be an actual AR object makes things run without error. ENV["RAILS_ENV"] =
2006 Mar 02
5
Instiki and SQL Server??
Hello. I reeeeally want to get Instiki running at my day job, but they are Microsoft-heads. While I can probably sell them on trying Rails, they are definitely going to want the database to sit in our SQL Server instance with our other databases. I can''t get instiki to create the tables in sql server though (I''ve added ADO.rb, and gotten a connection). When I run the
2011 Feb 10
0
Testing custom function and puupet LoadError
I am using ruby-enterprise, installed under: /opt/ruby-enterprise, when I try to run ruby interpreter I get error about loading puppet: # ruby -rpuppet netbackup_servers.rb ruby: no such file to load -- puppet (LoadError) What do I need to set RUBYLIB env var to? I tried this: export RUBYLIB=$RUBYLIB:/opt/ruby-enterprise/lib/ruby/ export RUBYLIB=$RUBYLIB:/opt/ruby-enterprise/lib/ruby/1.8/
2014 Jan 13
3
[PATCH 1/3] ruby: Fix tests for out-of-tree build, simplify test scripts
--- configure.ac | 1 + ruby/run-ruby-tests | 27 --------------------------- ruby/run-ruby-tests.in | 27 +++++++++++++++++++++++++++ ruby/tests/tc_010_load.rb | 2 -- ruby/tests/tc_021_close.rb | 2 -- ruby/tests/tc_120_rlenvalue.rb | 4 +--- ruby/tests/tc_200_write.rb | 2 -- ruby/tests/tc_210_setvalue.rb | 2 -- run.in
2006 Jul 31
6
Unable to install Gems with RubyGems on Intel OSX with DarwinPorts
I followed Duncan Davidson''s Sandboxing Rails with Darwin Ports guide and everything went fine up till the part where I had to install gems using gem install. I would get this stacktrace: Attempting local installation of ''rake'' Local gem file not found: rake*.gem Attempting remote installation of ''rake''
2015 Feb 13
2
[PATCH] ./run: Use 'prepend' function to build paths.
Add a bash function 'prepend' for intelligently prepending elements to paths. eg: prepend PYTHONPATH "/foo" would set PYTHONPATH to "/foo" or "/foo:<previous-contents-of-PYTHONPATH>" Tested by: (1) Building and testing libguestfs twice: first without libguestfs installed as a system library, and then with it installed. (2) Examining the output of
2016 Oct 27
1
[PATCH] run.in: Quote contents of @VAR@ substitutions
--- run.in | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/run.in b/run.in index 8fdf454..438a68c 100755 --- a/run.in +++ b/run.in @@ -140,15 +140,15 @@ export PERL_VALGRIND=1 export PERL_DESTRUCT_LEVEL=2 # For Python. -export PYTHON=@PYTHON@ +export PYTHON="@PYTHON@" prepend PYTHONPATH "$b/python/.libs" prepend PYTHONPATH