Giter Club home page Giter Club logo

coconut's People

Contributors

andresgap avatar roygap avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

coconut's Issues

error creating folder

esoto@Estebans-MacBook-Air  /development/gap/coconut  2.2.8   develop ?  ./install.sh                                                                                        ✔  10217  15:37:13

==========  Welcome to Coconut  ==========
· Coconut is a friendy Gem to dinamically change the configurations of your project.

• Remove previous version
➜ Previous version found!
Cleaning up installed gems...
Clean Up Complete
✔ Old Coconut version was successfully removed

• Installing coconut

- Running bundle install
Note:  cmd: bundle install
Using rake 10.5.0
Using bundler 1.17.1
Using coconut 0.1.5 from source at '.'
Using thor 0.20.3
Bundle complete! 4 Gemfile dependencies, 4 gems now installed.
Use 'bundle info [gemname]' to see where a bundled gem is installed.

- Installing gem coconut-0.1.5.gem
Note:  cmd: gem install ./coconut-0.1.5.gem
Successfully installed coconut-0.1.5
Parsing documentation for coconut-0.1.5
Done installing documentation for coconut after 0 seconds
1 gem installed
✔ Coconut was successfully installed

• Setting coconut configuration
"Creating config folder at /Users/esoto/.coconut/"
/Users/esoto/.rbenv/versions/2.2.8/lib/ruby/gems/2.2.0/gems/coconut-0.1.5/lib/coconut/config_folder.rb:41:in 'create_folder': uninitialized constant Coconut::ConfigFolder::FileUtils (NameError)
	from /Users/esoto/.rbenv/versions/2.2.8/lib/ruby/gems/2.2.0/gems/coconut-0.1.5/lib/coconut/config_folder.rb:37:in 'create_customers_folder'
	from /Users/esoto/.rbenv/versions/2.2.8/lib/ruby/gems/2.2.0/gems/coconut-0.1.5/lib/coconut/config_folder.rb:18:in 'install'
	from /Users/esoto/.rbenv/versions/2.2.8/lib/ruby/gems/2.2.0/gems/coconut-0.1.5/lib/coconut/global.rb:6:in 'install'
	from /Users/esoto/.rbenv/versions/2.2.8/lib/ruby/gems/2.2.0/gems/coconut-0.1.5/lib/coconut/cli.rb:8:in 'install'
	from /Users/esoto/.rbenv/versions/2.2.8/lib/ruby/gems/2.2.0/gems/thor-0.20.3/lib/thor/command.rb:27:in 'run'
	from /Users/esoto/.rbenv/versions/2.2.8/lib/ruby/gems/2.2.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in 'invoke_command'
	from /Users/esoto/.rbenv/versions/2.2.8/lib/ruby/gems/2.2.0/gems/thor-0.20.3/lib/thor.rb:387:in 'dispatch'
	from /Users/esoto/.rbenv/versions/2.2.8/lib/ruby/gems/2.2.0/gems/thor-0.20.3/lib/thor/base.rb:466:in 'start'
	from /Users/esoto/.rbenv/versions/2.2.8/lib/ruby/gems/2.2.0/gems/coconut-0.1.5/bin/coconut:4:in '<top (required)>'
	from /Users/esoto/.rbenv/versions/2.2.8/bin/coconut:23:in 'load'
	from /Users/esoto/.rbenv/versions/2.2.8/bin/coconut:23:in '<main>'
✔ Coconut was successfully setted up

missing gem maybe

Error Swapping local config

$ coconut swap local
Swapping the configuration for local
Swapping database.yml ...
/Users/esteban/.rvm/gems/ruby-2.2.8/gems/coconut-0.1.5/lib/coconut/command_interface.rb:23:in `block in execute': usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file (RuntimeError)

   cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
from /Users/esteban/.rvm/rubies/ruby-2.2.8/lib/ruby/2.2.0/open3.rb:199:in `popen_run'
from /Users/esteban/.rvm/rubies/ruby-2.2.8/lib/ruby/2.2.0/open3.rb:93:in `popen3'
from /Users/esteban/.rvm/gems/ruby-2.2.8/gems/coconut-0.1.5/lib/coconut/command_interface.rb:22:in `execute'
from /Users/esteban/.rvm/gems/ruby-2.2.8/gems/coconut-0.1.5/lib/coconut/command_interface.rb:8:in `copy'
from /Users/esteban/.rvm/gems/ruby-2.2.8/gems/coconut-0.1.5/lib/coconut/app.rb:47:in `switch_file'
from /Users/esteban/.rvm/gems/ruby-2.2.8/gems/coconut-0.1.5/lib/coconut/app.rb:15:in `block in swap'
from /Users/esteban/.rvm/gems/ruby-2.2.8/gems/coconut-0.1.5/lib/coconut/app.rb:15:in `each'
from /Users/esteban/.rvm/gems/ruby-2.2.8/gems/coconut-0.1.5/lib/coconut/app.rb:15:in `swap'
from /Users/esteban/.rvm/gems/ruby-2.2.8/gems/coconut-0.1.5/lib/coconut/cli.rb:23:in `swap'
from /Users/esteban/.rvm/gems/ruby-2.2.8/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
from /Users/esteban/.rvm/gems/ruby-2.2.8/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
from /Users/esteban/.rvm/gems/ruby-2.2.8/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
from /Users/esteban/.rvm/gems/ruby-2.2.8/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
from /Users/esteban/.rvm/gems/ruby-2.2.8/gems/coconut-0.1.5/bin/coconut:4:in `<top (required)>'
from /Users/esteban/.rvm/gems/ruby-2.2.8/bin/coconut:23:in `load'
from /Users/esteban/.rvm/gems/ruby-2.2.8/bin/coconut:23:in `<main>'
from /Users/esteban/.rvm/gems/ruby-2.2.8/bin/ruby_executable_hooks:24:in `eval'
from /Users/esteban/.rvm/gems/ruby-2.2.8/bin/ruby_executable_hooks:24:in `<main>'

Getting and error while running ./install.sh

/coconut$ ./install.sh

========== Welcome to Coconut ==========
· Coconut is a friendy Gem to dinamically change the configurations of your project.

• Remove previous version

• Installing coconut

  • Running bundle install
    Note: cmd: bundle install
    You have one or more invalid gemspecs that need to be fixed.
    The gemspec at /home/user/coconut/coconut.gemspec is not valid. Please fix this gemspec.
    The validation error was '"TODO: Put your gem's website or public repo URL here." is not a valid HTTP URI'
    WARNING: See http://guides.rubygems.org/specification-reference/ for help
    ERROR: While executing gem ... (Gem::InvalidSpecificationException)
    "TODO: Put your gem's website or public repo URL here." is not a valid HTTP URI

  • Installing gem
    Note: cmd: gem install ./
    ERROR: Could not find a valid gem './' (>= 0) in any repository
    Something happens and coconut wasn't installed

• Setting coconut configuration
./install.sh: line 81: coconut: command not found
Coconut was successfully setted up
Happy Coding!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.