search for: gem_nam

Displaying 5 results from an estimated 5 matches for "gem_nam".

Did you mean: gem_name
2009 Apr 22
1
Tests for my gem cannot find classes in gems lib directory ..
...m placing my folder structure, spec.rake and first spec below. I feel I must be missing something obvious. Additionally, I did output the value of f in lib inclusion code and it is traversing the lib folder correctly and I can instantiate the class in my rake.spec. Thanks for your time. gem_name + lib +gem_name -foo.rb +spec - foo_spec.rb +tasks - spec.rake my spec rake require ''rubygems'' require ''spec'' require ''spec/rake/spectask'' Dir[File.expand_path("lib/**/*.rb")].each do |f| require f end Spec::Rak...
2005 Dec 19
10
missing shortcut
I''m trying to start RubyGems on my hd. Windows searches for and can''t find a file named gemhelp.cmd Can I download that files somewhere? -- Posted via http://www.ruby-forum.com/.
2006 Jul 16
14
Rails, FCGI, DreamHost, and endless frustrations
Hi all! I''m trying to deploy an application out to a subdomain at dreamhost. I am getting the dreaded "Rails application failed to start properly" error. The logs for my app are empty. In the DreamHost FTP app, when I look in the error.log file (I''m guessing this the Apache error log file) I see the following for each of my attempts: [Sun Jul 16 12:36:32 2006]
2012 Jan 12
0
telling app to use middleware in gem
...up the middleware without adding anything to config/*.rb in the app. I did this with the following line: ActionController::Dispatcher.middleware.use ''MyMiddleware'' But in Rails 3, this doesn''t work. I''ve tried putting the following into the gem''s lib/gem_name.rb: Rails.application.config.middleware.use ''MyMiddleware'' But now when I run `rake middleware` I get "undefined method `config'' for nil:NilClass" which means that Rails.application is nil. I successfully used the middleware by with an initializer or somethi...
2009 Dec 24
1
problems unpacking log4r
I was just starting to use log4r and everything was going peachy until I tired to unpack it into my local vendor/gems. The next time I tried to load my rails environment, I got: config.gem: Unpacked gem log4r-1.1.2 in vendor/gems has no specification file. Run ''rake gems:refresh_specs'' to fix this and: no such file to load -- log4r So - I dutifully tried running rake