Giter Site home page Giter Site logo

Comments (16)

mscherer avatar mscherer commented on June 16, 2024

Did setup.sh gave any errors ?

from atomic-site.

TomasTomecek avatar TomasTomecek commented on June 16, 2024

It worked:

# bundle install
...
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
# ./create-post.rb 
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- launchy (LoadError)
        from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require'
        from ./create-post.rb:4:in `<main>'

from atomic-site.

mscherer avatar mscherer commented on June 16, 2024

@garrett any idea ?

from atomic-site.

jzb avatar jzb commented on June 16, 2024

@TomasTomecek that error looks unfamiliar but it's been a while. Can you test again and see if you're still having issues?

from atomic-site.

garrett avatar garrett commented on June 16, 2024

Add the following line at the bottom of the Gemfile and run bundle install:

gem 'launchy' 

Then it should work.

Then commit both Gemfile and Gemfile.lock and push the fix. 😉

from atomic-site.

garrett avatar garrett commented on June 16, 2024

Add gem 'launchy' to Gemfile, run bundle install, then commit Gemfile and Gemfile.lock and push the fix please.

The command should then work after running bundle install.

from atomic-site.

garrett avatar garrett commented on June 16, 2024

Add gem 'launchy' to Gemfile, run bundle install, then commit Gemfile
and Gemfile.lock and push the fix please.

The command should work after running bundle install. 😉

On Thu, Jan 21, 2016, 21:11 jzb [email protected] wrote:

@TomasTomecek https://github.com/TomasTomecek that error looks
unfamiliar but it's been a while. Can you test again and see if you're
still having issues?


Reply to this email directly or view it on GitHub
#173 (comment)
.

from atomic-site.

garrett avatar garrett commented on June 16, 2024

Okay, GitHub has some issue. Sorry for multiple replies. (Retyping them on my phone wasn't so fun.)

from atomic-site.

TomasTomecek avatar TomasTomecek commented on June 16, 2024

Tried that, didn't work. Tried to install the gems manually, didn't help either. I'm giving up.

[root@1a51e4a13216 source]# gem install -N launchy
Successfully installed launchy-2.4.3
1 gem installed
[root@1a51e4a13216 source]# ./create-post.rb
./create-post.rb:4:in `require': cannot load such file -- launchy (LoadError)
        from ./create-post.rb:4:in `<main>'

Feel free to close this.

from atomic-site.

jberkus avatar jberkus commented on June 16, 2024

I'll admit that I've never used create-post.rb, nor was I actually aware of it.

from atomic-site.

jberkus avatar jberkus commented on June 16, 2024

@garrett create_post seems to still be broken, even with the updates of the Gemfile. See PR.

from atomic-site.

jberkus avatar jberkus commented on June 16, 2024

So here's the problem in the container: launchy simply won't install.

[root@73025a4f0521 ruby]# gem install launchy
Successfully installed launchy-2.4.3
ERROR:  While executing gem ... (Gem::DocumentError)
    RDoc is not installed: cannot load such file -- rdoc/rdoc
[root@73025a4f0521 ruby]# gem list | grep launchy
[root@73025a4f0521 ruby]# 

from atomic-site.

jberkus avatar jberkus commented on June 16, 2024

I'm closing this as WONTFIX. As far as I can tell, create_post does not work and has never worked. Removing it from the repository.

from atomic-site.

mscherer avatar mscherer commented on June 16, 2024

Well, it work on my laptop:

$ ./create-post.rb 
Usage: ./create-post.rb [options] "Blog title here."
    -a, --author          Author name (default: misc)
    -d, --date            Custom datetime (default: 2016-03-25 00:03:09 CET)
    -e, --editor          Custom editor (default: vim)
    -t, --tags            Comma-separated list of tags
    -n, --no-browser      Disable browser
    -h, --help            Display this help message.

Now, it might be a missing deps somewhere or some wrong version (the joy of ruby).

from atomic-site.

jberkus avatar jberkus commented on June 16, 2024

I have not been able to create a container build where it works.

If someone can create a DockerFile + Gemfile where it works, then we can save it.

from atomic-site.

mscherer avatar mscherer commented on June 16, 2024

So, looking at it, on a fresh fedora:latest container, this do install it:

# dnf install rubygems ; gem install launchy
[...]
# gem list |grep launch
launchy (2.4.3)
# gem list |grep rdoc
rdoc (4.2.0)

On my RHEL 7 system, I also do have rdoc 4.0.0 and launchy 2.4.3 and 2.4.2.

So I guess I must do it using a complete container to reproduce the issue

from atomic-site.

Related Issues (20)

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.