All threads / Setup Ubuntu 17.04 Zesty Zapus Discussion

Ask A Question


You’re not receiving notifications from this thread.

Setup Ubuntu 17.04 Zesty Zapus Discussion

Chris Oliver asked in General

FYI installed Rails 4.2.8 with ruby 2.4.1 and Postgres 9.6 on Zesty Zapus beta2 without any problem following the guide and updating just some packages. ;) Thanks Chris!

I am getting the following error while installing nodejs

## Confirming "zesty" is supported...

+ curl -sLf -o /dev/null '

## Your distribution, identified as "zesty", is not currently supported, please contact NodeSource at if you think this is incorrect or would like your distribution to be considered for support

It's because this article suggests installing Node.js 4, which is an old version. Instead of running

curl -sL | sudo -E bash -


curl -sL | sudo -E bash -

which will install Node.js 6

Wasim Raza ·

awesome article,
i just did all steps and they are running as it is.
thank you to author

Chris Eze Onyekachi Ceo ·

am having issues with creating a user on postgresql

Vivekananda Tagore ·

I am curious to know, why you recommended rbenv when installing ruby. The steps in rvm look a lot simpler and intuitive than in rbenv.

Grant Morgan ·

Really good article - very helpful:

On Ubuntu 17.04, following your article from scratch, also had to do:

sudo gem install rake
sudo gem install rubocop

then I was able to run:
gem install rails -v 5.1.2

and it all worked!

Thanks for that!

Brendan Faulds ·

got error when creating MYSQL DB: YAML syntax error occurred while parsing /home/xxxxxxx/myapp/config/database.yml. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Error: (<unknown>): could not find expected ':' while scanning a simple key at line 17 column 3

Brendan Faulds ·

Whoops - didn't leave a space between : and my password in the database.yml config file - all good now ! Thanks !

Doug Vincent ·

I'm getting a few errors after following this method and trying to create a new rails app (with postgres):

The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.


There was an error while trying to write to
It is likely that you need to grant write permissions for that path.


Could not find minitest-5.10.3 in any of the sources
Run `bundle install` to install missing gems.

^^ which doesn't work because if I run bundle install, I get a repeat of error 2.

That's a nice tutorial.


Lukas Balabis ·

Very thorough tutorial. Much appreciated.

Using PostgreSQL when I run rake db:create, I get the following error:
PG::ConnectionBad: FATAL: role "xxx" does not exist
where xxx is my Linux username.

I'm using Xubuntu 17.04 with Rails 5.1.4 and Ruby 2.4.2.

Did you run:
sudo -u postgres createuser $USER -s

Samuel Ladapo ·

Ruby installed successfully ! Thank you.

Sebastian Bartus-Kunz ·

Couldn't install rails 4.2.9 with ruby 2.3.3 until i installed ruby-dev ("sudo apt install ruby-dev")

Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.