similar to: undefined method `path' for Gem:Module (NoMethodError)

Displaying 20 results from an estimated 6000 matches similar to: "undefined method `path' for Gem:Module (NoMethodError)"

2010 Jun 13
5
script/server vs mongrel_rails start issue
I am having different results between when I start mongrel with script/ server and with mongrel_rails start. When I run script/server to boot mongrel everything runs fine, no errors. When I run mongrel_rails start I get the following errors - verified the problem on a fresh app and on two different environments (mac and yes, windows server 2008). The actual line of fault changes but the problem
2008 Nov 24
14
Problem with RubyGems installation
Hello, I am trying to install RubyGems on Ubuntu and i''m having trouble. I''ve downloaded rubygems 1.3.1 and when i run the sudo ruby setup.rb command I get the problem mentioned below. I''d really appreciate if someone can help me out. Thanks mkdir -p /usr/local/lib/site_ruby/1.8 mkdir -p /usr/bin install -c -m 0644 rbconfig/datadir.rb
2007 Dec 11
6
Mongrel install problem
Hi, I''m having difficulties getting mongrel running on my Debian Etch machine. It seems to install and is listed with my other gems, but things like... "mongrel_rails start ..." ... are not recognised. Perhaps this is something to do with the file "lib" not being found in the install process: ruby extconf.rb install mongrel --include-dependencies checking for main()
2011 Nov 18
5
Puppet on windows: File resource problem
Anybody knows what this error, bellow, means, the target file, C:/Splunk/etc/system/local/inputs.conf, does exist. sometimes, if I delete the file, it does actually create it, but never update it if it exists and changed... The resource is defined as:     file { "splunk_inputs":        owner   => SYSTEM,        group => SYSTEM,        mode    => 664,        require =>
2012 Feb 29
4
Windows Puppet 2.7.12rc1-7-g281901e hands at end of run
I just installed the latest rc 1.7 to solve another issue I had. It solved the issue, but I''m getting a different issue. I''m running it interactively from an administrator command prompt. It connects to the master puppet server, processes the configuration items then gives an error. The interesting thing is that it never returns to the command prompt. It just hangs. I have
2010 Oct 03
23
Newbe: rails version issue
I am evaluating RubyMine but am getting the following rake issue... C:/Ruby192/lib/ruby/1.9.1/rubygems.rb:340:in `bin_path'': can''t find executable rake for rake-0.8.7 (Gem::Exception) There are many web pages (through Google) that discuss this, and several recommend applying a patch and link to a .patch file (0001-version-bundled-gems-during-installation.patch). This file opens
2010 Sep 06
18
problem when : ruby script/server
Hi; Now I have tried the following, installed ruby 1.8.7 (2010-08-16) [i386-mingw32] rails 2.3.8 when I start the server --> ruby script/server, I get the following eeror: C:\Rails\demo>ruby script/server => Booting WEBrick => Rails 2.3.8 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2010-09-06 23:53:31] INFO WEBrick 1.3.1
2011 Jan 22
1
uninitialized constant ActionView::Helpers::TagHelper::ERB (NameError)
I am a new to ruby and rails and am trying to refactor some code with rspec and have run into a problem that has stumped me for a few days and I have searched google and ruby/rails forums to no avail so I really hope somebody can help me out with this problem which I think may be caused by a rails config problem. Anyway, I used ''rails new myapp'' to make a new rails project and
2010 Dec 15
5
Having trouble testing :( "superclass mismatch" and can't load "test_helper"
I''m having trouble testing my Rails 3 application. Unit testing doesn''t work. If I try ruby article_test.rb directly, I get a "no such file to load" error, and if I try rake test:units or ruby unit/ article_test.rb I get this odd "superclass mismatch for class ArticlesController" error! I''m hoping I can get this settled... My test files were
2009 Jan 16
10
Puppet playing badly with Debian etch rubygems
To install the ruby-augeas gem, I installed rubygems on Debian etch, which lead to: Setting up libgems-ruby1.8 (0.9.0-5) ... Setting up ruby1.8-dev (1.8.5-4etch4) ... Setting up rubygems (0.9.0-5) ... Before this (I mean *immediately* before this) puppet worked fine exceept for not being able to find a provider for Augeas. After this, though: ec2-www1:/usr/src# puppetd -t Failed to load
2005 Sep 15
9
(newbie) rails app not working after subversion integration?
hello, if anybody could please help, I''m very late with this project and have been wasting a lot of time (days and days) getting past the learning curve to get the infrastructure up (fcgi, rmagick... and now svn integration). i come from dirty-php-scripting and am a newbie at all of this :P I have a rails app that I''ve been developing locally on os x. originally I
2012 Feb 26
15
ActiveRecord::ConnectionNotEstablished
Hi, I am trying the tutorial in: http://guides.rubyonrails.org/getting_started.html when I try to navigate to http://localhost:3000 after the 4.3 change I get the error : ActiveRecord::ConnectionNotEstablished and I don''t know how to solve it the database.yml file is: adapter => mysql host => 127.0.0.1 database => blog username => root password => ***** my
2011 Jul 25
4
Rails 3 test database issues
I am having a problem using the test database in Rails 3. It apparently has kept track of aspects of the database that I deleted completely from my migrations at some point. I don''t always use the ''down'' part of a migration and sometimes just recreate the whole database. I did rake db:migrate:reset and rake db:test:prepare, but when I run my test it is trying to access
2007 Apr 13
1
mongrel on linux error - custom_require.rb:27:in `gem_original_require'': no such file to load -- (LoadErro
We''re deploying mongrel with Apache on CentOS. I have installed mongrel but when I try to run it, I get the following error. Can someone tell my why and how to fix it. Also does anyone have experience in deploying mongrel on CentOS ? mongrel_rails start -d /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- (LoadError)
2010 Nov 25
2
no such file to load - spec/test/unit
Under the older version of rspec, I''m able to run my script successfully by running "spec randomperform.rb" I''ve now installed the newest rspec, and it does not work for me. If I run the command: rspec randomperform.rb I get the following error: ----- <internal:lib/rubygems/custom_require>:29:in `require'': no such file to load -- spec/test/unit
2011 Sep 09
1
i need help.please anyone can help me out witth this.
I installed ruby on my pc...then after that i got lib not found as one error when i was installing rails... further all steps worked like installing sqlite3 and creating test application...but wen i gave a cmd called rake db:migrate, i got errors like these- rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) D:/Ruby192/lib/ruby/1.9.1/rake.rb:2367:in
2011 Mar 14
3
error during installing gem named mysql2
*hello everyone,* * * *im getting this error when im installing a gem via command prompt * *can any one help me out? please* * * *thanks.* * * *C:\>gem i mysql2* *Temporarily enhancing PATH to include DevKit...* *Building native extensions. This could take a while...* *ERROR: Error installing mysql2:* * ERROR: Failed to build gem native extension.* * * * C:/Ruby192/bin/ruby.exe
2011 May 06
1
ruby 1.8.7 from source
I need to install ruby 1.8.7 on CentOS 5.5 x86_64 system. I am planning to install it from source, but I am not sure whether this will install rdoc, ri and ruby-devel as well. I couldn't figure it out from 'configure --help' command. Appreciate any help regarding this issue. Also, any other installation options or repository suggestions are welcome. thanks, neuby.r
2009 Jun 25
8
Mongrel service keeps re-starting ruby
On Thu, Jun 25, 2009 at 2:07 AM, Michael Pliskin<mike at comapping.com> wrote: > Hi all, > > > > Some disclaimer first: I am a complete newbie in mongrel and this list, so > please forgive me if I say something weird. I have a problem, I?ve googled > for a solution for quite a while and failed so far, so decided to ask here. > > > > I am trying to set up my
2011 Mar 20
10
Unable to install mysql2 gem on windows 7
I am getting the following error message while installing, let me know if any one needs some more details. I followed instruction from "https://github.com/oneclick/rubyinstaller/wiki/Development-Kit". I am using ruby 1.9.2p136 (2010-12-25) [i386-mingw32]. E:\work_desk\trunk>gem install mysql2 -v 0.2.4 Temporarily enhancing PATH to include DevKit... Building native extensions. This