search for: irbrc

Displaying 12 results from an estimated 12 matches for "irbrc".

Did you mean: iirc
2006 Jul 07
3
Mongrel & irbrc
Why does mongrel_rails insist on loading ~/.irbrc with each request? a) I''m curious why it loads it at all (I assume there''s no way of getting an inline breakpointer??) b) Why re-load it? It causes problems with any constants that are used in .irbrc... (alternatively, how do I avoid re-assigning to a constant?) Jon -----...
2011 Apr 18
2
rubygems fail - require hpricot!
....2-p180'' export RUBY_VERSION GEM_HOME=''/Users/Anush/.rvm/gems/ruby-1.9.2-p180'' export GEM_HOME GEM_PATH=''/Users/Anush/.rvm/gems/ruby-1.9.2-p180'' export GEM_PATH MY_RUBY_HOME=''/Users/Anush/.rvm/rubies/ruby-1.9.2-p180'' export MY_RUBY_HOME IRBRC=''/Users/Anush/.rvm/rubies/ruby-1.9.2-p180/.irbrc'' export IRBRC rvm_ruby_string=''ruby-1.9.2-p180'' export rvm_ruby_string unset rvm_gemset_name unset MAGLEV_HOME lenovo-t400:environments Anush$ find `gem env gemdir`/gems/hpricot-* -name \*.bundle -ls 16323203...
2006 Jul 12
1
+ camping 1.4.123
...s are scanned, in order, when a request is made. any other controllers are handled first. so if you plan on overriding the urls method, be sure to subclass from R(). * the private `markaview` method has gone away. use `markaby` method, if you really need to. * Console mode will load .irbrc in the working directory, if present. (for example, in my ~/git/balloon directory, i have this in the .irbrc: include Balloon::Models when camping -C balloon.rb gets run, the models all get included in main.) * And, of course, many other bugfixes from myself and the loyal+kind zimbat...
2010 Dec 11
2
Problem using rvm in bash script
...e" environment: PATH: "/home/colinl/bin/piglet:/home/colinl/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/colinl/.rvm/bin:/home/colinl/.rvm/bin" GEM_HOME: "" GEM_PATH: "" MY_RUBY_HOME: "" IRBRC: "" RUBYOPT: "" gemset: "" Which is not right at all, it being the same as i get if I enter rvm info without preceding it with rvm use. Google has not helped me to a solution. Has anyone experienced this problem, or can suggest what I am do...
2008 Mar 24
4
Doesnt show log on command prompt
I have latest version of mongrel installed. But when I run ''ruby script/server'' it starts the server and shows nothing else, like development log it used to show on my previous dev machine. Any idea? -- Posted via http://www.ruby-forum.com/.
2006 Oct 03
4
! camping 1.5 + markaby 0.5
...s are now *ordered*. uses the inherited hook to keep track of all classes created with R. those classes are scanned, in order, when a request is made. any other controllers are handled first. so if you plan on overriding the urls method, be sure to subclass from R(). * Console mode will load .irbrc in the working directory, if present. (for example, in my ~/git/balloon directory, i have this in the .irbrc: include Balloon::Models when camping -C balloon.rb gets run, the models all get included in main.) * And, of course, many other bugfixes from myself and the loyal+kind zimbatm... * Ma...
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
2012 Dec 03
10
Starting rails server problem
Still fairly new to Ruby and Rails in general and trying to figure out how to address this error. I recently migrated to a new computer and now I get this error message when I try to start the rails server. -bash: /Users/user1/.rvm/gems/ruby-1.9.3-p125/bin/rails: /Users/user/.rvm/rubies/ruby-1.9.3-p125/bin/ruby: bad interpreter: No such file or directory I know what the problem is and
2006 May 02
3
''NameError: uninitialized constant <MyEntity>'' in console
When I create a new model entity, and try to access it from the Rails console I get the error: >> b = Bar.new(:name => ''Some Bar'') NameError: uninitialized constant Bar from (irb):1 from :0 (My model class is called Bar, and is in file app/models/bar.rb) So, I try to load the model class file, and I run into a more frigtening error: >> load
2007 May 16
2
Hit mongrel once...all is well, hit it again...stack level too deep?
Hi there. I''ve dropped a mongrel log item here: http://pastie.caboo.se/62052 I can hit my app fine, once. Hitting it again gives me a 500 error and this log entry. I think it''s application code causing the problem as I have a second app running that doesn''t have this behavior, but I''m unsure how to proceed finding root cause here. Suggestions?
2005 Mar 08
15
Rails 0.10.1and WEBrick
Doesn''t appear to work with WEBrick. Works find with Apache/FastCGI. Something wrong in the way Rails is trying to process paths from the WEBrick server. If I try to send in http://localhost:3000/recipes/new, WEBrick is interpreting /new as my controller, instead of my action.
2006 May 17
40
IDE recommendations?
I was wondering if there are any IDEs out there that has autocomplete features for win32. It would be perfect if it could do something akin to what DHH is doing on the screencast hosted on the rails website. http://media.rubyonrails.org/video/rails_take2_with_sound.mov Cheers -- Posted via http://www.ruby-forum.com/.