Rubymine creating me an empty gem project
ruby-2.4.1
rvm installed
1- Open Rubymine
2- File>NewProject
3- Gem
4- Detects ruby version (but not bundler even having bundler installed)
5- Create
The project is empty and an error is thrown
/Users/martingonzalez/.rvm/rubies/ruby-2.4.1/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) gem untitled --bin --coc --no-ext --mit --test=rspec
-e:1:in `load': cannot load such file -- gem (LoadError)
from -e:1:in `<main>'
If i create it using bundle gem my_gem it works.
Any idea?
请先登录再写评论。
Hello, we didn’t recognize bundler installed in the SDK. As a workaround could you please install Bundler in the wizard for new Gem project.
I've installed bundler with `gem install bundler` before initializing any project.
Also, i've installed bundler with rubymine (it download the same version that gem install downloads) and when i open again a new project the bundler version installed is not recognize.
I will post a gif in a hour for better understanding.
Now is working! It's strange.
Sorry for wasting your time.