Displaying 20 results from an estimated 100000 matches similar to: "gem sources confusion"
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
2007 Feb 05
0
superclass mismatch for class OrderedOptions (TypeError)
ngw@adreadedsunnyday ~/projects/hotchalk$ script/server
./script/../config/boot.rb:28:Warning: require_gem is obsolete. Use
gem instead.
/opt/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:606:
superclass mismatch for class OrderedOptions (TypeError)
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/
custom_require.rb:27:in `gem_original_require''
from
2009 Jun 01
0
Forcing use of gem in vendor/gems?
Sorta surprised this isn''t a FAQ, but...
Maybe this is not good practice, but I have a gem that is both installed
in the system and in vendor/gems. The vendor/gems copy has some local
mods. Seems like the only way I could find to forced that one to be
loaded for capistrano over the system one was to put:
$LOAD_PATH.insert 0,
2007 Jan 12
1
capistrano setup bails with RegexpErr on show_tasks
I am new to RoR, but I have had RoR running with Capistrano on a
different box. However I''m installing a fresh copy now and am finding
constant regex errors from the standard.rb file while attempting to
"show_tasks". As this is a new installation, everything is up-to-date.
Here''s the environment:
FreeBSD 6.2-RC2
ruby 1.8.5
gem 0.9.0
rake 0.7.1
net-ssh 1.0.10, 1.0.9
2008 Oct 02
1
acts_as_taggable_on environment issues
Like most people, I''ve got two machines: one for development and one
for production. I''ve done everything I can to make sure the ruby/rails
environments are the same, but of course they''re not identical (I''ll
get into that in a moment). The error that I''m getting happens when I
call a method in a background task controller on the production
machine; I
2011 Feb 20
2
Problem with mysql2 gem and Debian
Hi Guys,
I''m having an issue with deploying my application and the mysql2 gem.
I am developing on Windows 7 with Ruby 1.9.2 and Rails 3.0.3.
On my local machine in development environment the application runs
just fine. But when I want to deploy it on our production server I get
an error message from passenger.
"Please install the mysql2 adapter: `gem install activerecord-mysql2-
2007 Jul 28
0
Bulk updating Gem source index for: http://gems.rubyforge.org
Hi all,
I''m having a bit of a problem with installing ruby on rails using gem
on Windows XP. after
gem install rails --include-dependencies
it say as follows
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (Gem::InstallError)
invalid gem format for c:/ruby/lib/ruby/gems/1.8/cache/
actionpack-1.13.3.gem
Any idea what I''m doing
2006 Jul 28
0
GEM-based rails application installer
I just uploaded the first version of my .gem-based Rails application installer
to Rubyforge (http://rubyforge.org/projects/rails-installer/; gem install
rails-app-installer). This is extracted from Typo 4.0, and it''s intended to
make it easy to build user-friendly installers for Rails applications.
This isn''t intended to compete with Capistrano; it''s much
2007 Jul 29
3
capistrano problems
I installed capistrano and have tried several things. Can''t seem to get
it working.
This is what i am getting.
C:\ruby\radrails\modernfossil>cap deploy
* executing `deploy''
* executing `deploy:update''
** transaction: start
* executing `deploy:update_code''
svn: Can''t create tunnel: The system cannot find the file specified.
***
2008 Sep 11
1
(Gem::RemoteFetcher::FetchError) can't get connected to the net!
Hello everyone, I recently picked up the Agile web dev with Rail book
and followed the installation instructions for Windows using
InstantRails... well it works up until the point i try to......
''gem update rails --include-dependencies''
..... i end up with the following error message:
pdating installed gems...
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
2009 Feb 25
2
gem install mysql --> Error
Hi,
When I try to install "gem install mysql" it throwing error.
For your ref,
bash-2.05b$ gem install mysql --
--with-mysql-dir=/opt/etrade/p6/share/mysql5
ERROR: http://gems.rubyforge.org/ does not appear to be a repository
ERROR: could not find gem mysql locally or in a repository
bash-2.05b$ gem install mysql --
--with-mysql-config=/opt/etrade/p6/share/mysql5/bin/mysql_config
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
2006 Sep 10
0
capistrano ssh login problem
Hi all,
When I run rake remote:exec ACTION=setup, I''m prompted for my password and
then I get an error and can''t connect. The trace is:
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.9/lib/net/ssh/session.rb:129:in
`initialize''
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.9/lib/net/ssh.rb:47:in `start''
2007 Nov 19
1
Capistrano in InstaRails bombs?
Following the book, I try:
cap --apply-to C:\CapPlanner\trunk\Source capplanner
And get in reply:
C:/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1443:in `complete'':
invalid option: --apply-to (OptionParser::InvalidOption)
from C:/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1441:in
`catch''
from C:/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1441:in
`complete''
2008 Jun 22
1
gem install rails
May be it is a question of rem or ruby,but I need your help.
When I use gem install rails,it fails.But I use the same command,it
passed in another computer.
OK. I use
hector@hector-laptop:~$ sudo gem install rails --no-rdoc --no-ri
The result:
source gems.rubyonrails.org not present in cache
But I try to use wget to get gems.rubyonrails.org. Anything is okay.
Here is my environment:
gem
2007 Dec 14
1
does gem fcgi require fcgi to be installed?
Does anyone know if the gem fcgi needs fcgi to be installed on my
machine? I''m trying to install the gem fcgi and I''m getting the
following message:
-bash-3.00# gem install fcgi
Updating metadata for 9 gems from http://gems.rubyforge.org
.........
complete
Building native extensions. This could take a while...
ERROR: Error installing fcgi:
ERROR: Failed to build gem
2008 Nov 30
1
HOWTO install a download gem from a local directory.
Aloha All,
I have downloaded many gems in .gem and .tar format from Rubyforge to
my dir /usr/local/src/gems/. However, I got the following error below
when executing "gem install mongrel-1.1.5.gem" or any other gems from
the dir above.
"ERROR: could not find gem mongrel-1.1.5.gem locally or in a
repository"
I''ve notice that within the .gem folder there are two
2008 Dec 21
0
capistrano_colors version 0.2.0 has been released!
I got tired of viewing capistranos massive output so i''ve created this
simple gem that colorizes capistranos output.
+ http://rubyforge.org/projects/capistranocolor/
+ http://github.com/stjernstrom/capistrano_colors/
Screenshots can be found at http://www.pastbedti.me/2008/12/put-some-colors-of-your-capistrano-output/
Installation instructions:
sudo gem install capistrano_colors
2007 Jun 06
0
Capistrano: Port in SVN
. . .
* executing "sudo chmod -R g+w /usr/local/svn/project_name"
servers: ["project_name.com"]
[project_name.com] executing command
command finished
* executing task svn_import
Adding branches and tags
ssh: connect to host project_name.com port 22: Connection refused
svn: Connection closed unexpectedly
Importing application.
ssh: connect to host
2007 Nov 08
0
Facets GEM Install on Windows
I keep getting this error when trying to :
gem install facets
C:\projects\rails>gem install facets
ERROR: While executing gem ... (Zlib::BufError)
buffer error
Other gems install fine:
C:\projects\rails>gem environment
RubyGems Environment:
- VERSION: 0.9.4 (0.9.4)
- INSTALLATION DIRECTORY: c:/ruby/lib/ruby/gems/1.8
- GEM PATH:
- c:/ruby/lib/ruby/gems/1.8
- REMOTE