similar to: script/console colors on Windows?

Displaying 20 results from an estimated 60000 matches similar to: "script/console colors on Windows?"

2010 Aug 27
0
Syntax highlighting in IRB || Script/Console
Railers, I would like to know if there is a way of changing colors for IRB standard input ($stdin). What I am interested in "is having IRB highlighting syntax as I type". Among other stuff, I would like to be able to: - set its background colours - have differing colours for strings, variables, keywords, e.t.c. I do use Wirble and Term-ansicolor gems, and they are fine when it
2006 Jun 07
2
script/console cursor goes crazy sometimes on XP
I''m on WinXP SP2, Ruby 1.8.4, Rails 1.1.2. Sometimes when I''m editing a line in script/console - that is, I''m using the cursor keys or backspace key to edit the text on the current line - the cursor suddenly flies off to the previous line out in space somewhere, and typing anything after that just results in characters being entered at weird places. Anybody else
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 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
2006 Mar 18
4
Mongrel Console 0.1 -- script/console meets mongrel
This is a super quick announcement for a new Mongrel plugin called mongrel_console. It was inspired by a request from Tobias L?tke who wanted to tail out logs while Mongrel was running. What mongrel_console does is combine the Rails script/console with Mongrel so that you can control a mongrel server while using script/console. Sounds weird but it''s quite awesome for development
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 Mar 30
9
script/console not working after Rails 1.1 upgrade
Whenever I do script/console I get an error message: Loading development enviroment. c:/ruby/lib/ruby/1.8/irb/init.rb:151: in ''parse_opts'' : undefined method ''upcase'' for nil:NilClass (NoMethodError) from c:/ruby/lib/ruby/1.8/irb/init.rb: in ''setup'' from c:/ruby/lib/ruby/1.8/irb/init.rb:54: in ''start'' from c:/ruby/bin/irb:13
2011 Apr 01
3
Syntax coloring in R console
Dear all, I am a happy user of R console, but I would like to see syntax coloring. I use R 2.12 in Ubuntu Linux. I have found the packages "xterm256" and "highlight", but I was not able to figure out how to use it to highlight the syntax in console output. Also, I tried several GUI interfaces, but I was not able to find something that suits me better than the default R
2006 Apr 21
4
Bus error in ./script/console with postgres (ext. library)
Is there some special magic that needs to be performed so that the C-based postgres extension library works with the Rails console? I have installed the postgres extension library (replacing the pure Ruby version: postgres-pr) from <http://ruby.scripting.ca/postgres/> Everything works great from WEBrick, but as soon as I fire up the console and try to use it, I get a bus error:
2007 Mar 09
3
NetBeans 6.0/Script Console Window
Has anyone figured out how to turn NetBeans IRB window into Ruby on Rails script/console window where the gems like ActiveRecord, ActionPack etc are recognized? May be an easy one for the Rails Guru''s out there, not for me. By default, the NetBeans IRB window only loads Ruby. I am trying to see how well NetBeans 6.0''s Ruby/RoR support works fully realizing that it is an alpha
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
2009 Mar 27
3
ANNOUNCE: Hirb - A gem enhancing your script/console
Hi, I''m announcing Hirb, a mini view framework which enables script/ console to provide custom views. Out of the box your activerecord objects come back as ascii tables. You can also configure your tree-based models to return as ascii trees: Numeric |-- Float |-- Integer | |-- Bignum | `-- Fixnum |-- Date::Infinity `-- Rational I''ve written two tutorials on
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''
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 Apr 06
2
rails 1.1 - console broken
Have upgraded to rails 1.1 and now ruby script/console does not work. Throws an error: c:\work\development\rails\application1>ruby script/console Loading development environment. c:/tools/ruby/lib/ruby/1.8/irb/init.rb:151:in `parse_opts'': undefined method `up case'' for nil:NilClass (NoMethodError) from c:/tools/ruby/lib/ruby/1.8/irb/init.rb:19:in `setup''
2006 Jun 13
0
script/console and IRB readline failure
Long input lines are confusing the readline on my script/console and irb sessions. I hit back-arrow and suddenly the cursor goes up to the next line. Thereafter the previous-line fails to work, giving me just an ampersand (&) instead of the previous line to re-edit. WinXP SP2. Warren Fred -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 08
0
script/console custom prompt
Hi, I''m not able to use a custom prompt with script/console. I can''t seem to change the prompt once I''m inside irb. I can only change by passing in the --prompt arg to irb. However, it seems script/console has the simple prompt hardcoded in the script. I hacked the script a little and it seems to work, but I''m sure there is a more elegant way to do it.
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
2006 Nov 04
0
Can''t run script/console on OS X
Hi there, I just insalled RoR on a OS X 10.4.2. Everyting works great so far, except I cannot run script/console, which is used in most tutorial I come across. I installed RoR using Locomotive, but it never really worked, so I did a manual install of RoR afterwards. Could this cause conflicts in betweend libs my environment? Here is the stack trace: $ script/console Loading development