similar to: Forcing use of gem in vendor/gems?

Displaying 20 results from an estimated 7000 matches similar to: "Forcing use of gem in vendor/gems?"

2008 May 30
1
Adding vendor folder to $load_path
I''m using backgroundrb in a rails project, with packet and chronic unpacked in the vendor folder, to make backgroundrb I''ve added the following line to scribts/backgroundrb $LOAD_PATH << File.join(RAILS_HOME, "vendor") Do you believe it''s a good idea? I don''t like depend on the installed gems ciao ciao paolo -------------- next part
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
2001 Apr 24
1
HELP! sftp hangs on exit / Bug?
Hi, The following discussion was posted to comp.security.ssh however, it seems that my problems may be a bug in SSH. Could someone please indicate whether there is a bug fix, or perhaps whether I should go back a version or so. In summary: - Win98 machine (client) - OpenSSH as packaged with Cygwin tools 1.1.8 (openssh-2.5.2p2-3) - Connecting to a Sun running Solaris. ssh: SSH Secure Shell
2006 Dec 06
0
Testing your workers
This has been asked before, never well attended perhaps. Any thoughts on testing your workers? Current implementation is broken. An empty test case like this: require File.dirname(__FILE__) + ''/../test_helper'' require "#{RAILS_ROOT}/lib/workers/market_summary_worker" require "#{RAILS_ROOT}/vendor/plugins/backgroundrb/lib/backgroundrb.rb" require
2006 Jan 04
2
Using gems from vendor/ ?
Maybe someone here can help me out. I''ve unpacked tzinfo in to my vendor/ directory using "gem unpack tzinfo" and got a vendor/tzinfo-0.1.1 directory as a result. How can I require this gem in my app? I''m trying to use a require line in my environment.rb but no matter what I do Rails seems to look for a locally installed copy in /usr/local/ instead. Any advice?
2011 Jun 01
4
missing these required gems: will_paginate
Hi EveryBody, I hope some one help me. I am new on ROR so might be problem is silly or Obvious. i had developed a project and i had use "WILL_PAGINATE" plugin in my app. It''s working well at localhost. But when deploying on HEROKU, ALL step is going well but when running $heroku rake db:migrate ERROR IS Missing these required gems: will_paginate You''re
2009 Feb 09
9
fastercsv, freezing into vendor/gems
I''m using fastercsv such that in my rake file I''m doing this. require ''fastercsv'' It works fine on my Mac. I need to freeze this gem into the app though so my rake tasks work on the production machine. ----------- I spent about two hours though this weekend trying to get this Gem "frozen" into the vendor/gems folder. I tried all sorts, I ... -
2006 Jul 26
0
capistrano CLI automation - using capistrano as a library
Hi all, I''m trying to integrate Capistrano (thanks Jamis and DHH for such a lovely piece of software) into an application I''m writing. I can''t figure out, though, how to get output from capistrano when it''s used through the CLI or configuration class, however. I see that it implements a logger (Logger) and I see that starting on line 12 of the included
2011 Mar 28
0
undefined method "load_paths" for ActiveSupport::Dependencies:Module Error
I''m writing a Rails plugin from scratch and recently generating models inside it. In fact, i''m trying to follow the guide from http://guides.rubyonrails.org/plugins.html so i used the following code taken from this site in order to make the models appear like files in the main app directory (as it was said) this is the code: %w{ models }.each do |dir| path =
2006 May 17
0
Problem with ''require xmlsimple'' in vendor code
Hi there I''m trying to "require ''xmlsimple''" in some code that lives in vendor/ I''ve installed the xml-simple gem, and can confirm this at the command line with ''gem list --local'' which shows I have v.1.0.8 of the gem. However, when I start up lighttpd I get this: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
2008 Jan 29
4
Setting up release-1.0.1
Hello, I am unable to get the backgroundrb server to run. Initially I got: /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:263:in `load_missing_constant'': uninitialized constant BackgrounDRb::MasterProxy (NameError) from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:453:in
2011 Feb 20
2
Problem with mysql2 gem and Debian
Hi Guys, I''m having an issue with deploying my application and the mysql2 gem. I am developing on Windows 7 with Ruby 1.9.2 and Rails 3.0.3. On my local machine in development environment the application runs just fine. But when I want to deploy it on our production server I get an error message from passenger. "Please install the mysql2 adapter: `gem install activerecord-mysql2-
2006 Jul 19
3
Component Question
It appears that in Rails''s initializer.rb, the $LOAD_PATH is initialized with the paths for all the components included in the app before the models. This has the effect that if there is Foo class in your models directory and a Foo class in a component you''ve included, the Rails loader loads the component and not the model from your models directory. While you could
2009 May 12
2
rails 2.3.2 is not generating environment.rb properly
problem: rails 2.3.2 is not generating config.action_controller.session_store = :active_record_store in environment.rb this is the code in environment.rb --------------------------------------------------------------------------- # Be sure to restart your server when you modify this file # Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_VERSION =
2007 Nov 10
0
Radiant 0.6.4 - Gem Shaper Release
Looks like it''s time for another release of Radiant: http://radiantcms.org/download/ This release contains a few major changes as well as numerous bug-fixes and enhancements. Included in the release are Rails 1.2.5, Prototype 1.6 and script.aculo.us 1.8. Significant refactorings have been done to the admin UI Javascripts, thanks to Mislav Marohnic. The release also provides better
2007 Jan 24
0
the vendor dir, gems and openid
Dear all, I am currently developing an application which uses OpenID as a login system. On my development box everything works like a charm. But as soon as I deploy the code to our production server things go wrong. First the OpenID gem could not be located. This made sense as it is not installed on the production server, so after some browsing it appeared that I needed: $ cd
2013 Jun 28
1
comparación entre cadena de caracteres
Saludos a todos.Estoy en un proceso de carga de información a un DWH, y estoy validando que los ETLs estén correctos.Tengo datos de los transaccionales (T) y de la nueva base de datos (B).Mi objetivo es validar que los procesos de limpieza de datos y corrección, estén bien.tengo 2 columnas en un data.frame, la una es el nombre del cliente en el transaccional (T) y en la otra columna, el nombre del
2005 Dec 01
1
service_cli.rb
Hi, I just got done using win32/service to run a very small/hack-ish "Riki" WEBrick service. Very cool stuff. Thanks. So, in the process, I noticed a lot of the "control" start/install/etc. command line parser stuff looked a bit boilerplate, so I pulled it out into a helper function "service_cli" (for lack of a better name). Its simple, but it allows me to do away
2006 Aug 15
3
Darcs and vendor/rails on edge
Calling all rails darcs users! We may be in the minority, but I''m sure we can still share some know how here. Question: how are you managing your vendor/rails directory? svn externals seems to be the preferred option for svn folk (at least this is the approach recommended in the Agile 2 beta). Is there a way to get the same functionality within darcs? That would seem to be the
2006 Aug 10
5
Major security vulnerability in the latest Rails 1.1.5
Hi, I think there is still a major vulnerability exists in the latest Rails 1.1.5. The problem is in the routing.rb file and safe_load_paths method. Because of the erroneous regexp it is possible to perform a DOS attack on any rails application. To reproduce: 1. start your application 2. use this url: http://localhost:3000/debug Routing module will load standard debug.rb script which stops a