Pow usage and FAQs

Source: Internet
Author: User

1. installation:

$ curl get.pow.cx | sh

 

To set up a Rack app, just symlink it~/.pow:

$ cd ~/.pow
$ ln -s /path/to/myapp

 

2. ErrorError starting applicationYour Rack app raised an exception when Pow tried to run it.
LoadError: cannot load such file -- bundler/setup/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'~/Workspace/ruby/beixin/fgcc_menxu/config/boot.rb:6:in `<top (required)>'/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'Show 17 more lines
  • Pow User's Manual
  • Troubleshooting
  • Frequently Asked Questions
  • Issue Tracker
3. Solution [Ruby]View plaincopyprint?
  1. Echo "export POW_RVM_PATH =/usr/local/rvm/scripts/rvm"> ~ /. Powconfig
echo "export POW_RVM_PATH=/usr/local/rvm/scripts/rvm" >> ~/.powconfig

Appdir/. powrc

[Vb]View plaincopyprint?
  1. If [-f "$ rvm_path/scripts/rvm"]; then
  2. Source "$ rvm_path/scripts/rvm"
  3. Rvm use.
  4. Fi
if [ -f "$rvm_path/scripts/rvm" ]; then  source "$rvm_path/scripts/rvm"  rvm use .fi

Show rvm list gemsets

[Ruby]View plaincopyprint?
  1. Gem install bundler

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.