Displaying 20 results from an estimated 567 matches for "loaderror".
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 script/server:6:in `require''
from script/server:...
2007 Dec 13
2
no such file to load — ubygems (LoadError)
All of a sudden, i''m getting this error when trying to launch the
console -
no such file to load ubygems (LoadError)
I''m using 1.2.3 as my base rails install and i also get the same problem
in a project frozen to 1.1.6. I saw a blog post at
http://wharsojo.wordpress.com/2007/05/1
loaderror/
which recommended removing the RUBYOPT variable from my (windows)
environment. On doing this, closing the con...
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...
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 Google Groups "Ruby on Rails: Talk" group.
To post to this grou...
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 fixing this?
Rds & Thanks in advance,
Mike Lewis
.... top of stack trace ....
/home/milewis/sparc/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:1...
2010 Jan 20
2
Rails 3 Problem: no such file to load -- rails (LoadError)
...ndrups-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 file to load -- rails (LoadError)
from /Users/kristianconsult/my_rails/rails3_apps/third_rails/config/
boot.rb:71:in `load_initializer''
from /Users/kristianconsult/my_rails/rails3_apps/third_rails/config/
boot.rb:44:in `run''
from /Users/kristianconsult/my_rails/rails3_apps/third_rails/config/
boot.rb:16:in `bo...
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 tried
Gem update
Gem update -system
gem install
closed and reopend the gem console window
any suggestions are appreciated....
2005 Feb 08
2
test_process.rb => LoadError
...require_without_load_path_reloading(file_name)
rescue Object => e
ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if
File.directory?(dir) }
require_without_load_path_reloading(file_name)
end
end
end
end
Can we change the rescue line to:
rescue LoadError => e
I''m not sure what this "temporary hack for getting functional tests in
Rails running under 1.8.2" is supposed to do, but I''ve found that
when I require files with syntax errors like test cases, they don''t
actually get loaded without the above change. Th...
2006 Jul 26
0
LoadError: no such file to load
Suddenly I noticed that I can''t require installed gems from irb or
./script/console. Any ideas?
irb(main):001:0> require ''RMagick''
LoadError: no such file to load -- RMagick
from (irb):1:in `require''
from (irb):1
irb(main):002:0> require ''mysql''
LoadError: no such file to load -- mysql
from (irb):2:in `require''
from (irb):2
> gem list
*** LOCAL GEMS ***
actionm...
2006 Jun 05
1
script/console LoadError - ''no such file to load''
...llo,
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
required file is incorrect. The ''environmennt.rb'' file is inside the
config folder, which is a sibling to the script folder, while the error
states that rails is looking for a config folder...
2007 Jul 23
1
readline (LoadError)
...day i bought a book to learn ror.
i do everthing that stand''s in this book, and the shit does''t work!
i use Aptana IDE with RadRails
the problem is:
Loading development environment.
/usr/lib/ruby/1.8/irb/completion.rb:10:in `require'': No such file to
load -- readline (LoadError)
from /usr/lib/ruby/1.8/irb/completion.rb:10
from /usr/lib/ruby/1.8/irb/init.rb:218:in `require''
from /usr/lib/ruby/1.8/irb/init.rb:218:in `load_modules''
from /usr/lib/ruby/1.8/irb/init.rb:216:in `each''
from /usr/lib/ruby/1.8/irb/init.rb:216:in `load_modules'...
2009 Mar 25
0
RMagick LoadError
...ried to test RMagick code below.
irb -rubygems -r RMagick
But I got an error like below.
/usr/local/lib/ruby/gems/1.8/gems/rmagick-2.9.1/lib/RMagick2.so:
libMagickCore.so.2: cannot open shared object file: No such file or
directory - /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.9.1/lib/RMagick2.so
(LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`require''
from /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.9.1/lib/RMagick.rb:11
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require''...
2011 Jan 12
1
gem and rails3: LoadError
...prawn-core (0.8.4)
prawn-layout (0.8.4)
prawn-security (0.8.4)
As a user:
- rails new myapp
- cd myapp ; rails console =>
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in
`require'': no such file to load -- prawn/core (LoadError)
Could somebody say what to do for prawn (or any other gem I suppose)
being
recognized in user''s applications?
Thanks
Maurice
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group....
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 /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/
lib/active_support/dependencies.rb:225:in `load_dependency''
from /home/slava/....
2010 Sep 04
8
sqlite3/sqlite3_native (LoadError)
Hi,
I have installed ruby 1.9.2, rubygems 1.3.7 and rails 3.0. created a
demo application. when I start ''rails server'' I get:
''require'': no such file to load -- sqlite3/sqlite3_native (LoadError)
any idea ?
Thank you.
Dani
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To...
2006 Feb 24
5
Sanity Check
...s
going on, and found the problem... but... can''t explain it. Here is the
code in question:
lib_path = File.join(directory, ''lib'')
init_path = File.join(directory, ''init.rb'')
has_lib = File.directory?(lib_path)
#raise LoadError, "Dude, this path is ok: " + has_lib# =>
public/../config/../vendor/plugins/my_plugin/init.rb
has_init = File.file?(init_path)
#raise LoadError, "WTF !...." + has_init.to_s# =>
False !!!!!!!!!
I''ve loaded the same situation up...
2006 Oct 05
8
samples
What do you think about adding a shebang line to the samples so they can
be launched on linux/mac like you can on windows?
Roy
2010 Dec 10
1
no Ruby script found in input (LoadError)
...h it does have some gem dependancies. I ran bundle install
and I got the dependancies in stalled. Bundle check confirmed everything
is there. But when I just the rails command (rails -v for example) I get
this:
/Users/joBdsgh/.rvm/rubies/ruby-1.9.2-preview3/bin/ruby: no Ruby script
found in input (LoadError)
This does not happen in any other directory except for the project
directory and any of its subdirectories. I created a dummy rails 3
project and I did not have this problem.
Any idea on what''s causing this error.
--
Posted via http://www.ruby-forum.com/.
--
You received this messag...
2008 Apr 10
5
ldap trouble
...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
running etch, installed the ruby package available as well as the
libldap-ruby1.8 and libldap-ruby1.8 packages. I installed facter and
puppet via the gem command. Do I have a problem with environment
variables or is it...
2009 Jan 13
2
Cucumber newbie gets Webrat::Se ssion (LoadError)
...es, I get the following in the
console:
c:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/acti
ve_support/dependencies.rb:262:in `load_missing_constant'': Expected
c:/projects/
classroomparent/vendor/plugins/webrat/lib/webrat/session.rb to define
Webrat::Se
ssion (LoadError)
Failed to load features/support/env.rb from
c:/InstantRails-2.0-win/ruby/lib/ru
by/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:468:in
`
const_missing''
from
c:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/aslakhellesoy-w
ebrat-0.3.2.2/lib/webrat/rails....