Recent Posts

Subscribe to Recent Posts 451 post(s) found

01 Feb, 2012 03:28 AM
Avatar natsuto 2 posts

Topic: General Discussion / Hellooo's

It’s not finished, but we have already enjoyed a few months of service and we are Gadgets really happy.

 
01 Feb, 2012 03:18 AM
Avatar natsuto 2 posts

Topic: General Discussion / Slicehost vs Brightbox

This is a good person to speak at the same time zone and overnight maintenance program can play in the middle of the Gadgets morning, your host with the United States.

 
12 Jan, 2012 03:25 PM
Avatar George Hills 2 posts

Topic: Brightbox Help / Connect to MySQL db from MySQL Workbench

Hi,

The MySQL hosts use rfc1918 private addresses, so they’re not accessible over the Internet.

I’m not sure how easy it is to do with Windows, but on a Unix or Mac system, it’s possible to tunnel MySQL over ssh. There are some instructions for this at http://wiki.brightbox.co.uk/docs:mysqlcluster

Cheers

 
09 Jan, 2012 08:45 AM
Avatar mikegledhill 1 posts

Topic: Brightbox Help / Connect to MySQL db from MySQL Workbench

Forgive the naive question… but is it possible to access a Brightbox MySQL database from an external Windows application, like MySQL Workbench, or can these databases only be accessed from a Ruby on Rails application deployed to Brightbox ?

I have the MySQL host (xxxx.mysql.vm.brightbox.net), username & password, but if I try to connect to it using “MySQL Workbench”, I just get a connection error.

 
05 Jan, 2012 07:46 AM
Avatar sief3792 1 posts

Topic: General Discussion / How to implement recurring billing?

