How I can install Heroku Gem?

Hello, I want install the Heroku Gem and I try, and try, but I haven’t
successfully.

Can someone help me?

Sorry, but I can search in Google and I don’t found nothing.

Greetings

On May 16, 1:03 am, Distriker [email protected] wrote:

Hello, I want install the Heroku Gem and I try, and try, but I haven’t
successfully.

What happened when you tried ?

Fred

Iván Hernández Cazorla wrote:

Hello Frederick, I am a newbie in the installation of gem for Ruby, but
I
try. To install a gem I do this:

  1. Open CMD.
  2. Write the path of my directory when I have the rails apps. In my
    case,
    C:\Users\Games\Documents\Ruby\rails_apps\
  3. Then, I go to the carpet vendor/rails of my
    app: C:\Users\Games\Documents\Ruby\rails_apps\rfb\vendor\rails\
  4. Here, I write this command:
    gem install heroku
  5. But, when I write says me:
    ERROR: While executing gem … (Gem::GemNotFoundException)
    Could not find heroku (> 0) in any repository

I think that these are the steps to follow, but I am not secure.

That should work. It sounds like your gem repositories are not set up
correctly. What’s the output of gem env ?

In the directory $path_of_rails_apps/rfb/vendor/rails/ I have the
directory Heroku, and here is the files of the zip files *data and *
metadata
.

That directory should not be in vendor/rails . Nothing should be in
vendor/rails except what Rake puts in there.

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

2010/5/18 Marnen Laibow-Koser [email protected]

app: C:\Users\Games\Documents\Ruby\rails_apps\rfb\vendor\rails
correctly. What’s the output of gem env ?

I don’t understand these, ¿output of gem env? Sorry, that I am spanish.

In the directory $path_of_rails_apps/rfb/vendor/rails/ I have the
directory Heroku, and here is the files of the zip files *data and *
metadata
.

That directory should not be in vendor/rails . Nothing should be in
vendor/rails except what Rake puts in there.

All right, althoug, where should be the gem directory?

Thanks :wink:

Greetings

You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected][email protected]
.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


*Mi Twitter http://twitter.com/distriker
*Blog personal http://distriker.co.cc
*Fundador del proyecto IMGBeta
*Twitter oficial de IMGBeta http://twitter.com/imgbeta
*Webmaster del proyecto http://hispaturismo.com
*Webmaster de http://rincon-blogger.blogspot.com

Hello Frederick, I am a newbie in the installation of gem for Ruby, but
I
try. To install a gem I do this:

  1. Open CMD.
  2. Write the path of my directory when I have the rails apps. In my
    case,
    C:\Users\Games\Documents\Ruby\rails_apps\
  3. Then, I go to the carpet vendor/rails of my
    app: C:\Users\Games\Documents\Ruby\rails_apps\rfb\vendor\rails\
  4. Here, I write this command:
    gem install heroku
  5. But, when I write says me:
    ERROR: While executing gem … (Gem::GemNotFoundException)
    Could not find heroku (> 0) in any repository

I think that these are the steps to follow, but I am not secure.

In the directory $path_of_rails_apps/rfb/vendor/rails/ I have the
directory Heroku, and here is the files of the zip files *data and *
metadata
.

The files are:

  • /bin/heroku (file)
  • /lib/heroku.rb
    • /lib/heroku/client.rb
    • /lib/heroku/command.rb
    • /lib/heroku/commands/addons.rb
      • /lib/heroku/commands/app.rb
      • /lib/heroku/commands/auth.rb
      • /lib/heroku/commands/base.rb
      • /lib/heroku/commands/bundles.rb
      • /lib/heroku/commands/config.rb
      • /lib/heroku/commands/db.rb
      • /lib/heroku/commands/domains.rb
      • /lib/heroku/commands/help.rb
      • /lib/heroku/commands/keys.rb
      • /lib/heroku/commands/logs.rb
      • /lib/heroku/commands/maintenance.rb
      • /lib/heroku/commands/service.rb
      • /lib/heroku/commands/sharing.rb
      • /lib/heroku/commands/ssl.rb
      • /lib/heroku/commands/version.rb
    • /spec/base.rb
  • /spec/client_spec.rb
  • /spec/command_spec.rb
    • /spec/commands/addons_spec.rb
    • /spec/commands/app_spec.rb
    • /spec/commands/auth_spec.rb
    • /spec/commands/base_spec.rb
    • /spec/commands/bundles_spec.rb
    • /spec/commands/config_spec.rb
    • /spec/commands/db_spec.rb
    • /spec/commands/domains_spec.rb
    • /spec/commands/keys_spec.rb
    • /spec/commands/logs_spec.rb
    • /spec/commands/maintenance_spec.rb
    • /spec/commands/sharing_spec.rb
    • /spec/commands/ssl_spec.rb
  • /metada (file)
  • /rakefile (file)
  • /README (file)

What do you think? I don’t know what is my problem.

Greetings.

2010/5/16 Frederick C. [email protected]

Can someone help me?
[email protected][email protected]
.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


*Mi Twitter http://twitter.com/distriker
*Blog personal http://distriker.co.cc
*Fundador del proyecto IMGBeta
*Twitter oficial de IMGBeta http://twitter.com/imgbeta
*Webmaster del proyecto http://hispaturismo.com
*Webmaster de http://rincon-blogger.blogspot.com

2010/5/18 Marnen Laibow-Koser [email protected]

gem env
and tell us the output. That’s what I meant.

Ok, now, I understand, this is the output message:

RubyGems Environment:

  • VERSION: 0.9.4 (0.9.4)

  • INSTALLATION DIRECTORY: C:/xampp/htdocs/ror/ruby/lib/ruby/gems/1.8

  • GEM PATH:

    • C:/xampp/htdocs/ror/ruby/lib/ruby/gems/1.8
  • REMOTE SOURCES:

