Hassan Schroeder wrote:
> On Wed, Mar 10, 2010 at 3:55 AM, Faisal Basha <[email protected]> 
> wrote:
>> rails expense
>> /usr/local/bin/rails:19: undefined method `bin_path' for Gem:Module
>> (NoMethodError).
>>
>> I keep getting the above error after installing rails.
> 
> How did you install it?
> 
> What do the following commands return:
>   which gem
>   which rails
>   gem env
>   gem list --local
> 
> --
> Hassan Schroeder ------------------------ [email protected]
> twitter: @hassan

Hi Hassan,
this is what I have....it seems I have 2 paths for gem paths for which I 
have no clue how to get rid of.....I have multiple users I don't know if 
that could be causing the error.....thanks for your help though

unknown0011248da679:~ faisal$ which gem
/usr/local/bin/gem
unknown0011248da679:~ faisal$ which rails
/usr/local/bin/rails
unknown0011248da679:~ faisal$ gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.1
  - RUBY VERSION: 1.8.6 (2007-03-13 patchlevel 0) [powerpc-darwin8.10.0]
  - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: /usr/local/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/local/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - powerpc-darwin-8
  - GEM PATHS:
     - /usr/local/lib/ruby/gems/1.8
     - /Users/faisal/.gem/ruby/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/
unknown0011248da679:~ faisal$ gem list --local

*** LOCAL GEMS ***

actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
capistrano (2.1.0)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.9)
fastthread (1.0.1)
gem_plugin (0.2.3)
highline (1.4.0)
mongrel (1.1.1)
mysql (2.7)
needle (1.3.0)
net-sftp (1.1.0)
net-ssh (1.1.2)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
rubygems-update (1.3.6)
sources (0.0.1)
sqlite3-ruby (1.2.1)
termios (0.9.4)
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "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].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to