ActiveMerchant alone does not handle Paypal recurring profiles. Our company always provides you the [url=http://www.storeingame.com/]WOW Gold[/url] for you. Just place

an order and to [url=http://www.gobuytera.com/]Tera Gold[/url] and[url=http://www.buymaplestory.com/]

Cheap Maplestory Mesos[/url]

 
17 Dec, 2011 03:23 PM
Avatar joanna 2 posts

Topic: Brightbox Help / wordpress and ftp

Hi there,

I’ve installed a wordpress blog and would like to ftp plugins to install directly using the wp-admin tool (instead of manually uploading and installing) but I don’t know what my FTP details would be and if this would be possible. Help please?

Thanks
Joanna

 
15 Nov, 2011 06:59 AM
Avatar kuldeep 1 posts

Topic: Passenger / ap_get_server_banner error when launching Apache2

Hi everyone – I have just installed Apache2 v. 2.2.17 on suse 10.2,and I am trying to get it to work with Ruby (v 1.8.7). I have followed the instructions and ended up installing Phusion Passenger v 3.0.9, making the suggested changes to the httpd.conf file.

When I launch Apache2 I now get the message:

Cannot load /usr/lib/ruby/gems/1.8/gems/passenger-3.0.9/ext/apache2/mod_passenger.so into server: /usr/lib/ruby/gems/1.8/gems/passenger-3.0.9/ext/apache2/mod_passenger.so: undefined symbol: ap_get_server_banner

I must confess I am entirely new to Linux and to Ruby, so pls bear with me if the request sounds naive.

 
25 Oct, 2011 10:25 AM
Avatar Christian Ba... 6 posts

Topic: Brightbox Help / Problems Deploying Rails 3.1.1

I had not installed Passenger properly, followed

http://blog.phusion.nl/2010/09/21/phusion-passe…

and I’m now seeing a

‘We are sorry screen’…

Debugging it now

 
25 Oct, 2011 08:56 AM
Avatar Christian Ba... 6 posts

Topic: Brightbox Help / Problems Deploying Rails 3.1.1

Hi, I’m trying to upgrade a site from Rails 2.3.x to the very latest stack, Ruby 1.9.2, Rails 3.1.1 with PostgreSQL 9.1.
The site is SSL only, so I have copied the certificated from the old server (I know they will be seen as dodgy, since we haven;t repointed the domain yet)

If I try to access the site, wildylaw-004.vm.brightbox.net, I get a 500 error.

- I can see myself accessing in the Apache log.
- Nothing in the rails production log.
- I can successful run ‘rails c production’ and ‘rails s -e production’ in the current directory on the server.
- My assets compile successfully.

Any ideas what may be wrong?

rails@wildylaw-004:~/wam$ rvm -v

rvm 1.8.0 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]

rails@wildylaw-004:~/wam$ ruby -v
ruby 1.8.7 (2011-02-18 patchlevel 334) [i486-linux], MBARI 0×8770, Ruby Enterprise Edition 2011.03
rails@wildylaw-004:~/wam$
rails@wildylaw-004:~/wam$ gem list

  • LOCAL GEMS *

abstract (1.0.0)
actionmailer (3.1.1, 3.0.10, 3.0.7, 2.3.8, 2.3.5)
actionpack (3.1.1, 3.0.10, 3.0.7, 2.3.8, 2.3.5)
activemodel (3.1.1, 3.0.10, 3.0.7)
activerecord (3.1.1, 3.0.10, 3.0.7, 2.3.8, 2.3.5)
activeresource (3.1.1, 3.0.10, 3.0.7, 2.3.8, 2.3.5)
activesupport (3.1.1, 3.0.10, 3.0.7, 2.3.8, 2.3.5)
archive-tar-minitar (0.5.2)
arel (2.2.1, 2.0.10, 2.0.9)
brightbox-server-tools (2.3.8, 2.3.6)
builder (3.0.0, 2.1.2)
bundler (1.0.21, 1.0.18, 1.0.12)
cgi_multipart_eof_fix (2.5.0)
columnize (0.3.4)
daemon_controller (0.2.6)
daemons (1.1.4, 1.1.3, 1.1.0, 1.0.10)
erubis (2.7.0, 2.6.6)
fastthread (1.0.7)
gem_plugin (0.2.3)
hike (1.2.1)
i18n (0.6.0, 0.5.0)
json (1.6.1)
linecache (0.46)
mail (2.3.0, 2.2.19)
mime-types (1.17.1, 1.16)
mongrel (1.1.5)
mongrel_cluster (1.0.5)
multi_json (1.0.3)
mysql (2.8.1)
passenger (3.0.9)
pg (0.11.0)
polyglot (0.3.2, 0.3.1)
rack (1.3.5, 1.3.2, 1.2.2, 1.2.1, 1.1.0, 1.0.1)
rack-cache (1.1)
rack-mount (0.8.3, 0.8.2, 0.6.14)
rack-ssl (1.3.2)
rack-test (0.6.1, 0.5.7)
rails (3.1.1, 3.0.10, 3.0.7, 2.3.8, 2.3.5)
railties (3.1.1, 3.0.10, 3.0.7)
rake (0.9.2.2, 0.9.2, 0.8.7)
rbx-require-relative (0.0.5)
rdoc (3.11, 3.9.3)
rmagick (2.13.1)
ruby-debug (0.10.4)
ruby-debug-base (0.10.4)
ruby_core_source (0.1.5)
sprockets (2.0.3)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10, 1.4.9)
tzinfo (0.3.30, 0.3.29, 0.3.27)
vim-ruby (2007.05.07)
rails@wildylaw-004:~/wam$ rvm 1.9.2
rails@wildylaw-004:~/wam$ gem list

  • LOCAL GEMS *

rake (0.9.2 ruby)

