I'm using Mac OS X 10.5.8

and using RVM installed ruby 1.9.2 and "heroku login" does not work


/usr/local/heroku/lib/heroku/updater.rb:33: warning: parenthesize 
argument(s) for future version
/Users/muskmelon/.rvm/gems/ruby-1.9.2-p290/specifications/json-1.6.1.gemspec:25:in
 
`load_specification': uninitialized constant Gem::VERSION (NameError)
from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/specification.rb:540:in
 
`initialize'
from 
/Users/muskmelon/.rvm/gems/ruby-1.9.2-p290/specifications/json-1.6.1.gemspec:3:in
 
`new'
from 
/Users/muskmelon/.rvm/gems/ruby-1.9.2-p290/specifications/json-1.6.1.gemspec:3:in
 
`load_specification'
from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/source_index.rb:86:in
 
`load_specification'
from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/source_index.rb:122:in
 
`load_gems_in'
from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/source_index.rb:121:in
 
`each'
from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/source_index.rb:121:in
 
`load_gems_in'
from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/source_index.rb:75:in
 
`from_gems_in'
 ... 30 levels...
from /usr/local/heroku/lib/heroku/cli.rb:1
from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
 
`gem_original_require'
from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
 
`require'
from /usr/bin/heroku:27







On Friday, April 27, 2012 9:42:37 AM UTC-7, geemus wrote:
>
> A different bug actually came up today that pointed to the likely 
> culprit, ruby versions.  Older versions of OS X shipped with 1.8.6, 
> which we no longer support.  If you update to a version of ruby that 
> is 1.8.7 or newer you will likely have much better luck.  You can do 
> that update with one of these (different people have different 
> preferences): 
>
> rbenv - https://github.com/sstephenson/rbenv 
>
> rvm - http://rvm.io 
>
> Hope that helps. 
>
> Thanks! 
> wes 
>
> On Apr 26, 11:37 am, "geemus (Wesley Beary)" <[email protected]> 
> wrote: 
> > I would expect it to still work on Leopard but I'm not sure if we test 
> > that as I believe we are mostly on newer stuff now.  So it might be 
> > that this is the problem after all. 
> > wes 
> > 
> > On Apr 16, 9:48 pm, nojo <[email protected]> wrote: 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > > So actually that wasn't it....  I was trying it on a different 
> > > computer and assumed that was the difference.  Still happening - the 
> > > main difference is that it doesn't work on a Leopard machine and it 
> > > does on a Snow Leopard machine.  Should toolbelt work on Leopard? 
> > > (FWIW, the toolbelt also installed a version of git that doesn't work 
> > > on Leopard over my install, so I'm thinking this isn't compatible with 
> > > Leopard). 
> > 
> > > On Apr 16, 2:50 pm, "geemus (Wesley Beary)" <[email protected]> 
> wrote: 
> > 
> > > > Thanks for the update.  I had thought it should work in 1.8.7 
> (though 
> > > > I checked and it appears to be broken in 1.8.6).  In any event, glad 
> > > > you found a way to get unstuck. 
> > > > Thanks! 
> > > > wes 
> > 
> > > > On Apr 16, 12:29 pm, nojo <[email protected]> wrote: 
> > 
> > > > > FWIW, I may have figured out what's going on.  This is probably 
> > > > > somewhat obvious to Ruby people, but I'm intending to use Heroku 
> with 
> > > > > Java so it wasn't obvious to me.  OS X has Ruby 1.8.7 - I had to 
> > > > > upgrade to 1.9.2.  rvm didn't work for me, but installing 1.9.2 
> via 
> > > > > rbenv and ruby-build worked. 
> > 
> > > > > On Apr 15, 8:44 pm, nojo <[email protected]> wrote: 
> > 
> > > > > > Just getting started with Heroku, I installed toolbelt on my Mac 
> with 
> > > > > > the installer.  When I run heroku login, I get the following: 
> > 
> > > > > > $ heroku login 
> > > > > > /usr/local/heroku/lib/heroku/updater.rb:33: warning: 
> parenthesize 
> > > > > > argument(s) for future version 
> > > > > > /usr/local/heroku/vendor/gems/netrc-0.7.1/lib/netrc.rb:79:in 
> `readto': 
> > > > > > undefined local variable or method `count' for []:Array 
> (NameError) 
> > > > > >         from 
> /usr/local/heroku/vendor/gems/netrc-0.7.1/lib/netrc.rb:85:in 
> > > > > > `parse' 
> > > > > >         from 
> /usr/local/heroku/vendor/gems/netrc-0.7.1/lib/netrc.rb:20:in 
> > > > > > `read' 
> > > > > >         from /usr/local/heroku/lib/heroku/auth.rb:92:in `netrc' 
> > > > > >         from /usr/local/heroku/lib/heroku/auth.rb:66:in 
> `delete_credentials' 
> > > > > >         from /usr/local/heroku/lib/heroku/auth.rb:21:in `login' 
> > > > > >         from /usr/local/heroku/lib/heroku/command/auth.rb:12:in 
> `login' 
> > > > > >         from /usr/local/heroku/lib/heroku/command.rb:148:in 
> `send' 
> > > > > >         from /usr/local/heroku/lib/heroku/command.rb:148:in 
> `run' 
> > > > > >         from /usr/local/heroku/lib/heroku/cli.rb:9:in `start' 
> > > > > >         from /usr/bin/heroku:28 
> > > > > > $ 
> > 
> > > > > > Any hints about what I need to do?  Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

Reply via email to