Displaying 20 results from an estimated 30 matches for "gem_dependency".
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 fun...
2010 Oct 16
1
Unable to start rail application at localhost
...pt/../config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:1:in
`require'': no such file to load -- rubygems (LoadError)
from
./script/../config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:1
from
./script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:1:in
`require''
from
./script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:1
from
./script/../config/../vendor/rails/railties/lib/initializer.rb:10:in
`require''
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:10
from ./script...
2010 Mar 03
2
Memcached: "no such file to load -- memcache-client" when running script/console
...;
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:521:in `new_constants_in''
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in `require''
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/
gem_dependency.rb:208:in `load''
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
307:in `load_gems''
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
307:in `each''
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
307:in `load_gems'...
2013 Dec 24
0
dashed by dashboard
...root@ca-sna-pm01 config]# rake RAILS_ENV=production db:migrate
(in /usr/share/puppet-dashboard)
NOTE: Gem.source_index is deprecated, use Specification. It will be removed
on or after 2011-11-01.
Gem.source_index called from
/usr/share/puppet-dashboard/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
config.gem: Unpacked gem rdoc-3.6.1 in vendor/gems has no specification
file. Run 'rake gems:refresh_specs' to fix this.
config.gem: Unpacked gem rack-1.1.6 in vendor/gems has no specification
file. Run 'rake gems:refresh_specs' to fix this.
config.gem: Unpacked gem haml...
2010 Apr 30
0
Netbeans - Malformed version number string mswin32 (ArgumentError)
...rom C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/
vendor_gem_source_index.rb:45:in `refresh!''
from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/
vendor_gem_source_index.rb:29:in `initialize''
from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/
gem_dependency.rb:21:in `new''
from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/
gem_dependency.rb:21:in `add_frozen_gem_path''
Now I can''t do anything... can''t run project... can do anything...
Any thoughts? Did updating Ruby gems outside Netbeans screw
ever...
2010 Jul 30
0
`load_missing_constant': uninitialized constant Rails::Railt
...gems:unpack
If i add
configure the rspec-rails 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:...
2010 Aug 02
0
delayed)_job gem installation issue
...39;
>>gem list | grep coll
collectiveidea-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_rub...
2012 Nov 28
1
Unable to configure Puppet-dashboard using opensource package
...s for the below error? I''m trying to configure
Puppet-dashboard.
# rake RAILS_ENV=production db:migrate
NOTE: Gem.source_index is deprecated, use Specification. It will be removed
on or after 2011-11-01.
Gem.source_index called from
/opt/puppet-dashboard/vendor/rails/railties/lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It
will be removed on or after 2011-11-01.
Gem::SourceIndex#initialize called from
/opt/puppet-dashboard/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100.
NOTE: Gem::SourceIndex#add_spec is deprecated, use S...
2011 Nov 25
3
Is package gem and provider gem usage in one puppet run possible?
Hi,
we want to install the ruby-gem package on a Debian system using puppet.
package { ''ruby1.9.1'': ensure => present }
In another manifest we want to use the gem provider to install a ruby gem.
package { ''bundler'': ensure => present, provider => gem }
On the first run the puppet agent run checks for a functional gem binary on the system.
It will
2009 Oct 08
0
autospec cannont find gems
...9;'
C:/INSTAN~3.0-W/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require''
C:/INSTAN~3.0-W/rails_apps/katai/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in
`require''
C:/INSTAN~3.0-W/rails_apps/katai/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:208:in
`load''
C:/INSTAN~3.0-W/rails_apps/katai/config/../vendor/rails/railties/lib/initializer.rb:307:in
`load_gems''
C:/INSTAN~3.0-W/rails_apps/katai/config/../vendor/rails/railties/lib/initializer.rb:307:in
`each''
C:/INSTAN~3.0-W/rails_apps/katai/config/../vendor/rail...
2013 Apr 16
1
Ruby Error Encountered when Installing Dashboard for Puppet Open Source
...`source_index'' for Gem:Module
(See full trace by running task with --trace)
So I ran it again with trace turned on and got the following.
rake aborted!
undefined method `source_index'' for Gem:Module
/usr/share/puppet-dashboard/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21:in
`add_frozen_gem_path''
/usr/share/puppet-dashboard/config/boot.rb:50:in `load_initializer''
/usr/share/puppet-dashboard/config/boot.rb:41:in `run''
/usr/share/puppet-dashboard/config/boot.rb:14:in `boot!''
/usr/share/puppet-dashboard/config/boot.rb:...
2012 Aug 15
9
Installing puppet-dashboard on ubuntu precise
...anks,
Sam
root@admin:/usr/share/puppet-dashboard# rake RAILS_ENV=production
db:migrate --trace
NOTE: Gem.source_index is deprecated, use Specification. It will be removed
on or after 2011-11-01.
Gem.source_index called from
/usr/share/puppet-dashboard/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It
will be removed on or after 2011-11-01.
Gem::SourceIndex#initialize called from
/usr/share/puppet-dashboard/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100.
NOTE: Gem::SourceIndex#add_spec is d...
2010 Oct 14
0
no such file to load -- ZenTest but I have already installed ZenTest
...* Invoke db:test:load (first_time)
** Invoke db: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.ru...
2012 Oct 16
5
`method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class
...oting WEBrick
=> Rails 2.3.4 application starting 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 `...
2009 May 25
2
CAn u please tell wats the prob in runnning my project?
...`require''
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:355:in `new_constants_in''
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:510:in `require''
/home/gm/kallori/config/../vendor/rails/railties/lib/rails/
gem_dependency.rb:61:in `load''
/home/gm/kallori/config/../vendor/rails/railties/lib/initializer.rb:
250:in `load_gems''
/home/gm/kallori/config/../vendor/rails/railties/lib/initializer.rb:
250:in `each''
/home/gm/kallori/config/../vendor/rails/railties/lib/initializer.rb:
250:in `load_gem...
2008 Jun 24
1
Rails 'rake gems:install' error in windows
...c:/bin/ruby/lib/ruby/site_ruby/1.8/rubygems/version.rb:237:in
`initialize''
c:/bin/ruby/lib/ruby/site_ruby/1.8/rubygems/version.rb:29:in `new''
c:/bin/ruby/lib/ruby/site_ruby/1.8/rubygems/version.rb:29:in
`initialize''
c:/bin/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/rails/gem_dependency.rb:104:in
`new''
c:/bin/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/rails
...
I run not yet in linux.
Does anybody have same experience?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed...
2012 May 12
0
Running Ruby on Rails with cPanel/machighway.com not working
...and run the following: script/
generate controller home index
I get back the following response (***** are mine ):
NOTE: Gem.source_index is deprecated, use Specification. It will be
removed on or after 2011-11-01.
Gem.source_index called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/
lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement.
It will be removed on or after 2011-11-01.
Gem::SourceIndex#initialize called from /usr/lib/ruby/gems/1.8/gems/
rails-2.3.14/lib/rails/vendor_gem_source_index.rb:100.
NOTE: Dependency.new w/ a regexp is deprecated.
Dependen...
2009 Aug 31
7
"Missing these required gems: rspec-rails" in ruby 1.9
.../1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:521:in `new_constants_in''
/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:156:in `require''
/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/rails/
gem_dependency.rb:179:in `load''
/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/
initializer.rb:305:in `block in load_gems''
/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/
initializer.rb:305:in `each''
/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/rails-2.3.2...
2010 Jun 01
0
Host-register crash
...kly and my node was unable
to register.
This is 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
Conso...
2011 Dec 03
2
script/server error (undefined method `name' for "ZenTest")
...ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:100.
Invalid gemspec in
[/opt/local/lib/ruby/gems/1.8/specifications/heroku-2.11.0.gemspec]:
invalid date format in specification: "2011-10-22 00:00:00.000000000Z"
/opt/local/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/gem_dependency.rb:277:in
`=='': undefined method `name'' for "ZenTest":String (NoMethodError)
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:217:in
`===''
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:217:in
`matching_specs''
from
/opt...