Displaying 20 results from an estimated 5000 matches similar to: "Can''t run script/console on OS X"
2006 Mar 27
2
:through and STI
Hi,
I''m trying to use :through and STI using the trunk version of Rails, but
I get the following error see bottom of this msg[1]
here are my classes.
class Player < ActiveRecord::Base
end
class Ladder < ActiveRecord::Base
has_many :subscriptions
has_many :players, :through => :subscriptions
end
class SingleLadder < Ladder
end
class Subscription <
2010 Mar 03
2
Memcached: "no such file to load -- memcache-client" when running script/console
Hi folks. I''ve started down the memcached path and everything was
running grand until I decided to start up my console. I have manually
installed libevent 1.4.13 and memcached 1.4.4 into /usr/local,
following which I sudo gem installed memcache-client and SystemTimer.
development.rb has been modified to do caching with the
mem_cache_store.
The memcached process seems to work and my
2006 May 10
1
Problems With Console
I just recently got Ruby on Rails and am having some problems with ./
script/console. Whenever, I enter the command, I get this:
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''
2007 May 10
1
errors using ruby script/console
HI all, when i try to use the rails console with this command, ruby
script/console, i got the following errors:
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require'': no such
file to load -- readline (LoadError)
from /usr/local/lib/ruby/1.8/irb/completion.rb:10
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `require''
from
2006 Feb 17
2
console doesn''t work
any one know this problem?
when i try to run console
#---------------------------------------------------------------
>ruby script/console
>Loading development environment.
>/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require'': no such file to load -- readline >(LoadError)
> from /usr/local/lib/ruby/1.8/irb/completion.rb:10
> from
2006 Jun 17
4
ruby script/console fails to launch
Can someone please explain why I am see the following:
<snip>
rails/uploadimage> ruby script/console
Loading development environment.
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require'': no such file
to load -- readline (LoadError)
from /usr/local/lib/ruby/1.8/irb/completion.rb:10
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `load_modules''
from
2006 Oct 09
1
error running 'ruby script/console' => "uninitialized constant RAILS_ROOT" ??
Hi,
Anyone suggest why when I try to run the console via ''ruby script/console'' I
get the following "uninitialized constant RAILS_ROOT" ??
Error:
================================
V:\Source\testapp>ruby script\console
Loading development environment.
./script/../config/../config/environment.rb:3:NameError: uninitialized
constant RAILS_ROOT
2007 Jul 23
1
readline (LoadError)
hi,
i''m a noob in ror, today 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
2006 Oct 05
0
script/console - no such file to load -- readline
Hi there,
I just set up ruby and rails and now whenever I run script/console I get
this error:
Orenad:~/Sway/Projects/mi7/trunk/mi7 dave$ ruby script/console
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
2005 Nov 19
0
Missed readline on mac os x? [HELP]
Hi,
I installed ruby 1.8.2 without problem, using the binary provided
on the ruby on rails site for Mac Os X
All works fine, but ruby cannot find the readline library:
[0:Documents/workspace/manhattan> ruby script/console
Loading development environment.
/usr/lib/ruby/1.8/irb/completion.rb:10:in `require'': No such file to
load -- readline (LoadError)
from
2009 Nov 17
0
No such file or directory - /usr/local/lib/ruby/1.8/sparc-solaris2.10/readline.so (LoadError)
I am trying to run console on a Solaris server and I get this error:
-bash-3.00$ script/console
Loading development environment (Rails 2.3.4)
/usr/local/lib/ruby/1.8/sparc-solaris2.10/readline.so: ld.so.1: ruby:
fatal: libedit.so.0: open failed: No such file or directory - /usr/
local/lib/ruby/1.8/sparc-solaris2.10/readline.so (LoadError)
from /usr/local/lib/ruby/1.8/irb/completion.rb:10
2009 Mar 25
0
RMagick LoadError
I installed RMagick 2.9.1 and tried 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
2006 Mar 15
1
Console load failure on windows
I had a very odd problem recently that manifested itself like this..
C:\rails_apps\cookbook>ruby script/console
Loading development environment.
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'': no such file to load -- ./script/../config/
../config/environment (LoadError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:21:in
2008 Apr 25
2
Can't start script/console, but can start webrick
I have this app on other computers and it works fine. On my laptop I was
running instant rails, but have scrapped it.
My error is:
C:\data\0315_FitWitWeb>ruby script/console
Loading development environment (Rails 2.0.2)
C:/data/0315_FitWitWeb/config/environment.rb:11:in `require'': no such
file to lo
ad -- active_merchant (LoadError)
from
2011 Mar 08
0
keep getting an error, "rescue in load_missing_constant': uninitialized constant Paperclip::Glue (NameError)"
hi, there
rails: 2.3.8
machine os: Ubuntu 10.04 Lucid
I''m having some problems with my rails installation in one of my new
development machines.
I have installed all the gems in my config/environment.rb file.
When I now run either script/console or script/server, I have the
error of " `rescue in load_missing_constant'': uninitialized constant
Paperclip::Glue
2006 May 03
2
How do you use the ''vendor'' directory with 3rd party libraries?
Hi,
I''m wondering how to use the ''vendor'' directory in a Rails app. I
know that you can put plugins and engines into the ''vendor/plugins''
directory and that svn:externals can be used for that, but I was
wondering how & where I put a 3rd party library? My specific case is
the pdf-writer code, which I''d rather have inside my app than as a
2008 Oct 25
2
Script/Server working but Script/Console not working
Hi all,
I have been having a very weird problem for a few weeks. I am able to
start up the server using "script/server" for my application and run
it successfully but "script/console" is not working. I have been
managing without it but somethings not right and i need to fix it.
This is the error that it throws and the trace.
Loading development environment (Rails 2.1.0)
2006 Feb 09
2
breakpointer error
Hi,
I can''t get breakpointer to work on locomotive. Pretty sure it used to
work...
Any ideas??
Jeroen
jeroen$ ruby script/breakpointer
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/1.8/drb/drb.rb:828:in
`getaddrinfo'': getaddrinfo: No address associated with nodename
(SocketError)
from
2009 Mar 21
6
script/console: "no such file to load -- application.rb (MissingSourceFile)"
Here''s what I get when I try to use the console with the current facebooker:
First I make a simple app:
rails foo -d mysql
cd foo
script/plugin install git://github.com/mmangino/facebooker.git
Then I go to config/environment.rb and change the rails version to
''2.2.2'' Then I run the console:
script/console
and I get:
[17:56][herdrick:~/rails/foo]$ script/console
2007 Sep 11
0
ruby script/console hangs on cygwin
>ruby -v script/console
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-cygwin]
Loading development environment.
What I did was
1) install latest cygwin files
2) download and install rubygems from <http://rubyforge.org/frs/?
group_id=126>
3) gem install rails --include-dependencies
rails test
cd test
ruby script/console
How can I debug this ? It looks like it''s hanging forever.