Displaying 20 results from an estimated 8000 matches similar to: "no such file to load — ubygems (LoadError)"
2011 Sep 30
1
ubygems.rb file - is error?
Hi, I just installed Rails, and I was wondering what is this file?
/lib/ubygems.rb ?
Here is a copy of it:
https://github.com/rubygems/rubygems/blob/master/lib/ubygems.rb
Is this a bug/type (ubygems rather than what it should be, ubygems) or
is it supposed to be that way? If so, what does it do, could someone
explain how it works? (sorry if it''s a dumb question I''m new at
2011 Apr 27
6
rubygems (LoadError)
I''m trying to set up a cron job with a runner that calls a method in one
of my models. I''m using javan''s whenever gem to do this and I''m running
CentOS on my server. Whenever the cron executes though I''m getting the
following error:
`require'': no such file to load -- rubygems (LoadError)
The method uses the ''mail'' and
2005 Dec 28
6
coverage does not work
Hi,
I''ve installed coverage (gem install coverage) and try to run tests with
-rcoverage option on, but following error occurs:
ruby: No such file to load -- coverage (LoadError)
I try:
ruby -rcoverage mytest.rb
1. I have rubygems in evn var RUBYOPT
2. Gem seems to be installed properly (I can read doc via gems, the files
exist in the ../gem/... dirs)
Does anyone know what is the
2006 May 30
1
Apache can''t load/require rubygems
Hi,
I have rubygems installed in my home directory as I''d like to have
control over gems without requiring root access. I''m trying to deploy
a known working rails app on this machine but it falls down at the
"require ''rubygems''" line in boot.rb. I have added the path to
rubygems to LOAD_PATH in environment.rb; this is confirmed by dumping
$: to a
2006 May 19
1
LoadError - no such file to load -- pathname (Dreamhost)
I''ve started getting the following error on Dreamhost when trying to run
any scripts or dispatch.*
[barry]$ ruby -d script/server
Exception `LoadError'' at ./script/../config/boot.rb:6 - no such file to
load -- pathname
./script/../config/boot.rb:6:in `require'': no such file to load --
pathname (LoadError)
from ./script/../config/boot.rb:6
from
2010 Jan 20
2
Rails 3 Problem: no such file to load -- rails (LoadError)
I just ran the gem bundle on the third_rails demo app, but for some
reason rails can''t be loaded!?
kristian-mandrups-macbook-pro:third_rails kristianconsult$ rails -v
Rails 3.0.pre
kristian-mandrups-macbook-pro:third_rails kristianconsult$ script/
generate model Post name:string
/Users/kristianconsult/my_rails/rails3_apps/third_rails/config/boot.rb:
71:in `require'': no such
2008 Apr 10
5
ldap trouble
I am trying to setup puppet for use with ldap. Following the page (http://www.reductivelabs.com/trac/puppet/wiki/LdapNodes
) I run ruby -rldap -e ''puts :installed'' with success, however ruby -
rpuppet -e ''p Puppet.features.ldap?'' fails with ruby: no such file to
load -- puppet (LoadError)
I imagine that it is related to how I have things installed. I am
2010 May 29
2
Unable to gem install rails
I am unable to install rails via the CLI, Fedora 13. This is a new
installation and I am not certain why I am receiving this error.
ERROR: Loading command: install (LoadError)
no such file to load -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand
ubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.1 (2009-12-07
2006 Jun 05
1
script/console LoadError - ''no such file to load''
Hello,
When I enter the command "ruby script/console", instead of an irb
session beginning, I get the following error:
[code]
c:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
''require__'': No such file to load --
./script/../config/../config/environment (LoadError)
[/code]
I''m a little new to Rails, but it appears to me that the path to the
2011 Oct 12
1
`require': no such file to load -- rspec/rails (LoadError)
Getting strange loading problem..
>> bundle exec rspec -p spec/models/*
give error:
..
.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/
dependencies.rb:240:in `require'': no such file to load -- rspec/rails
(LoadError)
from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/
lib/active_support/dependencies.rb:240:in `block in require''
from
2011 Aug 25
2
Problem with rails generaterspec:install, Error-Message: no such file to load, sprockets-railtie (loadError)
Hey guys,
I''m a RoR-Beginner and I started learning it with the RoR-Tutorial.
Actually I''m at this chapter (http://ruby.railstutorial.org/chapters/
static-pages#top) and try to install rspec. But everytime when I try
to use "rails g rspec:install" I get this error message:
C:\Sites\rails\rails_projects\sample_appp>rails g rspec:install
2008 Nov 24
14
Problem with RubyGems installation
Hello,
I am trying to install RubyGems on Ubuntu and i''m having trouble. I''ve
downloaded rubygems 1.3.1 and when i run the sudo ruby setup.rb command
I get the problem mentioned below. I''d really appreciate if someone can
help me out.
Thanks
mkdir -p /usr/local/lib/site_ruby/1.8
mkdir -p /usr/bin
install -c -m 0644 rbconfig/datadir.rb
2007 Jun 01
1
LoadError on ''initializer'' when starting Mongrel
Hi all...
When I start Mongrel I get a LoadError. I use the command
> sudo mongrel_rails cluster::start -C /path/to/mongrel_cluster.yml
and it says
> Starting 2 Mongrel servers...
but in the log I see this error:
** Starting Rails with production environment...
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load --
2010 Nov 25
1
Can't run tests...illegal switch in RUBYOPT: -F (RuntimeError)
Does anyone have any insight into why this is happening?
C:\Users\Family\workspace\myapp>rake test
(in C:/Users/Family/workspace/myapp)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
Errors
2011 May 05
0
jruby PATH and RUBYOPTS integration
Hi,
I download the last jruby version and install the rspec gem using jgem
to install.
After it, I export RUBYOPTS=rubygems to guarantee that the spec can be
found.
Trying to run the spec by normal mode I got:
jonatas at branco:~/jruby-1.6.1$ jruby -S spec
LoadError: no such file to load -- spec/autorun
require at org/jruby/RubyKernel.java:1038
(root) at /usr/bin/spec:2
Trying to execute
2011 May 20
3
"no such file to load -- rails/commands/runner (LoadError)"
Hi,
I am using ruby 1.9.2 and rails 3 for my application.
I have written a bash script which I want to run in cron.
If I directly run the bash file it runs. If I run it through the cron I
get the following error:-
"/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'': no such file to load -- rails/commands/runner (LoadError)
from
2013 Jun 18
2
`require': cannot load such file -- nokogiri (LoadError) in rubyXL
Hi All
Getting the below error when running the source code
My requirement is : I want read / write the excel sheet ( both xls / xlsx )
from Ruby , if you have any other solution also share with me ..
*Source Code :*
*
*
*
bash-3.2$ cat rubyXL.rb
require ''rubyXL''
workbook = RubyXL::Parser.parse("test.xlsx")
workbook = RubyXL::Workbook.new
sheet_Name =
2008 Jan 01
3
3rdrail run rake task error: no Ruby script found in input (LoadError) (Windows)
Hi, dudes
I got a question here. When I run "rake db:migrate" in 3rdrail, it
throws an error: D:\ruby\bin\ruby.exe: no Ruby script found in input
(LoadError). I have set the ruby interpreter paths, And can''t find the
solution on Google. Any good ideas?
Issac
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2005 Mar 09
2
LoadError
Hi,
Im new to both Ruby and Rails, though am impressed by both. I am however
stuck on a problem, when trying to run a demo. I''ve setup a postgresql
database with a cookbook demo as per OnLamp, returned is the following
error message:
LoadError in Recipe#new
No such file to load -- postgres
script/server:48
Has anyone come across this error before? Anyone know how I should go
about
2009 Jul 29
2
LoadError: RubyGem version error: rake-compiler(0.6.0 not
i tried running the following from commands for creating a class Story
and instance of class called story in Rails script console. (pg
102/103 from Simply Rails 2 book. P. Lenz) I get the following error:
Gem::LoadError: RubyGem version error: rake-compiler(0.6.0 not ~> 0.5.0)
I do not see any environment variables or version numbers I can make
changes to to get RubyGem upto date.
I have