2014-09-03 5 views
1

Rails 4.1.4/Ember.js를 사용하여 기본 웹 응용 프로그램을 생성했으며 모든 것이 예상대로 작동하지만 '번들 설치'등을 실행할 때마다 'bundler20140904-22128-1jtt7b7' (끝의 임의의 숫자가 매번 변경됨) 형식의 새 (비어있는) 폴더를 내 루트 디렉토리에 만듭니다. 그들은 쌓아 올려서 삭제하는 것이 성가신 일이지만, 왜 이런 일이 일어날 수 있는지 아무도 모른다. " Google을 통해 어떤 정보도 찾을 수 없었지만 도움이된다면 this tutorial에게 문의했습니다.Rails - bundler 명령을 실행할 때마다 새로운 임시 디렉토리가 자동으로 생성됩니다.

require File.expand_path('../boot', __FILE__) 

require 'rails/all' 

# Require the gems listed in Gemfile, including any gems 
# you've limited to :test, :development, or :production. 
Bundler.require(*Rails.groups) 

module MyProject 
    class Application < Rails::Application 
    end 
end 

config.ru :

# This file is used by Rack-based servers to start the application. 

require ::File.expand_path('../config/environment', __FILE__) 
run Rails.application 

Gemfile 내가 RVM과에 CentOS 6.5을 실행하는거야 내가 여기에 파일이 관련이 아무 생각하지만 나의 application.rb입니다 :

source 'https://rubygems.org' 

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' 
gem 'rails', '4.1.4' 
# Use sqlite3 as the database for Active Record 
gem 'sqlite3' 
# Use SCSS for stylesheets 
gem 'sass-rails', '~> 4.0.3' 
# Use Uglifier as compressor for JavaScript assets 
gem 'uglifier', '>= 1.3.0' 

# Use jquery as the JavaScript library 
gem 'jquery-rails' 

# bundle exec rake doc:rails generates the API under doc/api. 
gem 'sdoc', '~> 0.4.0',   group: :doc 

# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/ra 
ils/spring 
gem 'spring',  group: :development 

# Use ActiveModel has_secure_password 
# gem 'bcrypt', '~> 3.1.7' 

# Use unicorn as the app server 
# gem 'unicorn' 

# Use Capistrano for deployment 
# gem 'capistrano-rails', group: :development 

# Use debugger 
# gem 'debugger', group: [:development, :test] 

#EMBER 
gem 'ember-rails', git: 'git://github.com/emberjs/ember-rails.git' 

더 많은 정보가 필요하면 알려주십시오. 당신이 제공 할 수있는 도움에 감사드립니다!

+0

어떤 번들 버전을 사용하고 있습니까, 'bundle --version'입니까? – Davidann

+0

또한'bundle install --verbose'의 결과는 무엇입니까? (아마도 이것을 요점과 연결해 놓을 것입니다.) – Davidann

+0

'bundle install'을 실행할 때마다 새로운 'bundle2014 ...'디렉토리를 생성합니까, 아니면 하나만 생성합니까? – Davidann

답변

0

모두 도움을 주셔서 감사합니다. 나는 처음부터 다시 응용 프로그램을 생성하고 문제가 사라졌다. 지금까지이 문제를 일으키는 것과, 그것은 어떤 이유로 라인과 같습니다 내 Gemfile 일으키는 문제에

gem 'ember-rails', git: 'git://github.com/emberjs/ember-rails.git'

합니다. 나는 그것을 변경 :

gem 'ember-rails'

그것은 수정되었습니다.

관련 문제