similar to: Looking for environment setup help

Displaying 20 results from an estimated 2000 matches similar to: "Looking for environment setup help"

2011 Apr 16
17
Rails 3 Crashing On Windows 7
Hi guys, I have Rails 3 running on Windows 7 with Ruby 1.9.2 Every now and again, my server crashes, and I see the following information in the windows event log: Faulting application name: ruby.exe, version: 1.9.2.180, time stamp: 0x4d5ee5ed Faulting module name: msvcrt-ruby191.dll, version: 1.9.2.180, time stamp: 0x4d5ee5ec Exception code: 0xc0000005 Fault offset: 0x0011a00e Faulting process
2011 Feb 10
8
rvm install 1.8.7 prompts "There has been an error while running make. Halting the installation."
I want to work with both Rails 2 and Rails 3 projects. I have RVM installed. When I upgraded to Rails 3, Installed RVM via terminal: bash < <( curl http://rvm.beginrescueend.com/releases/ … ll-latest) version=$(curl http://rvm.beginrescueend.com/releases/ … sion.txt); mkdir -p ~/.rvm/src/ && cd ~/.rvm/src/ && curl -O http://rvm.beginrescueend.com/releases/ … on}.tar.gz |
2011 Mar 03
1
Does RSpec interfere with Pathname#dirname or Pathname#realpath ?
Hi, I starting a new project, and have run into behavior I cannot replicate in irb, (i.e. outside of using rspec) when the directory? returns true, so I thought I''d ask here, in case any one has seen this badhavior. ruby-1.9.2-p136 rspec (2.5.0) rspec-core (2.5.1) rspec-expectations (2.5.0) rspec-mocks (2.5.0) When I try to run this spec: require Pathname(__FILE__).ascend { |d|
2012 Jan 15
2
ruby-debug19 error undefined symbol: ruby_current_thread
I am trying to deploy a Rails app ( Rails 3.0.9 / Ruby 1.9.2 ) in production (Debian 6) it''s running fine in development mode on localhost ( OSX) I am getting this error from Passenger : undefined symbol: ruby_current_thread /var/www/vhosts/mydomain.com/rails/testsbga/shared/bundle/ruby/ 1.9.1/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.so: undefined symbol: ruby_current_thread -
2011 Apr 18
2
rubygems fail - require hpricot!
Hi guys, I wanted to fetch some info from webpage and use it in my db. I read hpricot is one way to do it. But the problem is I''m unable to use it with my app. For some reason after successfully installing hpricot it fails when I try to use it in the rails console. I''ve been trying to fix this for the last four-five days. I''m stumped ! I tried re-installing everything
2011 Nov 14
3
ruby 1.9.3 causes rbuf_fill timeout, but 1.8.7 does not
subject line says it all. I am trying to use the Google Storage gem (gstore), and if i use ruby 1.8.7, no problem. If i try to use ruby 1.9.3, i get this error: Timeout::Error: Timeout::Error from /usr/local/lib/ruby/1.9.1/net/protocol.rb:146:in `rescue in rbuf_fill'' from /usr/local/lib/ruby/1.9.1/net/protocol.rb:140:in `rbuf_fill'' from
2011 Mar 04
5
How to intercept an instance method from StdLib (1.9.2)
Hi, I''m struggling with something that seems to be simple, and I''ve not had any joy following the RSpec books suggestions (p. 187). I''d like to test that a method raises and error when a file is not found. I''ve tried adding this in my example just before I call my method, but it never seems to get invoked. Pathname.stub(:exist?).and_return(false) The whole
2012 Jan 03
1
updating rails version to 3.1.3 get error
hi all, i have ruby : 1.8.7 rails :2.3.11 and rubygem:1.6.2 installed on my Windows sys. my application work without error .I have upgraded the environment to gem:1.8.12,rails:3.1.3 ,ruby:1.9.2 i have getting the following error on starting the Webrick server D:/Hemant/Suggestica_setup/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'': cannot load such
2012 Feb 01
10
Very strange problem: Ton's of ruby process just running simple command "rails --version" or "rails
Very strange problem: Ton''s of ruby process just running simple command "rails --version" or "rails new test1"" I have very strange problem. I try to run this simple command "rails new test1" --> this suppose to be create a new rails site. "rails --version" --> even this I got ton''s of ruby process but I got a lot of ruby
2010 Mar 07
5
Rails development processes running very slow
This is a problem I know other people have been having. I''m on Rails 2.3.5 on a dual core 2.1Ghz Macbook Pro 2.1 with 3Gb of ram and 800Mb+ inactive memory. Things should be fast. Sometimes things run slowly, but nothing nearly as slowly as rails. irb starts in milliseconds. Even Java maven tasks are pretty fast. Rails on the other hand takes a pitiful 1:30 minutes to start - the
2011 Jan 23
2
How I do to run Rails on Apache?
Scenario: Windows Vista - Rails 3.0.3 - Rub(ies)1.9.2-p136 & 1.8.7p330 - MySQL5.5 - Apache2.2 - git/cygwin -everything setup and working, BUT WEBrick is becoming temperamental. I want to run Rails on Apache. Is it possible? What should I do. I made some simple tests like build applications with Ruby 1.9.2 and after with 1.8.7. Rails on WEBrick set the tables and makes the models/ migrations
2010 Nov 22
3
Issue using bundler
I run bundle install, or bundle update, and it fails. I''m using RVM, so if I switch to Ruby 1.9.2, this works fine, but using Ruby 1.8.7 it fails. Any idea? jeremy-woertinks-imac:winovations jeremywoertink$ bundle update Fetching source index for http://rubygems.org/ Using rake (0.8.7) Using RedCloth (4.2.3) Using abstract (1.0.0) Installing activesupport (3.0.1)
2010 May 16
2
I cannot install Rails 3.0 on my OS X
Hi, I''ve upgraded ruby to 1.8.7. But when I tried to install rails 3.0, it said that I need ruby 1.8.7 or higher. ruby-1.8.7-p248$ ruby -v ruby 1.8.7 (2009-12-24 patchlevel 248) [i686-darwin9.8.0] ruby-1.8.7-p248$ sudo gem install rails --pre ERROR: Error installing rails: activesupport requires Ruby version >= 1.8.7. What should I do? Sam -- Posted via
2010 Aug 09
9
where can I get up to date instantrails ?
Hi, can someone please tell me where can I find up-to-date instantrails (with rails 2.38, ruby 1.8.7) ... ? Thanks for any help 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
2012 Sep 12
8
Round off method in 1.8.7
Hi all i am trying to use round method if have a value 2.08 i want it as 2.1 and it worked in 1.9.2 but not in 1.8.7 is there any other way of doing it. USING 1.9.2 1.9.2p320 :001 > 2.08.round(1) => 2.1 1.9.2p320 :002 > 2.04.round(1) => 2.0 USING 1.8.7 irb(main):001:0> 2.08.round => 2 irb(main):002:0> 2.08.round(1) ArgumentError: wrong number of arguments (1 for
2011 Aug 17
4
How to use Oniguruma in ruby 1.9.2?
Hello Guys , Can anyone explain me how to use Oniguruma in ruby 1.9.2 , I guess in ruby 1.9.2 its a default library so there is no need to install externally? I was using Oniguruma::ORegexp.new( in ruby 1.8.7 . Thanks Nishant -- 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
2012 Jan 20
3
Istalling Ruby 1.9.2
I just installed 1.9.2 on my 2nd machine, but after I installed I checked the version with ruby -v and it sent me 1.8.7 Here''s the terminal output...anyone know what''s wrong (I have RVM installed): Francescas-MacBook-Air:~ fkrihely$ rvm install 1.9.2 Fetching yaml-0.1.4.tar.gz to /Users/fkrihely/.rvm/archives Extracting yaml-0.1.4.tar.gz to /Users/fkrihely/.rvm/src Configuring
2008 Jul 01
2
Area Under a Curve
I would like to integrate the area under a curve without any smoothing or the like- just on the raw numbers. I looked at integrate() but it requires a function which I assume means something like x+x^2+x^3 is there a built in function in R for this? #let's say x <- seq(1:50) y <- seq(1:50) plot(y~x) # the are would be 1250 # I would like to be able to do this but on more complicated
2011 Aug 22
6
Trouble with Ruby on Rails
Some background info: I am an OS X user, and my MAC system is OS X 10.6.8(snow leopard). @1st problem (regarding Ruby on Rails installation): I have installed ruby "1.9.2" with RVM. When I typed "ruby -v" command in terminal after installation, it says that the ruby version I have is "1.8.7". Strange, isn''t it? So, I have tried "rvm use 1.9.2"
2010 Jun 10
9
Rails3 beta4 + Ruby 1.9
When I try rails console using Rails3 beta4 and Ruby 1.9.1-p378 I cannot save a record: > rails console Loading development environment (Rails 3.0.0.beta4) ruby-1.9.1-p378 > g = Game.new => #<Game id: nil, player_id: nil, versus_id: nil, finished: nil, created_at: nil, updated_at: nil> ruby-1.9.1-p378 > g.save NameError: undefined method `<=>'' for class