I believe that I know already the problem, but, say me please.

All right, althoug, where should be the gem directory?

Either in your system gems (which is where the gem command installs
things) or RAILS_ROOT/vendor/gems .

Ok, thanks.

I use Windows, because my Ubuntu is broken, tomorrow I can install the
ubuntu again.

Greetings.

[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


*Mi Twitter http://twitter.com/distriker
*Blog personal http://distriker.co.cc
*Fundador del proyecto IMGBeta
*Twitter oficial de IMGBeta http://twitter.com/imgbeta
*Webmaster del proyecto http://hispaturismo.com
*Webmaster de http://rincon-blogger.blogspot.com

Iván Hernández Cazorla wrote:

Hello Frederick, I am a newbie in the installation of gem for Ruby, but
I
try. To install a gem I do this:

  1. Open CMD.

I am not an expert on doing rails stuff on Windows, but as far as I
know, git will work better on cygwin or this -Google Code Archive - Long-term storage for Google Code Project Hosting.
msysgit/

CMD is bad for git, I don’t even know if it works. Maybe it does? But
regardless, you should install the thing that I gave you above, and
run your commands from that. (instead of CMD)

  1. Write the path of my directory when I have the rails apps. In my
    case,
    C:\Users\Games\Documents\Ruby\rails_apps\
  2. Then, I go to the carpet vendor/rails of my
    app: C:\Users\Games\Documents\Ruby\rails_apps\rfb\vendor\rails\

Be in the root of your app, not vendor\rails.

so be in C:\Users\Games\Documents\Ruby\rails_apps\rfb\

  1. Here, I write this command:
    gem install heroku
  2. But, when I write says me:
    ERROR: While executing gem … (Gem::GemNotFoundException)
    Could not find heroku (> 0) in any repository

I think that these are the steps to follow, but I am not secure.

Try-- gem install rubygems-update

in your command line

That should work. It sounds like your gem repositories are not set up
correctly. What’s the output of gem env ?

I don’t understand these, ¿output of gem env? Sorry, that I am spanish.

type “gem env” (without the quotes) in the command line. thats what he
meant

Iván Hernández wrote:

2010/5/18 Marnen Laibow-Koser [email protected]

app: C:\Users\Games\Documents\Ruby\rails_apps\rfb\vendor\rails
correctly. What’s the output of gem env ?

I don’t understand these, ¿output of gem env? Sorry, that I am spanish.

Run the command
gem env
and tell us the output. That’s what I meant.

In the directory $path_of_rails_apps/rfb/vendor/rails/ I have the
directory Heroku, and here is the files of the zip files *data and *
metadata
.

That directory should not be in vendor/rails . Nothing should be in
vendor/rails except what Rake puts in there.

All right, althoug, where should be the gem directory?

Either in your system gems (which is where the gem command installs
things) or RAILS_ROOT/vendor/gems .

Thanks :wink:

Greetings

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

On May 18, 3:32 pm, David Z. [email protected] wrote:

Be in the root of your app, not vendor\rails.

meant

All right, althoug, where should be the gem directory?


http://groups.google.com/group/rubyonrails-talk?hl=en.
woops sorry for the repost, you guys beat me

Iván Hernández wrote:

2010/5/18 Marnen Laibow-Koser [email protected]

gem env
and tell us the output. That’s what I meant.

Ok, now, I understand, this is the output message:

RubyGems Environment:

  • VERSION: 0.9.4 (0.9.4)

  • INSTALLATION DIRECTORY: C:/xampp/htdocs/ror/ruby/lib/ruby/gems/1.8

  • GEM PATH:

    • C:/xampp/htdocs/ror/ruby/lib/ruby/gems/1.8
  • REMOTE SOURCES:

I believe that I know already the problem, but, say me please.

Yeah, that’s a very old version of gem, and it has old sources. Why not
upgrade to the current version (1.3.6)? See
Download RubyGems | RubyGems.org | your community gem host .

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Yeah, thank you very much.

The problem was the version of RubyGems.

Uff, thanks, you (David and Marnen) are my salvation.

Greetings.

El 18 de mayo de 2010 20:35, Iván Hernández Cazorla <
[email protected]> escribió:

Iván Hernández Cazorla wrote:

I think that these are the steps to follow, but I am not secure.
spanish.
metadata*.
Best,
“Ruby on Rails: Talk” group.

http://groups.google.com/group/rubyonrails-talk?hl=en.
*Webmaster del proyecto http://hispaturismo.com
*Webmaster de http://rincon-blogger.blogspot.com


*Mi Twitter http://twitter.com/distriker
*Blog personal http://distriker.co.cc
*Fundador del proyecto IMGBeta
*Twitter oficial de IMGBeta http://twitter.com/imgbeta
*Webmaster del proyecto http://hispaturismo.com
*Webmaster de http://rincon-blogger.blogspot.com

Thanks David, then I try with this project that you show me.

Don’t worry and thanks for the help.

Greetings
2010/5/18 David Z. [email protected]

case,
5. But, when I write says me:
up
directory Heroku, and here is the files of the zip files *data *and
Greetings
You received this message because you are subscribed to the Google
http://groups.google.com/group/rubyonrails-talk?hl=en.
.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


*Mi Twitter http://twitter.com/distriker
*Blog personal http://distriker.co.cc
*Fundador del proyecto IMGBeta
*Twitter oficial de IMGBeta http://twitter.com/imgbeta
*Webmaster del proyecto http://hispaturismo.com
*Webmaster de http://rincon-blogger.blogspot.com