Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby: start thin: No adapter found for /home/ubuntu

Tags:

ruby

thin

I tried to install Image Magically on Ubuntu which is on an Amazon instance.

I followed the reference at https://github.com/afeld/magickly for that.

There I followed the following steps to install Image Magically on server.

$ gem install magickly

After that I installed the “thin” gem using under given command.

$ gem install thin

Then I tried to start thin gem with following command.

$ thin start

But it gives me the error: No adapter found for /home/ubuntu

How to solve this issue?

like image 817
Milople Inc Avatar asked Nov 27 '25 18:11

Milople Inc


1 Answers

You have to create the application, here is how:

Create an application directory:

mkdir magickly
cd magickly

Create Gemfile file with following content:

gem 'magickly'

Create config.ru file with following content:

require 'magickly'
run Magickly::App

Run bundle install. Now you can start the server:

thin start

and access the app at http://localhost:3000

like image 196
mechanicalfish Avatar answered Nov 30 '25 11:11

mechanicalfish



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!