bhavya
Joined
Activity
deploy the existing project with sub-directory without any change in project routes.
For example: project should run on https://domain.com/myproject/home instead of https://domain.com/home
need to append the subfolder name before /home ..
Thanks
Posted in Deploy Ruby project on Ubuntu 18.0
Now this above cap file problem has been resolved with the below commands:
group :development do
gem "capistrano", "~> 3.14", require: false ---> make it false
end
$ bundle install
$ bundle exec cap install
and after that edit all the capfiles as per the " "https://gorails.com/deploy/ubuntu/18.04#nginx" "
Application not deployed.
Please help me to troubleshoot .
Posted in Deploy Ruby project on Ubuntu 18.0
Hi,
I am referring the doc "https://gorails.com/deploy/ubuntu/18.04#nginx" for deploy the project.
After running the command "cap install STAGES=production"
I got error list :
LoadError: cannot load such file -- /usr/lib/ruby/vendor_ruby/Capfile
/usr/lib/ruby/vendor_ruby/rake/rake_module.rb:29:in load'
load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/rake_module.rb:29:in
/usr/lib/ruby/vendor_ruby/rake/application.rb:703:in raw_load_rakefile'
block in load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:104:in
/usr/lib/ruby/vendor_ruby/rake/application.rb:186:in standard_exception_handling'
load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:103:in
/usr/lib/ruby/vendor_ruby/rake/application.rb:82:in block in run'
standard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:186:in
/usr/lib/ruby/vendor_ruby/rake/application.rb:80:in run'
run'
/usr/lib/ruby/vendor_ruby/capistrano/application.rb:14:in
/usr/bin/cap:3:in `
.....................
Please help me to resolve this issue asap as its urgent to deploy.
Posted in Seed local database
Thanks Alan
Posted in Seed local database
HI,
I am new in Ruby and i am set up the open source project on Ubuntu and stuck in some point.
$ bundle exec rails db:setup
When i execute the above command then its not running.
I was execute this in project directory not from root directory.
I found the error that no Gemfiles and /bundler direcory was found.
Please help asap.