Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 18.04 user issues #3

Open
jteixeir opened this issue Apr 13, 2020 · 1 comment
Open

Ubuntu 18.04 user issues #3

jteixeir opened this issue Apr 13, 2020 · 1 comment

Comments

@jteixeir
Copy link

jteixeir commented Apr 13, 2020

Hello guys,
I bumped at some issues:

GNU/Linux

git clone https://github.com/42sp/norminette-client.git ~/.norminette/
cd ~/.norminette/
bundle   # it will ask for your password.

After execute the "bundle" command I found some issues and solved them as below:

Issue 1:
Screenshot from 2020-04-13 16-47-23

Solution 1:

  1. Update the gem. You must run as administrator.
    sudo gem update --system

  2. Install bundler again. Still running as admin.
    sudo gem install bundler

  3. Run the command bundle.
    bundle

Create an alias

Issue 2:

echo 'alias norminette="~/.norminette/norminette.rb"' >> ~/.profile
source ~/.profile

Solution 2:
The best way to me, Ubuntu 18.04 user, was to replace .profile for .bashrc, as below:

echo 'alias norminette="~/.norminette/norminette.rb"' >> ~/.bashrc
source ~/.bashrc

Detail to be adjusted
After that norminette will work, however, I got some weird data before the real norme analysis:
Screenshot from 2020-04-13 17-12-31

To fix that I did the command as below, adjusting the gem version to a previous one:
sudo gem update --system 3.0.6

Job done with @juanlamarao support.
Hope it helps 🧡

@Gustavobelfort
Copy link
Contributor

Feel free to send a Pull Request :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants