Skip to main content

All Questions

2 votes
1 answer
2k views

Git will not ignore Gemfile.lock

I have a Gemfile.lock that git simply will not ignore. It's in my gitignore file (see below) but it keeps showing under unstaged changes whenever I bundle install. Anyone else ever run into ...
neanderslob's user avatar
  • 2,703
1 vote
0 answers
40 views

Addressing migrations and schema changes when working with git branches [duplicate]

I have a doubt about create a new branch. For example I already created a branch for category-has-many-through( i created categorizations and category model). And I have everything nice and working. ...
rld's user avatar
  • 2,773
-3 votes
2 answers
205 views

How to Ignore files when commiting to a git repository rails 4 [duplicate]

I am try to ignore development.rb, database.yml files when commiting to a git repository .gitignore config/environments/development.rb config/database.yml
Santosh Kumbhar's user avatar
1 vote
1 answer
204 views

heroku: How to swich apps from another environment

I deployed my rails app to heroku. After that, I have created new rails app on the another environment(cloud9). I'd like to switch old app to new one. How can I set up git and heroku on the new ...
SamuraiBlue's user avatar
0 votes
0 answers
1k views

Can't Setup DB Rails Heroku - User does not have CONNECT privilege

I am trying to push my Rails app to hekoru but when I type: heroku run rake db:setup It gives me: Running rake db:setup on ⬢ salty-sierra-72006... up, run.7511 FATAL: permission denied for database ...
user3100151's user avatar
0 votes
1 answer
35 views

postgre version per rails branch

Is it possible to use a specific snapshot of the database, per each branch (git) that I have? Reason for this is, the table definition will change because of the need per each branch that I'm working ...
SamuelDev's user avatar
  • 1,162
0 votes
2 answers
33 views

rails hiding Employees entrance password from git

I'm building a app that only a company Employees can use when the employee is signing up they will fill in two passwords there own and the company's def create @user = User.new(user_params) if ...
Vinsun Bryan's user avatar
2 votes
0 answers
471 views

Can't Push Rails Project to Heroku

So I've run into a little snag with a rails app that i'm trying to deploy on to Heroku. When I attempt to push my app onto Heroku, I'm told that rake tasks cannot be detected. In addition, I'm ...
acampbe222's user avatar
0 votes
1 answer
29 views

Rewrite Rails 3 to Rails 4 what to do with Git repo

If I have an old Rails 3 app and I wanted to rewrite the entire thing from scratch to Rails 4.2 (not upgrade); is it recommended to delete everything on the git branch and run the rails new myapp ...
Wasabi Developer's user avatar
1 vote
7 answers
12k views

How to set up and use Rails environment variables in production server?

I need to set up an environment variable for my rails app. Both in my local machine and in the production server. I read some tutorials on the internet but NONE has given the complete instruction on ...
Ryzal Yusoff's user avatar
  • 1,047
0 votes
1 answer
362 views

Error while compiling assets while deploying project to heroku

I am new to ROR. I have finished creating my app and was trying deploy it onto heroku using git push heroku master. Below is the error that I get while performing push. -----> Ruby app detected --...
Ravi's user avatar
  • 304
-2 votes
1 answer
53 views

Git wont let me commit because it "found a file by the name of '.COMMIT_EDITMSG.swp'"

This happens every time i try to commit (not always but today). I don't have anything up on any window or anything. I looked up other similar questions on stack overflow and i did what they said but ...
Joshua Minchew's user avatar
-1 votes
1 answer
2k views

Rails 4: Push rejected, failed to compile Ruby app

I am working on a Rails 4. As a best practice recommended in Michael Hartl's Rails Tutorial, I try to deploy early and often to avoid compounded problems as development progresses. Everything was ...
Thibaud Clement's user avatar
0 votes
1 answer
215 views

git cap deploy: Permission denied

i am on windows and using capistrano (2.15.5). i am trying to push code to the server with command cap deploy but getting error as Permission denied (publickey) . my public ssh key is already added ...
Sanjay Salunkhe's user avatar
0 votes
0 answers
81 views

Rails: NameError on nonexistent RAILS_ROOT

This is really bizarre. I was following one the answers here just to test things out. I couldn't get it to work out, so I just deleted it. I just have this now: class DocController < ...
Kei's user avatar
  • 257

15 30 50 per page
1
2 3 4 5