Displaying 20 results from an estimated 40000 matches similar to: "problem with gems command"
2006 Apr 17
1
Error with installing rails/gems on ubuntu-dapper
I am getting an error when trying to install rails on dapper. It looks
like it partially installed something. Mainly the issue seems to be
with ''gems''?
I am using:
ruby-1.8.4
gems 0.8.11
Is this bad?
bbrown@england:~/rubygems-0.8.11$ sudo gem install rails
--include-dependencies
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
2009 Jun 10
0
install pb(solved) : http://gems.rubyforge.org/ does not appear to be a repository
I''m installing ruby on rails on my local windows laptop,
piece of cake, ruby is adult now, so I thought...
http://rubyonrails.org/download
is clear :
install ruby with windows installer, ok
download gems, unzip and "ruby setup.rb", ok
but "gem install rails" tells :
"http://gems.rubyforge.org/ does not appear to be a repository"
here I groan, is it the
2008 Apr 26
1
gem fetching error
I am trying to install some application using gem, but I keep on getting
the error. I tried with ''gem clean'' and ''gem update''. The latter gives
the following error (the same error is replicable when I try any ruby
applications):
# gem update --debug
Exception `Errno::ENOENT'' at
/usr/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:51 - No such file or
2010 Feb 02
0
How to set RUBY EXECUTABLE path in Ruby Gems Environment
I have ruby 2 version in my Mac which are 1.8.6 and 1.8.7.
I would like to set Rubygems environment to point to Ruby 1.8.7.
Anyone know this issure????
ubyGems Environment:
- RUBYGEMS VERSION: 1.3.5
- RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [universal-
darwin9.0]
- INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8
- RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/
2006 Jan 20
0
Newbie installation problem: gem [command] --remote
Hi, i am a newbie to RoR. I downloaded Ruby 1.8.2-15 Windows installer
yesterday and trying to install following Curt Hibbs'' Rolling with Ruby
on Rails(http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html). My
OS is Win XP SP2 and the 1st step installation was fine.
D:\rg\xampp\ruby\bin>ruby -v
ruby 1.8.2 (2004-12-25) [i386-mswin32]
Next I was going to install rails remotely,
2010 Feb 04
3
Rails Edge: gem bundle error
Hi.
Having installed Ruby 1.9 from source, I decided to have a look at
Rails3 aka Rails edge from git. Therefore, I followed wycats
instructions (http://weblog.rubyonrails.org/2010/1/1/getting-a-new-app-
running-on-edge), but keep getting an error related to Bundler:
$ sudo gem bundle --backtrace
ERROR: While executing gem ... (NoMethodError)
undefined method `path'' for
2006 Oct 28
0
Problem starting up the drb server
Hi,
I''m rather new to backgrounDRb and DRb itself. I tried to run
backgrounDRb on my shared hosting site at Railsplayground.com using rake
backgroundrb:start and got this error:
/usr/local/lib/ruby/1.8/drb/drb.rb:862:in `initialize'': getaddrinfo:
Name or service not known (SocketError)
from /usr/local/lib/ruby/1.8/drb/drb.rb:862:in `open_server''
from
2007 Feb 07
1
Auto-installing Gems via boot.rb causes errors under Mongrel
Hi,
I''m trying to make my Rails app auto-install my required gems, by
invoking the gem installation in boot.rb. I''ll use the ActionMailer
gem as an example:
...
system "sudo gem install actionmailer --version=1.2.5 -y"
...
Problem is that this fails on the first invocation of Mongrel - it
can''t find the gem. However, if I kill and restart mongrel (with the
2010 Nov 29
0
rake aborted! getaddrinfo: Name or service not known
I''m deploying new rails applications. Everything works well
except when it comes to the db migration:
* executing "cd /var/rails/benefits_test/releases/20101129190121 &&
/opt/ruby-enterprise-1.8.7-2010.02/bin/rake RAILS_ENV=production
db:util:migrate"
servers: ["ps-test-app1"]
[ps-test-app1] executing command
** [out :: ps-test-app1] (in
2007 Jan 15
1
wxRuby Installation using gem on windows
Hi,
I am having problems with running wxruby2 on windows.
I have installed ruby through cygwin and have also installed the latest
version of the wxRuby2 gem [wxruby2-preview (0.0.38)]
When I try running this command
ruby -rubygems minimal/minimal.rb
I get this error message:
/usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.38-i386-mswin32/lib/wxruby2.so:
Permission denied -
2009 Oct 08
0
autospec cannont find gems
I am trying to install rspec for rails and have the following gems
install
C:\INSTAN~3.0-W\rails_apps\katai>gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.4, 2.0.2)
actionpack (2.3.4, 2.0.2)
activerecord (2.3.4, 2.0.2)
activeresource (2.3.4, 2.0.2)
activesupport (2.3.4, 2.0.2)
authlogic (2.1.2)
autotest-rails (4.1.0)
builder (2.1.2)
capistrano (2.5.9, 2.1.0)
cgi_multipart_eof_fix
2006 Feb 17
2
HELP: Strange problem with breakpointer - stopped working
Hello,
I am in the middle of my first ROR project and suddently the
breakpointer script (./script/breakpointer) does allways return the
error listed below.
All time before it was working without problems - but the funny think, I
did not change anything on the system (despite downloading the Suse
Security Patches).
I am running:
Suse 9.3
Rails 1.00
Ruby 1.8.3
Please help, if you have any
2008 Jul 05
0
Undefined Method Angst After Rails / Ruby / Gem Updates
I have what appears to be a problem accessing methods from within an
application. I can access them from irb, but not from within the
app. In other words:
irb(main):001:0> require ''rubygems''
=> true
irb(main):002:0> require ''haml''
=> true
irb(main):003:0> Haml.respond_to?(''init_rails'')
=> true
2010 Feb 27
1
Cannot migrate DB due to "getaddrinfo: Name or service not known"
I am using Rails 2.2.2 and try to do a DB migration, but got the
following error. I am using Centos 5.4. Can someone give me a clue?
>> rake db:migrate RAILS_ENV="production"
rake aborted!
getaddrinfo: Name or service not known
(See full trace by running task with --trace)
[current]$ rake db:migrate RAILS_ENV="production" --trace
** Invoke db:migrate (first_time)
**
2008 Jun 27
0
gem install rails issue CRC error
im trying to install rails with gem. i have compiled 1.8.6 from source
and am running gem 1.1.1
here is the output:
[root@webapp1 ~]# gem install rails --include-dependencies --verbose
--backtrace
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
connection reset after 2 requests, retrying
Missing metadata for 14022
2006 Mar 20
2
breakpointer socket errors?
I''m not sure what has changed that could have caused this, but lately,
I''m unable to run the script/breakpointer script with my application.
The application is just loaded up as webrick like:
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2006-03-20 12:42:48] INFO WEBrick 1.3.1
2010 Feb 25
0
SocketError: getaddrinfo: Name or service not known --> error while running test case
Hi all,
I am getting the below error when I try to run my test case. I have
already started selenium RC server (port:4444).. Also I have specified
" 127.0.0.1 localhost " in /etc/hosts ...
:ruby test1.rb
Loaded suite test1
Started
E
Finished in 0.022698 seconds.
1) Error:
testfestool(Test1):
SocketError: getaddrinfo: Name or service not known
2006 Jul 31
6
Unable to install Gems with RubyGems on Intel OSX with DarwinPorts
I followed Duncan Davidson''s Sandboxing Rails with Darwin Ports guide and
everything went fine up till the part where I had to install gems using gem
install. I would get this stacktrace:
Attempting local installation of ''rake''
Local gem file not found: rake*.gem
Attempting remote installation of ''rake''
2010 Nov 28
0
gem update --system returns error
Hi guys,
First off, I am completely new to programming and hence obviously also
to both Ruby and RoR. Please do bare with me. Yoroshiku onegaishimasu!
I am having trouble understanding what to do when the following error
appears when I try to update RubyGems:
C:\InstantRails\rails_apps\gem update -- system
Updating RubyGems...
ERROR: While executing gem ... (Gem::RemoteSourceException)
HTTP
2008 Jun 24
1
Rails 'rake gems:install' error in windows
I am developing with rails at three platform
mac, windows, linux.
until Rails 2.1, we can describe gem dependencies in environment.rb.
( this one ~
http://ryandaigle.com/articles/2008/4/1/what-s-new-in-edge-rails-gem-dependencies
)
so I write environment.rb like below for using will_paginate
...
config.gem ''capistrano''
config.gem