Forum: Ruby on Rails gem bundler is not install. I know, another one of these

Posted by Tak G. (tak_g)
on 2012-12-10 20:16
I know that there are so many of these threads, and I have looked
through them but since there are so many its so difficult to find the
right solution.  I can run gem install bundler but I can't run bundle
install, it just keeps asking me to gem install bundler.  Here is my gem
env

RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.24
  - RUBY VERSION: 1.9.3 (2012-04-20 patchlevel 194) [i686-linux]
  - INSTALLATION DIRECTORY: /home/taka/.rvm/gems/ruby-1.9.3-p194
  - RUBY EXECUTABLE: /home/taka/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
  - EXECUTABLE DIRECTORY: /home/taka/.rvm/gems/ruby-1.9.3-p194/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /home/taka/.rvm/gems/ruby-1.9.3-p194
     - /home/taka/.rvm/gems/ruby-1.9.3-p194@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/
Posted by Colin Law (Guest)
on 2012-12-10 21:20
(Received via mailing list)
On 10 December 2012 19:16, Tak G. <lists@ruby-forum.com> wrote:
> I know that there are so many of these threads, and I have looked
> through them but since there are so many its so difficult to find the
> right solution.  I can run gem install bundler but I can't run bundle
> install, it just keeps asking me to gem install bundler.  Here is my gem
> env

Post the output from
gem list

Also copy/paste here the output from bundle install.

Colin
Posted by Jordon Bedwell (Guest)
on 2012-12-10 21:30
(Received via mailing list)
On Mon, Dec 10, 2012 at 2:19 PM, Colin Law <clanlaw@googlemail.com> 
wrote:
> Post the output from
> gem list
>
> Also copy/paste here the output from bundle install.

Gonna have to agree, to me it sounds like you installed on
ruby-1.9.3-p327 instead of @global or @gemset_name.  I've ran into
issues if I haven't installed into a gemset.  Make sure you are either
in @global or in another gemset you create.  I actually prefer not to
use @global at all because it mucks up the isolation I use RVM for but
you can do whatever you please.
Posted by pe medeiros (Guest)
on 2012-12-10 21:59
(Received via mailing list)
It seens like creating a gemset will solve your problem.

What I usually do is create a .rvmrc file on the root of my application
with the content: "rvm 1.9.3@gemset_name --create"
so everytime in enter the directory of my application the gemset that I
specified at the .rvmrc file will be loaded.


2012/12/10 Jordon Bedwell <envygeeks@gmail.com>

> use @global at all because it mucks up the isolation I use RVM for but
>
>


--
Pedro Henrique de Souza Medeiros
----------------------------------
Cel: +55 (61) 9197-0993
Email: pedrosnk@gmail.com

Beautiful is better than ugly,
Explicit is better than implicit,
Simple is better than complex,
Complex is better than complicated.

The Zen of Python, by Tim Peters
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.