rails@wildylaw-004:~/wam$ cd /etc/apache2
rails@wildylaw-004:/etc/apache2$ cd mods-enabled/
rails@wildylaw-004:/etc/apache2/mods-enabled$ ls la
total 16
drwxr-xr-x 2 root root 4096 2011-10-24 16:16 .
drwxr-xr-x 9 root root 4096 2011-10-24 15:37 ..
lrwxrwxrwx 1 root root 28 2011-08-25 15:43 alias.conf → ../mods-available/alias.conf
lrwxrwxrwx 1 root root 28 2011-08-25 15:43 alias.load → ../mods-available/alias.load
lrwxrwxrwx 1 root root 33 2011-08-25 15:43 auth_basic.load → ../mods-available/auth_basic.load
lrwxrwxrwx 1 root root 33 2011-08-25 15:43 authn_file.load → ../mods-available/authn_file.load
lrwxrwxrwx 1 root root 36 2011-08-25 15:43 authz_default.load → ../mods-available/authz_default.load
lrwxrwxrwx 1 root root 38 2011-08-25 15:43 authz_groupfile.load → ../mods-available/authz_groupfile.load
lrwxrwxrwx 1 root root 33 2011-08-25 15:43 authz_host.load → ../mods-available/authz_host.load
lrwxrwxrwx 1 root root 33 2011-08-25 15:43 authz_user.load → ../mods-available/authz_user.load
lrwxrwxrwx 1 root root 32 2011-08-25 15:43 autoindex.conf → ../mods-available/autoindex.conf
lrwxrwxrwx 1 root root 32 2011-08-25 15:43 autoindex.load → ../mods-available/autoindex.load
lrwxrwxrwx 1 root root 27 2011-08-25 15:43 cgid.conf → ../mods-available/cgid.conf
lrwxrwxrwx 1 root root 27 2011-08-25 15:43 cgid.load → ../mods-available/cgid.load
lrwxrwxrwx 1 root root 30 2011-08-25 15:43 deflate.conf → ../mods-available/deflate.conf
lrwxrwxrwx 1 root root 30 2011-08-25 15:43 deflate.load → ../mods-available/deflate.load
lrwxrwxrwx 1 root root 26 2011-08-25 15:43 dir.conf → ../mods-available/dir.conf
lrwxrwxrwx 1 root root 26 2011-08-25 15:43 dir.load → ../mods-available/dir.load
lrwxrwxrwx 1 root root 26 2011-08-25 15:43 env.load → ../mods-available/env.load
lrwxrwxrwx 1 root root 30 2011-10-24 10:44 headers.load → ../mods-available/headers.load
lrwxrwxrwx 1 root root 27 2011-08-25 15:43 info.conf → ../mods-available/info.conf
lrwxrwxrwx 1 root root 27 2011-08-25 15:43 info.load → ../mods-available/info.load
lrwxrwxrwx 1 root root 27 2011-08-25 15:43 mime.conf → ../mods-available/mime.conf
lrwxrwxrwx 1 root root 27 2011-08-25 15:43 mime.load → ../mods-available/mime.load
lrwxrwxrwx 1 root root 34 2011-08-25 15:43 negotiation.conf → ../mods-available/negotiation.conf
lrwxrwxrwx 1 root root 34 2011-08-25 15:43 negotiation.load → ../mods-available/negotiation.load
lrwxrwxrwx 1 root root 32 2011-10-24 16:16 passenger.conf → ../mods-available/passenger.conf
lrwxrwxrwx 1 root root 32 2011-10-24 16:16 passenger.load → ../mods-available/passenger.load
lrwxrwxrwx 1 root root 37 2011-08-25 15:43 proxy_balancer.load → ../mods-available/proxy_balancer.load
lrwxrwxrwx 1 root root 28 2011-08-25 15:43 proxy.conf → ../mods-available/proxy.conf
lrwxrwxrwx 1 root root 33 2011-10-24 10:44 proxy_http.load → ../mods-available/proxy_http.load
lrwxrwxrwx 1 root root 28 2011-08-25 15:43 proxy.load → ../mods-available/proxy.load
lrwxrwxrwx 1 root root 33 2011-08-25 15:43 reqtimeout.conf → ../mods-available/reqtimeout.conf
lrwxrwxrwx 1 root root 33 2011-08-25 15:43 reqtimeout.load → ../mods-available/reqtimeout.load
lrwxrwxrwx 1 root root 30 2011-10-24 10:44 rewrite.load → ../mods-available/rewrite.load
lrwxrwxrwx 1 root root 31 2011-08-25 15:43 setenvif.conf → ../mods-available/setenvif.conf
lrwxrwxrwx 1 root root 31 2011-08-25 15:43 setenvif.load → ../mods-available/setenvif.load
-rw-r
-r— 2 root root 2412 2010-04-13 13:24 ssl.conf
rw-r-r— 2 root root 58 2010-04-13 13:24 ssl.load
lrwxrwxrwx 1 root root 29 2011-08-25 15:43 status.conf → ../mods-available/status.conf
lrwxrwxrwx 1 root root 29 2011-08-25 15:43 status.load → ../mods-available/status.load

 
21 Sep, 2011 08:18 PM
Avatar John Leach 83 posts

