Rails environment stopped working (proc must be mounted)

rails

#1

Hello all,
I recently switched to developing on cloud9 - has been a great experience!
However this morning, after logging in, it seems something has gone wonk on my environment (basic rails setup)

A) Upon logging in, my bash shell immediately displays:

Error: /proc must be mounted
  To mount /proc at boot you need an /etc/fstab line like:
      proc   /proc   proc    defaults
  In the meantime, run "mount proc /proc -t proc"
Error: /proc must be mounted
  To mount /proc at boot you need an /etc/fstab line like:
      proc   /proc   proc    defaults
  In the meantime, run "mount proc /proc -t proc"
Error: /proc must be mounted
  To mount /proc at boot you need an /etc/fstab line like:
      proc   /proc   proc    defaults
  In the meantime, run "mount proc /proc -t proc"
kiernanlabs:~/workspace (master) $ 

B) The shell can no longer locate rails

kiernanlabs:~/workspace (master) $ rails
bash: rails: command not found

Maybe something got messed up in my project settings? However, after poking around a bit, I couldnt quite figure it out. Really appreciate any help.
Thanks!
Joe


#2

Did you use the Rails template when setting up your environment?


#3

Im fairly sure I did, only because the environment had been working for the past few weeks.
It may have somewhow reset though? Is there a way to switch it back to a rails environment?

In the meantime, I ended up just setting up a new rails environment from the same github repository which is working fine.


#4

Hm not sure what you mean by rails environment… Choosing the Rails template for your workspace only installs Rails’s latest stable version and creates a new application, as far as I know.

Is it possible that you accidentally modified/removed some other file in your workspace machine?


#5

Hi Joe,

The initial errors seem strange and I’d like to take a closer look there. Can you tell me the name of the workspace you’re seeing these in, and also send any screenshots you have about the first error?

Thanks!

Regards,
​Mutahhir


#6

HI mutahhir,
Thanks for the help.
The workspace showing the error is bubbling-beaker (https://ide.c9.io/kiernanlabs/bubbling-beaker) and a screenshot is below

I successfully moved all the files over to bubbling-beaker-refill which seems to be working fine.
Best,
Joe


#7

Looks like you’d either need to remount /proc or restart the workspace…


#8

#9

This looks like an issue on our side. Oddly one we’ve never seen before. We addressed it and will add a sanity check to make sure this doesn’t happen again.


#10