2016-01-02 60 views
1

我是第一次使用Heroku用户,这是我的第一个Rails应用程序。所以这可能听起来很麻烦。对不起。创建Heroku时出错(在Rails应用程序中)

无论如何,当我尝试Heroku创建或从项目的根登录Heroku时,这是我得到的回应。但是当我在项目文件夹外面做同样的事情时,一切正常。该项目已经是一个git回购。

我不确定我要去哪里错。任何帮助非常感谢。提前致谢。

顺便说一句,我正在运行Ubuntu 14.04 LTS。

heroku create 
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:2157:in `method_missing': undefined method `this' for #<Gem::Specification:0x603d94 heroku-3.42.25> (NoMethodError) 
    from /home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:1056:in `find_active_stub_by_path' 
    from /home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:63:in `require' 
    from /home/user/.rvm/gems/ruby-2.2.1/gems/heroku-3.42.25/bin/heroku:11:in `<top (required)>' 
    from /home/user/.rvm/gems/ruby-2.2.1/bin/heroku:23:in `load' 
    from /home/user/.rvm/gems/ruby-2.2.1/bin/heroku:23:in `<main>' 
    from /home/user/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval' 
    from /home/user/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>' 
+0

永远不会被尝试抱歉。人们可能会冷笑,但你永远不会得到任何地方 –

+0

感谢您的支持@RichPeck :) – contactsunny

回答

1

create command需要一个名称。

到名为my_app调用创建一个应用程序:

heroku create my_app 
+0

这是答案,希望我得到它 –

+0

嗨@spickermann。感谢你的回答。但我仍然有同样的问题。 – contactsunny

0

这解决了这个问题对我来说:

$ gem update heroku 
相关问题