Unable to update gems on production server

The instructions are probably a bit confusing. It’s saying that you’ve modified your Gemfile on your development machine and just pushed those changes rather than running bundle install BEFORE committing the changes. By running bundle install you will update your Gemfile.lock file. This should be pushed to your server as it’s more important than Gemfile. … Read more

Why do I get a bcrypt-ruby gem install error?

I had the same problem installing under OSX 10.7.3. When installing the gem, my error message was: Building native extensions. This could take a while… ERROR: Error installing bcrypt-ruby: ERROR: Failed to build gem native extension. creating Makefile make compiling bcrypt_ext.c make: /usr/bin/gcc-4.2: No such file or directory make: *** [bcrypt_ext.o] Error 1 Looks like … Read more

how to make a gemset in RVM the default?

Have you tried specifying rvm –default use after the gemset is created so passing: rvm –default use [email protected] and then seeing if that sticks? Using create and default at the same time isn’t something I’ve tried before, it’s the only thing that strikes me as out of place. Given the discussion below I’d offer this … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)