Displaying 12 results from an estimated 12 matches for "version_requirement".
2010 May 11
1
Gem::Dependency#version_requirements is deprecated...
Seen when running scripts/console, Ruby version not important.
What is this telling me?
Loading development environment (Rails 2.3.5)
/opt/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/
gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is
deprecated and will be removed on or after August 2010. Use
#requirement
Checking gem_dependency.rb shows:
118: def requirement
119: r = version_requirements
120: (r == Gem::Requirement.default) ? nil : r
121: end
which function, if commented out, shuts off the warning. Of...
2007 Dec 11
6
Mongrel install problem
Hi,
I''m having difficulties getting mongrel running on my Debian Etch
machine. It seems to install and is listed with my other gems, but
things like...
"mongrel_rails start ..."
... are not recognised.
Perhaps this is something to do with the file "lib" not being found in
the install process:
ruby extconf.rb install mongrel --include-dependencies
checking for main()
2007 Dec 12
0
Mongrel-users Digest, Vol 23, Issue 4
...:27:in `require''
from /var/lib/gems/1.8/gems/mongrel-1.1.1/bin/mongrel_rails:11
from /usr/bin/mongrel_rails:16:in `load''
from /usr/bin/mongrel_rails:16
... which indicates it is getting stuck in the block of this search method:
def search(gem_pattern,
version_requirement=Version::Requirement.new(">= 0"))
#FIXME - remove duplication between this and RemoteInstaller.search
gem_pattern = /^#{ gem_pattern }$/i if String === gem_pattern
version_requirement =
Gem::Version::Requirement.create(version_requirement)
result = []
@gem...
2010 Jul 30
0
`load_missing_constant': uninitialized constant Rails::Railt
...s gem in config/environment.rb:
config.gem "rspec-rails", :version => ">= 1.3.2"
and then run server. I am getting this error:
/home/Amit/Myworkspace/MyApplication/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning:
Gem::Dependency#version_requirements is deprecated and will be removed
on or after August 2010. Use #requirement
/home/Amit/Myworkspace/MyApplication/vendor/rails/activesupport/lib/active_support/dependencies.rb:440:in
`load_missing_constant'': uninitialized constant Rails::Railtie
(NameError)
from
/home/Amit/Myworkspace/M...
2010 Oct 14
0
no such file to load -- ZenTest but I have already installed ZenTest
...:test:purge (first_time)
** Invoke environment
** Execute db:test:purge
** Execute db:test:load
** Invoke db:schema:load (first_time)
** Invoke environment
** Execute db:schema:load
** Execute spec
/home/soroush/.gem/ruby/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning:
Gem::Dependency#version_requirements is deprecated and will be removed
on or after August 2010. Use #requirement
no such file to load -- ZenTest
Getting this problem when running rake spec cucumber. Problem is that
ZenTest gem is already installed :S
--
Posted via http://www.ruby-forum.com/.
--
You received this message becaus...
2012 Oct 16
5
`method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class
...ting on http://0.0.0.0:3001
config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no
specification file. Run ''rake gems:refresh_specs'' to fix this.
/home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning:
Gem::Dependency#version_requirements is deprecated and will be removed on
or after August 2010. Use #requirement
/home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activerecord/lib/active_record/base.rb:1959:in
`method_missing_without_paginate'': undefined method `class_attribute'' for
ActiveRecord::Base:Cla...
2010 Aug 02
0
delayed)_job gem installation issue
...a-delayed_job (1.8.2)
The gem infact got installed via rake gems:install. but now when I
start my app, it doesn''t recognize the gem being installed. Please
help.
script/generate delayed_job
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:
119:Warning: Gem::Dependency#version_requirements is deprecated and
will be removed on or after August 2010. Use #requirement
no such file to load -- collectiveidea-delayed_job
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'&...
2010 Mar 10
6
Email section
...re"
}
sir but wen i restart my web server following errors are generated:
[root@localhost ksmm]# script/server
=> Booting WEBrick
=> Rails 2.3.4 application starting on http://0.0.0.0:3000
/usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/gem_dependency.rb:119:Warning:
Gem::Dependency#version_requirements is deprecated and will be removed
on or after August 2010. Use #requirement
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.4/lib/action_mailer/base.rb:402:in
`method_missing'': undefined method `server_settings='' for
ActionMailer::Base:Class (NoMethodError)
from /usr/lib/ruby/gem...
2011 Feb 21
4
autotest with Growl not working
Hi I''m new and using Ruby on Rails 3 but when I run $ autotest nothing
happens (I have growl installed). If I run $ rspec spec then I get the
''Finished in 0.07253 seconds seconds 2 example, 0 failures'' message
I have the following gems installed for autotest (checked via $ gem
list):
autotest (4.3.2)
autotest-fsevent (0.2.4, 0.2.2)
autotest-growl (0.2.9, 0.2.4)
2010 Jun 01
0
Host-register crash
...s the trace when I launch it in debug and no daemon mode :
================================================================================
/usr/share/ovirt-server/host-browser/host-register.rb -d -n
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning:
Gem::Dependency#version_requirements is deprecated and will be removed on or
after August 2010. Use #requirement
INFO Tue Jun 01 15:02:28 +0200 2010 (2796) hostregister started.
INFO Tue Jun 01 15:02:28 +0200 2010 (2796) Connecting to
amqp://ovirt.admin.virt.par.lng:5672
Console Connection Established...
Agent 1.0.connected!
Mar...
2010 Dec 24
2
buildr Windows 7 64 bit problems
Preface: I''m not overly familiar with the inner workings of RoR, so I
apologize for my relatively superficial knowledge upfront
I have a new 64 bit Windows 7 machine.
My dev environment on my old machine which functions fine (sans a
functioning monitor -- thus the new machine), I have the following
installed and functioning well:
Ruby 1.8.6 using the Windows MSI installer
Buildr 1.3.3
2009 Jun 25
8
Mongrel service keeps re-starting ruby
On Thu, Jun 25, 2009 at 2:07 AM, Michael Pliskin<mike at comapping.com> wrote:
> Hi all,
>
>
>
> Some disclaimer first: I am a complete newbie in mongrel and this list, so
> please forgive me if I say something weird. I have a problem, I?ve googled
> for a solution for quite a while and failed so far, so decided to ask here.
>
>
>
> I am trying to set up my