Topic: Brightbox Help / Rails 3.1 support

Hi Ali,

yeah, we’ve added rack 1.3.2 packages which is needed to use 3.1 with our passenger packages. For 19.2, try out our ruby-ng ppa:

apt-add-repository ppa:brightbox/ruby-ng

it provides ruby 1.9.2 packages. It has a few quirks though atm – I’d recommend using a server in fully 1.8 or fully 1.9.2 “mode”, as mixing the two versions ends up causing some issues atm.

Also, our passenger packages don’t yet support 1.9.2 – you’ll have to use the gem version of passenger with that.

And the version of ruby 1.8 in that repository is not Ruby Enterprise enabled, just stock Ruby.

So a few niggles, but they’re usable. We’re still working on them and will officially support them as soon as we’re happy with them (soon!).

John.

 
12 Sep, 2011 08:02 AM
Avatar Ali Anwar 2 posts

Topic: Brightbox Help / Rails 3.1 support

Hi,

I know that I can use RVM and do all these settings, but is bright box working on making rails 3.1 supported out of the box? that means having ruby 1.9.2 package too ;)

 
09 Sep, 2011 07:11 AM
Avatar gernot_kogler 1 posts

Topic: isitruby19.com / gems not found

Please add http://rubygems.org/gems/xapian-ruby and http://rubygems.org/gems/xapian_db
Both work with ruby 1.9.2 on osx and debian / ubuntu

 
23 Aug, 2011 12:42 PM
Avatar Caius 13 posts

Topic: Brightbox Help / rake db:seed

Hi Mark,

Given populating the db with some seed data is a one off task, I’d be inclined personally to just ssh into the server and run the rake task there on the command line. Failing that you could put some code in your Capfile to run the rake task during cap’s deploy:initial task, so it only happens when you first deploy an app.

C

 
23 Aug, 2011 12:41 PM
Avatar Caius 13 posts

Topic: Brightbox Help / SSH Login

Hi novynn,

When you build a server on the cloud platform using the official ubuntu images it pulls the ssh key from your account as it gets created. You need to then use that ssh key to login as the ubuntu user. By the sounds of it you’ve created the server before updating your user with your ssh public key.

Probably easiest to destroy that server and build another now you’ve setup your ssh key. Then you’ll be able to ssh straight in.

C

 
16 Aug, 2011 12:30 AM
Avatar novynn 1 posts

Topic: Brightbox Help / SSH Login

I have created an RSA Public/Private key pair and updated my account with the .pub file as per the instructions.
However, when I try to log into the server via ssh I get asked for a password.
At first I thought this meant the passphrase that I skipped past during my keys creation, so I went back and cleared the keys and updated my account with the key .pub file.
However, this didn’t seem to solve it either, since the phrase I entered on creation isn’t accepted by the server.

I really can’t seem to get this to work… any suggestions?

Here’s a log of the SSH connection (-v):
novynn@playsotis:~$ ssh ubuntu@109.107.37.41 -v
OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 109.107.37.41 [109.107.37.41] port 22.
debug1: Connection established.
debug1: identity file /home/novynn/.ssh/identity type -1
debug1: identity file /home/novynn/.ssh/id_rsa type -1
debug1: identity file /home/novynn/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8p1 Debian-1ubuntu3
debug1: match: OpenSSH_5.8p1 Debian-1ubuntu3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu4
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server→client aes128-ctr hmac-md5 none
debug1: kex: client→server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host ‘109.107.37.41’ is known and matches the RSA host key.
debug1: Found key in /home/novynn/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/novynn/.ssh/identity
debug1: Trying private key: /home/novynn/.ssh/id_rsa
debug1: Trying private key: /home/novynn/.ssh/id_dsa
debug1: Next authentication method: password
ubuntu@109.107.37.41’s password:

 
21 Jul, 2011 11:44 AM
Avatar marksimpkins 1 posts

Topic: Brightbox Help / rake db:seed

Hi,

Ok, I am very new to rails and deploying via capistrano.

I have followed the instructions on the wiki to deploy an app for the first time and thats all fine, but now I want to run rake db:seed to pre-populate the DB with some default/initial data.

How do I do that? Do i need to make a capistrano recipe ? or can I just do it from the command line?

Thanks for any pointers

mark

 
29 Jun, 2011 09:49 PM
Avatar calvim 1 posts

Topic: Passenger / ap_get_server_banner error when launching Apache2

Hi all
Hi everyone – I have just installed Apache2 v. 2.2.17 on Ubuntu,and I am trying to get it to work with Ruby (v 1.8.7). I have followed the instructions on the Ubuntu site and ended up installing Phusion Passenger v 3.0.7, making the suggested changes to the httpd.conf file.

When I launch Apache2 I now get the message:

Cannot load /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so into server: /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so: undefined symbol: ap_get_server_banner

I must confess I am entirely new to Linux and to Ruby, so pls bear with me if the request sounds naive.

Thank you!

 
23 May, 2011 04:25 PM
Avatar Caius 13 posts

Topic: Brightbox Help / Default Apache config for Monit

Hi Tim,

Here’s the default /etc/monit/conf.d/apache.monitrc from a brightbox:

check process apache with pidfile /var/run/apache2.pid
  start program = "/etc/init.d/apache2 start"
  stop program  = "/etc/init.d/apache2 stop"
  group server

Hope that helps.

 
23 May, 2011 03:41 PM
Avatar timd 1 posts

Topic: Brightbox Help / Default Apache config for Monit

I temporarily installed Nginx and in the process zapped the Monit config for Apache – is it available to copy from anywhere?

Thanks….

 
20 May, 2011 11:20 AM
Avatar Caius 13 posts

Topic: Passenger / nginx-brightbox stopped working after passenger update

We’ve fixed the packages and upgraded them to Passenger 3 as well. See http://blog.brightbox.co.uk/posts/nginx-passeng… for the details. :)

 
08 May, 2011 05:10 PM
Avatar conceptric 4 posts

Topic: Brightbox Help / Upgrading from Hardy to Lucid

Just for the record, I opened a ticket on this and got the following response.

> I’m planning to upgrade from 8.04 to 10.04 in the near future, and I understand that I’ll need to request a reimaging of my Brightbox.

That’s correct, you’ll need to raise a support ticket when you’re ready for the upgrade. We’ll flatten and rebuild the box with Lucid, the whole process should only take ~5m.

> Whilst I’m aware that this will wipe everything on the machine – back to where I started… but with Lucid – I’d like to know if the databases or the current ip addresses will be effected.

Your Brightboxes current IP/hostname will remain the same, as will the database cluster you use. The databases on the cluster will not be touched. :)

> If I redeploy my existing applications that have been setup with the Brightbox gem, will they just reconnect with their databases on the cluster using the existing configuration, and will DNS be uneffected?

That’s correct, all that should be required to get your apps up and running again is a redeploy. The database connection details will remain the same and DNS is unaffected.

 
05 May, 2011 01:09 PM
Avatar romaluca 1 posts

Topic: Brightbox Help / transfert files with ftp

Is possible transfert file with ftp?

thanks

 
30 Mar, 2011 10:55 AM
Avatar conceptric 4 posts

Topic: Brightbox Help / Upgrading from Hardy to Lucid

I’m considering upgrading my current Hardy Brightbox to Lucid, and I don’t want to move to a new Box, so a re-imaging of the existing one is going to be necessary.

I understand that this means wiping the current Box clean, so I’ll have to setup my SSH keys etc and redeploy my applications again, but are the databases on the cluster, or the current IP addresses effected?

If I redeploy with the same configuration and the Brightbox gem, will the applications reconnect with the existing databases and DNS setup?

Thanks for any advice.

 
24 Feb, 2011 07:42 PM
Avatar melon 2 posts

Topic: Passenger / nginx-brightbox stopped working after passenger update

@riddian No I’ve never fixed this. I just went the mongrel cluster way.

 
24 Feb, 2011 03:05 PM
Avatar riddian 1 posts

Topic: Passenger / nginx-brightbox stopped working after passenger update

Did you ever fix this? I’m doing a fresh install and having exactly the same problem, /usr/lib/phusion_passenger/passenger-spawn-server does not exist and I can’t seem to find it anywhere on my system.

Is this package broken?

 
15 Dec, 2010 04:34 PM
Avatar maxschulze 1 posts

Topic: isitruby19.com / Hydra not ruby 1.9

see, please add it to the list.

https://github.com/ngauthier/hydra/issues/label…/29

 
12 Dec, 2010 12:50 AM
Avatar shooter468 1 posts

Topic: Brightbox Help / ssh problems

Hello
ive been messing with ssh-keygen and i cant shh to my server anymore, it keeps asking for a password?
i tried updating my ssh key with “brightbox-users update -f my-ssh-key.pub usr-xxxxx” but still no go

any ideas how to fix this?

 
23 Nov, 2010 12:48 PM
Avatar melon 2 posts

Topic: Passenger / nginx-brightbox stopped working after passenger update

Hi,

I’m using the apt.brightbox.net hardy repository to run redmine via the nginx-brightbox package. I just did a dist-upgrade and my passenger config went belly up. My nginx error log says:

ruby: No such file or directory — /usr/lib/phusion_passenger/passenger-spawn-server (LoadError)

Investigating this issue, I found that the upgrade installed a new passenger-common package and the passenger_root directive in nginx now points to an almost empty folder. How to fix this? My nginx-brightbox version is 0.6.39-0bbox2

According to term.log the update did this:

Selecting previously deselected package libfastthread-ruby1.8.
(Reading database … 29514 files and directories currently installed.)
Unpacking libfastthread-ruby1.8 (from …/libfastthread-ruby1.8_1.0.7-1~hardy1_i386.deb) …
Selecting previously deselected package libev3.
Unpacking libev3 (from …/libev3_1%3a3.9-1ppa2_i386.deb) …
Preparing to replace passenger-common 2.2.15-1bbox1 (using …/passenger-common_3.0.0-1bbox3~hardy4_i386.deb) …
Unpacking replacement passenger-common …
Setting up libfastthread-ruby1.8 (1.0.7-1~hardy1) …
Setting up libev3 (1:3.9-1ppa2) …

Setting up passenger-common (3.0.0-1bbox3~hardy4) …
Processing triggers for libc6 …
ldconfig deferred processing now taking place

Any hints would be appreciated.

 
12 Nov, 2010 08:22 PM
Avatar Caius 13 posts

Topic: Brightbox Help / Help deploying for the first time

Ah yes, by default bundle update/install installs all groups. You’d need to pass an argument to the bundle command to ignore the production group locally when running update or install. At least you’ve got it working now anyway :)

 
11 Nov, 2010 08:52 PM
Avatar beziermj 2 posts

Topic: Brightbox Help / Help deploying for the first time

Thanks Caius. You are right: thanks. I ended up having to install mysql and it’s gem on my machine (even though I am using sqlite) because ‘bundle update’ error’d even though I had entered it into my Gemfile like this:

group :production do
gem ‘mysql’
end

A well – got there in the end! Thanks.