Ask A Question

Notifications

You’re not receiving notifications from this thread.

Setup Ubuntu 14.10 Utopic Unicorn Discussion

Chris Oliver asked in General
Savvanis Spyros Savvanis Spyros

thx a lot my friend., work like charm without errors on ubuntu mate 14.10. cheers

Reply
Pierre-Yves Mathieu Pierre-Yves Mathieu

Hi Chris,

Thank you very much for GoRails, I have been using it to setup all my
project. Lately, I switched to Docker and tought Your community would
probably be interested in a faster and more consistent way to set up a
development environement. Please let me know what you think of this
simple docker box I created.

https://github.com/pywebdes...

Install Docker and docker-compose, try google!

1 - run: . setup.sh
2 - wait..., say yes, wait...
then start the dev server:
3 - docker-compose up

look your new server is running on localhost:3000

there's even a box for developping rails gem

https://github.com/pywebdes...

I would be very happy to hear from you, If you have any concerns, please tell me!

Reply

This is awesome and I'm definitely going to check it out tomorrow!

Reply
José D. Romero Vega José D. Romero Vega

Thanks is a great TUTORIAL! but i have a problem

SOLVED

I do this:
~$ rails new myapp -d mysql

and after I get this in the last part (after create all the stuff)

Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...
Using rake 10.4.2
Using i18n 0.7.0

Bundler::GemspecError: Could not read gem at /home/jodarove/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/cache/json-1.8.2.gem. It may be corrupted.
An error occurred while installing json (1.8.2), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.2'` succeeds before bundling.
run bundle exec spring binstub --all
bundler: command not found: spring
Install missing gem executables with `bundle install`

so I read in another blog the solution ( https://taimoorchangaizpuci... )

I need do this to clear the cache
~$ rm -rf /home/jodarove/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/cache/
where says jodarove change for your user name
and after that I execute again: rails new myapp -d mysql

Reply

Great information, on installing ROR in ubuntu.

Ruby on Rails Development in India

Reply

i have followed all steps. whenever i run "rake db:create".
It will returns following error:

Couldn't create database for {"adapter"=>"postgresql", "pool"=>5, "username"=>"postgres", "password"=>nil, "database"=>"homeporte_development"}
WARNING: password file "/home/saravanan/.pgpass" has group or world access; permissions should be u=rw (0600) or less
FATAL: Peer authentication failed for user "postgres"

Reply
Junaid Farooq Junaid Farooq

rbenv install 2.2.2
This part took my whole life and am still waiting for its completion buddy

Reply
Leonardo Godoy Leonardo Godoy

Hi! Thanks for the instructions. But, i have a problem. I'm installing on Ubuntu 14.04 clear system, but, when I put the rbenv install 2.2.3 command, in terminal shows "Installing ruby-2.2.3..." and stays here more of 2 hours. Why is too slow the installation? It's good or something else is bad in the installation? I will appreciate the help

Reply

That seems awfully long. Usually it's about 15 minutes or so. Sometimes it can stall because of low ram. You might restart it and see if it finishes sooner. I'd also recommend trying the $10/mo server because it has a bit more power for compiling.

Reply

thx for Tut. Works great on deepin with rvm method!

Reply

Thank you very much! It's much simple and powerfull article!

Reply

Thank you! I think every new project I start begins with visit this page.

Reply

Whoo! Thank you thank you! :)

Reply

Nice tutorial (y)

Reply
Rodrigo F. Azevedo Rodrigo F. Azevedo

Thanks dude. This tutorial saved my day!

Reply
Pierre Gagnon Pierre Gagnon

Hi, When i run

ssh -T git@github.com,

I have the following message:

/etc/ssh/ssh_config: line 54: Bad configuration option: subsystem

Unsupported Match attribute group

/etc/ssh/ssh_config line 55: Bad Match condition

I try to gererate another Key and i receive the same message ?

I edit the ssh_config file and on line 54 and 55, i have :

Match group ftpaccess
ChrootDirectory %h

So what is the problem ?

Reply

Hi All,
i have install ruby from source
after instillation when i run "gem install bundler" it gives below error

ERROR: Loading command: install (LoadError)

cannot load such file -- zlib

ERROR: While executing gem ... (NoMethodError)

undefined method `invoke_with_build_args' for nil:NilClass

i check zlib but it is already installed
Please help to resolve this issue

Reply

o meu nao deu certo

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,400+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.