gemfile

    0热度

    1回答

    我想在Heroku上使用GIT部署Rails应用程序。我应用了我认为相关的在stackoverflow中找到的所有解决方案。 这里是我做了什么: STEP 1:以下是命令和结果我: [email protected] /c/rails_projects/first_app (Hesh1) $ git push heroku1 master Enter passphrase for key

    1热度

    1回答

    这是一个非常奇怪的,我不知道如何继续。 基本上,我能够安装宝石,并通常在除了用rails创建的文件夹之外的任何文件夹中使用它们。这非常奇怪。这很难解释,所以也许这个控制台输出可以解释 [email protected]:~/railsapps$ ls app test_application testing [email protected]:~/railsapps$ rail

    0热度

    1回答

    我有我的Gemfile 宝石“富”下面的声明,:混帐=>“[email protected]:酒吧/ foo.git” 后我运行安装包,它能够在以下文件夹 $ LS ~/.rvm/gems/[email protected]/bundler/下检索宝石宝石/ foo-4dc3d7bf8271 但在我的程序中使用require'foo'并运行它的gem引发了以下问题。 custom_require.

    1热度

    1回答

    在这里SQLITE3相关的错误是我的Gemfile: source 'https://rubygems.org' gem 'rails', '3.2.2' # Bundle edge Rails instead: # gem 'rails', :git => 'git://github.com/rails/rails.git' group :production do g

    4热度

    2回答

    我有一个Rails应用程序,我想在Heroku上运行来测试。我正在使用rails 3.1.3,并且我无法让应用程序在heroku上耙取数据库。推送应用程序虽然工作正常。当我尝试heroku耙db:迁移我得到的错误: rake aborted! Please install the postgresql adapter: gem install activerecord-postgresql-ada

    78热度

    7回答

    我是Rails的新手,目前正在通过指导工作。 该指南指出: 使用文本编辑器来更新捆扎机与清单2.1的 内容所需的Gemfile中。 source 'https://rubygems.org' gem 'rails', '3.2.3' group :development do gem 'sqlite3', '1.3.5' end # Gems used only for

    0热度

    1回答

    我有简单的下面的代码,这是在一个红宝石(不导轨)应用工作: require 'gmail' Gmail.new('my_account', 'my_password') do |gmail| end 我能去的Gmail帐户的连接,在那里做一些东西。 不过,我想在一个Rails应用程序来使用这个宝石,因此,我曾尝试加入以下到的Gemfile: gem "ruby-gmail", "0.

    0热度

    1回答

    我读this manual,当我尝试部署我的第一个应用程序的git说: -----> Heroku receiving push -----> Ruby/Rails app detected -----> Detected Rails is not set to serve static_assets Installing rails3_serve_static_assets...

    9热度

    2回答

    我试图使用Passenger来托管我的Rails应用,但正如在这个issue中指出的那样,在Rails 3.2.1中,日志记录很有点怪异。有人已经发布了一个提交(已被拉入主分支)并进行修复。我如何告诉我的应用程序使用主分支而不是特定版本的rails gem?另外,有没有一种方法可以指定提交,以防更改后来被另一个pull覆盖? 喜欢的东西(在我的Gemfile): gem 'rails', git

    0热度

    1回答

    尽管此问题讨论了here和Rake 0.9.0,但我仍在使用rake 0.9.2.2并仍然面临问题。通过将卸载它,我有很多的依赖关系的消息,如: 子进程-0.3.1取决于[耙(〜> 0.9.2)]黄瓜-1.1.4上[耙(取决于 > = 0.9 .2)] cucumber-rails-1.2.1取决于[rake(> = 0.9.2.2)] execjs-1.3.0取决于[rake(> = 0)] e