search for: require_path

Displaying 11 results from an estimated 11 matches for "require_path".

Did you mean: require_paths
2004 Mar 14
3
Re: RubyGems 0.2.0
...uot; s.platform = Gem::Platform::RUBY s.summary = "win32-mmap is a pure-Ruby library for handling memory mapped files on MS Windows" s.requirements << ''Win32 Compiler'' s.files = Dir.glob("lib/**/*").delete_if {|item| item.include?("CVS")} s.require_path = ''win32'' # also tried ''lib/win32'' s.autorequire = ''win32-mmap'' s.author = "Dan Berger;Park Heesob" s.email = "win32utils-devel@rubyforge.org" s.rubyforge_project = "win32-mmap" s.homepage = "http://wi...
2004 Nov 04
4
Attempt to build a gemspec
...ire "rubygems" spec = Gem::Specification.new do |s| s.name = "win32-ipc" s.version = "0.3.1" s.platform = Gem::Platform::WIN32 s.summary = "A base class for Win32 synchronization objects." s.files = ["ipc.so"] s.require_path = "." s.autorequire = "win32/ipc" s.has_rdoc = true s.extra_rdoc_files = ["README","CHANGES"] opts = ''-S --title A base class for Win32 synchronization objects.'' opts << '' --main README'' s.rdoc...
2007 Jan 10
1
Solution for undefined method `use_transactional_fixtures=' ... problem
If you see this error message: undefined method `use_transactional_fixtures='' for Test::Unit::TestCase:Class (NoMethodError) You should check all your dependencies, all the lines containing require and especially require_dependency. You have probably done a refactoring "Rename" a class and forgot to propagate the change everywhere! More details on
2005 Jun 04
0
Gem problem
Hi all, I''m trying to build some gems for the Win32Utils packages, but I''m having a problem. Below is the gemspec. Specifically, the issue seems to be the require_path. If I set it to "lib", it sets the path properly, but installs the .so file in the wrong place - it puts it under lib, instead of lib/win32. However, if I specify ''lib/win32'' it puts it in the proper location, but then the $LOAD_PATH is wrong. I mean, as things sta...
2005 Jun 26
2
wxruby gems
Hi Following on from some talk last year of creating gems for wxruby, I''ve attached a first try at them (for 0.6.0, not wxruby-swig). I mainly made them because I want to ease installation of Weft QDA by adding wxruby (and sqlite) as gem dependencies, but hopefully they will be generally useful. A couple of queries: 1) Who should be listed as author? 2) It doesn''t include
2008 Jun 03
9
Build rspec-rails as a gem?
I can''t figure out how to build rspec-rails as a gem when just cloned from github... there isn''t any .gemspec file or rake task that does this. Any help? -- Posted via http://www.ruby-forum.com/.
2006 Nov 13
0
[737] trunk/wxruby2/rake/rakepackage.rb: Ensure that lib/wx/classes/ .rb files are included in gem and tarball
...amp;nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2006-11-13 22:11:23 UTC (rev 737) </span><span class="lines">@@ -40,7 +40,7 @@ </span><span class="cx"> spec.autorequire = ''wx'' </span><span class="cx"> spec.require_path = ''lib'' </span><span class="cx"> # Platform specific binaries are added in later </span><del>- spec.files = [ ''lib/wx.rb'', ''lib/wx/version.rb'' ] + </del><ins>+ spec.files = FileList...
2008 Nov 25
21
"mysql" 2.7.3 gem install for Windows appears incomplete
...stall the 2.7.3 "mysql" gem on Windows XP (trying to prepare for the requirement to use the mysql gem in Rails 2.2.2) by using: gem install mysql I get a mysql-2.7.3-x86-mswin32 directory under gems, but underneath that, only a docs directory, an ext directory, and README, Rakefile and .require_paths. I then cannot do any connecting to my MySQL databases. Shouldn''t there be a "lib" directory under the mysql gem directory? Wes -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscrib...
2007 Dec 22
12
error when installing on jruby (fastthread dependency)
I''m running jruby trunk which has integrated rubygems 1.0.0 and when I try and install mongrel with gem it blows up when the fastthread dependency tries to do a native compilation. I couldn''t find a copy of the gemspec in the svn checkout but looking at the one installed when gem installing mongrel didn''t show any platform differentiation. There is platform
2009 Sep 28
5
Multi-databases support
Hi, While I was hacking ovirt-server, I have found that it's currently restricted to Postgres DB. Even if I like postgres for serious work on a server, I really prefer to hack/dev locally on a Sqlite or MySQL DB. I have googled on rails in order to find a good answer for the "foreign key problem" which forces OVirt to stay on pg. I have found a plugin on this particular
2006 Nov 13
7
[736] trunk/wxruby2/samples/dialogs/dialogs.rb: Fixed crashing bug in on_paint and made the code style more Ruby like.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding: